O'Reilly logo

Java™ ME Game Programming, Second Edition by Ph.D. Martin J. Wells, Ph.D. John P. Flynt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lists

The List class provides an object that can be used to display a series of elements, each of which can individually invoke a command. There are three modes of List objects. Two of these modes designate List objects that can be selected one at time. Field values obtained from the Choice class are used to identify these two modes of the List object. They are the IMPLICIT and EXCLUSIVE fields. As Table 9.7 indicates, the IMPLICIT mode allows you to display unadorned lists of items. The EXCLUSIVE mode allows you to precede displayed items with radio buttons, as is shown in Figure 9.7. You can select only one item at a time from such lists, and as you do so the radio button is activated. The other mode is MULTIPLE. This mode of list object allows ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required