public interface FacesManager
Method Summary | |
---|---|
void |
addFacesManagerListener(FacesManagerListener facesManagerListener)
Adds a FacesManagerListener to be notified about updated faces. |
Face |
getFace(int faceNum)
Returns the Face instance for a given face ID. |
Face |
getFace2(int faceNum)
Returns the Face instance for a given face ID. |
javax.swing.ImageIcon |
getMagicMapImageIcon(int faceNum)
Returns the "magic map" face for a face ID. |
javax.swing.ImageIcon |
getOriginalImageIcon(int faceNum)
Returns the "original" face for a face ID. |
javax.swing.ImageIcon |
getScaledImageIcon(int faceNum)
Returns the "scaled" face for a face ID. |
void |
removeFacesManagerListener(FacesManagerListener facesManagerListener)
Removes a FacesManagerListener to be notified about updated
faces. |
void |
reset()
Forgets about pending faces. |
Method Detail |
---|
void addFacesManagerListener(@NotNull FacesManagerListener facesManagerListener)
FacesManagerListener
to be notified about updated faces.
facesManagerListener
- the listener@NotNull Face getFace(int faceNum)
Face
instance for a given face ID. Requests the face
face from the server if necessary.
faceNum
- the face ID to request
@Nullable Face getFace2(int faceNum)
Face
instance for a given face ID. Requests the face
from the server if necessary.
faceNum
- the face ID to request
null
for the empty face@NotNull javax.swing.ImageIcon getMagicMapImageIcon(int faceNum)
faceNum
- the face ID
@NotNull javax.swing.ImageIcon getOriginalImageIcon(int faceNum)
faceNum
- the face ID
@NotNull javax.swing.ImageIcon getScaledImageIcon(int faceNum)
faceNum
- the face ID
void removeFacesManagerListener(@NotNull FacesManagerListener facesManagerListener)
FacesManagerListener
to be notified about updated
faces.
facesManagerListener
- the listenervoid reset()