beautypg.com

Motorola HANDSET C381P User Manual

Page 96

background image

24
LCDUI

96

visual and interactive elements into Forms.

DateField

A DateField is an editable component for presenting date and time
(calendar) information that will be placed into a Form.

Display

Display

represents the manager of the display and input devices of

the system.

Displayable

An object that has the capability of being placed on the display.

Font

The Font class represents fonts and font metrics.

Form

A Form is a Screen that contains an arbitrary mixture of items:
images, read-only text fields, editable text fields, editable date fields,
gauges, choice groups, and custom items.

Gauge

Implements a graphical display, such as a bar graph of an integer value.

Graphics

Provides simple 2D geometric rendering capability.

Image

The Image class is used to hold graphical image data.

ImageItem

An item that can contain an image.

Item

A superclass for components that car be added to a Form

231

.

List

A Screen containing a list of choices.

Screen

The common superclass of all high-level user interface classes.

Spacer

A blank, non-interactive item that has a settable minimum size.

StringItem

An item that can contain a string.

TextBox

The TextBox class is a Screen that allows the user to enter and edit
data.

TextField

A TextField is an editable text component that will be placed into a
Form.

Ticker

Implements a “ticker-tape”, a piece of text that runs continuously across
the display.

Table 22 Specific classes supported by Motorola implementation


Refer to Table 23 for LCDUI feature/class support for MIDP 2.0:

Feature/Class

Implementation

All fields, constructors, methods, and inherited methods for the Alert
class in the javax.microedition.lcdui package

Supported

All fields, constructors, methods, and inherited methods for the
AlertType class in the javax.microedition.lcdui package

Supported

Will provide and play an audible sound when the play Sound() method
is called with an AlertType of ALARM

Supported

Will provide and play an audible sound when the play Sound() method
is called with an AlertType of ERROR

Supported