Crossfire JXClient, Trunk
|
Public Member Functions | |
TestFacesManager (@NotNull final FaceCache faceCache) | |
Public Member Functions inherited from com.realtime.crossfire.jxclient.faces.AbstractFacesManager | |
void | addFacesManagerListener (@NotNull final FacesManagerListener facesManagerListener) |
Face | getFace (final int faceNum) |
Face | getFace2 (final int faceNum) |
ImageIcon | getMagicMapImageIcon (final int faceNum, @Nullable final AtomicBoolean returnIsUnknownImage) |
ImageIcon | getOriginalImageIcon (final int faceNum, @Nullable final AtomicBoolean returnIsUnknownImage) |
ImageIcon | getScaledImageIcon (final int faceNum, @Nullable final AtomicBoolean returnIsUnknownImage) |
void | removeFacesManagerListener (@NotNull final FacesManagerListener facesManagerListener) |
void | reset () |
Protected Member Functions | |
FaceImages | getFaceImages (final int faceNum, @Nullable final AtomicBoolean returnIsUnknownImage) |
Protected Member Functions inherited from com.realtime.crossfire.jxclient.faces.AbstractFacesManager | |
AbstractFacesManager (@NotNull final FaceCache faceCache) | |
void | fireFaceUpdated (@NotNull final Face face) |
Face | lookupFace (final int faceNum) |
A FacesManager for regression tests.
Definition at line 34 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 40 of file TestFacesManager.java.
References com.realtime.crossfire.jxclient.faces.AbstractFacesManager.faceCache.
|
protected |
Returns the FaceImages information 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.
faceNum | the face ID |
returnIsUnknownImage | returns whether the returned face is the "unknown" face; ignored if null
|
Reimplemented from com.realtime.crossfire.jxclient.faces.AbstractFacesManager.
Definition at line 46 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().