java.lang.Objectcom.realtime.crossfire.jxclient.faces.OriginalFacesProvider
public class OriginalFacesProvider
A FacesProvider that returns faces scaled to 64x64 pixels.
| Field Summary | |
|---|---|
private FacesManager |
facesManager
The FacesManager to query. |
private static int |
SIZE
The size of faces in pixels. |
| Constructor Summary | |
|---|---|
OriginalFacesProvider(FacesManager facesManager)
Creates a new instance. |
|
| Method Summary | |
|---|---|
javax.swing.ImageIcon |
getImageIcon(int faceNum)
Returns the face for a face ID. |
int |
getSize()
Returns the size of faces in pixels. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@NotNull private final FacesManager facesManager
FacesManager to query.
private static final int SIZE
| Constructor Detail |
|---|
public OriginalFacesProvider(@NotNull
FacesManager facesManager)
facesManager - the faces manager to query| Method Detail |
|---|
@NotNull public javax.swing.ImageIcon getImageIcon(int faceNum)
getImageIcon in interface FacesProviderfaceNum - the face ID
public int getSize()
getSize in interface FacesProvider