All Classes and Interfaces

Class
Description
An abstract class to be implemented by the chart rendering classes.
Class AbstractCollection is an abstract implementation of the Collection interface.
Shared dialog contract for Dialog and InteractionDialog.
This class represents an abstract layer on the map.
AbstractList is an abstract implementation of the List interface, optimized for a backing store which supports random access.
This class is an abstract implementation of the Map interface.
A key-value mapping.
An immutable key-value mapping.
An abstract base class for AsyncMedia.
Exception thrown when an attempt is made to call an abstract method.
AbstractQueue is an abstract class which implements some of the methods in Queue.
AbstractSequentialList is an abstract implementation of the List interface.
An AbstractSet is an abstract implementation of the Set interface.
This abstract class extends table model with various capabilities such as type information etc.
A unit test class that simplifies the process of writing test cases for Codename One.
A constraint that holds the column or row constraints for the grid.
This class represent an access token.
The Accordion ui pattern is a vertically stacked list of items.
Event object delivered when an ActionListener callback is invoked
The event type, as declared when the event is created.
Event callback interface invoked when a component action occurs
An interface that can be implemented by any class that broadcasts ActionEvents.
This class represents a Contact Address
 
This is an Ads Component, this Component can displays banner/text ads on a Form.
This is an abstract Ads Service.
A utility class for expressing 2-D affine transforms in Codename One.
This class represents a Facebook Photo Object http://developers.facebook.com/docs/reference/api/album
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!
Allows any object to react to events and draw an animation at a fixed interval.
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.
An animation object is an element within the timeline that has a visibility state for rendering at a given point in time.
A mirror of java.lang.Annotation.
A mirror of java.lang.annotation.AnnotationFormatError.
Declares methods to append characters or character sequences.
Encapsulates a promotional offer for use with in-app-purchase in Apple's App store.
A series for the category charts like the radar ones.
Thrown when an exceptional arithmetic condition has occurred.
Added this for Kotlin
An implementation of Deque, backed by an array.
Thrown to indicate that an array has been accessed with an illegal index.
ArrayList is an implementation of List, backed by an array.
Arrays contains static methods which operate on arrays.
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
This class is responsible for painting arrows that indicates direction of walk on map.
 
Helper annotations for asynchronous computation.
Indicates that the marked method executes async computation.
Indicates that the marked method schedules async computation.
Provides an interface for Asynchronous request handling.
Implementation of the HTML components document request handler to allow simple HTML support in CodenameOne.
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.
Encapsulates a media error event.
Enum encapsulating the different types of media errors that can occur.
Encapsulates a media exception.
Encapsulates a state-change event on a Media object.
An async resource used to track the progress of a pauseAsync() request.
An async resource used to track the progress of a playAsync() request.
An enum to represent the state of a media object.
A wrapper for an object that needs to be loaded asynchronously.
Exception to wrap exceptions that are thrown during asynchronous execution.
Exception thrown when the AsyncResource is cancelled.
A callback used by AsyncResource to be able to handle both the success and error case in a single method.
This class can be used to capture raw PCM data from the device's microphone.
A callback that can be registered to receive notifications when the contents of the AudioBuffer is changed.
A component for recording Audio from the device microphone.
Enum for tracking the recorder state.
 
A TextComponent version of com.codename1.ui.AutoCompleteTextField
Allows filtering the entries in the auto complete
An editable com.codename1.ui.TextField with completion suggestions that show up in a drop down menu while the user types in text.
An interface that can be implemented by an app's main class to support background fetch.
A painter that draws the background of a component based on its style
Renders a bar chart based on an XYMultipleSeriesDataset.
The bar chart type enum.
This class implements Base64 encoding/decoding functionality as specified in RFC 2045 (http://www.ietf.org/rfc/rfc2045.txt).
Base class for spinners
 
A descriptor for the stroke style.
 
Class representing a simple version of a big decimal.
A simplified version of big integer from the bouncy castle implementation
 
Allows binding arbitrary components to data storage
The BitSet class implements a bit field.
Exception that is thrown if attempting to run invokeAndBlock while blocking is disabled.
The Boolean class wraps a value of the primitive type boolean in an object.
This is the boolean specific version of property
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.
A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.
This class declares a bounding box of coordinates on the map.
Encapsulates bounds in a 3D space.
A size that contains minimum, preferred and maximum size of type UnitValue.
Layout manager that places elements in a row (X_AXIS) or column (Y_AXIS) according to box orientation.
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.
A wrapper class for a literal javascript expression that can be passed as an arg in java.lang.Object[]).
A wrapper class for a Javascript value that is returned via the com.codename1.util.Callback) method.
Enum with the possible types for a JSRef object.
**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.
Encapsulates a WebView that is contained in its own separate window when run on a Desktop (e.g. Simulator).
A future that is returned from the eval() method.
Displays series of XYValueSeries entries as proportional bubbles on top of an XYChart plot.
A Transitions that animates the destination component as a growing window until the destination is displayed in place.
Based on the buffered input stream from the JDK with some minor tweaks to allow external classes to monitor stream status and progress.
Based on the buffered output stream from the JDK with some minor tweaks to allow external classes to monitor stream status and progress.
Button is the base class for several UI widgets allowing clickability.
This class is used to create a multiple-exclusion scope for com.codename1.ui.RadioButton.
An abstract base class for a list of buttons.
An interface that can be implemented to provide custom decoration/undecoration of the buttons as they are created/removed.
The Byte class is the standard wrapper for byte values.
A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
This class implements an output stream in which the data is written into a byte array.
This is the byte specific version of numeric property
Cached data class for use with the cached data service
Simple service that allows downloading and caching data locally.
A cache map is essentially a hashtable that indexes entries based on age and is limited to a fixed size.
Date widget for selecting a date/time value.
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.
Simple interface that allows asynchronous code to perform a parameterized callback or failure in a similar way to GWT's callback interface.
Adapter for the {Callback} interface.
A utility class for calling Callbacks on the EDT.
Deprecated.
these classes are used internally for Lambda compatibility
Encapsulates a camera.
An internal compatibility class for use by the Charts library.
Capture can "capture" media files from the device e.g.
A string comparator equivalent to String.CASE_INSENSITIVE_ORDER which isn't available in Codename One
A series for the category charts like the pie ones.
A simple value holder for one component's constraint.
This class is geared to replace the ListCellRenderer in the long run to provide a more generic rendering API.
The Character class wraps a value of the primitive type char in an object.
Encapsulates char[] as CharacterIterator
Encapsulates different types of character sources - String, InputStream, ...
A specialized Reader for reading the contents of a char array.
This is the char specific version of numeric property
This interface represents an ordered set of characters and defines the methods to probe them.
Added this for Kotlin
The top level component for displaying charts
A utility class for painting a chart onto a Graphics context.
CheckBox is a button that can be selected or deselected and displays its state to the user.
A list of checkboxes.
Instances of the class Class represent classes and interfaces in a running Java application.
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
 
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.
Wraps a text field so it will have an X to clear its content on the right hand side
 
 
Deprecated.
clone isn't supported in Codename One, this interface is here strictly for compilation purposes
Thrown when a program attempts to clone an object which does not support the Cloneable interface.
This is a global context static class designed for static import, this class allows us to write more terse code.
Common constants for Display and CN
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.
Thread class implementing the crash protection functionality
Deprecated!!: Please use the cn1-codescan library instead.
Collection is the root of the collection hierarchy.
Base class for a property as a collection which can contain multiple elements within
Collections contains static methods which operate on Collection classes.
 
 
 
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).
Definition of a chart inside a combined XY chart.
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.
The Command class provides a useful extension to the ActionListener interface in cases where the same functionality may be accessed by several controls.
A collection of useful progress animations and utility methods.
A progress animation that shows an animated circle.
An empty progress animation.
A progress animation that shows a block of text being typed.
Base class for ProgressAnimations
Contains common transition animations that can be applied to forms & components including the following types:
This interface should be implemented by all classes that wish to define a natural order of their instances.
A Comparator is used to compare two objects to determine their ordering with respect to each other.
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.
Parent class representing an animation object within the AnimationManager queue.
A special kind of ComponentAnimation that encapsulates a mutation of the user interface.
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.
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.
A tool to facilitate selection and manipulation of UI components as sets.
Interface used for providing callbacks that receive a Component as input.
Interface used by #map(com.codename1.ui.ComponentSelector.ComponentMapper) to form a new set of components based on the components in one set.
Interface used by #filter(com.codename1.ui.ComponentSelector.Filter) to form a new set of components based on the components in one set.
An event that is fired when the state of a component is changed to and from initialized.
A class that wraps the important parts of a Component.
An ConcurrentModificationException is thrown when a Collection is modified and an existing iterator on the Collection is used to modify the Collection as well.
This class represents a connection object in the form of a request response typically common for HTTP/HTTPS connections.
There are 5 caching modes:
Encapsulates an SSL certificate fingerprint.
To perform validation we add a constraint to a validator, a constraint defines whether a value if valid for a given object
Parses string constraints.
 
 
Represents a Contact entry from the device Address Book.
ContactsManager provides access to the contacts on the device for listing, adding and deleting contacts.
This Contacts model is responsible for querying Contacts from the device and to cache the data for faster usage
A composite pattern with Component, allows nesting and arranging multiple components using a pluggable layout manager architecture.
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.
A class that wraps a container that contains components.
A cookie for an HTTP request
This class declares a coordinate point on a map.
Allows laying out components based on absolute positions/sizes that are adapted based on available space for the layout.
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().
 
A border that can be configured using a limited subset of CSS directives.
Compiles a subset of Codename One CSS into theme properties stored in a MutableResource.
 
This is generally the Apache String builder class refactored here so we can use it regardless of vm limitations/differences for increased performance.
The CSVParser allows importing data into applications quickly from a CSV source.
Draws smooth curves through XY series values using cubic interpolation.
The Cursor interface is used to iterate over the results returned from a database query.
An interface that can be implemented by any object to allow it to be treated as data.
Wraps a byte[] array as a Data object.
Wraps a File as a Data object.
Wraps a Storage object as a Data object.
 
Allows access to SQLite specifically connecting to a database and executing sql queries on the data.
Event callback interface invoked when a com.codename1.ui.list.ListModel changes its state thus indicating to the view that it should refresh.
The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.
A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
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.
A data output stream lets an application write primitive Java data types to an output stream in a portable way.
The class Date represents a specific instant in time, with millisecond precision.
A class for parsing and formatting localisation sensitive dates, compatible with Jave 6 SDK.
Deprecated.
this class has many issues in iOS and other platforms, please use the L10NManager
Common patterns for dates, times, and timestamps.
 
 
A date spinner allows selecting a date value within the given date range
 
 
The date and time spinner extends the time spinner by allowing to pick a specific day as well
Utility class for working with dates and timezones.
A default implementation of the crash reporter that instantly sends the crash data to the server.
Default implementation of the HTML components document request handler to allow simple HTML support in Codename One.
This is a default implementation of HTMLCallback that basically doesn't do much but does keep the HTMLComponent work intact.
Default implementation of the renderer based on a label see the ListCellRenderer for more information about the use and purpose of this class
Default implementation of the list model based on a List of elements.
Used to render the default look of Codename One
An abstract renderer to be extended by the multiple series classes.
A default implementation of the table model based on a two dimensional array.
 
 
 
An annotation for marking an element as deprecated.
A kind of collection that can insert or remove element at both ends("double ended queue").
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
Presents values from a CategorySeries as gauges on a dial.
A dialog is a form that occupies a part of the screen and appears as a modal entity to the developer.
Dial chart renderer.
 
Note: Do not use this class since it is obsolete.
A simple value holder for a constraint for one dimension.
Utility class that holds a width and height that represents a dimension of a component or element
Utility class that holds a width and height that represents a dimension of a component or element
Central class for the API that manages rendering/events and is used to place top level components (Form) on the "display".
 
DocumentInfo holds important information about a document that is loading.
The DocumentRequestHandler interface should be implemented so it returns documents in requested URLs.
The Double class wraps a value of the primitive type double in an object.
This is the double specific version of numeric property
Visualises a MultipleCategorySeries as concentric rings that share a common centre (also known as a doughnut chart).
 
A base class for images that dynamically painted, just like a normal component.
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.
Callback listener for errors on easy thread
An interface that can be implemented to provide editing capabilities for any component in the UI.
Static utility class useful for simple visual effects that don't quite fit anywhere else in the core API.
The Element class defines a single XML element with its attributes and children.
A mirror of java.lang.annotation.ElementType.
Email sharing service.
This class is mostly used internally by the GUI builder and isn't very useful for general purpose.
Thrown by methods in the Stack class to indicate that the stack is empty.
EncodedImage is the workhorse of Codename One.
Implementation class required to compile enums
An object that implements the Enumeration interface generates a series of elements, one at a time.
Signals that an end of file or end of stream has been reached unexpectedly during input.
An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
A generic error callback interface for an error code returned from the server
Handles event dispatching while guaranteeing that all events would be fired properly on the EDT regardless of their source.
EventListener is the superclass of all event listener interfaces.
This abstract class provides a simple wrapper for objects of type EventListener.
The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Promise API function com.codename1.util.promise.Promise
Creates a validation constraint to ensure input value exists in a list of items
Externalizable is similar to the Java SE Externalizable interface this interface.
This is the main access API to the facebook graph API http://developers.facebook.com/docs/reference/api/ This class encapsulates the Network access and provide simple methods to acess the Facebook servers.
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.
Facebook sharing service
Simple interface that allows asynchronous code to perform a parameterized callback in a similar way to GWT's callback interface.
This is a base class for all FaceBook Objects
This class provides a similar API to java.io.File making it almost into a "drop in" replacement.
Interface for filtering files.
Interface to filter filenames.
An encoded image that stores the actual data of the encoded image in a disk file or resource and loads it only when necessary.
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.
Unlike networking, the file system storage mostly tries to emulate java.io.File with some simplifications for mobile devices.
Simple class showing off the filesystem as a tree component
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.
Simple version of filter input stream
Dummy implementation of filter output stream
This class allows filtering/sorting a list model dynamically using a text field
A Transitions that flips between 2 components/forms using perspective transform where available.
The Float class wraps a value of primitive type float in an object.
Floating action buttons are a material design element used to promote a special action in a Form.
A floating hint is similar to a text field with a hint.
This is the float specific version of numeric property
FlowLayout is the default layout manager for Codename One Containers and Forms.
Indicates that an output object can be flushed.
Observes focus change events for a given form and invokes the callbacks to enable us to assign functionality based on current focused component.
Codename One currently supports 3 font types:
FontImage allows using an icon font as if it was an image.
Top level component that serves as the root for the UI, this Container subclass works in concert with the Toolbar to create menus.
Iterates through the components on this form in traversal order.
An abstract class for parsing and formatting localisation sensitive information, compatible with JDK 6.
An abstract class for parsing and formatting localisation sensitive information, compatible with JDK 6.
Abstract class for fullscreen ads that appear before and possibly after application execution as well as randomly between application screen transitions.
 
