|
MID Profile | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Image | |
javax.microedition.lcdui | The UI API provides a set of features for implementation of user interfaces for MIDP applications. |
Uses of Image in javax.microedition.lcdui |
Methods in javax.microedition.lcdui that return Image | |
Image |
ImageItem.getImage()
Gets the image contained within the ImageItem, or null if there is no contained image. |
Image |
List.getImage(int elementNum)
Implementation of getImage of interface Choice . |
static Image |
Image.createImage(int width,
int height)
Creates a new, mutable image for off-screen drawing. |
static Image |
Image.createImage(Image image)
Creates an immutable image from a mutable image. |
static Image |
Image.createImage(String name)
Creates an immutable image from decoded image data obtained from the named resource. |
static Image |
Image.createImage(byte[] imagedata,
int imageoffset,
int imagelength)
Creates an immutable image which is decoded from the data stored in the specified byte array at the specified offset and length. |
Image |
Choice.getImage(int elementNum)
Gets the Image part of the element referenced by elementNum. |
Image |
ChoiceGroup.getImage(int elementNum)
Implementation of getImage of interface Choice . |
Methods in javax.microedition.lcdui with parameters of type Image | |
void |
ImageItem.setImage(Image img)
Sets the image object contained within the ImageItem. |
int |
List.appendElement(String stringPart,
Image imagePart)
Implementation of appendElement of interface Choice . |
void |
List.insertElement(int elementNum,
String stringPart,
Image imagePart)
Implementation of insertElement of interface Choice . |
void |
List.setElement(int elementNum,
String stringPart,
Image imagePart)
Implementation of setElement of interface Choice . |
int |
Form.appendImage(Image img)
Adds an item consisting of one Image to the form. |
void |
Graphics.drawImage(Image img,
int x,
int y,
int anchor)
Draws the specified image by using the anchor point. |
static Image |
Image.createImage(Image image)
Creates an immutable image from a mutable image. |
int |
Alert.appendImage(Image img)
Adds an item consisting of one Image to the form. |
int |
Choice.appendElement(String stringPart,
Image imagePart)
Appends an element to the Choice. |
void |
Choice.insertElement(int elementNum,
String stringPart,
Image imagePart)
Inserts an element into the Choice just before to the element specified. |
void |
Choice.setElement(int elementNum,
String stringPart,
Image imagePart)
Sets the element referenced by elementNum to the specified element, replacing the previous contents of the element. |
int |
ChoiceGroup.appendElement(String stringPart,
Image imagePart)
Implementation of appendElement of interface Choice . |
void |
ChoiceGroup.insertElement(int elementNum,
String stringElement,
Image imageElement)
Implementation of insertElement of interface Choice . |
void |
ChoiceGroup.setElement(int elementNum,
String stringPart,
Image imagePart)
Implementation of setElement of interface Choice . |
Constructors in javax.microedition.lcdui with parameters of type Image | |
ImageItem.ImageItem(String label,
Image img,
int layout,
String altText)
Creates a new ImageItem with the given label, image, layout directive, and alternate text string. |
|
List.List(String title,
int listType,
String[] stringElements,
Image[] imageElements)
Creates a new List, specifying its title, the type of the List, and an array of Strings and Images to be used as its initial contents. |
|
ChoiceGroup.ChoiceGroup(String label,
int choiceType,
String[] stringElements,
Image[] imageElements)
Creates a new ChoiceGroup, specifying its title, its type, and arrays of Strings and Images to be used as its initial contents. |
|
MID Profile | |||||||||
PREV NEXT | FRAMES NO FRAMES |