See: Description
Interface | Description |
---|---|
Painter |
Painter can be used to draw on components backgrounds.
|
URLImage.ImageAdapter |
Allows applying resize logic to downloaded images you can use constant
resize behaviors defined in this class.
|
Class | Description |
---|---|
AutoCompleteTextField |
This class is an editable TextField with predefined completion suggestion
that shows up in a drop down menu while the user types in text
|
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<T> |
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.
|
InfiniteContainer |
This abstract Container can scroll indefinitely (or at least until
we run out of data).
|
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<T> |
A set of elements that is rendered using a
ListCellRenderer
and are extracted via the ListModel . |
MenuBar |
This class represents the Form MenuBar.
|
PeerComponent |
A peer component is essentially a "dummy" Codename One 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.
|
SideMenuBar |
This is Menu Bar that displays it's commands on a side bar navigation similar
to Google+/Facbook apps navigation
|
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.
|
Stroke |
Encapsulates the stroke used for drawing paths.
|
SwipeableContainer |
This Container enables to place Components below a Component and to swipe the
top Component to the right or to the left to expose the Components below.
|
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.
|
Toolbar |
Toolbar can replace the default TitleArea component.
|
Transform | |
URLImage |
The URLImage allows us to create an image from a URL.
|
VirtualKeyboard |
This class represent the Codename One Light Weight Virtual Keyboard
|
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.codename1.ui.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.