Package com.realtime.crossfire.jxclient.faces

Manages image information ("faces") needed to display the map view, items, and spell icons.

See:
          Description

Interface Summary
FaceQueue Interface for classes implementing a means to load Faces.
FaceQueueListener Interface for listeners interested in FaceQueue events.
FacesManager  
FacesManagerListener Interface for listeners interested in FacesManager events.
FacesProvider Interface for face providers.
ImageCache Interface for ImageIcon caching classes.
 

Class Summary
AbstractFaceQueue Abstract base class for classes implementing FaceQueue.
AbstractFacesManager Abstract base class for FacesManager implementations.
AskfaceFaceQueue A FaceQueue requesting faces by "askface" commands sent to the Crossfire server.
DefaultFacesManager Retrieves Face information by face ID.
Face A Face represents one image received from a Crossfire server.
FaceCache A cache for Face instances.
FaceImages Consists of three ImageIcons representing a Face.
FaceImagesUtils Utility class for creating FaceImages instances.
FacesProviderFactory A factory for creating FacesProvider instances.
FacesQueue The main FaceQueue for loading faces.
FileCache A disk based cache for image files.
FileCacheFaceQueue A FaceQueue loading faces from ImageCache instances.
ImageScale2x A utility to perform the scale2x algorithm on a Java Image.
ImageScale8d A utility to scale down an image by 8 in both dimensions.
MagicMapFacesProvider A FacesProvider that returns faces scaled to 4x4 pixels.
MemoryImageCache Simple in-memory cache implementing the ImageCache interface.
OriginalFacesProvider A FacesProvider that returns faces scaled to 64x64 pixels.
RawScale2x A simple implementation of the Scale2x algorithm for scaling raw image data.
RawScale8d Scales down a raw image to an eighth in both dimensions.
ScaledFacesProvider A FacesProvider that returns faces scaled to 64x64 pixels.
 

Package com.realtime.crossfire.jxclient.faces Description

Manages image information ("faces") needed to display the map view, items, and spell icons. The main class is FacesManager; it delegates to a FaceCache instance for caching the face information. The faces are stored in SoftReferences so they can be reclaimed by the garbage collector.

If a face is not available, an "unknown" (question mark) face is returned and the face is requested through a FacesQueue instance.