Promise API functor com.codename1.util.promise.Promise
A general geometric path, consisting of any number of subpaths constructed out of straight lines and cubic or quadratic Bezier curves.
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..
A spinner class that allows arbitrary values, this is effectively a combo box replacement for platforms where a combo box is not available
Metadata for geofencing support that allows tracking user location in the background while the app is inactive.
Listener interface for the Geofence background tracking functionality.
A utility class to simplify Geofencing in Codename One.
The Listener class that is registered to receive Geofence events.
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.
The GoogleConnect Login class allows the sign in with google functionality.
This is a GoogleMaps Provider https://developers.google.com/maps/documentation/staticmaps/
 
 
Abstracts the underlying platform graphics context thus allowing us to achieve portability between MIDP devices and CDC devices.
Holds components in a grid.
Port of the GridBag code from Apache's Harmony
Codename One port of the infamous GridBagLayout based on the Apache Harmony code.
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.
Groups several constraints as if they are one constraint
GroupLayout is a LayoutManager that hierarchically groups components to achieve common, and not so common, layouts.
A connection request that can detect a GZipped response, parse it automatically and unzip it.
 
See also
 
 
HashMap is an implementation of Map.
HashSet is an implementation of a Set.
Hashtable associates keys with values.
HTMLCallback is used to dispatch document lifecycle events.
HTMLComponent is a Codename One Component that renders HTML documents that conform to the XHTML Mobile Profile 1.0
The HTMLElement class defines a single HTML element with its attributes and children.
The HTMLParser class is used to parse an XHTML-MP 1.0 document into a DOM object (Element).
This class contains several useful static methods for HTML
An interface implemented by Component classes that can display an icon.
IdentityHashMap is a variant on HashMap which tests equality by reference instead of equality by value.
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.
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
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.
 
Thrown to indicate that a thread is not in an appropriate state for the requested operation.
Abstracts the underlying platform images allowing us to treat them as a uniform object.
Simplifies the process of implementing an image link for labels and lists by binding a request to a component.
A factory class for creating mutable images.
Enable simple operations on image file & image objects such as dynamic scaling and storage to binary formats such as JPEG.
ImageViewer allows zooming/panning an image and potentially flicking between multiple images within a list of images.
 
An interface to implement if you want to decide the gaps between two types of components within the same cell.
IncompatibleClassChangeError is the superclass of all classes which represent errors that occur when inconsistent class files are loaded into the same running image.
A mirror of java.lang.annotation.IncompleteAnnotationException.
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.
This abstract Container can scroll indefinitely (or at least until we run out of data).
Shows a "Washing Machine" infinite progress indication animation, to customize the image you can either use the infiniteImage theme constant or the setAnimation method.
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.
 
 
 
This is an Ad service implementation by InnerActive see: http://console.inner-active.com/iamp/publisher/register?ref_id=affiliate_CodenameOne
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.
This abstract class is the superclass of all classes representing an input stream of bytes.
An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters.
Port of Insets from Harmony for the use of the GridBag code
 
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.
Instant UI generates a user interface for editing a property business object based on common conventions and settings within the properties.
The Integer class wraps a value of the primitive type int in an object.
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.
A container that allows you to use the same component on multiple forms.
Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
Signals that an I/O operation has been interrupted.
This is the integer specific version of numeric property
This interface is implemented by HTMLComponent and ResourceThread (The two classes using the AsyncDocumentRequestHandler)
Signals that an I/O exception of some sort has occurred.
Callback for IO updates from a buffered input/output stream
Plugin event fired when Display#isGalleryTypeSupported(int) method is called to give plugins an opportunity to answer this question.
Objects of classes that implement this interface can be used within a foreach statement.
An Iterator is used to sequence over a collection of objects.
Represents a Javascript context of a single BrowserComponent.
Bridge methods used by bytecode rewrite rules for JDK APIs that are risky/unsupported on some targets.
The JSFunction interface allows you to implement functions in Java that can be called from Javascript.
A Java Wrapper around a Javascript object.
The event based parser allows parsing without creating an object tree by receiving callbacks to this class.
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.
 
The localization manager allows adapting values for display in different locales thru parsing and formatting capabilities (similar to JavaSE's DateFormat/NumberFormat).
Allows displaying a single line of text and icon (both optional) with different alignment options.
Deprecated.
these classes are used internally for Lambda compatibility
a Layer interface.
The LayeredLayout places the components in order one on top of the other and sizes them all to the size of the largest component.
Abstract class that can be used to arrange components in a container using a predefined algorithm.
A class to extend if you want to provide more control over where a component is placed or the size of it.
LayoutStyle is used to determine how much space to place between components during layout.
A utility class that has only static helper methods.
Useful when passing a value that might not exist to a function, e.g.
Contains the constraints for an instance of the LC layout manager.
Creates a validation constraint based on minimum input length
Optional helper class that implements the Codename One lifecycle methods with reasonable default implementations to help keep sample code smaller.
Generic "Like" button that enables us to submit a like to facebook, to get the post id required for the like functionality you will need to use a tool such as: https://developers.facebook.com/tools/explorer/?method=GET&path=me%2Fposts You can ask it to list your posts and then seek the correct id within the returned JSON
LinearGradientPaint provides a way to fill a Shape with a linear gradient.
Plots series of X/Y points using straight line segments.
This is a Lines Layer
LinkageError is the superclass of all error classes that occur when loading and linking class files.
LinkedHashMap is a variant of HashMap.
LinkedHashSet is a variant of HashSet.
LinkedList is an implementation of List, backed by a linked list.
 
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.
A List is a collection which maintains an ordering for its elements.
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.
An ListIterator is used to sequence over a List of objects.
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..
Base class for a property as a list which can contain multiple elements within
 
 
 
Local notifications are user notifications that are scheduled by the app itself.
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.
 
Represents a position and possible velocity returned from positioning API's.
This is a Listener to the Locations events see LocationManager.setLocationListener
The LocationManager is the main entry to retrieveLocation or to bind a LocationListener,
This class is used when requesting to listen to location update.
Pluggable logging framework that allows a developer to log into storage using the file connector API.
The Login abstract base class is used to simplify Oauth2 authentications services.
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.
The Long class wraps a value of the primitive type long in an object.
This is the long specific version of numeric property
Allows a UI developer to completely customize the look of the application by overriding drawing/sizing methods appropriately.
Thrown when attempting to create a URL that doesn't conform to specification.
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 is a key/value mapping contained in a Map.
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.
All communication with the map and layers should be done in WGS84, it takes care of coordinates transformation.
Invoked when the map is panned or zoomed
Base class for a property as a Map which can contain multiple elements within it
This is a generic map provider.
Master-detail utility class simplifying the process of defining a master/detail
The class Math contains methods for performing basic numeric operations.
Utility class for math operations.
MathUtil for Java ME.
Media control interface allows for media playback, recording.
Allow us to create Media objects using String URI's or with a stream to the media data.
MetaData for use by RemoteControlListener to provide information about the currently playing background media on the device's lock screen.
Video playback component with control buttons for back, play/pause and forward buttons.
A builder class to generate a Media recorder with specific settings.
This class represents the Form MenuBar.
Represents a Mercator projection http://en.wikipedia.org/wiki/Mercator_projection
Represents a message to be sent using underlying platform e-mail client or the cloud.
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.
Encapsulates a promise that should be fulfilled when implementingn a custom permissions prompt to record or play audio.
 
Deprecated.
these classes are used internally for Lambda compatibility
Deprecated.
these classes are used internally for Lambda compatibility
 
Deprecated.
these classes are used internally for Lambda compatibility
A very flexible layout manager.
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.
Abstracts the notion of physical motion over time from a numeric location to another.
A powerful button like component that allows multiple rows/and an icon to be added every row/icon can have its own UIID.
A list with a com.codename1.components.MultiButton renderer, notice that we strongly discourage usage of lists..
A multipart post request allows a developer to submit large binary data files to the server in a multipart mime post request.
A series for the multiple category charts like the doughnut.
A base class for Paints that use multiple gradients.
Colors spaces for gradients.
Cycle methods for gradients.
Events ListModel to support multiple selection.
Deprecated.
Mutable variant of Resources intended for non-designer environments.
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.
Creates an instance of the native interface which will call the underlying platform using the convention documented in the package docs.
NavigableMap is a SortedMap with navigation methods answering the closest matches for specified item.
NavigableSet is a SortedSet with navigation methods answering the closest matches for specified item.
The NavigationCommand is a Command that navigates to a given Form.
Thrown if an application tries to create an array with negative size.
Event containing more meta data for network events which may be error events or an update for progress indication code.
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.
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.
Encapsulates a Node in the scene-graph.
Interface for painting the content of a node in the Scene graph.
Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
Thrown when the virtual machine notices that a program tries to reference, on a class or object, a field that does not exist.
Negates a group of constraints, such that, if any of its child constraints is true, it returns false.
Thrown when an application attempts to use null in a case where an object is required.
 
 
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.
Forces the value to be a number potentially within specific bounds
This is the base class to all number properties, it introduces nullability and the ability to convert to all number types.
A spinner class that allows picking a number
This is a utility class that allows Oauth2 authentication This utility uses the Codename One XHTML Component to display the authentication pages.
 
Class Object is the root of the class hierarchy.
This is a compatibility class which supports the java.util.Objects API.
This is a compatibility class which supports the java.util.Objects API.
Observable is used to notify a group of Observer objects when a change occurs.
Observer is the interface to be implemented by objects that receive notification of updates on an Observable object.
 
 
Invoked when a process is completed, this is a generic interface designed to replace the SuccessCallback interface.
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.
Event triggered when int) is called.
This is an OpenStreetMap Provider http://www.openstreetmap.org/
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.
This abstract class is the superclass of all classes representing an output stream of bytes.
An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes.
An annotation to indicate that a method is intended to override a superclass method.
This class represents a Facebook Page object https://developers.facebook.com/docs/reference/api/page/
DO NOT USE.
An interface for providing custom painting such as gradients.
 
 
 
 
Painter can be used to draw on components backgrounds.
A painter chain allows us to chain together several painters to provide a "layer" effect where each painter only draws one element.
An error occurred during parsing.
An error occurred during parsing.
A callback used to dispatch errors encountered while parsing XML resources
This interface provides a directed path over the boundary of a shape.
 
