Appendix A. Low-Level GUI Classes

Game Classes

The following listing contains a brief description of commonly used J2ME GUI classes. All the following classes are in the javax.microedition.lcdui package.

  • Alert—. Shows data to the user and waits for a certain period of time.

  • AlertType—. Designates the nature of an Alert.

  • Canvas—. Handles low-level events and draws to the display.

  • ChoiceGroup—. A group of selectable elements.

  • Command—. A user action.

  • DateField—. An editable component for presenting date and time information.

  • Display—. Represents the manager of the display and input devices for the device.

  • Displayable—. A superclass of all Screens that can be put on the display.

  • Font—. Text fonts and font metrics.

  • Form—. A Screen that contains common user interface ...

Get Micro Java™ Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.