Crossfire JXClient, Trunk  R20561
com.realtime.crossfire.jxclient.faces.ImageCache Interface Reference

Interface for ImageIcon caching classes. More...

+ Inheritance diagram for com.realtime.crossfire.jxclient.faces.ImageCache:
+ Collaboration diagram for com.realtime.crossfire.jxclient.faces.ImageCache:

Public Member Functions

ImageIcon load (@NotNull Face face)
 Retrieves an image from the cache. More...
 
void save (@NotNull Face face, @NotNull ImageIcon imageIcon)
 Stores an ImageIcon into the cache. More...
 

Detailed Description

Interface for ImageIcon caching classes.

Author
Andreas Kirschbaum

Definition at line 32 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: