Crossfire JXClient, Trunk
Public Member Functions | List of all members
com.realtime.crossfire.jxclient.faces.ImageCache Interface Reference
Inheritance diagram for com.realtime.crossfire.jxclient.faces.ImageCache:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.faces.ImageCache:
Collaboration graph

Public Member Functions

ImageIcon load (@NotNull Face face)
 
void save (@NotNull Face face, @NotNull ImageIcon imageIcon)
 

Detailed Description

Interface for ImageIcon caching classes.

Author
Andreas Kirschbaum

Definition at line 33 of file ImageCache.java.

Member Function Documentation

◆ load()

ImageIcon com.realtime.crossfire.jxclient.faces.ImageCache.load ( @NotNull Face  face)

Retrieves an image from the cache.

Parameters
facethe face to retrieve
Returns
the image icon, or
null
if the cache does not contain the image

Implemented in com.realtime.crossfire.jxclient.faces.FileCache.

Referenced by com.realtime.crossfire.jxclient.faces.FileCacheFaceQueue.LoadTask.run().

Here is the caller graph for this function:

◆ save()

void com.realtime.crossfire.jxclient.faces.ImageCache.save ( @NotNull Face  face,
@NotNull ImageIcon  imageIcon 
)

Stores an ImageIcon into the cache.

Parameters
facethe face to save
imageIconthe image icon to store

Implemented in com.realtime.crossfire.jxclient.faces.FileCache.

Referenced by com.realtime.crossfire.jxclient.faces.FileCacheFaceQueue.SaveTask.run().

Here is the caller graph for this function:

The documentation for this interface was generated from the following file: