MID Profile

Uses of Class
javax.microedition.lcdui.Image

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.
static Image Image.createImage(int width, int height)
           Creates a new, mutable image for off-screen drawing.
static Image Image.createImage(Image source)
           Creates an immutable image from a source 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 Alert.getImage()
          Gets the Image used in the Alert.
 Image Choice.getImage(int elementNum)
          Gets the Image part of the element referenced by elementNum.
 Image ChoiceGroup.getImage(int elementNum)
           
 Image List.getImage(int elementNum)
           
 

Methods in javax.microedition.lcdui with parameters of type Image
 int Form.append(Image img)
           Adds an item consisting of one Image to the form.
 void ImageItem.setImage(Image img)
          Sets the image object contained within the ImageItem.
static Image Image.createImage(Image source)
           Creates an immutable image from a source image.
 void Alert.setImage(Image img)
           Sets the Image used in the Alert.
 void Graphics.drawImage(Image img, int x, int y, int anchor)
          Draws the specified image by using the anchor point.
 int Choice.append(String stringPart, Image imagePart)
          Appends an element to the Choice.
 void Choice.insert(int elementNum, String stringPart, Image imagePart)
          Inserts an element into the Choice just prior to the element specified.
 void Choice.set(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.append(String stringPart, Image imagePart)
           
 void ChoiceGroup.insert(int elementNum, String stringElement, Image imageElement)
           
 void ChoiceGroup.set(int elementNum, String stringPart, Image imagePart)
           
 int List.append(String stringPart, Image imagePart)
           
 void List.insert(int elementNum, String stringPart, Image imagePart)
           
 void List.set(int elementNum, String stringPart, Image imagePart)
           
 

Constructors in javax.microedition.lcdui with parameters of type Image
ImageItem(String label, Image img, int layout, String altText)
          Creates a new ImageItem with the given label, image, layout directive, and alternate text string.
Alert(String title, String alertText, Image alertImage, AlertType alertType)
          Constructs a new Alert object with the given title, content string and image, and alert type.
ChoiceGroup(String label, int choiceType, String[] stringElements, Image[] imageElements)
          Creates a new ChoiceGroup, specifying its title, the type of the ChoiceGroup, and an array of Strings and Images to be used as its initial contents.
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.
 


MID Profile

Submit a comment or suggestion Version 1.0 of MID Profile Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright (c) 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road,Palo Alto, California, 94303, U.S.A. All Rights Reserved.