A peer component is essentially a "dummy" Codename One component used to calculate the position of the actual native platform specific component.
Callback interface that the main class may implement to be notified of pending purchases.
 
 
This class represents a Facebook Photo Object http://developers.facebook.com/docs/reference/api/photo/
Picker is a component and API that allows either popping up a spinner or using the native picker API when applicable.
A picker component similar to com.codename1.ui.TextComponent that adapts to native UI conventions and leverages the com.codename1.ui.spinner.Picker API.
Shows each value from a CategorySeries as a slice of a circle.
PieChart Segment Selection Management.
Holds A PieChart Segment
Currently handles Windows, Mac OS X, and GNOME spacing.
Interface that must be implemented by Codename One plugins.
Parent class for all plugin events.
Support class for implementing plugins in codename one.
A class to encapsulate the definition of a point.
Utility class that holds x,y
Utility class that holds x,y
Encapsulates a point in 3D space.
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!
This is a Points Layer
The chart point style enumerator.
This class represents a Facebook Post Object http://developers.facebook.com/docs/reference/api/post/
 
Respond to changes to the Preferences
Simple map like class to store application and Codename One preference settings in the com.codename1.io.Storage.
Binds an object to the com.codename1.io.Preferences API for automatic persistent storage.
A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
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.
Represents a product within the system
Displays a progress dialog with the ability to cancel an ongoing operation
This class represents a projection type.
An implementation of Promise for use with Codename One applications.
Encapsulates the state of a Promise.
A marker interface representing a promotional offer for in-app purchase.
A Properties object is a Hashtable where the keys and values must be Strings.
Base class for a property, it can store a generic value of any type and broadcast change events to external listeners
Base class for property types
Allows mapping properties generically
Event callback interface, invoked when a property changed its value
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.
This Tile brings the tile image from a given http url.
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.
Callback interface that the main class must implement in order for in-app-purchasing to work.
Utility class for sending a push message to a different device through the Codename One push servers.
Encapsulates a push notification action.
Encapsulates a category for push notifications.
This callback interface is invoked when a push notification with a "category" is received by the application.
A convenience class for building a push notification Payload.
This callback interface is invoked when a push notification is received by the application.
Encapsulates the content of a Push message.
This kind of collection provides advanced operations compared to basic collections, such as insertion, extraction, and inspection.
Draws multi-dimensional data as a web chart (also known as a radar or spider chart).
RadioButton is a Button that maintains a selection state exclusively within a specific ButtonGroup.
A list of Radio buttons that can be managed as a single component.
An instance of this class is used to generate a stream of pseudorandom numbers.
RandomAccess is implemented by List implementations that support fast (usually constant time) random access.
Extends BarChart to support values that represent ranges rather than single points.
A series for the range category charts like the range bar.
 
RE is an efficient, lightweight regular expression evaluator/matcher class.
Abstract class for reading character streams.
Encapsulates java.io.Reader as CharacterIterator
Encapsulates a receipt for an in-app purchase.
Interface that can be implemented to provide store of receipts.
 
A regular expression compiler class.
Base class for Java record types.
Represents a Rectangle position (x, y) and Dimension (width, height), this is useful for measuring coordinates within the application.
Represents a Rectangle position (x, y) and Dimension (width, height), this is useful for measuring coordinates within the application.
A subclass of RECompiler which can dump a regular expression program for debugging purposes.
Abstract base class for reference objects.
Creates a validation constraint based on a regular expression
An Interface that any Component that could be released from the parent Form can implement.
A base class that is meant to be overridden to implement functionality that responds to the device's remote control for media playback.
Allows the image data to be replaced at runtime when a different image is available.
A class that holds compiled regular expressions.
This class is used to build, invoke the http request and to get the http response
Loads resources from the binary resource file generated by the Codename One Designer.
The http Response class
This class is used to create the Http RequestBuilder(get/post/head/options/delete/put)
Callback interface that the main class must implement in order for the restore option of in-app-purchasing to work.
An evaluator for a very small expression language to extract primitive types from structured information.
Exception thrown to indicate a syntax error in a regular expression.
 
