|
Crossfire JXClient, Trunk
R20561
|
A FacesManager for regression tests. More...
Inheritance diagram for com.realtime.crossfire.jxclient.faces.TestFacesManager:
Collaboration diagram for com.realtime.crossfire.jxclient.faces.TestFacesManager:Public Member Functions | |||||
| TestFacesManager (@NotNull final FaceCache faceCache) | |||||
| Creates a new instance. More... | |||||
Public Member Functions inherited from com.realtime.crossfire.jxclient.faces.AbstractFacesManager | |||||
| void | addFacesManagerListener (@NotNull final FacesManagerListener facesManagerListener) | ||||
Adds a FacesManagerListener to be notified about updated faces.
| |||||
| Face | getFace (final int faceNum) | ||||
Returns the Face instance for a given face ID.Requests the face face from the server if necessary.
| |||||
| Face | getFace2 (final int faceNum) | ||||
Returns the Face instance for a given face ID.Requests the face from the server if necessary.
| |||||
| ImageIcon | getMagicMapImageIcon (final int faceNum, @Nullable final boolean[] isUnknownImage) | ||||
Returns the "magic map" face for a face ID.This function returns immediately even if the face is not loaded. A not loaded face will be updated as soon as loading has finished.
| |||||
| ImageIcon | getOriginalImageIcon (final int faceNum, @Nullable final boolean[] isUnknownImage) | ||||
Returns the "original" face for a face ID.This function returns immediately even if the face is not loaded. A not loaded face will be updated as soon as loading has finished.
| |||||
| ImageIcon | getScaledImageIcon (final int faceNum, @Nullable final boolean[] isUnknownImage) | ||||
Returns the "scaled" face for a face ID.This function returns immediately even if the face is not loaded. A not loaded face will be updated as soon as loading has finished.
| |||||
| void | removeFacesManagerListener (@NotNull final FacesManagerListener facesManagerListener) | ||||
Removes a FacesManagerListener to be notified about updated faces.
| |||||
| void | reset () | ||||
| Forgets about pending faces. More... | |||||
Protected Member Functions | |
| FaceImages | getFaceImages (final int faceNum, @Nullable final boolean[] isUnknownImage) |
Protected Member Functions inherited from com.realtime.crossfire.jxclient.faces.AbstractFacesManager | |
| AbstractFacesManager (@NotNull final FaceCache faceCache) | |
| Creates a new instance. More... | |
| void | fireFaceUpdated (@NotNull final Face face) |
| Notifies all FacesManagerListeners that a face has been updated. More... | |
| abstract FaceImages | getFaceImages (final int faceNum, @Nullable boolean[] isUnknownImage) |
| Returns the FaceImages information for a face ID. More... | |
| Face | lookupFace (final int faceNum) |
| Returns the Face instance for a given face ID. More... | |
A FacesManager for regression tests.
Definition at line 32 of file TestFacesManager.java.
| com.realtime.crossfire.jxclient.faces.TestFacesManager.TestFacesManager | ( | @NotNull final FaceCache | faceCache | ) |
Creates a new instance.
| faceCache | the face cache instance for storing in-memory faces |
Definition at line 38 of file TestFacesManager.java.
|
protected |
Definition at line 47 of file TestFacesManager.java.
References com.realtime.crossfire.jxclient.faces.Face.getFaceImages(), com.realtime.crossfire.jxclient.faces.AbstractFacesManager.lookupFace(), and com.realtime.crossfire.jxclient.faces.Face.setFaceImages().
Here is the call graph for this function: