Package com.realtime.crossfire.jxclient.faces
package com.realtime.crossfire.jxclient.faces
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.
-
ClassDescriptionAbstract base class for classes implementing
FaceQueue.Abstract base class forFacesManagerimplementations.AFaceQueuerequesting faces by "askface" commands sent to the Crossfire server.Interface for classes interested in faces received from the Crossfire server.Interface for classes that allow sending "askface" commands.RetrievesFaceinformation by face ID.AFacerepresents one image received from a Crossfire server.A cache forFaceinstances.Consists of threeImageIconsrepresenting aFace.Utility class for creatingFaceImagesinstances.Interface for classes implementing a means to loadFaces.Interface for listeners interested inFaceQueueevents.Maintains a mapping of face numbers to face data.Interface for listeners interested inFacesManagerevents.Interface for face providers.A factory for creatingFacesProviderinstances.The mainFaceQueuefor loading faces.A disk based cache for image files.AFaceQueueloading faces fromImageCacheinstances.Interface forImageIconcaching classes.A utility to perform the scale2x algorithm on a Java Image.A utility to scale down an image by 8 in both dimensions.AFacesProviderthat returns faces scaled to 4x4 pixels.AFacesProviderthat returns faces scaled to 64x64 pixels.A simple implementation of the Scale2x algorithm for scaling raw image data.Scales down a raw image to an eighth in both dimensions.AFacesProviderthat returns faces scaled to 64x64 pixels.Maintains smoothing information received from the Crossfire server.