Interface | Description |
---|---|
AutoCompleteTextComponent.AutoCompleteFilter |
Allows filtering the entries in the auto complete
|
ComponentSelector.ComponentClosure |
Interface used for providing callbacks that receive a Component as input.
|
ComponentSelector.ComponentMapper |
Interface used by
ComponentSelector.map(com.codename1.ui.ComponentSelector.ComponentMapper) to form a new set of
components based on the components in one set. |
ComponentSelector.Filter |
Interface used by
ComponentSelector.filter(com.codename1.ui.ComponentSelector.Filter) to form a new set of
components based on the components in one set. |
Editable |
An interface that can be implemented to provide editing capabilities for any component
in the UI.
|
IconHolder |
An interface implemented by
Component classes that can display an icon. |
Paint |
An interface for providing custom painting such as gradients.
|
Painter |
Painter can be used to draw on components backgrounds. |
ReleasableComponent |
An Interface that any Component that could be released from the parent
Form can implement.
|
SelectableIconHolder |
An interface that is implemented by "selectable" components that hold icons, such as
Button ,
SpanButton , MultiButton , etc... |
TextHolder |
An interface implemented by
Component classes that can support
setting/getting text. |
TextSelection.TextSelectionSupport |
An interface that can be returned from any Component's
Component.getTextSelectionSupport() method to provide
text selection support on that component. |
UIFragment.ComponentFactory |
A factory for converting XML elements to Components.
|
URLImage.ErrorCallback |
Invoked in a case of an error
|
URLImage.ImageAdapter |
Allows applying resize logic to downloaded images you can use constant
resize behaviors defined in this class.
|
VirtualInputDevice |
Represents a virtual input device that may need to be closed/disposed, providing a way Widgets that
require exclusive access to the user's input (but perhaps not all of the user interactions with the app)
need to provide a way for the form to dispose of it when a new input device needs to be displayed.
|
Class | Description |
---|---|
AnimationManager |
Animation manager concentrates all of the animations for a given form into a single place that allows us
to manage all mutations to a Form in a way the prevents collisions between mutations.
|
AutoCompleteTextComponent |
A
TextComponent version of AutoCompleteTextField
This component was contributed here https://github.com/codenameone/CodenameOne/issues/2705 |
AutoCompleteTextField |
An editable
TextField with completion suggestions
that show 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.
This component will only work on platforms that support embedding a native browser which exclude earlier versions of Blackberry devices and J2ME devices. Its recommended that you place this component in a fixed position (none scrollable) on the screen without other focusable components to prevent confusion between focus authority and allow the component to scroll itself rather than CodenameOne making that decision for it. |
BrowserComponent.JSExpression |
A wrapper class for a literal javascript expression that can be passed as an
arg in
BrowserComponent.execute(java.lang.String, java.lang.Object[]) . |
BrowserComponent.JSRef |
A wrapper class for a Javascript value that is returned via the
#execute(java.lang.String, com.codename1.util.Callback)
method. |
BrowserWindow |
Encapsulates a WebView that is contained in its own separate window when run on a Desktop (e.g.
|
BrowserWindow.EvalRequest |
A future that is returned from the eval() method.
|
Button |
Button is the base class for several UI widgets allowing clickability.
|
ButtonGroup |
This class is used to create a multiple-exclusion scope for
RadioButton . |
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. |
CheckBox |
CheckBox is a button that can be selected or deselected and displays
its state to the user.
|
CN |
This is a global context static class designed for static import, this class allows us to write more
terse code.
|
CN1Constants |
Common constants for Display and CN
|
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. |
Command |
The Command class provides a useful extension to the ActionListener
interface in cases where the same functionality may be accessed by several controls.
|
CommonProgressAnimations |
A collection of useful progress animations and utility methods.
|
CommonProgressAnimations.CircleProgress |
A progress animation that shows an animated circle.
|
CommonProgressAnimations.EmptyAnimation |
An empty progress animation.
|
CommonProgressAnimations.LoadingTextAnimation |
A progress animation that shows a block of text being typed.
|
CommonProgressAnimations.ProgressAnimation |
Base class for ProgressAnimations
|
Component |
The component class is the basis of all UI widgets in Codename One, to arrange multiple components
together we use the Container class which itself "IS A" Component subclass.
|
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.
|
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.
|
ComponentSelector |
A tool to facilitate selection and manipulation of UI components as sets.
|
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". |
DynamicImage |
A base class for images that dynamically painted, just like a normal component.
|
EncodedImage |
EncodedImage is the workhorse of Codename One. |
Font |
Codename One currently supports 3 font types:
|
FontImage |
FontImage allows using an icon font as if it was an image. |
Form | |
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.
|
ImageFactory |
A factory class for creating mutable images.
|
InfiniteContainer |
This abstract Container can scroll indefinitely (or at least until
we run out of data).
|
InputComponent |
A base class for
TextComponent , PickerComponent
and potentially other components that wish to accept input in a dynamic way that matches iOS and
Android native input guidelines. |
InterFormContainer |
A container that allows you to use the same component on multiple forms.
|
Label |
Allows displaying a single line of text and icon (both optional) with different alignment options.
|
LinearGradientPaint |
LinearGradientPaint provides a way to fill a
Shape with a linear gradient. |
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. |
MenuBar |
This class represents the Form MenuBar.
|
MultipleGradientPaint |
A base class for Paints that use multiple gradients.
|
NavigationCommand |
The NavigationCommand is a Command that navigates to a given Form.
|
PeerComponent |
A peer component is essentially a "dummy" Codename One component used to calculate the position
of the actual native platform specific component.
|
PickerComponent |
A picker component similar to
TextComponent that adapts to native UI
conventions and leverages the Picker API. |
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.
|
Sheet |
A light-weight dialog that slides up from the bottom of the screen on mobile devices.
|
SideMenuBar | Deprecated
this class is still used internally but code should be migrated to use the
Toolbar |
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 |
SwipeableContainer allows us to side swipe a component and expose underlying configuration
within it. |
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.
|
TextComponent |
Encapsulates a text field and label into a single component.
|
TextComponentPassword |
TextComponent extended to automatically add mask/unmask password button near
the TextField; it acts like a normal TextComponent if the Constraint is not
TextArea.PASSWORD
|
TextField |
A specialized version of
TextArea with some minor deviations from the original
specifically: |
TextSelection |
Text selection support for Codename One applications.
|
Toolbar |
Toolbar replaces the default title area with a powerful abstraction that
allows functionality ranging from side menus (hamburger) to title animations
and any arbitrary component type.
|
TooltipManager |
Central management for tooltips, this class can be derived/customized
to override the default tooltip behavior.
|
Transform | |
UIFragment |
Encapsulates an XML or JSON template for a UI component hierarchy.
|
UIFragment.DefaultComponentFactory |
Default component factory that is used in templates.
|
URLImage |
URLImage allows us to create an image from a URL. |
Enum | Description |
---|---|
BrowserComponent.JSType |
Enum with the possible types for a
BrowserComponent.JSRef object. |
MultipleGradientPaint.ColorSpaceType |
Colors spaces for gradients.
|
MultipleGradientPaint.CycleMethod |
Cycle methods for gradients.
|
TextSelection.TextSelectionTrigger |
Trigger types for text selection.
|
Toolbar.BackCommandPolicy |
The behavior of the back command in the title
|
Exception | Description |
---|---|
BlockingDisallowedException |
Exception that is thrown if attempting to run invokeAndBlock while blocking is disabled.
|
Transform.NotInvertibleException |