An object that has the capability of being placed on the display. A
Displayable object may have a title, a ticker, zero or more commands and a listener associated with it. The contents displayed and their interaction with the user are defined by subclasses.
The title string may contain line breaks. The display of the title string must break accordingly. For example, if only a single line is available for a title and the string contains a line break then only the characters up to the line break are displayed.
Unless otherwise specified by a subclass, the default state of newly created Displayable objects is as follows:
- it is not visible on the
Display; - there is no
Ticker associated with this Displayable; - the title is
null; - there are no
Commands present; and - there is no
CommandListener present.
@since MIDP 1.0