DisplayListener interface defines a method that
is called in response to
Display class provides an application with access to the
device's user interface hardware resources.
Class to represent text, background and lighting colors as used in
Defines the capabilities of a
Package javax.microedition.lui Description
[OPTIONAL] Set of features to implement Line-oriented User Interface.
The APIs in the LUI package provide a set of features for implementing user
interfaces in JME Embedded Profile applications. It is made for those
implementations running on embedded devices with one or more simple
line-oriented displays, good for displaying text messages only that have
therefore chosen LUI
as their user interface package (see
in the JME Embedded Profile summary for details.
Those displays can be built-in or auxiliary ones.
LUI Package Architecture
An application gains access to a display resource using a
represents specific application's use of a specific resource, rather than the
resource itself. Hence, for a given display resource, each application has its
object for accessing it.
Display has a display
state, indicating whether the logical
Display is currently
assigned to the underlying hardware or not: A line-oriented display can only
be exclusively used by one application at a time. Therefore only one logical
Display can be assigned to it at a time.
Display objects also reflect characteristics of the underlying
hardware like :
- key event support (depending on whether a user input device is
assigned to the display or not; if key events are supported, the
InputDevice interface as defined
javax.microedition.key package MUST be implemented.
- scrolling support
- support of more than one text color
- support of background color with or without the possibility to change it
- support of lighting with or without the possibility to change color