static class QuantumToolkit.QuantumImage extends java.lang.Object implements ImageLoader, ResourceFactoryListener
Modifier and Type | Field and Description |
---|---|
private Image |
image |
private ResourceFactory |
rf |
private RTTexture |
rt |
Constructor and Description |
---|
QuantumImage(Image image) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
dispose() |
void |
factoryReleased()
Called when the factory is released.
|
void |
factoryReset()
Called when the factory is lost and about to be reset.
|
java.lang.Exception |
getException() |
PlatformImage |
getFrame(int index) |
int |
getFrameCount() |
int |
getFrameDelay(int index) |
int |
getHeight() |
int |
getLoopCount() |
(package private) RTTexture |
getRT(int w,
int h,
ResourceFactory rfNew) |
int |
getWidth() |
(package private) void |
setImage(Image img) |
private RTTexture rt
private Image image
private ResourceFactory rf
QuantumImage(Image image)
RTTexture getRT(int w, int h, ResourceFactory rfNew)
void dispose()
void setImage(Image img)
public java.lang.Exception getException()
getException
in interface ImageLoader
public int getFrameCount()
getFrameCount
in interface ImageLoader
public PlatformImage getFrame(int index)
getFrame
in interface ImageLoader
public int getFrameDelay(int index)
getFrameDelay
in interface ImageLoader
public int getLoopCount()
getLoopCount
in interface ImageLoader
public int getWidth()
getWidth
in interface ImageLoader
public int getHeight()
getHeight
in interface ImageLoader
public void factoryReset()
ResourceFactoryListener
factoryReset
in interface ResourceFactoryListener
public void factoryReleased()
ResourceFactoryListener
factoryReleased
in interface ResourceFactoryListener