Package com.sun.lwuit

Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT.

See:
          Description

Interface Summary
M3G.Callback Callback interface that allows rendering of 3D graphics on top/bellow the current form.
Painter Painter can be used to draw on components backgrounds.
 

Class Summary
BrowserComponent The browser component is an interface to an embeddable native platform browser on platforms that support embedding the native browser in place, if you need wide compatibility and flexibility you should check out the HTMLComponent which provides a lightweight 100% cross platform web component.
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.
ComponentGroup A component group is a container that applies the given UIID to a set of components within it and gives the same UIID with "First"/"Last" prepended to the first and last components.
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.
M3G Deprecated. this class isn't portable, its functionality will move to an external package in the future
MediaComponent Deprecated. replaced by VideoComponent, this class will be removed in the next version of LWUIT
MenuBar This class represents the Form MenuBar.
PeerComponent A peer component is essentially a "dummy" LWUIT component used to calculate the position of the actual native platform specific component.
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.
Slider The slider component serves both as a slider widget to allow users to select a value on a scale via touch/arrows and also to indicate progress.
StaticAnimation Deprecated. this class shouldn't be referenced directly, use the Image base class for all functionality
TabbedPane Deprecated. see Tabs.java
Tabs 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.
VideoComponent Allows embedding a video into a LWUIT component, video creation/management is very platform specific and this component tries to abstract that logic as much as possible while maintaining portability.
VirtualKeyboard This class represent the LWUIT Light Weight Virtual Keyboard
 

Package com.sun.lwuit Description

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.