A mirror of java.lang.annotation.RetentionPolicy.
This is a class that contains utility helper methods for this package.
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.
A border that can either be a circle or a circular rectangle which is a rectangle whose sides are circles.
Base class for charts that render circular data representations such as pie charts, doughnut charts or gauges.
Customizable rounded rectangle border that breaks down the border into customizable pieces.
The Row interface is returned by com.codename1.db.Cursor#getRow() to provide access to the content of an individual row.
An extension of the Row interface to support #wasNull().
A List implementing an RSS reader that automatically populates itself with content from the RSS chanel.
Simple RSS read and parse request, to handle errors just subclass this and override parsingError.
The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
A Runnable like interface that can return a result possibly asynchronously
A Runnable like interface that can return a result synchronously
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 is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
 
Button that simplifies the usage of scale to fill/fit.
Label that simplifies the usage of scale to fill/fit.
Deprecated!!: Please use the cn1-codescan library instead.
Renders discrete X/Y points without connecting lines.
A scene graph.
Invoked to indicate a scroll change events
Thrown by the system to indicate a security violation.
An interface that is implemented by "selectable" components that hold icons, such as Button, SpanButton, MultiButton, etc...
Invoked to indicate a selection change in the list model
Here to simplify porting, won't actually work...
 
A base class for series transitions of ChartComponent.
A Set is a data structure which does not allow duplicate elements.
Base class for a property as a set which can contain multiple elements within
An interface that can be implemented by any class that wants to be drawable as a shape.
The share button allows sharing a String or an image either thru the defined sharing services or thru the native OS sharing support.
This is an abstract sharing service.
A light-weight dialog that slides up from the bottom of the screen on mobile devices.
The Short class is the standard wrapper for short values.
This is Menu Bar that displays it's commands on a side bar navigation similar to Google+/Facbook apps navigation
A component to allow a user to enter their signature.
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
Deprecated.
this class has many issues in iOS and other platforms, please use the L10NManager
A simple series renderer.
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.
Binds a com.codename1.ui.Slider to network progress events so it shows the progress of the current com.codename1.io.ConnectionRequest
SMS Sharing service
Class implementing the socket API
This interface can be invoked to stop listening on a server socket
Callback for establishment of a socket connection.
A proxy that wraps the table model providing sorting API that can be leveraged by the table
A map that has its keys ordered.
SortedSet is a Set which iterates over its elements in a sorted order.
A complex button similar to MultiButton that breaks lines automatically and looks like a regular button (more or less).
A multi line label component that can be easily localized, this is simply based on a text area combined with a label.
A powerful button like component that allows multiple rows/and an icon to be added every row/icon can have its own UIID.
A Split Pane component.
An object to configure settings for a SplitPane.
A simple ORM wrapper for property objects.
 
Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects.
 
Abstracts the underlying application specific storage system, unlike the com.codename1.io.FileSystemStorage this class is a higher level abstraction.
An encoded image that stores the actual data of the encoded image in storage.
Asynchronous storage image that loads in the background and not during the paint cycle effectively not blocking the EDT drawing speed.
 
Encapsulates java.io.InputStream as CharacterIterator.
The String class represents character strings.
A string buffer implements a mutable sequence of characters.
A string builder implements a mutable sequence of characters.
Encapsulates String as CharacterIterator.
Deprecated.
this class is used internally for String concatenation compatibility
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.
 
A specialized Reader that reads characters from a String in a sequential manner.
The StringTokenizer class allows an application to break a string into tokens by performing code point comparison.
Various utility methods for manipulating strings
 
Encapsulates the stroke used for drawing paths.
Represents the look of a given component: colors, fonts, transparency, margin and padding & images.
Invoked to indicate a change in a Style property
Parses Style strings into StyleInfo objects, which can be converted to Style objects at runtime.
Encapsulates information about the border property of a style string.
Base class for style values that consist of 4 scalar values, such as padding and margin.
Encapsulates the value of the font property in a style string.
Encapsulates an image that is referenced by a style string.
Encapsulates information about the padding in a style string.
Encapsulates information about the padding in a style string.
Encapsulates a scalar value with a unit.
Encapculates a style string in structured format.
Simple interface that allows asynchronous code to perform a parameterized callback in a similar way to GWT's callback interface.
 
An annotation that indicates a compiler should suppress any warnings of the type specified in the SuppressWarnings.value().
SwipeableContainer allows us to side swipe a component and expose underlying configuration within it.
Allows binding a swipe listener to the form that enables the user to swipe back to the previous form.
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
A list of switches.
The System class contains several useful class fields and methods.
The Table class represents a grid of data that can be used for rendering a grid of components/labels.
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.
Represents the layout constraint for an entry within the table indicating the desired position/behavior of the component.
The table and table model class are complimentry classes allowing the quick construction of tabular data controls.
A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
 
 
 
