# All Classes and Interfaces

Class
Description
AbstractChart
An abstract class to be implemented by the chart rendering classes.
AbstractCollection<E>
Class `AbstractCollection` is an abstract implementation of the `Collection` interface.
AbstractDialog
Shared dialog contract for `Dialog` and `InteractionDialog`.
AbstractLayer
This class represents an abstract layer on the map.
AbstractList<E>
`AbstractList` is an abstract implementation of the `List` interface, optimized for a backing store which supports random access.
AbstractMap<K,V>
This class is an abstract implementation of the `Map` interface.
AbstractMap.SimpleEntry<K,V>
A key-value mapping.
AbstractMap.SimpleImmutableEntry<K,V>
An immutable key-value mapping.
AbstractMedia
An abstract base class for AsyncMedia.
AbstractMethodError
Exception thrown when an attempt is made to call an abstract method.
AbstractQueue<E>
AbstractQueue is an abstract class which implements some of the methods in `Queue`.
AbstractSequentialList<E>
AbstractSequentialList is an abstract implementation of the List interface.
AbstractSet<E>
An AbstractSet is an abstract implementation of the Set interface.
AbstractTableModel
This abstract class extends table model with various capabilities such as type information etc.
AbstractTest
A unit test class that simplifies the process of writing test cases for Codename One.
AC
A constraint that holds the column or row constraints for the grid.
AccessToken
This class represent an access token.
Accordion
The `Accordion` ui pattern is a vertically stacked list of items.
ActionEvent
Event object delivered when an `ActionListener` callback is invoked
ActionEvent.Type
The event type, as declared when the event is created.
ActionListener<T>
Event callback interface invoked when a component action occurs
ActionSource<T>
An interface that can be implemented by any class that broadcasts ActionEvents.
Address
This class represents a Contact Address
Adler32
Ads
This is an Ads Component, this Component can displays banner/text ads on a Form.
AdsService
This is an abstract Ads Service.
AffineTransform
A utility class for expressing 2-D affine transforms in Codename One.
Album
This class represents a Facebook Photo Object http://developers.facebook.com/docs/reference/api/album
AnalyticsService
The analytics service allows an application to report its usage, it is seamlessly invoked by GUI builder applications if analytics is enabled for your application but can work just as well for handcoded apps!
Animation
Allows any object to react to events and draw an animation at a fixed interval.
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.
AnimationObject
An animation object is an element within the timeline that has a visibility state for rendering at a given point in time.
AnimationTime
Pluggable time source for animations across the framework.
Annotation
A mirror of java.lang.Annotation.
AnnotationFormatError
A mirror of java.lang.annotation.AnnotationFormatError.
Appendable
Declares methods to append characters or character sequences.
ApplePromotionalOffer
Encapsulates a promotional offer for use with in-app-purchase in Apple's App store.
AreaSeries
A series for the category charts like the radar ones.
ArithmeticException
Thrown when an exceptional arithmetic condition has occurred.
Array
Added this for Kotlin
ArrayDeque<E>
An implementation of Deque, backed by an array.
ArrayIndexOutOfBoundsException
Thrown to indicate that an array has been accessed with an illegal index.
ArrayList<E>
ArrayList is an implementation of `List`, backed by an array.
Arrays
`Arrays` contains static methods which operate on arrays.
ArrayStoreException
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
ArrowLinesLayer
This class is responsible for painting arrows that indicates direction of walk on map.
AssertionError
Async
Helper annotations for asynchronous computation.
Async.Execute
Indicates that the marked method executes async computation.
Async.Schedule
Indicates that the marked method schedules async computation.
AsyncDocumentRequestHandler
Provides an interface for Asynchronous request handling.
AsyncDocumentRequestHandlerImpl
Implementation of the HTML components document request handler to allow simple HTML support in CodenameOne.
AsyncMedia
An interface for media elements that provides asynchronous pause and play functionality as well as support for state change events, so that interested parties can register to be notified when state changes between play and pause.
AsyncMedia.MediaErrorEvent
Encapsulates a media error event.
AsyncMedia.MediaErrorType
Enum encapsulating the different types of media errors that can occur.
AsyncMedia.MediaException
Encapsulates a media exception.
AsyncMedia.MediaStateChangeEvent
Encapsulates a state-change event on a Media object.
AsyncMedia.PauseRequest
An async resource used to track the progress of a pauseAsync() request.
AsyncMedia.PlayRequest
An async resource used to track the progress of a playAsync() request.
AsyncMedia.State
An enum to represent the state of a media object.
AsyncResource<V>
A wrapper for an object that needs to be loaded asynchronously.
AsyncResource.AsyncExecutionException
Exception to wrap exceptions that are thrown during asynchronous execution.
AsyncResource.CancellationException
Exception thrown when the AsyncResource is cancelled.
AsyncResult<V>
A callback used by `AsyncResource` to be able to handle both the success and error case in a single method.
AudioBuffer
This class can be used to capture raw PCM data from the device's microphone.
AudioBuffer.AudioBufferCallback
A callback that can be registered to receive notifications when the contents of the AudioBuffer is changed.
AudioRecorderComponent
A component for recording Audio from the device microphone.
AudioRecorderComponent.RecorderState
Enum for tracking the recorder state.
AuthenticationOptions
Configures a single call to `Biometrics.authenticate(AuthenticationOptions)`.
AutoCloseable
AutoCompleteTextComponent
A `TextComponent` version of `com.codename1.ui.AutoCompleteTextField`
AutoCompleteTextComponent.AutoCompleteFilter
Allows filtering the entries in the auto complete
AutoCompleteTextField
An editable `com.codename1.ui.TextField` with completion suggestions that show up in a drop down menu while the user types in text.
BackgroundFetch
An interface that can be implemented by an app's main class to support background fetch.
BackgroundPainter
A painter that draws the background of a component based on its style
BarChart
Renders a bar chart based on an `XYMultipleSeriesDataset`.
BarChart.Type
The bar chart type enum.
Base32
Base32 encoder/decoder per RFC 4648.
Base64
This class implements Base64 encoding/decoding functionality as specified in RFC 2045 (http://www.ietf.org/rfc/rfc2045.txt).
BaseSpinner
Base class for spinners
BaseStream<T,S>
BasicStroke
A descriptor for the stroke style.
BiConsumer<T,U>
BigDecimal
Class representing a simple version of a big decimal.
BigInteger
A simplified version of big integer from the bouncy castle implementation
BinaryOperator<T>
BindTarget
Allows binding arbitrary components to data storage
BiometricError
Typed error codes returned by `Biometrics` and `SecureStorage` when an asynchronous operation fails.
BiometricException
Thrown via the failure path of an `AsyncResource` returned by `Biometrics` or `SecureStorage` when the underlying biometric or keychain operation fails.
Biometrics
Entry point for biometric authentication (Touch ID, Face ID, fingerprint, Android `BiometricPrompt`).
BiometricType
Enumerates the biometric authentication modalities that may be available on a device.
BitSet
The `BitSet` class implements a bit field.
BlockingDisallowedException
Exception that is thrown if attempting to run invokeAndBlock while blocking is disabled.
Boolean
The Boolean class wraps a value of the primitive type boolean in an object.
BooleanProperty<K>
This is the boolean specific version of property
Border
Base class that allows us to render a border for a component, a border is drawn before the component and is drawn within the padding region of the component.
BorderLayout
A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.
BoundingBox
This class declares a bounding box of coordinates on the map.
Bounds
Encapsulates bounds in a 3D space.
BoundSize
A size that contains minimum, preferred and maximum size of type `UnitValue`.
BoxLayout
Layout manager that places elements in a row (`X_AXIS`) or column (`Y_AXIS`) according to box orientation.
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.
BrowserComponent.JSExpression
A wrapper class for a literal javascript expression that can be passed as an arg in `java.lang.Object[])`.
BrowserComponent.JSRef
A wrapper class for a Javascript value that is returned via the `com.codename1.util.Callback)` method.
BrowserComponent.JSType
Enum with the possible types for a `JSRef` object.
BrowserNavigationCallback
**Important: Calls to this interface are always performed on a separate thread from the EDT! They are performed on the native webkit rendering thread or native event dispatch thread, this interface MUST NEVER block or synchronize against the EDT which WILL lead to deadlocks.
BrowserWindow
Encapsulates a WebView that is contained in its own separate window when run on a Desktop (e.g. Simulator).
BrowserWindow.EvalRequest
A future that is returned from the eval() method.
BubbleChart
Displays series of `XYValueSeries` entries as proportional bubbles on top of an `XYChart` plot.
BubbleTransition
A Transitions that animates the destination component as a growing window until the destination is displayed in place.
BufferedInputStream
Based on the buffered input stream from the JDK with some minor tweaks to allow external classes to monitor stream status and progress.
BufferedOutputStream
Based on the buffered output stream from the JDK with some minor tweaks to allow external classes to monitor stream status and progress.
Button
Button is the base class for several UI widgets allowing clickability.
ButtonGroup
This class is used to create a multiple-exclusion scope for `com.codename1.ui.RadioButton`.
ButtonList
An abstract base class for a list of buttons.
ButtonList.Decorator<M,V>
An interface that can be implemented to provide custom decoration/undecoration of the buttons as they are created/removed.
Byte
The Byte class is the standard wrapper for byte values.
ByteArrayInputStream
A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
ByteArrayOutputStream
This class implements an output stream in which the data is written into a byte array.
ByteProperty<K>
This is the byte specific version of numeric property
CachedData
Cached data class for use with the cached data service
CachedDataService
Simple service that allows downloading and caching data locally.
CacheMap
A cache map is essentially a hashtable that indexes entries based on age and is limited to a fixed size.
Calendar
Date widget for selecting a date/time value.
Calendar
Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.
Callback<T>
Simple interface that allows asynchronous code to perform a parameterized callback or failure in a similar way to GWT's callback interface.
CallbackAdapter<T>
Adapter for the {Callback} interface.
CallbackDispatcher<T>
A utility class for calling `Callback`s on the EDT.
CallSite

##### Deprecated

Camera
Encapsulates a camera.
Canvas
An internal compatibility class for use by the Charts library.
Capture
`Capture` can "capture" media files from the device e.g.
CaseInsensitiveOrder
A string comparator equivalent to String.CASE_INSENSITIVE_ORDER which isn't available in Codename One
CategorySeries
A series for the category charts like the pie ones.
CC
A simple value holder for one component's constraint.
CellRenderer<T>
This class is geared to replace the ListCellRenderer in the long run to provide a more generic rendering API.
Character
The Character class wraps a value of the primitive type char in an object.
CharacterArrayCharacterIterator
Encapsulates char[] as CharacterIterator
CharacterIterator
Encapsulates different types of character sources - String, InputStream, ...
CharArrayReader
A specialized `Reader` for reading the contents of a char array.
CharProperty<K>
This is the char specific version of numeric property
CharSequence
This interface represents an ordered set of characters and defines the methods to probe them.
Charset
Added this for Kotlin
ChartComponent
The top level component for displaying charts
ChartUtil
A utility class for painting a chart onto a Graphics context.
CheckBox
CheckBox is a button that can be selected or deselected and displays its state to the user.
CheckBoxList
A list of checkboxes.
Cipher
Convenience entry points for symmetric (AES) and asymmetric (RSA) encryption.
Class<T>
Instances of the class Class represent classes and interfaces in a running Java application.
ClassCastException
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
ClassLoader
ClassNotFoundException
Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
ClearableTextField
Wraps a text field so it will have an X to clear its content on the right hand side
ClickableArea
Clock
Cloneable
This (empty) interface must be implemented by all classes that wish to support cloning.
CloneNotSupportedException
Thrown when a program attempts to clone an object which does not support the `Cloneable` interface.
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
CodenameOneImplementation
Represents a vendor extension mechanizm for Codename One, WARNING: this class is for internal use only and is subject to change in future API revisions.
CodenameOneThread
Thread class implementing the crash protection functionality
CodeScanner
Deprecated!!: Please use the cn1-codescan library instead.
Collection<E>
`Collection` is the root of the collection hierarchy.
CollectionProperty<T,K>
Base class for a property as a collection which can contain multiple elements within
Collections
`Collections` contains static methods which operate on `Collection` classes.
Collector<T,A,R>
Collectors
ColorUtil
CombinedXYChart
Aggregates multiple `XYChart` implementations into a single plot so different series can be visualised using different renderers (for example a line overlaid on top of a bar chart).
CombinedXYChart.XYCombinedChartDef
Definition of a chart inside a combined XY chart.
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
CommonTransitions
Contains common transition animations that can be applied to forms & components including the following types:
Comparable<T>
This interface should be implemented by all classes that wish to define a
Comparator<T>
A `Comparator` is used to compare two objects to determine their ordering with respect to each other.
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.
ComponentAnimation
Parent class representing an animation object within the AnimationManager queue.
ComponentAnimation.UIMutation
A special kind of ComponentAnimation that encapsulates a mutation of the user interface.
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.
ComponentSelector.ComponentClosure
Interface used for providing callbacks that receive a Component as input.
ComponentSelector.ComponentMapper
Interface used by `#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 `#filter(com.codename1.ui.ComponentSelector.Filter)` to form a new set of components based on the components in one set.
ComponentStateChangeEvent
An event that is fired when the state of a component is changed to and from initialized.
ComponentWrapper
A class that wraps the important parts of a Component.
Concrete
Indicates that a class has a known concrete implementation that ParparVM can target directly in native (C/Objective-C) pipelines.
ConcurrentModificationException
An `ConcurrentModificationException` is thrown when a Collection is modified and an existing iterator on the Collection is used to modify the Collection as well.
ConicGradient
Conic (sweep) gradient.
ConnectionRequest
This class represents a connection object in the form of a request response typically common for HTTP/HTTPS connections.
ConnectionRequest.CachingMode
There are 5 caching modes:
ConnectionRequest.SSLCertificate
Encapsulates an SSL certificate fingerprint.
Constraint
To perform validation we add a constraint to a validator, a constraint defines whether a value if valid for a given object
ConstraintParser
Parses string constraints.
Constructor
Consumer<T>
Contact
Represents a Contact entry from the device Address Book.
ContactsManager
`ContactsManager` provides access to the contacts on the device for listing, adding and deleting contacts.
ContactsModel
This Contacts model is responsible for querying Contacts from the device and to cache the data for faster usage
Container
A composite pattern with `Component`, allows nesting and arranging multiple components using a pluggable layout manager architecture.
ContainerList
This is a "list component" implemented as a container with a layout manager which provides some of the ui advantages of a Container and some of a list while pulling out some of the drawbacks of both.
ContainerWrapper
A class that wraps a container that contains components.
Cookie
A cookie for an HTTP request
Coord
This class declares a coordinate point on a map.
CoordinateLayout
Allows laying out components based on absolute positions/sizes that are adapted based on available space for the layout.
CrashReport
Invoked to indicate that an exception occurred, it is up to the developer to decide whether to send the device log to the server by invoking Log.sendLog().
CRC32
CryptoException
Thrown by classes in this package when a cryptographic operation fails.
CSSBorder
A border that can be configured using a limited subset of CSS directives.
CSSFilterParser
Runtime parser for CSS `filter:` / `backdrop-filter:` chains.
CSSFilterParser.FilterChain
Parsed filter chain payload.
CSSThemeCompiler
Compiles a subset of Codename One CSS into theme properties stored in a `MutableResource`.
CSSThemeCompiler.CSSSyntaxException
CStringBuilder
This is generally the Apache String builder class refactored here so we can use it regardless of vm limitations/differences for increased performance.
CSVParser
The `CSVParser` allows importing data into applications quickly from a CSV source.
CubicLineChart
Draws smooth curves through XY series values using cubic interpolation.
Cursor
The Cursor interface is used to iterate over the results returned from a database query.
Data
An interface that can be implemented by any object to allow it to be treated as data.
Data.ByteData
Wraps a byte[] array as a Data object.
Data.FileData
Wraps a File as a Data object.
Data.StorageData
Wraps a Storage object as a Data object.
Data.StringData
Database
Allows access to SQLite specifically connecting to a database and executing sql queries on the data.
DataChangedListener
Event callback interface invoked when a `com.codename1.ui.list.ListModel` changes its state thus indicating to the view that it should refresh.
DataInput
The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.
DataInputStream
A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
DataOutput
The DataOutput interface provides for converting data from any of the Java primitive types to a series of bytes and writing these bytes to a binary stream.
DataOutputStream
A data output stream lets an application write primitive Java data types to an output stream in a portable way.
Date
The class Date represents a specific instant in time, with millisecond precision.
DateFormat
A class for parsing and formatting localisation sensitive dates, compatible with Jave 6 SDK.
DateFormat
A class for parsing and formatting localisation sensitive dates, compatible with Jave 6 SDK.
DateFormatPatterns
Common patterns for dates, times, and timestamps.
DateFormatSymbols
DateFormatSymbols
DateSpinner
A date spinner allows selecting a date value within the given date range
DateTimeFormatter
DateTimeParseException
DateTimeSpinner
The date and time spinner extends the time spinner by allowing to pick a specific day as well
DateUtil
Utility class for working with dates and timezones.
DefaultCrashReporter
A default implementation of the crash reporter that instantly sends the crash data to the server.
DefaultDocumentRequestHandler
Default implementation of the HTML components document request handler to allow simple HTML support in Codename One.
DefaultHTMLCallback
This is a default implementation of HTMLCallback that basically doesn't do much but does keep the HTMLComponent work intact.
DefaultListCellRenderer<T>
Default implementation of the renderer based on a label see the `ListCellRenderer` for more information about the use and purpose of this class
DefaultListModel<T>
Default implementation of the list model based on a `List` of elements.
DefaultLookAndFeel
Used to render the default look of Codename One
DefaultRenderer
An abstract renderer to be extended by the multiple series classes.
DefaultTableModel
A default implementation of the table model based on a two dimensional array.
Deflate
Deflater
DeflaterOutputStream
Deprecated
An annotation for marking an element as deprecated.
Deque<E>
A kind of collection that can insert or remove element at both ends("double ended queue").
DeviceRunner
Runs the test cases from the test build of the app, notice that this class is abstract since device/app specific code can exist in the implementation
DialChart
Presents values from a `CategorySeries` as gauges on a dial.
Dialog
A dialog is a form that occupies a part of the screen and appears as a modal entity to the developer.
DialRenderer
Dial chart renderer.
DialRenderer.Type
Dictionary<K,V>
**Note: Do not use this class since it is obsolete.
DimConstraint
A simple value holder for a constraint for one dimension.
Dimension
Utility class that holds a width and height that represents a dimension of a component or element
Dimension2D
Utility class that holds a width and height that represents a dimension of a component or element
DisableDebugInfo
Marks a method so ParparVM omits emitted debug line information.
DisableNullChecksAndArrayBoundsChecks
Marks a method so ParparVM omits emitted null and array bounds checks.
Display
Central class for the API that manages rendering/events and is used to place top level components (`Form`) on the "display".
Documented
DocumentInfo
DocumentInfo holds important information about a document that is loading.
DocumentRequestHandler
The DocumentRequestHandler interface should be implemented so it returns documents in requested URLs.
Double
The Double class wraps a value of the primitive type double in an object.
DoubleProperty<K>
This is the double specific version of numeric property
DoughnutChart
Visualises a `MultipleCategorySeries` as concentric rings that share a common centre (also known as a doughnut chart).
Duration
DynamicImage
A base class for images that dynamically painted, just like a normal component.
EasyThread
An easy API for working with threads similar to call serially/and wait that allows us to create a thread and dispatch tasks to it.
EasyThread.ErrorListener<T>
Callback listener for errors on easy thread
Editable
An interface that can be implemented to provide editing capabilities for any component in the UI.
Effects
Static utility class useful for simple visual effects that don't quite fit anywhere else in the core API.
Element
The Element class defines a single XML element with its attributes and children.
ElementType
A mirror of java.lang.annotation.ElementType.
EmailShare
Email sharing service.
EmbeddedContainer
This class is mostly used internally by the GUI builder and isn't very useful for general purpose.
EmptyStackException
Thrown by methods in the Stack class to indicate that the stack is empty.
EncodedImage
`EncodedImage` is the workhorse of Codename One.
Enum<E>
Implementation class required to compile enums
Enumeration<T>
An object that implements the Enumeration interface generates a series of elements, one at a time.
EOFException
Signals that an end of file or end of stream has been reached unexpectedly during input.
Error
An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
ErrorCodeHandler<T>
A generic error callback interface for an error code returned from the server
EventDispatcher
Handles event dispatching while guaranteeing that all events would be fired properly on the EDT regardless of their source.
EventListener
EventListener is the superclass of all event listener interfaces.
EventListenerProxy
This abstract class provides a simple wrapper for objects of type `EventListener`.
Exception
The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
ExecutorFunction
Promise API function `com.codename1.util.promise.Promise`
ExistInConstraint
Creates a validation constraint to ensure input value exists in a list of items
Externalizable
`Externalizable` is similar to the Java SE `Externalizable` interface this interface.
FaceBookAccess
Deprecated.
This legacy OAuth2/Graph REST wrapper predates Facebook's current policies and embeds credentials client-side, which Facebook no longer permits for production use.
FacebookConnect
Invokes the native bundled facebook SDK to login/logout of facebook, notice that in order for this to work server build arguments must indicate that you are using the facebook sdk! To accomplish this just define: facebook.appId=YourAppId in your build arguments.
FacebookShare
Deprecated.
This share service relies on the legacy `FaceBookAccess` OAuth/Graph flow which is no longer supported by Facebook.
FailureCallback<T>
Simple interface that allows asynchronous code to perform a parameterized callback in a similar way to GWT's callback interface.
FBObject
This is a base class for all FaceBook Objects
File
This class provides a similar API to `java.io.File` making it almost into a "drop in" replacement.
File.FileFilter
Interface for filtering files.
File.FilenameFilter
Interface to filter filenames.
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.
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. renderers) but could improve some performance/RAM aspects.
FileSystemStorage
Unlike networking, the file system storage mostly tries to emulate java.io.File with some simplifications for mobile devices.
FileTree
Simple class showing off the filesystem as a tree component
FileTreeModel
A tree model representing the file system as a whole, notice that this class returns absolute file names which would result in an unreadable tree.
FilterInputStream
Simple version of filter input stream
FilterOutputStream
Dummy implementation of filter output stream
FilterProxyListModel<T>
This class allows filtering/sorting a list model dynamically using a text field
FlipTransition
A Transitions that flips between 2 components/forms using perspective transform where available.
Float
The Float class wraps a value of primitive type float in an object.
FloatingActionButton
Floating action buttons are a material design element used to promote a special action in a Form.
FloatingHint
A floating hint is similar to a text field with a hint.
FloatProperty<K>
This is the float specific version of numeric property
FlowLayout
FlowLayout is the default layout manager for Codename One Containers and Forms.
Flushable
Indicates that an output object can be flushed.
FocusListener
Observes focus change events for a given form and invokes the callbacks to enable us to assign functionality based on current focused component.
Font
Codename One currently supports 3 font types:
FontImage
`FontImage` allows using an icon font as if it was an image.
Form
Top level component that serves as the root for the UI, this `Container` subclass works in concert with the `Toolbar` to create menus.
Form.TabIterator
Iterates through the components on this form in traversal order.
Format
An abstract class for parsing and formatting localisation sensitive information, compatible with JDK 6.
Format
An abstract class for parsing and formatting localisation sensitive information, compatible with JDK 6.
FullScreenAdService
Abstract class for fullscreen ads that appear before and possibly after application execution as well as randomly between application screen transitions.
Function<T,R>
Functor<T,V>
Promise API functor `com.codename1.util.promise.Promise`
GeneralPath
A general geometric path, consisting of any number of subpaths constructed out of straight lines and cubic or quadratic Bezier curves.
GenericListCellRenderer<T>
The generic list cell renderer can display containers or arbitrary Codename One components as items in a list, notice that we strongly discourage usage of lists..
GenericSpinner
A spinner class that allows arbitrary values, this is effectively a combo box replacement for platforms where a combo box is not available
Geofence
Metadata for geofencing support that allows tracking user location in the background while the app is inactive.
GeofenceListener
Listener interface for the Geofence background tracking functionality.
GeofenceManager
A utility class to simplify Geofencing in Codename One.
GeofenceManager.Listener
The Listener class that is registered to receive Geofence events.
GlassTutorial
A Glass Tutorial appears on top of the UI especially on a touch device but could be on any device and points to/circles components within the UI coupled with explanation of what they do and a tint of the screen.
GoogleConnect
The GoogleConnect Login class allows the sign in with google functionality.
GoogleMapsProvider
This is a GoogleMaps Provider https://developers.google.com/maps/documentation/staticmaps/
Gradient
Abstract description of a CSS-style gradient that can be used as a background or painted directly via `Graphics#fillGradient`.
GradientDrawable
GradientDrawable.Orientation
Graphics
Abstracts the underlying platform graphics context thus allowing us to achieve portability between MIDP devices and CDC devices.
Grid
Holds components in a grid.
GridBagConstraints
Port of the GridBag code from Apache's Harmony
GridBagLayout
Codename One port of the infamous GridBagLayout based on the Apache Harmony code.
GridLayout
The components are arranged in a grid based on available space, all cells in the grid are given exactly the same size which matches the largest preferred size or available space.
GroupConstraint
Groups several constraints as if they are one constraint
GroupLayout
GroupLayout is a LayoutManager that hierarchically groups components to achieve common, and not so common, layouts.
GZConnectionRequest
A connection request that can detect a GZipped response, parse it automatically and unzip it.
GZIPException
GZIPHeader

