Java Reference
In-Depth Information
MIDP-Specific Packages
The MIDP-specific packages javax.microedition.lcdui ,
javax.microedition.midlet , and javax.microedition.rms are described in the
following sections.
The javax.microedition.lcdui Package
This package provides a set of features for implementation of user interfaces for MIDP applications.
Interfaces
Choice The Choice interface defines methods for UI components
implementing the capability of selecting elements from a predefined
n umber of elements.
CommandListener The CommandListener interface defines methods that are used by
applications that want to receive high-level commands from the UI
i mplementation.
ItemStateListener The ItemStateListener interface defines methods that are used
by applications that want to receive events that indicate changes in
the internal state of the interactive items within a Form screen.
Classes
Alert The Alert class provides a screen that shows data to the user and waits for
a specified period of time before proceeding to the next screen.
AlertType The AlertType class provides an indication of the behavior of alerts.
Canvas The Canvas class is the base class for writing applications that need to
handle low-level events and to issue graphics calls for drawing to the display
at low-level.
ChoiceGroup The ChoiceGroup class is a group of selectable elements that needs to be
a ppended to a Form .
Command The Command class encapsulates the semantic information of an action.
DateField The DateField class provides a UI component for editing date and time
information. This UI component needs to be appended to a Form .
Display The Display class represents the manager of the display and input devices
o f the system.
Displayable The Displayable class encapsulates an object that has the capabilities to
b e placed on the Display .
Font
The Font class represents a font and font metrics.
Form
The Form class is a Screen that contains an arbitrary mixture of all available
h igh-level UI components.
Gauge
The Gauge class represents a bar graph display of a value that needs to be
p laced in a Form .
Graphics
The Graphics class provides simple 2D geometric rendering in the low-level
API.
Image
The Image class is used to hold image data.
ImageItem
The ImageItem class provides layout functionality for images that need to be
p laced in a Form or Alert .
Item
The Item class is the superclass of all UI components that can be appended
 
Search WWH ::




Custom Search