| Package | Description |
|---|---|
| com.codename1.components |
Generic elaborate components that make use of both UI elements and storage.
|
| com.codename1.facebook.ui |
User interface for integrating with basic Facebook features currently mostly the Like button
|
| com.codename1.maps.layers |
The Layers are elements that are displayed on the map.
|
| com.codename1.ui |
Main widget package containing the component/container "composite" similar
both in terminology and design to Swing/AWT.
|
| com.codename1.ui.animations |
All components are animatable by potential and additional animations (unrelated
to a specific component) can be installed on the fly, transitions between
forms are also handled as part of this package.
|
| com.codename1.ui.list |
Lists are highly customizable and serve as the basis for
ComboBox and
other components (such as carousels etc) they employ a similar MVC approach to
Swing including the renderer pattern, notice that we strongly
discourage usage of lists...ListCellRenderer
allows us to customize the appearance of a list entry, it works as a
"rubber stamp" by drawing the rendered component and discarding its state thus
allowing very large lists with very little component state overhead. |
| com.codename1.ui.spinner |
Spinners allows picking of simple sequential values similarly to combo boxes but of a much wider value set.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AudioRecorderComponent
A component for recording Audio from the device microphone.
|
class |
ButtonList
An abstract base class for a list of buttons.
|
class |
CheckBoxList
A list of checkboxes.
|
class |
FileEncodedImage
An encoded image that stores the actual data of the encoded image in a disk file
or resource and loads it only when necessary.
|
class |
FileEncodedImageAsync
This class is identical to FileEncodedImage with the difference of using
asynchronous loading for files (and the animation framework) which will
not work for all cases (e.g.
|
class |
FloatingActionButton
Floating action buttons are a material design element used to promote a special action in a Form.
|
class |
MultiButton
A powerful button like component that allows multiple rows/and an icon to be added
every row/icon can have its own UIID.
|
class |
OnOffSwitch
Deprecated.
Use new
Switch class instead as it conforms to the latest platform looks and feels. |
class |
RadioButtonList
A list of Radio buttons that can be managed as a single component.
|
class |
ReplaceableImage
Allows the image data to be replaced at runtime when a different image is
available.
|
class |
RSSReader
A List implementing an RSS reader that automatically populates itself with content
from the RSS chanel.
|
class |
ScaleImageButton
Button that simplifies the usage of scale to fill/fit.
|
class |
ShareButton
The share button allows sharing a String or an image either thru the defined
sharing services or thru the native OS sharing support.
|
class |
SignatureComponent
A component to allow a user to enter their signature.
|
class |
SliderBridge
Binds a
Slider to network progress events so it shows the progress of
the current ConnectionRequest |
class |
SpanButton
A complex button similar to MultiButton that breaks lines automatically and
looks like a regular button (more or less).
|
class |
SpanMultiButton
A powerful button like component that allows multiple rows/and an icon to be added
every row/icon can have its own UIID.
|
class |
StorageImage
An encoded image that stores the actual data of the encoded image in storage.
|
class |
StorageImageAsync
Asynchronous storage image that loads in the background and not during the paint
cycle effectively not blocking the EDT drawing speed.
|
class |
Switch
The on/off switch is a checkbox of sort (although it derives container) that
represents its state as a switch When using the Android native theme, this implementation follows the Material
Design Switch guidelines:
https://material.io/guidelines/components/selection-controls.html#selection-controls-radio-button
|
class |
SwitchList
A list of switches.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LikeButton
Deprecated.
This functionality is no longer possible open a BrowserComponent
with the link instead, this class will be removed in next version
|
| Modifier and Type | Class and Description |
|---|---|
class |
PointsLayer
This is a Points Layer
|
| Modifier and Type | Class and Description |
|---|---|
class |
AutoCompleteTextField
An editable
TextField with completion suggestions
that show up in a drop down menu while the user types in text. |
class |
Button
Button is the base class for several UI widgets allowing clickability.
|
class |
ButtonGroup
This class is used to create a multiple-exclusion scope for
RadioButton. |
class |
Calendar
Date widget for selecting a date/time value.
To localize strings for month names use the values "Calendar.Month" using the 3 first characters of the month name in the resource localization e.g. |
class |
CheckBox
CheckBox is a button that can be selected or deselected and displays
its state to the user.
|
class |
ComboBox<T>
A
ComboBox is a list that allows only one selection at a time, when a user clicks
the ComboBox a popup button with the full list of elements allows the selection of
a single element. |
class |
ComponentImage
A utility wrapper that allows a Component to be used as an Image so that it can
be set as the icon for a Label or button.
|
class |
ComponentImage.EncodedWrapper
A wrapper for ComponentImage to convert it to an EncodedImage.
|
class |
DynamicImage
A base class for images that dynamically painted, just like a normal component.
|
class |
EncodedImage
EncodedImage is the workhorse of Codename One. |
class |
FontImage
FontImage allows using an icon font as if it was an image. |
class |
Image
Abstracts the underlying platform images allowing us to treat them as a uniform
object.
|
class |
List<T>
A set of elements that is rendered using a
ListCellRenderer
and are extracted via the ListModel, notice that
we strongly
discourage usage of lists.A list can represent many UI concepts ranging from a carousel to a "todo" checklist, this is made possible thanks to extensive use of Swing's style of MVC. |
class |
RadioButton
RadioButton is a
Button that maintains a selection state exclusively
within a specific ButtonGroup. |
class |
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.
|
class |
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.
|
class |
TextArea
An optionally multi-line editable region that can display text and allow a user to edit it.
|
class |
TextField
A specialized version of
TextArea with some minor deviations from the original
specifically: |
class |
URLImage
URLImage allows us to create an image from a URL. |
| Modifier and Type | Class and Description |
|---|---|
class |
Timeline
A timeline represents the motions of animation objects
|
| Modifier and Type | Class and Description |
|---|---|
class |
MultiList
A list with a
MultiButton renderer, notice that
we strongly
discourage usage of lists.. |
| Modifier and Type | Class and Description |
|---|---|
class |
Picker
Picker is a component and API that allows either popping up a spinner or
using the native picker API when applicable. |
Copyright © 2022. All rights reserved.