public interface ImageCache
ImageIcon caching classes.| Modifier and Type | Method and Description |
|---|---|
@Nullable javax.swing.ImageIcon |
load(@NotNull Face face)
Retrieves an image from the cache.
|
void |
save(@NotNull Face face,
@NotNull javax.swing.ImageIcon imageIcon)
Stores an
ImageIcon into the cache. |
@Nullable
@Nullable javax.swing.ImageIcon load(@NotNull
@NotNull Face face)
face - the face to retrievenull if the cache does not contain the
imagevoid save(@NotNull
@NotNull Face face,
@NotNull
@NotNull javax.swing.ImageIcon imageIcon)
ImageIcon into the cache.face - the face to saveimageIcon - the image icon to store