Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

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.
 Image List.getImage(int elementNum)
           
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)
           
 

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.append(String stringPart, Image imagePart)
           
 void List.insert(int elementNum, String stringPart, Image imagePart)
           
 void List.set(int elementNum, String stringPart, Image imagePart)
           
 int Form.append(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 source)
           Creates an immutable image from a source image.
 void Alert.setImage(Image img)
           Sets the Image used in the Alert.
 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)
           
 

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.
Alert.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.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.
 


MID Profile

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 37 specification.