|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.birosoft.liquid.skin.SkinImageCache
public class SkinImageCache
A cache for the skin images. It is used as a singleton.
| Constructor Summary | |
|---|---|
protected |
SkinImageCache()
|
| Method Summary | |
|---|---|
java.awt.Image |
getAutomaticImage(java.lang.String fileName)
Loads the image file with fileName fileName as an automatic image. |
java.awt.image.BufferedImage |
getBufferedImage(java.lang.String fileName)
Loads the image file with fileName fileName as an buffered image. |
java.awt.Image |
getImage(java.lang.String fileName)
Loads the image file with fileName fileName. |
static SkinImageCache |
getInstance()
Returns the only instance of the image cache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SkinImageCache()
| Method Detail |
|---|
public java.awt.Image getAutomaticImage(java.lang.String fileName)
fileName as an automatic image.
For images with bitmask transparency or no transparency the image should be
hardware accelerated.
fileName - the file name of the image file to load
public java.awt.Image getImage(java.lang.String fileName)
fileName.
fileName - the file name of the image file to load
public java.awt.image.BufferedImage getBufferedImage(java.lang.String fileName)
fileName as an buffered image.
This is basically not hardware accelerated.
fileName - the file name of the image file to load
public static SkinImageCache getInstance()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||