public class ImageCache
extends java.lang.Object
Constructor and Description |
---|
ImageCache() |
Modifier and Type | Method and Description |
---|---|
static void |
dispose()
Disposes ALL images that have been cached.
|
static org.eclipse.swt.graphics.Image |
getImage(java.lang.String fileName)
Returns an image that is also cached if it has to be created and does not already exist in the cache.
|
public static org.eclipse.swt.graphics.Image getImage(java.lang.String fileName)
fileName
- Filename of image to fetchpublic static void dispose()