Header
 
 
 
 
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'.
A UI component for running unit tests and displaying the results.
Various utility classes to automate UI testing
An optionally multi-line editable region that can display text and allow a user to edit it.
Encapsulates a text field and label into a single component.
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
A specialized version of com.codename1.ui.TextArea with some minor deviations from the original specifically:
An interface implemented by Component classes that can support setting/getting text.
This is a special case layout specifically designed for com.codename1.ui.InputComponent.
A painter for painting text into a Node.
Text selection support for Codename One applications.
An interface that can be returned from any Component's Component#getTextSelectionSupport() method to provide text selection support on that component.
Trigger types for text selection.
A thread is a thread of execution in a program.
 
 
Wraps all database calls in a single thread so they are all proxied thru that thread
The Throwable class is the superclass of all errors and exceptions in the Java language.
This class represents a single tile on a map.
This is a tiled map provider
Specialised LineChart that formats the X axis as dates or times.
A timeline represents the motions of animation objects
 
 
A series for the date / time charts.
Allows selecting a time of day either in 24 hour batches or AM/PM format.
TimeZone represents a time zone offset, and also figures out daylight savings.
An API to present status messages to the user in an unobtrusive manner.
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.
The behavior of the back command in the title
Central management for tooltips, this class can be derived/customized to override the default tooltip behavior.
Encapsulates a 3D transform that can be used in com.codename1.ui.Graphics contexts or with com.codename1.ui.geom.Shapes to transform in various ways.
 
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.
The Tree component allows constructing simple tree component hierarchies that can be expanded seamlessly with no limit.
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 is an implementation of SortedMap.
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 is an implementation of SortedSet.
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.
 
The binding framework can implicitly bind UI elements to properties, this allow seamless model to UI mapping.
Converts the source value to a Boolean.
Implements table model binding, this is implemented as a class to allow additional features such as adding/removing rows
Adapts a com.codename1.ui.CheckBox or com.codename1.ui.RadioButton to binding
Adapters can be extended to allow any component to bind to a property via a converter
Converts the source value to a Date.
Converts the source value to a Double.
Converts the source value to a Float.
Converts the source value to an Integer.
Converts the source value to a Long.
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
Object converter can convert an object from one type to another e.g.
Adapts a com.codename1.ui.spinner.Picker to binding
Adapts a set of com.codename1.ui.RadioButton to a selection within a list of values
Converts the source value to a String.
Adapts a com.codename1.ui.TextArea (and it's subclass com.codename1.ui.TextField to binding
Adapts a com.codename1.ui.TextComponent to binding
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.
Encapsulates an XML or JSON template for a UI component hierarchy.
A factory for converting XML elements to Components.
Default component factory that is used in templates.
Central point singleton managing the look of the application, this class allows us to customize the styles (themes) as well as the look instance.
Simple timer callback that is invoked on the CodenameOne EDT thread rather than on a separate thread.
 
 
A Codename One unit test interface, you would normally like to derive from AbstractTest which is less verbose and contains many helper methods.
 
The Character Encoding is not supported.
 
An implementation of a Univeral Resource Identifier (URI).
 
This class provides a similar API to URL making it almost into a "drop in" replacement.
In platforms that support opening an application via URL this interface can be implemented by the main class to support such functionality.
URLImage allows us to create an image from a URL.
Invoked in a case of an error
Allows applying resize logic to downloaded images you can use constant resize behaviors defined in this class.
This class represents a Facebook User objject http://developers.facebook.com/docs/reference/api/user/
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.
Various utility methods used for HTTP/IO operations
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").
Indicates the validation failure modes
Vector is a variable size contiguous indexable array of objects.
Encapsulates constraints that can be used for capturing video.
An interface that will be implemented by the implementation.
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.
Virtual keyboards needs to implement this interface to be registered as a platform keyboard.
Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
 
The v-serv ad service implements full screen ads
A class that can write raw PCM data to a WAV file.
Helper weak hash map substitute
This class provides support for weak references.
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.
Utility class used by the webservice proxy code to invoke server code
Webservice definition type, allows defining the argument values for a specific WS call
Describes a change in the native window hosting the Codename One display on desktop platforms.
The type of window change that occurred.
Generic object wrapper, as workaround for the issue "Local variables referenced from a lambda expression must be final or effectively final".
Abstract class for writing to character streams.
Parser class used to parse an XML document into a DOM object (Element).
XMLWriter writes an XML com.codename1.xml.Element into an XML string/file this allowing us to serialize previously parsed and modified XML.
The XY chart rendering class.
A series that includes 0 to many XYSeries.
Multiple XY series renderer.
An enum for the XY chart orientation of the X axis.
A transition to animate the values of a MultipleSeriesDataset (used by BarChart).
An XY series encapsulates values for XY charts like line, time, area, scatter...
A renderer for the XY type series.
A descriptor for the line fill behavior.
 
A transition for enabling animations between different values in an XYSeries.
An extension of the XY series which adds a third dimension.
A transition for enabling animations between different values in an XYSeries.
 
 
 
Deprecated.