com.realtime.crossfire.jxclient.faces
Interface FacesProvider

All Known Implementing Classes:
MagicMapFacesProvider, OriginalFacesProvider, ScaledFacesProvider

public interface FacesProvider

Interface for face providers.


Method Summary
 javax.swing.ImageIcon getImageIcon(int faceNum)
          Returns the face for a face ID.
 int getSize()
          Returns the size of faces in pixels.
 

Method Detail

getImageIcon

@NotNull
javax.swing.ImageIcon getImageIcon(int faceNum)
Returns the 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.

Parameters:
faceNum - the face ID
Returns:
the face, or the "unknown" face if the face is not loaded

getSize

int getSize()
Returns the size of faces in pixels.

Returns:
the size in pixels