All Classes and Interfaces

Class
Description
An abstract class to be implemented by the chart rendering classes.
This class represents an abstract layer on the map.
An abstract base class for AsyncMedia.
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.
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.
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
Exception that is thrown if attempting to run invokeAndBlock while blocking is disabled.
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.
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.
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.
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.
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
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.
Wraps a text field so it will have an X to clear its content on the right hand side
 
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.
Base class for a property as a collection which can contain multiple elements within
 
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:
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.
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.
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.
A class for parsing and formatting localisation sensitive dates, compatible with Jave 6 SDK.
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.
 
 
 
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.
 
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.
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.
Email sharing service.
This class is mostly used internally by the GUI builder and isn't very useful for general purpose.
EncodedImage is the workhorse of Codename One.
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.
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.
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.
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.
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
 
 
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.
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.
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.
Port of Insets from Harmony for the use of the GridBag code
Instant UI generates a user interface for editing a property business object based on common conventions and settings within the properties.
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.
This is the integer specific version of numeric property
This interface is implemented by HTMLComponent and ResourceThread (The two classes using the AsyncDocumentRequestHandler)
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.
Represents a Javascript context of a single BrowserComponent.
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.
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
 
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 "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.
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.
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.
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
Utility class for math operations.
MathUtil for Java ME.
Media control interface allows for media playback, recording.
Allow us to create 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.
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.
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.
The NavigationCommand is a Command that navigates to a given Form.
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.
Encapsulates a Node in the scene-graph.
Interface for painting the content of a node in the Scene graph.
Negates a group of constraints, such that, if any of its child constraints is true, it returns false.
 
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.
 
This is a compatibility class which supports the java.util.Objects API.
 
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/
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.
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.
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.
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.
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.
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.
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.
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.
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.
A Runnable like interface that can return a result possibly asynchronously
A Runnable like interface that can return a result synchronously
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
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
 
A base class for series transitions of ChartComponent.
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.
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
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 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.
 
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.
Encapsulates String as CharacterIterator.
 
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.
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 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.
Wraps all database calls in a single thread so they are all proxied thru that thread
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.
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.
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
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.
 
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/
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
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.
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
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".
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.