|
-bottom | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.microedition.lcdui.Image
|
+--com.velox.SISAniImage
| Fields inherited from class javax.microedition.lcdui.Image |
impl |
| Method Summary | |
int |
bestIndex()
Gets best index. |
static javax.microedition.lcdui.Image |
createImage(byte[] imagedata,
int imageoffset,
int imagelength)
Create image using byte array of image data, image offset, length. |
static javax.microedition.lcdui.Image |
createImage(java.lang.String name)
Creates an image using given file name. |
static void |
deallocate()
|
javax.microedition.lcdui.Image |
get(int index)
Gets the image using index |
int[] |
getDelay()
Gets delay. |
javax.microedition.lcdui.Image |
getType(int index)
Gets the type using index. |
boolean |
isLooped()
Returns true if loop is set. |
int |
numTypes()
Gets the numTypes. |
void |
set(int index)
Sets image given index. |
static void |
setBufferSize(int size)
Sets buffer size given size. |
int |
size()
Gets size. |
| Methods inherited from class javax.microedition.lcdui.Image |
createImage, createImage, getGraphics, getHeight, getImageData, getWidth, isMutable |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static javax.microedition.lcdui.Image createImage(java.lang.String name)
throws java.io.IOException
name - - file name.java.io.IOException - -
public static javax.microedition.lcdui.Image createImage(byte[] imagedata,
int imageoffset,
int imagelength)
imagedata - - byte arrayimageoffset - - offsetimagelength - -ArrayIndexOutOfBoundsException - - if imageoffset or imagelength
is smaller than 0, or length of imagedata is smaller than sum of
imgaeoffset and imagelength.public javax.microedition.lcdui.Image get(int index)
index - - index of finding image.java.lang.IllegalArgumentException - - if index is smaller than 0 or
index is bigger or same than size.public javax.microedition.lcdui.Image getType(int index)
index - - index of finding image.java.lang.IllegalArgumentException - - if index is smaller than 0 or
index is bigger or same than maxType.public boolean isLooped()
public int size()
public int[] getDelay()
public int bestIndex()
public int numTypes()
public void set(int index)
index - java.lang.IllegalArgumentException - - if index is smaller than 0 or
index is bigger or same than size.public static void setBufferSize(int size)
size - public static void deallocate()
|
-bottom | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||