Java Reference
In-Depth Information
Figure 5-6.
A DateField, and screens showing what happens when you select the time and date
portions of the field, respectively
Introducing the ImageItem
An
ImageItem
shows an image as an image, button, or hyperlink, depending on its appear-
ance mode. As with a
StringItem
, you can provide a
Command
and an
ItemCommandListener
to
process selection events on an
ImageItem
appearing as a button or hyperlink.
Introducing the Gauge
A
Gauge
item creates a graphical display of an integer value within a given range between
zero and some predefined maximum. When creating a
Gauge
item, you can control the
current value and the maximum value. Some instances of
Gauge
are interactive—that is,
they let the user set the value. Figure 5-7 shows an interactive
Gauge
.