See: Description
Interface | Description |
---|---|
Painter |
Painter can be used to draw on components backgrounds.
|
Class | Description |
---|---|
Button |
Button is the base class for several UI widgets allowing clickability.
|
ButtonGroup |
This class is used to create a multiple-exclusion scope for a set of
RadioButtons.
|
Calendar |
Date widget for selecting a date/time value.
|
CheckBox |
Checkbox is a button that can be selected or deselected, and which displays
its state to the user.
|
ComboBox |
A combo box is a list that allows only one selection at a time, when a user clicks
the combo box a popup button with the full list of elements allows the selection of
a single element.
|
Command |
The action placed on the soft buttons and in the Menu on devices, similar to the
MIDP command abstraction and Swing's Actions.
|
Component |
Base class for all the widgets in the toolkit using the composite pattern in
a similar way to the AWT Container/Component relationship.
|
Container |
A composite pattern with
Component , allows nesting and arranging multiple
components using a pluggable layout manager architecture. |
Dialog |
A dialog is a form that occupies a part of the screen and appears as a modal
entity to the developer.
|
Display |
Central class for the API that manages rendering/events and is used to place top
level components (
Form ) on the "display". |
EncodedImage |
An image that only keeps the binary data of the source file used to load it
in permanent memory.
|
Font |
A simple abstraction of platform fonts and library fonts that enables the
library to use more elaborate fonts unsupported by a specific device.
|
Form |
Top level component that serves as the root for the UI, this
Container
handles the menus and title while placing content between them. |
Graphics |
Abstracts the underlying platform graphics context thus allowing us to achieve
portability between MIDP devices and CDC devices.
|
Image |
Abstracts the underlying platform images allowing us to treat them as a uniform
object.
|
IndexedImage | Deprecated
This class should no longer be referenced directly.
|
Label |
Allows displaying labels and images with different alignment options, this class
is a base class for several components allowing them to declare alignement/icon
look in a similar way.
|
List |
A set of elements that is rendered using a
ListCellRenderer
and are extracted via the ListModel . |
MediaComponent |
A component allowing us to embed and control rich media content
|
RadioButton |
RadioButton is a
Button that maintains a selection state exclusively
within a specific ButtonGroup |
RGBImage |
An image that stores its data as an integer RGB array internally,
this image cannot be manipulated via Graphics primitives however its
array is accessible and modifiable programmatically.
|
ScaledImage |
This class has not been part of LWUIT 1.4.
|
StaticAnimation | Deprecated
this class shouldn't be referenced directly, use the Image base class
for all functionality
|
TabbedPane |
A component that lets the user switch between a group of components by
clicking on a tab with a given title and/or icon.
|
TextArea |
An optionally multi-line editable region that can display text and allow a user to edit it.
|
TextField |
Allows in place editing using a lightweight API without necessarily moving to
the external native text box.
|
Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. Unlike Swing/AWT a full windowing system is not applicable in this case and forms are placed using a Display abstraction more in line with the MIDP API.
Components are placed in a container with layout managers that are used to detemine
component positioning com.sun.lwuit.layouts
, containers can be nested
deeply in a similar way to Swing/AWT. All components are lightweight and drawn by
the UIManager
which allows us to theme everything using
styles. It also alows elaborate UI customizability by deriving LookAndFeel
and overriding specific methods for drawing/sizing components.