public interface ImageCache
Interface for ImageIcon
caching classes.
Method Summary | |
---|---|
javax.swing.ImageIcon |
load(Face face)
Retrieves an image from the cache. |
void |
save(Face face,
javax.swing.ImageIcon imageIcon)
Stores an ImageIcon into the cache. |
Method Detail |
---|
@Nullable javax.swing.ImageIcon load(@NotNull Face face)
face
- the face to retrieve
null
if the cache does not
contain the imagevoid save(@NotNull Face face, @NotNull javax.swing.ImageIcon imageIcon)
ImageIcon
into the cache.
face
- the face to saveimageIcon
- the image icon to store