##### See also

GZIPInputStream
GZIPOutputStream
Hash
Streaming and one-shot cryptographic hash (message digest) functions.
HashMap<K,V>
HashMap is an implementation of Map.
HashSet<E>
HashSet is an implementation of a Set.
Hashtable<K,V>
Hashtable associates keys with values.
Hmac
Keyed-hash message authentication (HMAC, RFC 2104) on top of any hash algorithm supported by `Hash`.
HTMLCallback
HTMLCallback is used to dispatch document lifecycle events.
HTMLComponent
HTMLComponent is a Codename One Component that renders HTML documents that conform to the XHTML Mobile Profile 1.0
HTMLElement
The HTMLElement class defines a single HTML element with its attributes and children.
HTMLParser
The HTMLParser class is used to parse an XHTML-MP 1.0 document into a DOM object (Element).
HTMLUtils
This class contains several useful static methods for HTML
IconHolder
An interface implemented by `Component` classes that can display an icon.
IdentityHashMap<K,V>
IdentityHashMap is a variant on HashMap which tests equality by reference instead of equality by value.
IllegalAccessException
Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
IllegalMonitorStateException
Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
IllegalStateException
IllegalThreadStateException
Thrown to indicate that a thread is not in an appropriate state for the requested operation.
Image
Abstracts the underlying platform images allowing us to treat them as a uniform object.
ImageDownloadService
Simplifies the process of implementing an image link for labels and lists by binding a request to a component.
ImageFactory
A factory class for creating mutable images.
ImageIO
Enable simple operations on image file & image objects such as dynamic scaling and storage to binary formats such as JPEG.
ImageViewer
ImageViewer allows zooming/panning an image and potentially flicking between multiple images within a list of images.
ImplementationFactory
InCellGapProvider
An interface to implement if you want to decide the gaps between two types of components within the same cell.
IncompatibleClassChangeError
`IncompatibleClassChangeError` is the superclass of all classes which represent errors that occur when inconsistent class files are loaded into the same running image.
IncompleteAnnotationException
A mirror of java.lang.annotation.IncompleteAnnotationException.
IndexOutOfBoundsException
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
InfiniteContainer
This abstract Container can scroll indefinitely (or at least until we run out of data).
InfiniteProgress
Shows a "Washing Machine" infinite progress indication animation, to customize the image you can either use the infiniteImage theme constant or the `setAnimation` method.
InfiniteScrollAdapter
Allows adapting a scroll container to scroll indefinitely (or at least until running out of data), this effectively works by showing an infinite progress indicator when reaching scroll end then allowing code to fetch additional components.
Inflater
InflaterInputStream
Inherited
InnerActive
This is an Ad service implementation by InnerActive see: http://console.inner-active.com/iamp/publisher/register?ref_id=affiliate_CodenameOne
InputComponent
A base class for `com.codename1.ui.TextComponent`, `com.codename1.ui.PickerComponent` and potentially other components that wish to accept input in a dynamic way that matches iOS and Android native input guidelines.
InputStream
This abstract class is the superclass of all classes representing an input stream of bytes.
InputStreamReader
An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters.
Insets
Port of Insets from Harmony for the use of the GridBag code
Instant
InstantiationException
Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
InstantUI
Instant UI generates a user interface for editing a property business object based on common conventions and settings within the properties.
Integer
The Integer class wraps a value of the primitive type int in an object.
InteractionDialog
Unlike a regular dialog the interaction dialog only looks like a dialog, it resides in the layered pane and can be used to implement features where interaction with the background form is still required.
InterFormContainer
A container that allows you to use the same component on multiple forms.
InterruptedException
Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
InterruptedIOException
Signals that an I/O operation has been interrupted.
IntProperty<K>
This is the integer specific version of numeric property
IOCallback
This interface is implemented by HTMLComponent and ResourceThread (The two classes using the AsyncDocumentRequestHandler)
IOException
Signals that an I/O exception of some sort has occurred.
IOProgressListener
Callback for IO updates from a buffered input/output stream
IsGalleryTypeSupportedEvent
Plugin event fired when `Display#isGalleryTypeSupported(int)` method is called to give plugins an opportunity to answer this question.
Iterable<T>
Objects of classes that implement this interface can be used within a `foreach` statement.
Iterator<E>
An `Iterator` is used to sequence over a collection of objects.
JavascriptContext
Represents a Javascript context of a single BrowserComponent.
JdkApiRewriteHelper
Bridge methods used by bytecode rewrite rules for JDK APIs that are risky/unsupported on some targets.
JSFunction
The JSFunction interface allows you to implement functions in Java that can be called from Javascript.
JSObject
A Java Wrapper around a Javascript object.
JSONParseCallback
The event based parser allows parsing without creating an object tree by receiving callbacks to this class.
JSONParser
Fast and dirty parser for JSON content on the web, it essentially returns a `java.util.Map` object containing the object fields mapped to their values.
Jwt
JSON Web Token (RFC 7519) signing and verification.
JZlib
Key
Common base for every key type in the security package -- `SecretKey` for symmetric algorithms, `PublicKey` and `PrivateKey` for asymmetric ones.
KeyGenerator
Generates fresh cryptographic key material.
KeyPair
A matched pair of `PublicKey` / `PrivateKey`.
L10NManager
The localization manager allows adapting values for display in different locales thru parsing and formatting capabilities (similar to JavaSE's DateFormat/NumberFormat).
Label
Allows displaying a single line of text and icon (both optional) with different alignment options.
LambdaMetafactory

##### Deprecated

Layer
a Layer interface.
LayeredLayout
The `LayeredLayout` places the components in order one on top of the other and sizes them all to the size of the largest component.
Layout
Abstract class that can be used to arrange components in a container using a predefined algorithm.
LayoutCallback
A class to extend if you want to provide more control over where a component is placed or the size of it.
LayoutStyle
LayoutStyle is used to determine how much space to place between components during layout.
LayoutUtil
A utility class that has only static helper methods.
LazyValue<T>
Useful when passing a value that might not exist to a function, e.g.
LC
Contains the constraints for an instance of the `LC` layout manager.
LengthConstraint
Creates a validation constraint based on minimum input length
Lifecycle
Optional helper class that implements the Codename One lifecycle methods with reasonable default implementations to help keep sample code smaller.
LikeButton
Deprecated.
This functionality is no longer possible, open a BrowserComponent with the link instead.
LinearGradient
Multi-stop linear gradient at an arbitrary angle.
LinearGradientPaint
LinearGradientPaint provides a way to fill a `Shape` with a linear gradient.
LineChart
Plots series of X/Y points using straight line segments.
LinesLayer
This is a Lines Layer
LinkageError
`LinkageError` is the superclass of all error classes that occur when loading and linking class files.
LinkedHashMap<K,V>
LinkedHashMap is a variant of HashMap.
LinkedHashSet<E>
LinkedHashSet is a variant of HashSet.
LinkedList<E>
LinkedList is an implementation of List, backed by a linked list.
LinkHandler
List<T>
A set of elements that is rendered using a `com.codename1.ui.list.ListCellRenderer` and are extracted via the `com.codename1.ui.list.ListModel`, notice that we strongly discourage usage of lists.
List<E>
A `List` is a collection which maintains an ordering for its elements.
ListCellRenderer<T>
A "rubber stamp" tool that allows us to extract a component (often the same component instance for all invocations) that is initialized to the value of the current item extracted from the model, this component is drawn on the list and discarded.
ListIterator<E>
An ListIterator is used to sequence over a List of objects.
ListModel<T>
Represents the data structure of the list, thus allowing a list to represent any potential data source by referencing different implementations of this interface, notice that we strongly discourage usage of lists..
ListProperty<T,K>
Base class for a property as a list which can contain multiple elements within
LocalDate
LocalDateTime
Locale
LocalNotification
Local notifications are user notifications that are scheduled by the app itself.
LocalNotificationCallback
An interface that can be implemented by the application's main class (i.e. the class with `start()`, `stop()` etc..) to respond to local notifications. This interface only works when it is implemented by the main class. It will never be called otherwise.
LocalTime
Location
Represents a position and possible velocity returned from positioning API's.
LocationListener
This is a Listener to the Locations events see LocationManager.setLocationListener
LocationManager
The LocationManager is the main entry to retrieveLocation or to bind a LocationListener,
LocationRequest
This class is used when requesting to listen to location update.
Log
Pluggable logging framework that allows a developer to log into storage using the file connector API.
Login
The Login abstract base class is used to simplify Oauth2 authentications services.
LoginCallback
This class is used to indicate whether login was successful or not, it is an abstract class rather than an interface in order to allow additional features in the future.
Long
The Long class wraps a value of the primitive type long in an object.
LongProperty<K>
This is the long specific version of numeric property
LookAndFeel
Allows a UI developer to completely customize the look of the application by overriding drawing/sizing methods appropriately.
MalformedURLException
Thrown when attempting to create a URL that doesn't conform to specification.
Map<K,V>
A `Map` is a data structure consisting of a set of keys and values in which each key is mapped to a single value.
Map.Entry<K,V>
`Map.Entry` is a key/value mapping contained in a `Map`.
MapAdapter
Instances of this class adapt an arbitrary object type so a property can appear differently when it's placed into a Map or initialized from a Map.
MapComponent
All communication with the map and layers should be done in WGS84, it takes care of coordinates transformation.
MapListener
Invoked when the map is panned or zoomed
MapProperty<T,J,K>
Base class for a property as a Map which can contain multiple elements within it
MapProvider
This is a generic map provider.
MasterDetail
Master-detail utility class simplifying the process of defining a master/detail
Math
The class Math contains methods for performing basic numeric operations.
MathHelper
Utility class for math operations.
MathUtil
MathUtil for Java ME.
Media
Media control interface allows for media playback, recording.
MediaManager
Allow us to create `Media` objects using String URI's or with a stream to the media data.
MediaMetaData
MetaData for use by `RemoteControlListener` to provide information about the currently playing background media on the device's lock screen.
MediaPlayer
Video playback component with control buttons for back, play/pause and forward buttons.
MediaRecorderBuilder
A builder class to generate a Media recorder with specific settings.
MenuBar
This class represents the Form MenuBar.
Mercator
Represents a Mercator projection http://en.wikipedia.org/wiki/Mercator_projection
Message
Represents a message to be sent using underlying platform e-mail client or the cloud.
MessageEvent
Encapsulates an event that either originates outside the App (e.g. from the webpage that contains the app if it is published using the Javascript port); or whose destination is outside the app.
MessageEvent.PromptPromise
Encapsulates a promise that should be fulfilled when implementingn a custom permissions prompt to record or play audio.
Method
MethodHandle

##### Deprecated

MethodHandles

##### Deprecated

MethodHandles.Lookup
MethodType

##### Deprecated

MigLayout
A very flexible layout manager.
MorphTransition
A transition inspired by the Android L release morph activity effect allowing a set of components in one form/container to morph into another in a different container/form.
Motion
Abstracts the notion of physical motion over time from a numeric location to another.
MultiButton
A powerful button like component that allows multiple rows/and an icon to be added every row/icon can have its own UIID.
MultiList
A list with a `com.codename1.components.MultiButton` renderer, notice that we strongly discourage usage of lists..
MultipartRequest
A multipart post request allows a developer to submit large binary data files to the server in a multipart mime post request.
MultipleCategorySeries
A series for the multiple category charts like the doughnut.
MultipleGradientPaint
A base class for Paints that use multiple gradients.
MultipleGradientPaint.ColorSpaceType
Colors spaces for gradients.
MultipleGradientPaint.CycleMethod
Cycle methods for gradients.
MultipleSelectionListModel<T>
Events `ListModel` to support multiple selection.
MutableResouce
Deprecated.
MutableResource
Mutable variant of `Resources` intended for non-designer environments.
NativeInterface
This is a marker interface that should be extended by a user interface in order to indicate that said interface is implemented in native code.
NativeLookup
Creates an instance of the native interface which will call the underlying platform using the convention documented in the package docs.
NavigableMap<K,V>
NavigableMap is a SortedMap with navigation methods answering the closest matches for specified item.
NavigableSet<E>
NavigableSet is a SortedSet with navigation methods answering the closest matches for specified item.
NavigationCommand
The NavigationCommand is a Command that navigates to a given Form.
NegativeArraySizeException
Thrown if an application tries to create an array with negative size.
NetworkEvent
Event containing more meta data for network events which may be error events or an update for progress indication code.
NetworkManager
Main entry point for managing the connection requests, this is essentially a threaded queue that makes sure to route all connections via the network thread while sending the callbacks through the Codename One EDT.
NoClassDefFoundError
Thrown if the Java Virtual Machine tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
Node
Encapsulates a Node in the scene-graph.
NodePainter
Interface for painting the content of a node in the Scene graph.
NoSuchElementException
Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
NoSuchFieldError
Thrown when the virtual machine notices that a program tries to reference, on a class or object, a field that does not exist.
NotConstraint
Negates a group of constraints, such that, if any of its child constraints is true, it returns false.
NullPointerException
Thrown when an application attempts to use null in a case where an object is required.
Number
NumberFormat
NumberFormatException
Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
NumericConstraint
Forces the value to be a number potentially within specific bounds
NumericProperty<T,K>
This is the base class to all number properties, it introduces nullability and the ability to convert to all number types.
NumericSpinner
A spinner class that allows picking a number
Oauth2
This is a utility class that allows Oauth2 authentication This utility uses the Codename One XHTML Component to display the authentication pages.
Oauth2.RefreshTokenRequest
Object
Class Object is the root of the class hierarchy.
Objects
This is a compatibility class which supports the java.util.Objects API.
Objects
This is a compatibility class which supports the java.util.Objects API.
Observable
Observable is used to notify a group of Observer objects when a change occurs.
Observer
`Observer` is the interface to be implemented by objects that receive notification of updates on an `Observable` object.
Octal
OffsetDateTime
OnComplete<T>
Invoked when a process is completed, this is a generic interface designed to replace the `SuccessCallback` interface.
OnOffSwitch
The on/off switch is a checkbox of sort (although it derives container) that represents its state as a switch each of which has a short label associated with it.
OpenGalleryEvent
Event triggered when `int)` is called.
OpenStreetMapProvider
This is an OpenStreetMap Provider http://www.openstreetmap.org/
Otp
Counter-based (HOTP, RFC 4226) and time-based (TOTP, RFC 6238) one-time password generators.
OtpField
Segmented one-time-password input -- one box per digit, auto-advances to the next box on input and steps back on backspace.
OutOfMemoryError
Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
OutputStream
This abstract class is the superclass of all classes representing an output stream of bytes.
OutputStreamWriter
An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes.
Override
An annotation to indicate that a method is intended to override a superclass method.
Page
This class represents a Facebook Page object https://developers.facebook.com/docs/reference/api/page/
Paint
DO NOT USE.
Paint
An interface for providing custom painting such as gradients.
Paint.Align
Paint.Cap
Paint.Join
Paint.Style
Painter
`Painter` can be used to draw on components backgrounds.
PainterChain
A painter chain allows us to chain together several painters to provide a "layer" effect where each painter only draws one element.
ParseException
An error occurred during parsing.
ParseException
An error occurred during parsing.
ParserCallback
A callback used to dispatch errors encountered while parsing XML resources
PathIterator
This interface provides a directed path over the boundary of a shape.
PathMeasure
PeerComponent
A peer component is essentially a "dummy" Codename One component used to calculate the position of the actual native platform specific component.
PendingPurchaseCallback
Callback interface that the main class may implement to be notified of pending purchases.
Period
PerspectiveCamera
Photo
This class represents a Facebook Photo Object http://developers.facebook.com/docs/reference/api/photo/
Picker
`Picker` is a component and API that allows either popping up a spinner or using the native picker API when applicable.
Picker.DateGetter
Functional interface that supplies the default `Date` to display when a date-type picker is opened without an explicit value.
Picker.LightweightPopupButtonPlacement
Placement options for custom lightweight popup buttons.
PickerComponent
A picker component similar to `com.codename1.ui.TextComponent` that adapts to native UI conventions and leverages the `com.codename1.ui.spinner.Picker` API.
PieChart
Shows each value from a `CategorySeries` as a slice of a circle.
PieMapper
PieChart Segment Selection Management.
PieSegment
Holds A PieChart Segment
PlatformDefaults
Currently handles Windows, Mac OS X, and GNOME spacing.
Plugin
Interface that must be implemented by Codename One plugins.
PluginEvent<T>
Parent class for all plugin events.
PluginSupport
Support class for implementing plugins in codename one.
Point
A class to encapsulate the definition of a point.
Point
Utility class that holds x,y
Point2D
Utility class that holds x,y
Point3D
Encapsulates a point in 3D space.
PointLayer
Do not use this layer directly, you need to add this layer into a PointsLayer class instance in order for it to work as expected!
PointsLayer
This is a Points Layer
PointStyle
The chart point style enumerator.
Post
This class represents a Facebook Post Object http://developers.facebook.com/docs/reference/api/post/
Predicate<T>
PreferenceListener
Respond to changes to the Preferences
Preferences
Simple map like class to store application and Codename One preference settings in the `com.codename1.io.Storage`.
PreferencesObject
Binds an object to the `com.codename1.io.Preferences` API for automatic persistent storage.
PrintStream
A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
PriorityQueue<E>
A PriorityQueue holds elements on a priority heap, which orders the elements according to their natural order or according to the comparator specified at construction time.
PrivateKey
A private key -- paired with a `PublicKey` to form a key pair.
Product
Represents a product within the system
Progress
Displays a progress dialog with the ability to cancel an ongoing operation
Projection
This class represents a projection type.
Promise<T>
An implementation of Promise for use with Codename One applications.
Promise.State
Encapsulates the state of a Promise.
PromotionalOffer
A marker interface representing a promotional offer for in-app purchase.
Properties
A `Properties` object is a `Hashtable` where the keys and values must be `String`s.
Property<T,K>
Base class for a property, it can store a generic value of any type and broadcast change events to external listeners
PropertyBase<T,K>
Base class for property types
PropertyBusinessObject
Allows mapping properties generically
PropertyChangeListener<T,K>
Event callback interface, invoked when a property changed its value
PropertyIndex
Maps the properties that are in a class/object and provides access to them so tools such as ORM can implicitly access them for us.
ProxyHttpTile
This Tile brings the tile image from a given http url.
PublicKey
A public key -- paired with a `PrivateKey` to form a key pair.
Purchase
Represents the status of in-app-purchase goods, this class provides information about products purchased by a user as well as the ability to purchase additional products.
PurchaseCallback
Callback interface that the main class must implement in order for in-app-purchasing to work.
Push
Utility class for sending a push message to a different device through the Codename One push servers.
PushAction
Encapsulates a push notification action.
PushActionCategory
Encapsulates a category for push notifications.
PushActionsProvider
This callback interface is invoked when a push notification with a "category" is received by the application.
PushBuilder
A convenience class for building a push notification Payload.
PushCallback
This callback interface is invoked when a push notification is received by the application.
PushContent
Encapsulates the content of a Push message.
Queue<E>
This kind of collection provides advanced operations compared to basic collections, such as insertion, extraction, and inspection.
RadarChart
Draws multi-dimensional data as a web chart (also known as a radar or spider chart).
RadialGradient
Multi-stop radial gradient with CSS shape / extent / center / radius support.
RadioButton
RadioButton is a `Button` that maintains a selection state exclusively within a specific `ButtonGroup`.
RadioButtonList
A list of Radio buttons that can be managed as a single component.
Random
An instance of this class is used to generate a stream of pseudorandom numbers.
RandomAccess
RandomAccess is implemented by `List` implementations that support fast (usually constant time) random access.
RangeBarChart
Extends `BarChart` to support values that represent ranges rather than single points.
RangeCategorySeries
A series for the range category charts like the range bar.
RangeStackedBarChart
RE
RE is an efficient, lightweight regular expression evaluator/matcher class.
Reader
Abstract class for reading character streams.
ReaderCharacterIterator
Encapsulates java.io.Reader as CharacterIterator
Receipt
Encapsulates a receipt for an in-app purchase.
ReceiptStore
Interface that can be implemented to provide store of receipts.
RECharacter
RECompiler
A regular expression compiler class.
Record
Base class for Java record types.
Rectangle
Represents a Rectangle position (x, y) and `Dimension` (width, height), this is useful for measuring coordinates within the application.
Rectangle2D
Represents a Rectangle position (x, y) and `Dimension` (width, height), this is useful for measuring coordinates within the application.
REDebugCompiler
A subclass of RECompiler which can dump a regular expression program for debugging purposes.
Reference
Abstract base class for reference objects.
RegexConstraint
Creates a validation constraint based on a regular expression
ReleasableComponent
An Interface that any Component that could be released from the parent Form can implement.
RemoteControlListener
A base class that is meant to be overridden to implement functionality that responds to the device's remote control for media playback.
ReplaceableImage
Allows the image data to be replaced at runtime when a different image is available.
REProgram
A class that holds compiled regular expressions.
RequestBuilder
This class is used to build, invoke the http request and to get the http response
Resources
Loads resources from the binary resource file generated by the Codename One Designer.
Response<T>
The http Response class
Rest
This class is used to create the Http RequestBuilder(get/post/head/options/delete/put)
RestoreCallback
Callback interface that the main class must implement in order for the restore option of in-app-purchasing to work.
Result
An evaluator for a very small expression language to extract primitive types from structured information.
RESyntaxException
Exception thrown to indicate a syntax error in a regular expression.
Retention
RetentionPolicy
A mirror of java.lang.annotation.RetentionPolicy.
REUtil
This is a class that contains utility helper methods for this package.
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.
RoundBorder
A border that can either be a circle or a circular rectangle which is a rectangle whose sides are circles.
RoundChart
Base class for charts that render circular data representations such as pie charts, doughnut charts or gauges.
RoundRectBorder
Customizable rounded rectangle border that breaks down the border into customizable pieces.
Row
The `Row` interface is returned by `com.codename1.db.Cursor#getRow()` to provide access to the content of an individual row.
RowExt
An extension of the `Row` interface to support `#wasNull()`.
RSSReader
A List implementing an RSS reader that automatically populates itself with content from the RSS chanel.
RSSService
Simple RSS read and parse request, to handle errors just subclass this and override parsingError.
Runnable
The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
RunnableWithResult<T>
A Runnable like interface that can return a result possibly asynchronously
RunnableWithResultSync<T>
A Runnable like interface that can return a result synchronously
Runtime
Every Java application has a single instance of class Runtime that allows the application to interface with the environment in which the application is running.
RuntimeException
RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
SafeVarargs
ScaleImageButton
Button that simplifies the usage of scale to fill/fit.
ScaleImageLabel
Label that simplifies the usage of scale to fill/fit.
ScanResult
Deprecated!!: Please use the cn1-codescan library instead.
ScatterChart
Renders discrete X/Y points without connecting lines.
Scene
A scene graph.
ScrollListener
Invoked to indicate a scroll change events
SecretKey
A symmetric secret key.
SecureRandom
Cryptographically secure random number generator.
SecureStorage
Biometric-gated secure storage backed by the platform keychain.
SecurityException
Thrown by the system to indicate a security violation.
SelectableIconHolder
An interface that is implemented by "selectable" components that hold icons, such as `Button`, `SpanButton`, `MultiButton`, etc...
SelectionListener
Invoked to indicate a selection change in the list model
Serializable
Here to simplify porting, won't actually work...
SeriesSelection
SeriesTransition
A base class for series transitions of ChartComponent.
Set<E>
A `Set` is a data structure which does not allow duplicate elements.
SetProperty<T,K>
Base class for a property as a set which can contain multiple elements within
Shape
An interface that can be implemented by any class that wants to be drawable as a shape.
ShareButton
The share button allows sharing a String or an image either thru the defined sharing services or thru the native OS sharing support.
ShareService
This is an abstract sharing service.
Sheet
A light-weight dialog that slides up from the bottom of the screen on mobile devices.
Short
The Short class is the standard wrapper for short values.
SideMenuBar
This is Menu Bar that displays it's commands on a side bar navigation similar to Google+/Facbook apps navigation
Signature
Digital signature creation and verification.
SignatureComponent
A component to allow a user to enter their signature.
Simd
Portable SIMD API with Java fallback implementations.
SimpleDateFormat
A class for parsing and formatting dates with a given pattern, compatible with the Java 6 API, as in the examples here: https://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
SimpleDateFormat
A class for parsing and formatting dates with a given pattern, compatible with the Java 6 API.
SimpleSeriesRenderer
A simple series renderer.
SimulatorHookExecutor
Cross-platform registry of named actions that the JavaSE simulator exposes.
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.
SliderBridge
Binds a `com.codename1.ui.Slider` to network progress events so it shows the progress of the current `com.codename1.io.ConnectionRequest`
SMSShare
SMS Sharing service
Socket
Class implementing the socket API
Socket.StopListening
This interface can be invoked to stop listening on a server socket
SocketConnection
Callback for establishment of a socket connection.
SortableTableModel
A proxy that wraps the table model providing sorting API that can be leveraged by the table
SortedMap<K,V>
A map that has its keys ordered.
SortedSet<E>
SortedSet is a Set which iterates over its elements in a sorted order.
SpanButton
A complex button similar to MultiButton that breaks lines automatically and looks like a regular button (more or less).
SpanLabel
A multi line label component that can be easily localized, this is simply based on a text area combined with a label.
SpanMultiButton
A powerful button like component that allows multiple rows/and an icon to be added every row/icon can have its own UIID.
SplitPane
A Split Pane component.
SplitPane.Settings
An object to configure settings for a SplitPane.
SQLMap
A simple ORM wrapper for property objects.
SQLMap.SqlType
Stack<E>
`Stack` is a Last-In/First-Out(LIFO) data structure which represents a stack of objects.
StackTraceElement
StandardCharsets
Minimal charset constants supported by CLDC11 stubs.
StickyHeaderContainer
A scrollable container that pins the most recently scrolled-past section header to the top of its viewport, in the style of the iOS contacts list or sectioned material lists.
Storage
Abstracts the underlying application specific storage system, unlike the `com.codename1.io.FileSystemStorage` this class is a higher level abstraction.
StorageImage
An encoded image that stores the actual data of the encoded image in storage.
StorageImageAsync
Asynchronous storage image that loads in the background and not during the paint cycle effectively not blocking the EDT drawing speed.
Stream<T>
StreamCharacterIterator
Encapsulates java.io.InputStream as CharacterIterator.
String
The String class represents character strings.
StringBuffer
A string buffer implements a mutable sequence of characters.
StringBuilder
A string builder implements a mutable sequence of characters.
StringCharacterIterator
Encapsulates String as CharacterIterator.
StringConcatFactory

##### Deprecated

StringIndexOutOfBoundsException
Thrown by the charAt method in class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
StringReader
StringReader
A specialized `Reader` that reads characters from a `String` in a sequential manner.
StringTokenizer
The `StringTokenizer` class allows an application to break a string into tokens by performing code point comparison.
StringUtil
Various utility methods for manipulating strings
StringWriter
Stroke
Encapsulates the stroke used for drawing paths.
Style
Represents the look of a given component: colors, fonts, transparency, margin and padding & images.
StyleListener
Invoked to indicate a change in a `Style` property
StyleParser
Parses Style strings into StyleInfo objects, which can be converted to Style objects at runtime.
StyleParser.BorderInfo
Encapsulates information about the border property of a style string.
StyleParser.BoxInfo
Base class for style values that consist of 4 scalar values, such as padding and margin.
StyleParser.FontInfo
Encapsulates the value of the font property in a style string.
StyleParser.ImageInfo
Encapsulates an image that is referenced by a style string.
StyleParser.MarginInfo
Encapsulates information about the padding in a style string.
StyleParser.PaddingInfo
Encapsulates information about the padding in a style string.
StyleParser.ScalarValue
Encapsulates a scalar value with a unit.
StyleParser.StyleInfo
Encapculates a style string in structured format.
SuccessCallback<T>
Simple interface that allows asynchronous code to perform a parameterized callback in a similar way to GWT's callback interface.
Supplier<T>
SuppressWarnings
An annotation that indicates a compiler should suppress any warnings of the type specified in the `#value()`.
SwipeableContainer
`SwipeableContainer` allows us to side swipe a component and expose underlying configuration within it.
SwipeBackSupport
Allows binding a swipe listener to the form that enables the user to swipe back to the previous form.
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
SwitchList
A list of switches.
System
The System class contains several useful class fields and methods.
Table
The `Table` class represents a grid of data that can be used for rendering a grid of components/labels.
TableLayout
TableLayout is a very elaborate constraint based layout manager that can arrange elements in rows/columns while defining constraints to control complex behavior such as spanning, alignment/weight etc.
TableLayout.Constraint
Represents the layout constraint for an entry within the table indicating the desired position/behavior of the component.
TableModel
The table and table model class are complimentry classes allowing the quick construction of tabular data controls.
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.
TarConstants
TarEntry
Target
TarHeader
Header
TarInputStream
TarOutputStream
TarUtils
TemporalAccessor
TestReporting
Test reports can be overriden to provide custom test reporting options you can replace the test reporter on the device by sending the build argument build.testReporter='com.x.MyTestReporterClass'.
TestRunnerComponent
A UI component for running unit tests and displaying the results.
TestUtils
Various utility classes to automate UI testing
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 `com.codename1.ui.TextArea` with some minor deviations from the original specifically:
TextHolder
An interface implemented by `Component` classes that can support setting/getting text.
TextModeLayout
This is a special case layout specifically designed for `com.codename1.ui.InputComponent`.
TextPainter
A painter for painting text into a Node.
TextSelection
Text selection support for Codename One applications.
TextSelection.TextSelectionSupport
An interface that can be returned from any Component's `Component#getTextSelectionSupport()` method to provide text selection support on that component.
TextSelection.TextSelectionTrigger
Trigger types for text selection.
Thread
A thread is a thread of execution in a program.
ThreadLocal<T>
ThreadLocalRandom
ThreadSafeDatabase
Wraps all database calls in a single thread so they are all proxied thru that thread
Throwable
The Throwable class is the superclass of all errors and exceptions in the Java language.
Tile
This class represents a single tile on a map.
TiledProvider
This is a tiled map provider
TimeChart
Specialised `LineChart` that formats the X axis as dates or times.
Timeline
A timeline represents the motions of animation objects
Timer
TimerTask
TimeSeries
A series for the date / time charts.
TimeSpinner
Allows selecting a time of day either in 24 hour batches or AM/PM format.
TimeZone
TimeZone represents a time zone offset, and also figures out daylight savings.
ToastBar
An API to present status messages to the user in an unobtrusive manner.
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.
Toolbar.BackCommandPolicy
The behavior of the back command in the title
TooltipManager
Central management for tooltips, this class can be derived/customized to override the default tooltip behavior.
Transform
Encapsulates a 3D transform that can be used in `com.codename1.ui.Graphics` contexts or with `com.codename1.ui.geom.Shape`s to transform in various ways.
Transform.NotInvertibleException
Transition
Represents a transition animation between two forms this class is used internally by Display to play an animation when moving from one form to the next.
Tree
The `Tree` component allows constructing simple tree component hierarchies that can be expanded seamlessly with no limit.
Tree.TreeState
A marker interface used for Tree state returned from `#getTreeState()` and passed to `#setTreeState(com.codename1.ui.tree.Tree.TreeState)` for retaining state in a Tree when the model is changed.
TreeMap<K,V>
TreeMap is an implementation of SortedMap.
TreeModel
Arranges tree node objects, a node can essentially be anything and it will be displayed in a hierarchy using the `com.codename1.ui.tree.Tree`
TreeSet<E>
TreeSet is an implementation of SortedSet.
TwitterRESTService
Calls to the Twitter REST API can be performed via this class although currently support for authentication isn't implemented due to the transition to oAuth instead of basic authentication.
Type
UiBinding
The binding framework can implicitly bind UI elements to properties, this allow seamless model to UI mapping.
UiBinding.BooleanConverter
Converts the source value to a Boolean.
UiBinding.BoundTableModel
Implements table model binding, this is implemented as a class to allow additional features such as adding/removing rows
UiBinding.CheckBoxRadioSelectionAdapter<PropertyType>
Adapts a `com.codename1.ui.CheckBox` or `com.codename1.ui.RadioButton` to binding
UiBinding.ComponentAdapter<PropertyType, ComponentType>
Adapters can be extended to allow any component to bind to a property via a converter
UiBinding.DateConverter
Converts the source value to a Date.
UiBinding.DoubleConverter
Converts the source value to a Double.
UiBinding.FloatConverter
Converts the source value to a Float.
UiBinding.IntegerConverter
Converts the source value to an Integer.
UiBinding.LongConverter
Converts the source value to a Long.
UiBinding.MappingConverter
Maps values to other values for conversion in a similar way to a Map this is pretty useful for API's like picker where we have a list of Strings and we might want a list of other objects to match every string
UiBinding.ObjectConverter
Object converter can convert an object from one type to another e.g.
UiBinding.PickerAdapter<PropertyType>
Adapts a `com.codename1.ui.spinner.Picker` to binding
UiBinding.RadioListAdapter<PropertyType>
Adapts a set of `com.codename1.ui.RadioButton` to a selection within a list of values
UiBinding.StringConverter
Converts the source value to a String.
UiBinding.TextAreaAdapter<PropertyType>
Adapts a `com.codename1.ui.TextArea` (and it's subclass `com.codename1.ui.TextField` to binding
UiBinding.TextComponentAdapter<PropertyType>
Adapts a `com.codename1.ui.TextComponent` to binding
UIBuilder
The UI builder can create a user interface based on the UI designed in the resource editor and allows us to bind to said UI.
UIFragment
Encapsulates an XML or JSON template for a UI component hierarchy.
UIFragment.ComponentFactory
A factory for converting XML elements to Components.
UIFragment.DefaultComponentFactory
Default component factory that is used in templates.
UIManager
Central point singleton managing the look of the application, this class allows us to customize the styles (themes) as well as the look instance.
UITimer
Simple timer callback that is invoked on the CodenameOne EDT thread rather than on a separate thread.
UnaryOperator<T>
UnitConverter
UnitTest
A Codename One unit test interface, you would normally like to derive from AbstractTest which is less verbose and contains many helper methods.
UnitValue
UnsupportedEncodingException
The Character Encoding is not supported.
UnsupportedOperationException
URI
An implementation of a Univeral Resource Identifier (URI).
URISyntaxException
URL
This class provides a similar API to `URL` making it almost into a "drop in" replacement.
URLCallback
In platforms that support opening an application via URL this interface can be implemented by the main class to support such functionality.
URLImage
`URLImage` allows us to create an image from a URL.
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.
User
This class represents a Facebook User objject http://developers.facebook.com/docs/reference/api/user/
UTFDataFormatException
Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
Util
Various utility methods used for HTTP/IO operations
Validator
Binds validation constraints to form elements, when validation fails it can be highlighted directly on the component via an emblem or change of the UIID (to original UIID name + "Invalid" e.g. "TextFieldInvalid").
Validator.HighlightMode
Indicates the validation failure modes
Vector<E>
Vector is a variable size contiguous indexable array of objects.
VideoCaptureConstraints
Encapsulates constraints that can be used for capturing video.
VideoCaptureConstraints.Compiler
An interface that will be implemented by the implementation.
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.
VirtualKeyboardInterface
Virtual keyboards needs to implement this interface to be registered as a platform keyboard.
VirtualMachineError
Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
Void
VServAds
The v-serv ad service implements full screen ads
WAVWriter
A class that can write raw PCM data to a WAV file.
WeakHashMap<K,V>
Helper weak hash map substitute
WeakReference
This class provides support for weak references.
WebBrowser
A simple browser view that encapsulates a usable version of HTMLComponent or BrowserComponent and automatically picks the right component for the platform preferring BrowserComponent whenever it is supported.
WebServiceProxyCall
Utility class used by the webservice proxy code to invoke server code
WebServiceProxyCall.WSDefinition
Webservice definition type, allows defining the argument values for a specific WS call
WindowEvent
Describes a change in the native window hosting the Codename One display on desktop platforms.
WindowEvent.Type
The type of window change that occurred.
Wrapper<T>
Generic object wrapper, as workaround for the issue "Local variables referenced from a lambda expression must be final or effectively final".
Writer
Abstract class for writing to character streams.
XMLParser
Parser class used to parse an XML document into a DOM object (Element).
XMLWriter
`XMLWriter` writes an XML `com.codename1.xml.Element` into an XML string/file this allowing us to serialize previously parsed and modified XML.
XYChart
The XY chart rendering class.
XYMultipleSeriesDataset
A series that includes 0 to many XYSeries.
XYMultipleSeriesRenderer
Multiple XY series renderer.
XYMultipleSeriesRenderer.Orientation
An enum for the XY chart orientation of the X axis.
XYMultiSeriesTransition
A transition to animate the values of a MultipleSeriesDataset (used by BarChart).
XYSeries
An XY series encapsulates values for XY charts like line, time, area, scatter...
XYSeriesRenderer
A renderer for the XY type series.
XYSeriesRenderer.FillOutsideLine
A descriptor for the line fill behavior.
XYSeriesRenderer.FillOutsideLine.Type
XYSeriesTransition
A transition for enabling animations between different values in an XYSeries.
XYValueSeries
An extension of the XY series which adds a third dimension.
XYValueSeriesTransition
A transition for enabling animations between different values in an XYSeries.
ZonedDateTime
ZoneId
ZoneOffset
ZStream
Deprecated.