|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.novell.admin.common.ui.ImageCache
| Constructor Summary | |
ImageCache()
default constructor |
|
ImageCache(int items)
constructor specifiying how many items are desired in the cache |
|
| Method Summary | |
void |
add(java.awt.Image image,
java.lang.String imageStr)
adds the given image/string combo to the cache |
java.awt.Image |
find(java.lang.String strImage)
checks the cache for the given image |
void |
remove(java.lang.String imageStr)
removes the given image/string combo to the start of the cache |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ImageCache()
public ImageCache(int items)
I-items - initial number of items in the cache| Method Detail |
public final java.awt.Image find(java.lang.String strImage)
I-imageStr - the file name of the image to load
public final void add(java.awt.Image image,
java.lang.String imageStr)
I-image - The the image to addI-strImage - The image name to addpublic final void remove(java.lang.String imageStr)
I-image - The the image to add
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||