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

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

MID Profile

Uses of Class
javax.microedition.lcdui.Item

Packages that use Item
javax.microedition.lcdui The UI API provides a set of features for implementation of user interfaces for MIDP applications. 
 

Uses of Item in javax.microedition.lcdui
 

Subclasses of Item in javax.microedition.lcdui
 class ChoiceGroup
          A ChoiceGroup is a group of selectable elements intended to be placed within a Form.
 class CustomItem
          A CustomItem is customizable by subclassing to introduce new visual and interactive elements into Forms.
 class DateField
          A DateField is an editable component for presenting date and time (calendar) information that may be placed into a Form.
 class Gauge
          Implements a graphical display, such as a bar graph, of an integer value.
 class ImageItem
          An item that can contain an image.
 class Spacer
          A blank, non-interactive item that has a settable minimum size.
 class StringItem
          An item that can contain a string.
 class TextField
          A TextField is an editable text component that may be placed into a Form.
 

Methods in javax.microedition.lcdui that return Item
 Item Form.get(int itemNum)
          Gets the item at given position.
 

Methods in javax.microedition.lcdui with parameters of type Item
 void ItemStateListener.itemStateChanged(Item item)
          Called when internal state of an Item has been changed by the user.
 void ItemCommandListener.commandAction(Command c, Item item)
          Called by the system to indicate that a command has been invoked on a particular item.
 int Form.append(Item item)
          Adds an Item into the Form.
 void Form.insert(int itemNum, Item item)
          Inserts an item into the Form just prior to the item specified.
 void Form.set(int itemNum, Item item)
          Sets the item referenced by itemNum to the specified item, replacing the previous item.
 void Display.setCurrentItem(Item item)
          Requests that the Displayable that contains this Item be made current, scrolls the Displayable so that this Item is visible, and possibly assigns the focus to this Item.
 

Constructors in javax.microedition.lcdui with parameters of type Item
Form(String title, Item[] items)
          Creates a new Form with the specified contents.
 


MID Profile

Copyright © 2006 Sun Microsystems, Inc. and Motorola, 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 118 specification.