Java Reference
In-Depth Information
Figure 5-7. An interactive Gauge
Because gauges can be interactive, you can add an ITEM Command instance to a gauge,
and then the gauge responds when the gauge is changed through its ItemCommandListener ,
just as with an ImageItem or StringItem .
Managing Choices
The Choice interface and ChoiceGroup classes let you present a list of choices to users. As
shown in Figure 5-8, you can present choices as radio buttons (forcing an exclusive
choice, where users can select exactly one item at once), check boxes (where users can
select zero or more items), or a pop-up, which shows only the selected item.
 
Search WWH ::




Custom Search