|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kalmeo.util.resource.ImageManager
public class ImageManager
Field Summary | |
---|---|
static ImageManager |
instance
|
Constructor Summary | |
---|---|
ImageManager()
|
Method Summary | |
---|---|
Image |
getImage(java.lang.String path)
Retrieve an Image instance from the specified path . |
void |
releaseAll()
Release all cached image instances. |
void |
releaseImage(java.lang.String path)
Release an image instance from cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ImageManager instance
Constructor Detail |
---|
public ImageManager()
Method Detail |
---|
public Image getImage(java.lang.String path)
Image
instance from the specified path
.
path
-
Image
instancepublic void releaseImage(java.lang.String path)
path
- public void releaseAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |