# All Classes and Interfaces

Class
Description
AABB
An axis-aligned bounding box.
AbstractAnalyticsProvider
Convenience base class for `AnalyticsProvider` implementations.
AbstractChart
An abstract class to be implemented by the chart rendering classes.
AbstractCollection<E>
Class `AbstractCollection` is an abstract implementation of the `Collection` interface.
AbstractDialog
Shared dialog contract for `Dialog` and `InteractionDialog`.
AbstractEditorComponent
Base class for the pure Codename One visual editors (rich text and code).
AbstractLayer
This class represents an abstract layer on the map.
AbstractList<E>
`AbstractList` is an abstract implementation of the `List` interface, optimized for a backing store which supports random access.
AbstractMap<K,V>
This class is an abstract implementation of the `Map` interface.
AbstractMap.SimpleEntry<K,V>
A key-value mapping.
AbstractMap.SimpleImmutableEntry<K,V>
An immutable key-value mapping.
AbstractMedia
An abstract base class for AsyncMedia.
AbstractMethodError
Exception thrown when an attempt is made to call an abstract method.
AbstractQueue<E>
AbstractQueue is an abstract class which implements some of the methods in `Queue`.
AbstractSequentialList<E>
AbstractSequentialList is an abstract implementation of the List interface.
AbstractSet<E>
An AbstractSet is an abstract implementation of the Set interface.
AbstractTableModel
This abstract class extends table model with various capabilities such as type information etc.
AbstractTest
A unit test class that simplifies the process of writing test cases for Codename One.
AC
A constraint that holds the column or row constraints for the grid.
AccessibilityAction
An action that assistive technology can invoke on a semantic node.
AccessibilityAction.Handler
Handles an accessibility action on the Codename One EDT.
AccessibilityAssertions
Automated semantic-tree assertions suitable for unit tests and CI.
AccessibilityCheckedState
Checked state for checkable semantic nodes.
AccessibilityChildProvider
Supplies semantic children that are not represented by persistent lightweight components, such as renderer-backed list rows and table cells.
AccessibilityCollectionInfo
Metadata describing a list, grid, table, or other collection.
AccessibilityCollectionItemInfo
Position and span metadata for an item in a semantic collection.
AccessibilityColorVisionDeficiency
Describes a color-vision deficiency selected in the operating system or simulated by the Java SE simulator.
AccessibilityGrouping
Controls how a component and its descendants participate in the semantic tree.
AccessibilityInspector
Read-only semantic-tree inspection entry point for tests and developer tools.
AccessibilityIssue
A deterministic accessibility audit finding.
AccessibilityIssue.Severity
AccessibilityLiveRegion
How changes to a semantic node should be announced without moving focus.
AccessibilityManager
Builds, caches, diffs, and dispatches actions for the portable semantic tree.
AccessibilityNode
Mutable semantic configuration for a lightweight component or virtual child.
AccessibilityNodeSnapshot
Immutable resolved node exported to platform accessibility adapters and test tooling.
AccessibilityRange
Numeric value metadata for sliders, progress indicators, spin buttons, and other adjustable controls.
AccessibilityRole
The semantic role of a lightweight component or virtual accessibility node.
AccessibilityTreeSnapshot
Immutable accessibility tree for the current form.
Accessory
One physical device in the home: HomeKit's `HMAccessory`, a Google Home device, one Matter node.
AccessoryCategory
Roughly what an `Accessory` is, for picking an icon and grouping a list.
AccessoryService
One functional endpoint of an `Accessory`: HomeKit's `HMService`, one Matter endpoint.
AccessToken
This class represent an access token.
Accordion
The `Accordion` ui pattern is a vertically stacked list of items.
ActionEvent
Event object delivered when an `ActionListener` callback is invoked
ActionEvent.Type
The event type, as declared when the event is created.
ActionListener<T>
Event callback interface invoked when a component action occurs
ActionSource<T>
An interface that can be implemented by any class that broadcasts ActionEvents.
AdapterState
Lifecycle states of the local Bluetooth adapter, a union of the Android `BluetoothAdapter` states and the iOS `CBManagerState` values.
AdapterStateListener
Observes local adapter state changes registered via `Bluetooth.addAdapterStateListener(AdapterStateListener)`.
AdCallback<T>
Single-method callback used throughout the advertising API for asynchronous results (initialization, consent, native ad loading).
AdConfig
Configuration passed once to `AdManager.initialize(AdConfig, AdCallback)`.
AdConsent
Manages user privacy consent for advertising.
AdConsentController
A provider's consent and privacy controller, backing the public `AdConsent` facade.
Address
This class represents a Contact Address
AdError
Describes a failure delivered to `AdListener.onFailedToLoad(AdError)` or `AdListener.onShowFailed(AdError)`.
AdFormat
The ad formats supported by the modern advertising API.
Adler32
AdListener
Receives the lifecycle events of an ad.
AdManager
The entry point of the Codename One advertising API.
AdProvider
The service provider interface implemented by an ad network library (such as the Google AdMob library).
AdRequest
Optional targeting metadata attached to an ad load.
Ads
Deprecated.
this legacy HTML banner component targets the defunct InnerActive network.
AdSessionCallback
The callback a `AdProvider` uses to report ad lifecycle events back to the Codename One ads layer.
AdsService
Deprecated.
this legacy banner ad service targets ad networks that no longer exist and predates consent management.
AdvertiseData
The payload to advertise via `BluetoothLE.startAdvertising`.
AdvertisementData
The parsed payload of a BLE advertisement: local name, advertised service UUIDs, manufacturer data, service data and TX power.
AdvertiseMode
Advertising-interval trade-off, mirroring Android's advertise modes.
AdvertiseSettings
Options for `BluetoothLE.startAdvertising`.
AffineTransform
A utility class for expressing 2-D affine transforms in Codename One.
AggregateMetric
What to compute over an aggregation bucket.
AggregateQuery
Describes a bucketed summary read against `HealthStore`.
AggregateResult
One bucket of an `AggregateQuery` result: a span of time and the metrics computed over it.
AirQualityLevel
A summarized air-quality rating, for `Trait.AIR_QUALITY`.
AlarmState
The state of a life-safety alarm, for `Trait.SMOKE_DETECTED` and `Trait.CO_DETECTED`.
Album
This class represents a Facebook Photo Object http://developers.facebook.com/docs/reference/api/album
Analytics
The application-facing entry point for analytics.
AnalyticsCapability
Enumerates the analytics features a provider (or a server-side subscription tier) may support.
AnalyticsConsent
An immutable snapshot of the consent the user has granted, broken down by category so that an application can honour granular choices (for example allowing crash reporting while declining behavioural analytics).
AnalyticsConsent.Builder
Mutable builder for `AnalyticsConsent`.
AnalyticsContext
Immutable bundle of ambient information shared with every provider through `AnalyticsProvider.init(AnalyticsContext)`.
AnalyticsCrashReport
A crash / exception report routed to providers that advertise `AnalyticsCapability.CRASH_REPORTING`.
AnalyticsCrashReport.Builder
Mutable builder for `AnalyticsCrashReport`.
AnalyticsEvent
An immutable analytics event: a named action with an optional category and an ordered set of parameters.
AnalyticsEvent.Builder
Mutable builder for `AnalyticsEvent`.
AnalyticsProvider
The analytics service provider interface (SPI).
AnalyticsService
Deprecated.
use `Analytics` and an `AnalyticsProvider`
Android
Android build hints, checked by the compiler.
AndroidMinSdk
The Android API level an app runs on at the lowest.
AnimatedSprite
A `Sprite` that cycles through a sequence of frames over time.
Animation
Allows any object to react to events and draw an animation at a fixed interval.
AnimationManager
Animation manager concentrates all of the animations for a given form into a single place that allows us to manage all mutations to a Form in a way the prevents collisions between mutations.
AnimationObject
An animation object is an element within the timeline that has a visibility state for rendering at a given point in time.
AnimationTime
Pluggable time source for animations across the framework.
Annotation
A mirror of java.lang.Annotation.
AnnotationFormatError
A mirror of java.lang.annotation.AnnotationFormatError.
ApduResponse
Helpers for working with the ISO 7816 status word (SW1/SW2) trailer at the end of every APDU response.
Appendable
Declares methods to append characters or character sequences.
AppEntity
The platform-facing view of one of your app's nouns -- an order, a playlist, a saved route.
AppIntent
Exposes a capability of your application to the system: Siri, Spotlight, the Shortcuts app, an Android launcher shortcut, a widget button, or a language model.
ApplePromotionalOffer
Encapsulates a promotional offer for use with in-app-purchase in Apple's App store.
AppleSignIn
`Sign in with Apple` for Codename One.
AppleSignInCallback
Callback for `AppleSignIn.signIn(String, AppleSignInCallback)`.
AppleSignInNative
Service-provider interface for native `Sign in with Apple`.
AppleSignInResult
Successful outcome of an `AppleSignIn.signIn(String, AppleSignInCallback)` call.
AppOpenAd
A full screen ad shown while the application is being brought to the foreground, overlaying the launch/splash experience.
AppReview
Entry point for requesting an app store review and collecting feedback.
AppShield
API shielding: proves to your own backend that a request came from a genuine, unmodified build of your app running on a device that has not been tampered with.
AppState
A snapshot of where the user was and what they were doing: the route stack, plus whatever your `StateProvider` chose to add.
AR
Entry point for the cross-platform augmented reality API.
ARAnchor
A fixed position and orientation in the real world that the AR session keeps tracking as its understanding of the environment improves.
ARAnchorEvent
Describes a change to an `ARAnchor`, delivered to `ARAnchorListener`s on the EDT.
ARAnchorEvent.Kind
The kind of change that occurred.
ARAnchorListener
Observes anchor changes, including platform-recognized images and faces.
ARCapabilities
Describes which AR features the current device supports.
AreaSeries
A series for the category charts like the radar ones.
ARFaceAnchor
An anchor tracking a face in a `ARTrackingMode#FACE` session.
ARFaceRegion
Named face regions whose poses can be queried from an `ARFaceAnchor`.
ARHitResult
One intersection returned by `ARSession#hitTest(float, float)`: the world pose where the ray from the screen point met real-world geometry.
ARHitResult.Type
The kind of real-world geometry the hit ray intersected.
ARImageAnchor
An anchor tracking a recognized `ARReferenceImage` in the real world.
ArithmeticException
Thrown when an exceptional arithmetic condition has occurred.
ARLightEstimate
An estimate of the real-world lighting around the device, used to shade virtual content so it blends with the camera image.
ARModel
The renderable content of an `ARNode`: geometry plus an optional base-color texture or solid color.
ARNode
A node in the small scene graph rendered at an `ARAnchor`.
ARPlane
A real-world surface detected by the AR session, such as a floor, table or wall.
ARPlane.Type
The orientation of a detected plane.
ARPlaneDetection
Which real-world surface orientations an `ARSession` should detect and report as `ARPlane`s.
ARPlaneEvent
Describes a change to a detected `ARPlane`, delivered to `ARPlaneListener`s on the EDT.
ARPlaneEvent.Kind
The kind of change that occurred.
ARPlaneListener
Observes plane detection.
ARPose
An immutable rigid transform - a rotation followed by a translation - that positions something in AR world space.
Array
Added this for Kotlin
ArrayDeque<E>
An implementation of Deque, backed by an array.
ArrayIndexOutOfBoundsException
Thrown to indicate that an array has been accessed with an illegal index.
ArrayList<E>
ArrayList is an implementation of `List`, backed by an array.
Arrays
`Arrays` contains static methods which operate on arrays.
ArrayStoreException
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
ARReferenceImage
A 2D image the AR session should recognize in the real world - a poster, a game board, a product label.
ArrowLinesLayer
This class is responsible for painting arrows that indicates direction of walk on map.
ARSession
Active augmented reality session.
ARSessionOptions
Configuration for an `ARSession`.
ARTrackingFailureReason
Why an `ARSession` reports `ARTrackingState#LIMITED` or `ARTrackingState#NOT_TRACKING`.
ARTrackingListener
Observes changes to a session's overall tracking quality.
ARTrackingMode
The tracking configuration of an `ARSession`.
ARTrackingState
The quality of pose tracking for an `ARSession` or an individual trackable such as an `ARAnchor` or `ARPlane`.
ARView
Component that renders the AR camera image composited with the session's anchored 3D content.
AssertionError
AssetCatalog
The registry that turns an `GameElement#getAssetId()` into something a `LevelRealizer` can draw.
AssetDef
The definition of one placeable asset in an `AssetPack`: the template a placed `GameElement` references through its `GameElement#getAssetId()`.
AssetDef.Kind
How an asset is placed: painted into a grid cell, or freely positioned.
AssetDef.Type
The art format of an asset, which decides what it is realized into.
AssetPack
A themed collection of `AssetDef`s -- the editor's "Platformer", "Top-Down RPG" or "Board & Card" pack.
AssociationRequest
What to show the user in the system device chooser, built with `AssociationRequest.Builder`.
AssociationRequest.Builder
Assembles an `AssociationRequest`.
Async
Helper annotations for asynchronous computation.
Async.Execute
Indicates that the marked method executes async computation.
Async.Schedule
Indicates that the marked method schedules async computation.
AsyncDocumentRequestHandler
Provides an interface for Asynchronous request handling.
AsyncDocumentRequestHandlerImpl
Implementation of the HTML components document request handler to allow simple HTML support in CodenameOne.
AsyncMedia
An interface for media elements that provides asynchronous pause and play functionality as well as support for state change events, so that interested parties can register to be notified when state changes between play and pause.
AsyncMedia.MediaErrorEvent
Encapsulates a media error event.
AsyncMedia.MediaErrorType
Enum encapsulating the different types of media errors that can occur.
AsyncMedia.MediaException
Encapsulates a media exception.
AsyncMedia.MediaStateChangeEvent
Encapsulates a state-change event on a Media object.
AsyncMedia.PauseRequest
An async resource used to track the progress of a pauseAsync() request.
AsyncMedia.PlayRequest
An async resource used to track the progress of a playAsync() request.
AsyncMedia.State
An enum to represent the state of a media object.
AsyncResource<V>
A wrapper for an object that needs to be loaded asynchronously.
AsyncResource.AsyncExecutionException
Exception to wrap exceptions that are thrown during asynchronous execution.
AsyncResource.CancellationException
Exception thrown when the AsyncResource is cancelled.
AsyncResult<V>
A callback used by `AsyncResource` to be able to handle both the success and error case in a single method.
AtomicBoolean
CLDC11 subset stub.
AtomicInteger
CLDC11 subset stub.
AtomicLong
CLDC11 subset stub.
AtomicReference<V>
CLDC11 subset stub.
AudioBuffer
This class can be used to capture raw PCM data from the device's microphone.
AudioBuffer.AudioBufferCallback
A callback that can be registered to receive notifications when the contents of the AudioBuffer is changed.
AudioEffects
Small PCM effects that operate on `AudioBuffer` data.
AudioMixer
Mixes multiple PCM tracks into a single `AudioBuffer`.
AudioRecorderComponent
A component for recording Audio from the device microphone.
AudioRecorderComponent.RecorderState
Enum for tracking the recorder state.
Auth0Connect
Sign-in via an Auth0 tenant.
AuthenticationOptions
Configures a single call to `Biometrics.authenticate(AuthenticationOptions)`.
AutoCloseable
AutoCompleteTextComponent
A `TextComponent` version of `com.codename1.ui.AutoCompleteTextField`
AutoCompleteTextComponent.AutoCompleteFilter
Allows filtering the entries in the auto complete
AutoCompleteTextField
An editable `com.codename1.ui.TextField` with completion suggestions that show up in a drop down menu while the user types in text.
BackgroundFetch
An interface that can be implemented by an app's main class to support background fetch.
BackgroundPainter
A painter that draws the background of a component based on its style
BackgroundTask
Schedules a one-shot deferrable processing task that the operating system runs at a convenient time after an earliest-begin date.
BackgroundWork
Entry point for scheduling constraint-aware background work.
BackgroundWorker
Implemented by an application class to perform constraint-aware background work scheduled through `BackgroundWork#schedule(WorkRequest)`.
BannerAd
A banner ad that lives inside the Codename One component hierarchy.
BannerAdSession
A provider's handle for a banner ad.
BarChart
Renders a bar chart based on an `XYMultipleSeriesDataset`.
BarChart.Type
The bar chart type enum.
Barcode
Portable barcode observation with normalized geometry.
BarcodeFormat
The normalized symbology names `Barcode.getFormat()` reports, as constants instead of literals.
BarcodeScanner
Decodes barcodes and QR codes out of a still image or a camera frame.
Base32
Base32 encoder/decoder per RFC 4648.
Base64
This class implements Base64 encoding/decoding functionality as specified in RFC 2045 (http://www.ietf.org/rfc/rfc2045.txt).
BaseSpinner
Base class for spinners
BaseStream<T,S>
BasicStroke
A descriptor for the stroke style.
BiConsumer<T,U>
BiFunction<T,U,R>
BigDecimal
Class representing a simple version of a big decimal.
BigInteger
A simplified version of big integer from the bouncy castle implementation
BinaryOperator<T>
Bind
Pairs a `@Bindable` field with the component it should mirror.
Bindable
Marks a POJO or `PropertyBusinessObject` as a target for the component binding processor.
BindAttr
Picks which property of a `Component` a `@Bind` field mirrors.
Binder<T>
Runtime contract a build-time-generated component binder implements for one `@Bindable` class.
Binders
Public entry point for the build-time component binding framework.
Binding
Handle returned by `Binders.bind`.
BindTarget
Allows binding arbitrary components to data storage
BiometricError
Typed error codes returned by `Biometrics` and `SecureStorage` when an asynchronous operation fails.
BiometricException
Thrown via the failure path of an `AsyncResource` returned by `Biometrics` or `SecureStorage` when the underlying biometric or keychain operation fails.
Biometrics
Entry point for biometric authentication (Touch ID, Face ID, fingerprint, Android `BiometricPrompt`).
BiometricType
Enumerates the biometric authentication modalities that may be available on a device.
BitSet
The `BitSet` class implements a bit field.
BleAdvertisement
Live handle of a running advertisement returned by `BluetoothLE.startAdvertising`.
BleCentral
A remote central connected to the local `GattServer` -- the mirror image of `BlePeripheral` when this device acts as the peripheral.
BlePeripheral
A remote BLE peripheral: connection lifecycle, GATT client operations and L2CAP channels.
BleScan
Live handle of a running BLE scan returned by `BluetoothLE.startScan(ScanSettings, ScanListener)`.
BlockingDisallowedException
Exception that is thrown if attempting to run invokeAndBlock while blocking is disabled.
BloodPressureMeasurement
A decoded Blood Pressure Measurement, characteristic `0x2A35`, or the Intermediate Cuff Pressure, `0x2A36`, which shares the same layout.
BloodPressureSample
A blood-pressure reading: systolic and diastolic together, plus an optional pulse.
Bluetooth
Entry point for the Codename One Bluetooth API -- adapter state, runtime permissions and the capability queries that let cross-platform code branch cleanly.
BluetoothClassic
The classic Bluetooth (BR/EDR) role: device discovery, bonding and RFCOMM stream connections.
BluetoothDevice
Identity of a remote Bluetooth device, shared by the LE and classic stacks.
BluetoothError
Typed error codes carried by every `BluetoothException` fired through the failure path of the asynchronous Bluetooth APIs.
BluetoothException
Thrown via the failure path of every `AsyncResource` returned by the Bluetooth APIs.
BluetoothLE
The BLE central role: scanning for peripherals and re-obtaining known ones.
BluetoothPermission
The runtime permissions the Bluetooth API may need, abstracted across platforms.
BluetoothUuid
Immutable 128-bit Bluetooth UUID value type used throughout the `com.codename1.bluetooth` API for services, characteristics and descriptors.
Body
Marks an interface method parameter as the request body.
Body
A rigid body.
BodyDef
A body definition holds all the data needed to construct a rigid body.
BodySensorLocation
The values of the Body Sensor Location characteristic, `0x2A38`, as reported by `SensorSession.getBodySensorLocation()`.
BodyType
The kind of a `PhysicsBody`.
BodyType
The body type.
BondState
Pairing state of a remote `BluetoothDevice`.
BonjourBrowser
Browses the local network for Bonjour / mDNS services.
BonjourPlatform
Platform-supplied implementation of the Bonjour / mDNS APIs.
BonjourPublisher
Advertises a Bonjour / mDNS service on the local network.
BonjourService
A Bonjour / mDNS service discovered by `BonjourBrowser` or registered by `BonjourPublisher`.
BonjourServiceListener
Callback for `BonjourBrowser.browse(...)`.
Boolean
The Boolean class wraps a value of the primitive type boolean in an object.
BooleanProperty<K>
This is the boolean specific version of property
Border
Base class that allows us to render a border for a component, a border is drawn before the component and is drawn within the padding region of the component.
BorderLayout
A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.
BoundingBox
This class declares a bounding box of coordinates on the map.
Bounds
Encapsulates bounds in a 3D space.
BoundSize
A size that contains minimum, preferred and maximum size of type `UnitValue`.
BoxLayout
Layout manager that places elements in a row (`X_AXIS`) or column (`Y_AXIS`) according to box orientation.
BroadPhase
The broad-phase is used for computing pairs and performing volume queries and ray casts.
BroadPhaseStrategy
BrowserComponent
The browser component is an interface to an embeddable native platform browser on platforms that support embedding the native browser in place, if you need wide compatibility and flexibility you should check out the HTMLComponent which provides a lightweight 100% cross platform web component.
BrowserComponent.JSExpression
A wrapper class for a literal javascript expression that can be passed as an arg in `java.lang.Object[])`.
BrowserComponent.JSRef
A wrapper class for a Javascript value that is returned via the `com.codename1.util.Callback)` method.
BrowserComponent.JSType
Enum with the possible types for a `JSRef` object.
BrowserNavigationCallback
**Important: Calls to this interface are always performed on a separate thread from the EDT! They are performed on the native webkit rendering thread or native event dispatch thread, this interface MUST NEVER block or synchronize against the EDT which WILL lead to deadlocks.
BrowserWindow
Encapsulates a WebView that is contained in its own separate window when run on a Desktop (e.g. Simulator).
BrowserWindow.EvalRequest
A future that is returned from the eval() method.
BubbleChart
Displays series of `XYValueSeries` entries as proportional bubbles on top of an `XYChart` plot.
BubbleTransition
A Transitions that animates the destination component as a growing window until the destination is displayed in place.
BufferedInputStream
Based on the buffered input stream from the JDK with some minor tweaks to allow external classes to monitor stream status and progress.
BufferedOutputStream
Based on the buffered output stream from the JDK with some minor tweaks to allow external classes to monitor stream status and progress.
Build
Build hints that are not specific to one platform.
BundledTileSource
A `TileSource` that loads tiles from application resources bundled into the app (the classpath), with no network access.
Button
Button is the base class for several UI widgets allowing clickability.
ButtonGroup
This class is used to create a multiple-exclusion scope for `com.codename1.ui.RadioButton`.
ButtonList
An abstract base class for a list of buttons.
ButtonList.Decorator<M,V>
An interface that can be implemented to provide custom decoration/undecoration of the buttons as they are created/removed.
Byte
The Byte class is the standard wrapper for byte values.
ByteArrayInputStream
A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
ByteArrayOutputStream
This class implements an output stream in which the data is written into a byte array.
ByteProperty<K>
This is the byte specific version of numeric property
CachedData
Cached data class for use with the cached data service
CachedDataService
Simple service that allows downloading and caching data locally.
CacheMap
A cache map is essentially a hashtable that indexes entries based on age and is limited to a fixed size.
CalDavAuthentication
App-owned CalDAV authentication strategy.
CalDavCalendarSource
Standards-based CalDAV source.
Calendar
Date widget for selecting a date/time value.
Calendar
Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.
CalendarAccess
Permission level requested from a local or online calendar source.
CalendarAlarm
An event/task alarm, either absolute or relative to its start/due time.
CalendarAlarm.Method
CalendarAttachment
Attachment metadata and optional content for providers that support upload.
CalendarAttendee
A person, group, or resource invited to an event.
CalendarAttendee.Response
CalendarAttendee.Role
CalendarAuthorizationStatus
Current authorization status for an access level.
CalendarAuthToken
App-owned OAuth bearer token returned to an online source.
CalendarCache
Persistence seam used by `CalendarSyncEngine`.
CalendarCapabilities
Immutable set of capabilities advertised by a source or calendar.
CalendarCapability
A granular operation that a calendar source or collection may support.
CalendarChange
Describes a local notification or delta-sync change.
CalendarChange.ChangeType
CalendarChange.EntityType
CalendarChangeListener
Listener for source changes.
CalendarConference
Online meeting metadata associated with an event.
CalendarConflict
A queued local mutation that conflicts with the provider version.
CalendarConflict.Resolution
CalendarDateTime
Either a zoned date-time or an all-day date.
CalendarError
Portable failure categories for calendar operations.
CalendarEvent
A portable calendar event.
CalendarEvent.Availability
CalendarEvent.Privacy
CalendarEvent.Status
CalendarException
Exception returned by asynchronous calendar operations.
CalendarHttpRequest
Provider HTTP request.
CalendarHttpResponse
Provider HTTP response body and selected concurrency/authentication headers.
CalendarHttpTransport
CalendarInfo
A calendar or task-list collection exposed by a source.
CalendarInfo.ContentType
CalendarManager
Registry and entry point for device and online calendar sources.
CalendarModelCodec
Lossless map encoding used by the offline cache and provider fixtures.
CalendarMutationScope
Scope when modifying or deleting a recurring item.
CalendarPage<T>
One provider page, including continuation and incremental-sync tokens.
CalendarQuery
Query options shared by event and task listing operations.
CalendarRecurrenceRule
Portable RFC-5545-style recurrence rule.
CalendarRecurrenceRule.Frequency
CalendarSource
Base contract shared by local stores and online providers.
CalendarSyncEngine
Opt-in local-first mutation queue.
CalendarSyncResult
Outcome of a manual/background synchronization pass.
CalendarTask
A task/reminder in a task collection.
CalendarTokenProvider
Supplies app-owned OAuth tokens.
CallAction
Something the system is asking the app to do to a call: the user pressed answer on the lock screen, hung up from the car, or tapped the keypad.
CallActionAdapter
A `CallActionListener` whose methods all do nothing, for overriding the few that matter.
CallActionListener
What the system asks of a call, and what it tells the app about one.
CallAudioRoute
Where a call's audio is going.
CallAudioSession
The moment the operating system hands a call its audio, and the moment it takes it back.
CallAvailability
Whether the app may ring a call right now.
Callback<T>
Simple interface that allows asynchronous code to perform a parameterized callback or failure in a similar way to GWT's callback interface.
CallbackAdapter<T>
Adapter for the {Callback} interface.
CallbackDispatcher<T>
A utility class for calling `Callback`s on the EDT.
CallBridge
Internal service-provider interface implemented by each platform port to carry the `com.codename1.call` API onto the native call stacks: Apple's CallKit and PushKit, and Android's `ConnectionService`, `TelecomManager` and `CallScreeningService`.
CallConfiguration
The calling identity this app presents to the operating system: the name shown above a call, the icon beside it, the ringtone, and what kinds of address the app understands.
CallDirection
Which way a call was placed.
CallDirectory
Naming and blocking numbers, for calls that have nothing to do with this app.
CallEndReason
Why a call ended.
CallError
Typed error codes carried by every `CallException` thrown through the failure path of the `com.codename1.call` APIs.
CallException
Thrown through the failure path of every `AsyncResource` returned by the `com.codename1.call` APIs, and passed to the failure callbacks of the session and directory listeners.
CallHandle
Who is on the other end: an address plus what kind of address it is.
CallHandleType
What kind of address a `CallHandle` holds.
CallId
Canonical form of the identifier that names one call everywhere: in this API, in CallKit, in Telecom, and in the VoIP push payload a server sends.
Calls
System call integration: the entry point for reporting calls to the operating system and hearing what the user does with them.
CallSession
One call, from the system's point of view.
CallSite

##### Deprecated

CallState
Where a call is in its life.
Camera
Entry point for the low-level cross-platform camera API.
Camera
A perspective or orthographic camera.
Camera
Encapsulates a camera.
CameraChangeListener
Receives camera movement notifications from a `MapSurface`.
CameraFacing
Direction a camera faces relative to the device screen.
CameraFrame
A single frame delivered to a `FrameListener`.
CameraInfo
Describes a physical camera available on the device.
CameraPosition
An immutable description of the map camera: where it looks (`CameraPosition.getTarget()`), how far it is zoomed in (`CameraPosition.getZoom()`), the compass bearing in degrees (`CameraPosition.getBearing()`) and the tilt away from nadir (`CameraPosition.getTilt()`).
CameraSession
Active camera session.
CameraSessionOptions
Configuration for a `CameraSession`.
CameraView
Component that renders a live camera preview.
Canvas
An internal compatibility class for use by the Charts library.
Capture
`Capture` can "capture" media files from the device e.g.
CapturedPhoto
Result of a still-photo capture via `CameraSession#takePhoto()`.
Car
The static entry point for Apple CarPlay and Google Android Auto support.
CarAction
A tappable action -- a button shown in a `CarActionStrip`, a header action, or an action attached to a `CarPaneTemplate` / `CarMessageTemplate`.
CarActionListener
Callback invoked when the user activates an in-car element -- a `CarRow`, `CarGridItem` or `CarAction`.
CarActionStrip
An ordered set of `CarAction`s shown together in a head-unit action bar -- a template header strip or the navigation map controls.
CarApplication
The entry point an app implements to provide its in-car (Apple CarPlay / Google Android Auto) experience.
CarBridge
Internal service-provider interface implemented by each platform port to render the portable `com.codename1.car` template tree onto the native in-car UI (Apple CarPlay's `CPTemplate` hierarchy or Google Android Auto's `androidx.car.app` templates).
CarColor
A small, head-unit-safe colour palette for `CarAction` backgrounds and accents.
CarConnectionListener
Notified when a head unit (Apple CarPlay / Google Android Auto) connects or disconnects.
CarContext
The live handle to a connected head unit.
CarGridItem
A single cell in a `CarGridTemplate`: a large image with a short title and optional secondary text.
CarGridTemplate
A grid of image-forward `CarGridItem`s -- browse categories, station presets, playlist artwork.
CarListTemplate
A scrolling list of selectable rows, optionally grouped into `CarSection`s, with an optional header `CarActionStrip`.
CarMessageTemplate
A short message with an icon and action buttons -- an error/empty state, a permission prompt, or (for communication apps) an incoming-message card with read-aloud and voice-reply actions.
CarNavigationTemplate
A turn-by-turn navigation surface: a drawable map (via a `CarSurfaceCallback`), an optional next-manoeuvre / arrival info strip, and map-control action strips.
CarNowPlayingTemplate
The system now-playing surface for audio apps.
CarPaneTemplate
A detail pane: a handful of informational `CarRow`s (label / value lines) plus up to two action buttons.
CarRow
A single selectable row in a `CarListTemplate`.
CarScreen
One screen of the in-car experience -- the unit of the head-unit back stack.
CarSection
A titled group of `CarRow`s within a `CarListTemplate`.
CarSurfaceCallback
The drawing surface callback for a `CarNavigationTemplate`.
CarTemplate
The base type for the fixed catalog of in-car templates.
CaseInsensitiveOrder
A string comparator equivalent to String.CASE_INSENSITIVE_ORDER which isn't available in Codename One
CategorySample
An enumerated observation with no natural unit -- menstrual flow, for example.
CategorySeries
A series for the category charts like the pie ones.
CC
A simple value holder for one component's constraint.
CellRenderer<T>
This class is geared to replace the ListCellRenderer in the long run to provide a more generic rendering API.
ChainAndCircleContact
ChainAndPolygonContact
ChainShape
A chain shape is a free form sequence of line segments.
Character
The Character class wraps a value of the primitive type char in an object.
CharacterArrayCharacterIterator
Encapsulates char[] as CharacterIterator
CharacterIterator
Encapsulates different types of character sources - String, InputStream, ...
CharArrayReader
A specialized `Reader` for reading the contents of a char array.
ChargingState
Whether an accessory's battery is charging, for `Trait.BATTERY_CHARGING`.
CharProperty<K>
This is the char specific version of numeric property
CharSequence
This interface represents an ordered set of characters and defines the methods to probe them.
Charset
Added this for Kotlin
ChartComponent
The top level component for displaying charts
ChartUtil
A utility class for painting a chart onto a Graphics context.
ChatBubble
One row in a `ChatView`.
ChatInput
The input strip at the bottom of a `ChatView`.
ChatMessage
A single turn in a chat conversation.
ChatRequest
The full request to `LlmClient.chat(ChatRequest)` / `LlmClient.chatStream(ChatRequest, StreamingListener)`.
ChatRequest.Builder
Mutable fluent builder for `ChatRequest`.
ChatResponse
The terminal response from a chat call.
ChatView
A scrollable, theme-aware chat surface.
CheckBox
CheckBox is a button that can be selected or deselected and displays its state to the user.
CheckBoxList
A list of checkboxes.
ChunkProvider
Supplies and persists `TerrainChunk`s for a `StreamingTerrain`.
Cipher
Convenience entry points for symmetric (AES) and asymmetric (RSA) encryption.
Circle
A geodesic circle drawn on a map, described by a center and a radius in meters.
CircleContact
CircleShape
A circle shape.
CircleStack<E>
Class<T>
Instances of the class Class represent classes and interfaces in a running Java application.
ClassCastException
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
ClassicDiscovery
Live handle of a running classic discovery (inquiry scan, ~12 seconds) returned by `BluetoothClassic.startDiscovery(ClassicDiscoveryListener)`.
ClassicDiscoveryListener
Receives device sightings during a classic discovery started via `BluetoothClassic.startDiscovery(ClassicDiscoveryListener)`.
ClassicScanResult
One device sighting during a classic discovery, delivered to a `ClassicDiscoveryListener`.
ClassLoader
ClassNotFoundException
Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
ClearableTextField
Wraps a text field so it will have an X to clear its content on the right hand side
ClickableArea
ClipboardContent
A set of alternative clipboard representations keyed by MIME type.
ClipboardDataProvider
Produces a clipboard or drag-and-drop representation on demand, so a payload that is expensive to build is only built if something actually asks for it.
Clock
Cloneable
This (empty) interface must be implemented by all classes that wish to support cloning.
CloneNotSupportedException
Thrown when a program attempts to clone an object which does not support the `Cloneable` interface.
CN
This is a global context static class designed for static import, this class allows us to write more terse code.
CN1Constants
Common constants for Display and CN
CodeCompletion
A single code completion proposal returned by a `CodeCompletionProvider` and shown in the `CodeEditor` completion popup.
CodeCompletionProvider
Supplies IDE style code completion proposals to a `CodeEditor`.
CodeDiagnostic
A diagnostic (error / warning / information) shown in a `CodeEditor` as a squiggly underline over a source range, a marker in the line-number gutter and a tooltip carrying the message.
CodeEditor
An IDE style source code editor with syntax highlighting, a line-number gutter and asynchronous code completion.
CodenameOneAnalyticsProvider
The Codename One first-party analytics provider.
CodePureEditor
The pure code editor backend.
CodeScanner
A ready-made full-screen barcode and QR scanner.
CodeScanner
Deprecated!!: Please use the cn1-codescan library instead.
CodeScannerOptions
Configuration for `CodeScanner.scan(CodeScannerOptions)`.
CodeView
The pure code editor surface.
Collection<E>
`Collection` is the root of the collection hierarchy.
CollectionProperty<T,K>
Base class for a property as a collection which can contain multiple elements within
Collections
`Collections` contains static methods which operate on `Collection` classes.
Collector<T,A,R>
Collectors
Collision
Functions used for computing contact points, distance queries, and TOI queries.
Collision.ClipVertex
Used for computing contact manifolds.
Collision.PointState
This is used for determining the state of contact points.
Color3f
Similar to javax.vecmath.Color3f holder
ColorUtil
Column
Renames or constrains an `@Entity` field's column.
CombinedXYChart
Aggregates multiple `XYChart` implementations into a single plot so different series can be visualised using different renderers (for example a line overlaid on top of a bar chart).
CombinedXYChart.XYCombinedChartDef
Definition of a chart inside a combined XY chart.
ComboBox<T>
A `ComboBox` is a list that allows only one selection at a time, when a user clicks the `ComboBox` a popup button with the full list of elements allows the selection of a single element.
Command
The Command class provides a useful extension to the ActionListener interface in cases where the same functionality may be accessed by several controls.
CommerceManager
Client facade for the Codename One Commerce service.
Commissioner
Adds a new Matter accessory to the user's home.
CommissioningRequest
What to add, and where the user would like it to land.
CommissioningResult
What came of a commissioning attempt.
CommissioningStyle
How a backend adds a new accessory, so an app can word its own button honestly.
CommonProgressAnimations
A collection of useful progress animations and utility methods.
CommonProgressAnimations.CircleProgress
A progress animation that shows an animated circle.
CommonProgressAnimations.EmptyAnimation
An empty progress animation.
CommonProgressAnimations.LoadingTextAnimation
A progress animation that shows a block of text being typed.
CommonProgressAnimations.ProgressAnimation
Base class for ProgressAnimations
CommonTransitions
Contains common transition animations that can be applied to forms & components including the following types:
CompanionDevice
A device this app is associated with.
CompanionDevices
Companion-device association: the OS-managed relationship between this app and one particular accessory.
CompanionProfile
What kind of thing is being associated.
Comparable<T>
This interface should be implemented by all classes that wish to define a
Comparator<T>
A `Comparator` is used to compare two objects to determine their ordering with respect to each other.
CompletionAwareSoundPoolPeer
An optional capability a `SoundPoolPeer` may implement to report when its voices finish playing.
Component
The component class is the basis of all UI widgets in Codename One, to arrange multiple components together we use the Container class which itself "IS A" Component subclass.
ComponentAnimation
Parent class representing an animation object within the AnimationManager queue.
ComponentAnimation.UIMutation
A special kind of ComponentAnimation that encapsulates a mutation of the user interface.
ComponentGroup
A component group is a container that applies the given UIID to a set of components within it and gives the same UIID with "First"/"Last" prepended to the first and last components.
ComponentImage
A utility wrapper that allows a Component to be used as an Image so that it can be set as the icon for a Label or button.
ComponentSelector
A tool to facilitate selection and manipulation of UI components as sets.
ComponentSelector.ComponentClosure
Interface used for providing callbacks that receive a Component as input.
ComponentSelector.ComponentMapper
Interface used by `#map(com.codename1.ui.ComponentSelector.ComponentMapper)` to form a new set of components based on the components in one set.
ComponentSelector.Filter
Interface used by `#filter(com.codename1.ui.ComponentSelector.Filter)` to form a new set of components based on the components in one set.
ComponentStateChangeEvent
An event that is fired when the state of a component is changed to and from initialized.
ComponentWrapper
A class that wraps the important parts of a Component.
Concrete
Indicates that a class has a known concrete implementation that ParparVM can target directly in native (C/Objective-C) pipelines.
ConcurrentModificationException
An `ConcurrentModificationException` is thrown when a Collection is modified and an existing iterator on the Collection is used to modify the Collection as well.
ConicGradient
Conic (sweep) gradient.
ConnectionEvent
Payload of a `ConnectionListener` callback describing a `BlePeripheral` state transition.
ConnectionListener
Observes `BlePeripheral` connection state transitions registered via `BlePeripheral.addConnectionListener(ConnectionListener)`.
ConnectionOptions
Options for `BlePeripheral.connect(ConnectionOptions)`.
ConnectionPriority
Connection-interval preference requested via `BlePeripheral.requestConnectionPriority(ConnectionPriority)`.
ConnectionRequest
This class represents a connection object in the form of a request response typically common for HTTP/HTTPS connections.
ConnectionRequest.CachingMode
There are 5 caching modes:
ConnectionRequest.SSLCertificate
Encapsulates an SSL certificate fingerprint.
ConnectionState
Lifecycle states of a `BlePeripheral` connection.
ConsentMode
Controls the default behaviour of `Analytics` before the application has recorded an explicit consent choice from the user.
ConstantVolumeJoint
ConstantVolumeJointDef
Definition for a `ConstantVolumeJoint`, which connects a group a bodies together so they maintain a constant volume within them.
Constraint
To perform validation we add a constraint to a validator, a constraint defines whether a value if valid for a given object
ConstraintParser
Parses string constraints.
Constructor
Consumer<T>
Contact
Represents a Contact entry from the device Address Book.
Contact
The class manages contact between two shapes.
ContactCreator
ContactEdge
A contact edge is used to connect bodies and contacts together in a contact graph where each body is a node and each contact is an edge.
ContactFilter
Implement this class to provide collision filtering.
ContactID
Contact ids to facilitate warm starting.
ContactID.Type
ContactImpulse
Contact impulses for reporting.
ContactListener
Implement this class to get contact information.
ContactListener
Notified when bodies in a `PhysicsWorld` start and stop touching.
ContactManager
Delegate of World.
ContactPicker
Lets the user hand the application a small number of contacts they chose themselves, without the application gaining access to the address book.
ContactPositionConstraint
ContactRegister
ContactsManager
`ContactsManager` provides access to the contacts on the device for listing, adding and deleting contacts.
ContactsModel
This Contacts model is responsible for querying Contacts from the device and to cache the data for faster usage
ContactSolver
ContactSolver.ContactSolverDef
ContactVelocityConstraint
ContactVelocityConstraint.VelocityConstraintPoint
Container
A composite pattern with `Component`, allows nesting and arranging multiple components using a pluggable layout manager architecture.
ContainerList
This is a "list component" implemented as a container with a layout manager which provides some of the ui advantages of a Container and some of a list while pulling out some of the drawbacks of both.
ContainerWrapper
A class that wraps a container that contains components.
Continuity
Saves what the user was doing, brings it back when the app starts again, and -- where the platform or your own endpoint can carry it -- lets them pick it up on another device.
ContinuityBridge
The platform seam of the continuity framework, implemented by ports and returned from `CodenameOneImplementation.getContinuityBridge()`.
ContinuityCallback
The framework's inbound seam, handed to every `ContinuityBridge` during initialization.
ContinuityListener
Notified when a state arrives from somewhere other than this device's own storage: one of the user's other devices handed off what they were doing, or a `StateRelay` produced something newer than what is here.
ConversationStore
JSON-backed persistent conversation history.
Cookie
Binds an interface method parameter to a `Cookie` request-header entry.
Cookie
A cookie for an HTTP request
Coord
This class declares a coordinate point on a map.
CoordinateLayout
Allows laying out components based on absolute positions/sizes that are adapted based on available space for the layout.
CrashProtection
Crash protection: captures unhandled exceptions, scrubs PII, persists each crash to `Storage` immediately, and uploads to the Codename One cloud crash service when enabled.
CrashReport
Invoked to indicate that an exception occurred, it is up to the developer to decide whether to send the device log to the server by invoking Log.sendLog().
CRC32
CryptoException
Thrown by classes in this package when a cryptographic operation fails.
CscMeasurement
A decoded Cycling Speed and Cadence Measurement, characteristic `0x2A5B`.
CSSBorder
A border that can be configured using a limited subset of CSS directives.
CSSColor
Parses the CSS color forms into a packed `0xAARRGGBB` integer: `#rgb`, `#rgba`, `#rrggbb`, `#rrggbbaa`, `rgb(...)` / `rgba(...)` with integer or percentage components, and the CSS named-color subset.
CSSFilterParser
Runtime parser for CSS `filter:` / `backdrop-filter:` chains.
CSSFilterParser.FilterChain
Parsed filter chain payload.
CSSThemeCompiler
Compiles a subset of Codename One CSS into theme properties stored in a `MutableResource`.
CSSThemeCompiler.CSSSyntaxException
CStringBuilder
This is generally the Apache String builder class refactored here so we can use it regardless of vm limitations/differences for increased performance.
CSVParser
The `CSVParser` allows importing data into applications quickly from a CSV source.
CubicLineChart
Draws smooth curves through XY series values using cubic interpolation.
Cursor
Iterates over the results returned from a database query.
CursorExt
Optional cursor capabilities, in the same spirit as `RowExt`.
CyclingPowerMeasurement
A decoded Cycling Power Measurement, characteristic `0x2A63`.
Dao<T>
Runtime contract a build-time-generated `@Entity` data access object implements.
Data
An interface that can be implemented by any object to allow it to be treated as data.
Data.ByteData
Wraps a byte[] array as a Data object.
Data.FileData
Wraps a File as a Data object.
Data.StorageData
Wraps a Storage object as a Data object.
Data.StringData
Database
Allows access to SQLite specifically connecting to a database and executing sql queries on the data.
DatabaseConfig
Describes how a database should be opened, and in particular how it is keyed.
DatabaseEncryptionException
Thrown when an encrypted database cannot be opened, keyed or converted.
DataChangedListener
Event callback interface invoked when a `com.codename1.ui.list.ListModel` changes its state thus indicating to the view that it should refresh.
DataInput
The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.
DataInputStream
A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
DataOutput
The DataOutput interface provides for converting data from any of the Java primitive types to a series of bytes and writing these bytes to a binary stream.
DataOutputStream
A data output stream lets an application write primitive Java data types to an output stream in a portable way.
Date
The class Date represents a specific instant in time, with millisecond precision.
DateFormat
A class for parsing and formatting localisation sensitive dates, compatible with Jave 6 SDK.
DateFormat
A class for parsing and formatting localisation sensitive dates, compatible with Jave 6 SDK.
DateFormatPatterns
Common patterns for dates, times, and timestamps.
DateFormatSymbols
DateFormatSymbols
DateSpinner
A date spinner allows selecting a date value within the given date range
DateTimeException
DateTimeFormatter
DateTimeParseException
DateTimeSpinner
The date and time spinner extends the time spinner by allowing to pick a specific day as well
DateUtil
Utility class for working with dates and timezones.
DbTransient
Excludes an `@Entity` field from the generated table.
DebugDraw
Implement this abstract class to allow JBox2d to automatically draw your physics for debugging purposes.
DefaultCalendarHttpTransport
Default asynchronous transport backed by Codename One networking.
DefaultCrashReporter
A default implementation of the crash reporter that instantly sends the crash data to the server.
DefaultDocumentRequestHandler
Default implementation of the HTML components document request handler to allow simple HTML support in Codename One.
DefaultHTMLCallback
This is a default implementation of HTMLCallback that basically doesn't do much but does keep the HTMLComponent work intact.
DefaultListCellRenderer<T>
Default implementation of the renderer based on a label see the `ListCellRenderer` for more information about the use and purpose of this class
DefaultListModel<T>
Default implementation of the list model based on a `List` of elements.
DefaultLookAndFeel
Used to render the default look of Codename One
DefaultRenderer
An abstract renderer to be extended by the multiple series classes.
DefaultTableModel
A default implementation of the table model based on a two dimensional array.
DefaultWorldPool
Provides object pooling for all objects used in the engine.
Deflate
Deflater
DeflaterOutputStream
DELETE
HTTP `DELETE` request.
DemoTileSource
A self-contained `TileSource` that synthesizes a deterministic Mapbox Vector Tile in memory for every address, with no network or bundled assets.
Deprecated
An annotation for marking an element as deprecated.
Deque<E>
A kind of collection that can insert or remove element at both ends("double ended queue").
Desktop
The desktop a windowed application runs on: the monitors attached to it and the `Window` instances open on them.
DesktopBuild
Desktop build hints, checked by the compiler.
DesktopTitleBar
Accepted values of the `desktop.titleBar` build hint.
DestructionListener
Joints and fixtures are destroyed when their associated body is destroyed.
DeviceFilter
Narrows what the system device chooser offers the user.
DeviceIntegrity
Device-integrity and runtime self-protection (RASP) entry point.
DevicePosture
Describes the physical fold posture of a foldable or dual screen device such as a Galaxy Fold, Galaxy Flip, Pixel Fold or Surface Duo.
DeviceRunner
Runs the test cases from the test build of the app, notice that this class is abstract since device/app specific code can exist in the implementation
DeviceType
The transport family a remote `BluetoothDevice` supports, mirroring Android's device-type classification.
DialChart
Presents values from a `CategorySeries` as gauges on a dial.
Dialog
A dialog is a form that occupies a part of the screen and appears as a modal entity to the developer.
DialRenderer
Dial chart renderer.
DialRenderer.Type
Dictionary<K,V>
**Note: Do not use this class since it is obsolete.
DimConstraint
A simple value holder for a constraint for one dimension.
Dimension
Utility class that holds a width and height that represents a dimension of a component or element
Dimension2D
Utility class that holds a width and height that represents a dimension of a component or element
DirectoryEntry
One number the app can name or block.
DirectoryStatus
What the system currently thinks of this app's caller-identification data.
DisableDebugInfo
Marks a method so ParparVM omits emitted debug line information.
DisableNullChecksAndArrayBoundsChecks
Marks a method so ParparVM omits emitted null and array bounds checks.
Display
Central class for the API that manages rendering/events and is used to place top level components (`Form`) on the "display".
Distance
This is non-static for faster pooling.
Distance.DistanceProxy
A distance proxy is used by the GJK algorithm.
Distance.SimplexCache
Used to warm start Distance.
DistanceInput
Input for Distance.
DistanceJoint
A distance joint constrains two points on two bodies to remain at a fixed distance from each other.
DistanceJointDef
Distance joint definition.
DistanceOutput
Output for Distance.
Documented
DocumentIndexSerializer
Converts a published document tree to and from the `index.json` the platform readers consume.
DocumentInfo
DocumentInfo holds important information about a document that is loading.
DocumentNode
One entry in the tree an app publishes through `DocumentProvider`: a folder or a file, as the system file browser will show it.
DocumentProvider
The static entry point for exposing your app's documents to the system file browser: the Files app on iOS, the storage picker on Android.
DocumentProviderBridge
The platform seam of the document provider framework, implemented by ports and returned from `CodenameOneImplementation.getDocumentProviderBridge()` (null on unsupported ports, making the whole public API an inert no-op).
DocumentRequestHandler
The DocumentRequestHandler interface should be implemented so it returns documents in requested URLs.
DocumentScanner
Finds a page in a photo and returns it flattened, with the perspective corrected.
DocumentScanResult
Corrected document pages returned as encoded image data.
DoorState
The state of a door or garage door, for `Trait.DOOR_STATE` and `Trait.TARGET_DOOR_STATE`.
Double
The Double class wraps a value of the primitive type double in an object.
DoubleProperty<K>
This is the double specific version of numeric property
DoughnutChart
Visualises a `MultipleCategorySeries` as concentric rings that share a common centre (also known as a doughnut chart).
Duration
DynamicImage
A base class for images that dynamically painted, just like a normal component.
DynamicIntent
A named parameterization of an intent your application already declares -- "reorder my usual", "call Mum" -- built from data only known at runtime.
DynamicIntStack
DynamicTree
A dynamic tree arranges data in a binary tree to accelerate queries such as volume queries and ray casts.
DynamicTreeNode
EasyThread
An easy API for working with threads similar to call serially/and wait that allows us to create a thread and dispatch tasks to it.
EasyThread.ErrorListener<T>
Callback listener for errors on easy thread
EdgeAndCircleContact
EdgeAndPolygonContact
EdgeShape
A line segment (edge) shape.
Editable
An interface that can be implemented to provide editing capabilities for any component in the UI.
EditField
A pure Codename One text field.
EditorDocument
The plain text backing store shared by the pure Codename One editors.
EditorHost
The bridge a pure editor view uses to reach the owning editor component and, through it, the platform text input source.
EditorView
The pure Codename One text editing surface.
Effects
Static utility class useful for simple visual effects that don't quite fit anywhere else in the core API.
Element
The Element class defines a single XML element with its attributes and children.
ElementType
A mirror of java.lang.annotation.ElementType.
Email
Requires the component value to be a syntactically valid e-mail address.
EmailShare
Email sharing service.
EmbeddedContainer
This class is mostly used internally by the GUI builder and isn't very useful for general purpose.
Embedding
One vector returned by an embedding provider.
EmbeddingRequest
Request payload for `LlmClient.embed(EmbeddingRequest)`.
EmbeddingRequest.Builder
Mutable builder for an immutable `EmbeddingRequest`.
EmbeddingResponse
Immutable provider response containing embeddings, token accounting, and the model name reported by the service.
EmptyStackException
Thrown by methods in the Stack class to indicate that the stack is empty.
EncodedImage
`EncodedImage` is the workhorse of Codename One.
Endpoint
Another device seen advertising the same service id.
EngineContext
The narrow set of framework services lent to a `ShieldEngine`.
Entity
Marks a POJO or `PropertyBusinessObject` as a target for the SQLite ORM processor.
EntityId
The stable identifier of an `IntentEntity` instance.
EntityImage
The thumbnail for an `IntentEntity` instance, on a member returning `com.codename1.ui.EncodedImage`.
EntityManager
Public entry point for the build-time SQLite ORM.
EntityQuery
Marks a `public static` method as one of an `IntentEntity`'s lookups.
EntityQuery.Kind
The three lookups an entity type can offer.
EntitySelectionHandler
Receives the tap on a piece of content this application published to device search with `Intents.index(List)`.
EntitySubtitle
The secondary line shown under the `EntityTitle`.
EntityTitle
The primary line shown for an `IntentEntity` instance in a picker or a search result.
Enum<E>
Implementation class required to compile enums
Enumeration<T>
An object that implements the Enumeration interface generates a series of elements, one at a time.
EOFException
Signals that an end of file or end of stream has been reached unexpectedly during input.
Error
An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
ErrorCodeHandler<T>
A generic error callback interface for an error code returned from the server
EventDispatcher
Handles event dispatching while guaranteeing that all events would be fired properly on the EDT regardless of their source.
EventListener
EventListener is the superclass of all event listener interfaces.
EventListenerProxy
This abstract class provides a simple wrapper for objects of type `EventListener`.
Exception
The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
ExecutorFunction
Promise API function `com.codename1.util.promise.Promise`
ExistIn
Requires the component value to be one of an allowed list of strings.
ExistInConstraint
Creates a validation constraint to ensure input value exists in a list of items
Exposure
Which consumers an intent is offered to.
Externalizable
`Externalizable` is similar to the Java SE `Externalizable` interface this interface.
Face
Portable face observation.
FaceBookAccess
Deprecated.
This legacy OAuth2/Graph REST wrapper predates Facebook's current policies and embeds credentials client-side, which Facebook no longer permits for production use.
FacebookConnect
Invokes the native bundled facebook SDK to login/logout of facebook, notice that in order for this to work server build arguments must indicate that you are using the facebook sdk! To accomplish this just define: facebook.appId=YourAppId in your build arguments.
FacebookShare
Deprecated.
This share service relies on the legacy `FaceBookAccess` OAuth/Graph flow which is no longer supported by Facebook.
FaceDetector
Finds faces, their bounding boxes, their head angles, and -- where the backend supports it -- whether they are smiling.
FaceLandmarks
The keys `Face.getLandmarks()` uses, as constants instead of literals.
FailureCallback<T>
Simple interface that allows asynchronous code to perform a parameterized callback in a similar way to GWT's callback interface.
FailureMode
What a protected host should do when a token cannot be obtained.
FanMode
How a fan is running, for `Trait.FAN_MODE`.
FBObject
This is a base class for all FaceBook Objects
FeedbackListener
Receives the outcome of the Codename One drawn rating widget shown by `AppReview` when the platform has no native review prompt (or when the user gave a low rating).
File
This class provides a similar API to `java.io.File` making it almost into a "drop in" replacement.
File.FileFilter
Interface for filtering files.
File.FilenameFilter
Interface to filter filenames.
FileAccess
How a sandboxed macOS application may reach files the user chooses.
FileEncodedImage
An encoded image that stores the actual data of the encoded image in a disk file or resource and loads it only when necessary.
FileEncodedImageAsync
This class is identical to FileEncodedImage with the difference of using asynchronous loading for files (and the animation framework) which will not work for all cases (e.g. renderers) but could improve some performance/RAM aspects.
FileNotFoundException
Signals that an attempt to open the file denoted by a specified pathname has failed.
FileSystemStorage
Unlike networking, the file system storage mostly tries to emulate java.io.File with some simplifications for mobile devices.
FileTree
Simple class showing off the filesystem as a tree component
FileTreeModel
A tree model representing the file system as a whole, notice that this class returns absolute file names which would result in an unreadable tree.
Filter
This holds contact filtering data.
FilterInputStream
Simple version of filter input stream
FilterOutputStream
Dummy implementation of filter output stream
FilterProxyListModel<T>
This class allows filtering/sorting a list model dynamically using a text field
FirebaseAnalyticsProvider
A provider that forwards analytics to the native Firebase Analytics SDK.
FirebaseAnalyticsProvider.Bridge
The platform's connection to the native Firebase SDK.
FirebaseAuth
Firebase Authentication client backed by the Identity Toolkit REST API.
FirebaseAuth.FirebaseUser
Successfully-resolved Firebase session: ID token, refresh token, the stable `localId`, the user's email when present, and the absolute expiry computed from `expiresIn`.
Fixture
A fixture is used to attach a shape to a body for collision detection.
FixtureDef
A fixture definition is used to create a fixture.
FixtureProxy
This proxy is used internally to connect fixtures to the broad-phase.
FlashMode
Flash behavior for still capture or continuous illumination.
FlipTransition
A Transitions that flips between 2 components/forms using perspective transform where available.
Float
The Float class wraps a value of primitive type float in an object.
FloatArray
Not thread safe float[] pooling.
FloatingActionButton
Floating action buttons are a material design element used to promote a special action in a Form.
FloatingHint
A floating hint is similar to a text field with a hint.
FloatProperty<K>
This is the float specific version of numeric property
FlowLayout
FlowLayout is the default layout manager for Codename One Containers and Forms.
Flushable
Indicates that an output object can be flushed.
FocusListener
Observes focus change events for a given form and invokes the callbacks to enable us to assign functionality based on current focused component.
Font
Codename One currently supports 3 font types:
FontImage
`FontImage` allows using an icon font as if it was an image.
ForegroundService
Runs a long lived task while a persistent system notification is shown to the user.
ForegroundService.Task
The long running task executed by a foreground service.
Form
Top level component that serves as the root for the UI, this `Container` subclass works in concert with the `Toolbar` to create menus.
Form.TabIterator
Iterates through the components on this form in traversal order.
Format
An abstract class for parsing and formatting localisation sensitive information, compatible with JDK 6.
Format
An abstract class for parsing and formatting localisation sensitive information, compatible with JDK 6.
FrameFormat
Pixel format requested for `CameraFrame` data delivered to a `FrameListener`.
FrameListener
Receives camera frames from an active `CameraSession`.
FreeBusyInterval
Busy interval returned by a scheduling/free-busy query.
FrictionJoint
FrictionJointDef
Friction joint definition.
FullScreenAdSession
A provider's handle for a single full screen ad (interstitial, rewarded, rewarded interstitial or app open).
Function<T,R>
Functor<T,V>
Promise API functor `com.codename1.util.promise.Promise`
Fused
Marks a class whose constructor-created primitive-array fields are fully ENCAPSULATED, letting ParparVM allocate each instance TOGETHER with those arrays as a single heap block ("fused object"): one allocation instead of several, one object for the garbage collector instead of several, and the arrays share the owner's cache lines.
GameCamera
The camera a `GameView` renders through.
GameElement
A single placed thing in a `GameLevel` -- pure authoring data, deliberately not a `com.codename1.gaming.Sprite`.
GameInput
Pollable snapshot of keyboard and pointer state for a `GameView`.
GameLevel
A saved, mode-aware game level or map: the data the visual editor writes and the runtime loads, deliberately decoupled from how it is drawn.
GameLevel.Mode
The kind of a level, which decides how its elements are realized and rendered.
GameSceneView
A turnkey `GameView` that plays a `GameLevel`: it wires the whole lifecycle so a generated game scene can be a thin subclass that only adds behavior.
GameView
A GPU accelerated game surface: a `com.codename1.gpu.RenderView` that hosts a `SpriteRenderer` over a `Scene` and calls your `#update(double)` once per frame.
GameWorld
A large game space made of linked `Region`s, streamed in and out around the player so the world can exceed memory while transitions stay seamless.
GattCharacteristic
A characteristic of a remote `GattService` -- the unit of data exchange with a BLE peripheral.
GattDescriptor
A descriptor of a remote `GattCharacteristic`.
GattLocalCharacteristic
A characteristic definition of a local `GattLocalService` served by this device's `GattServer`.
GattLocalDescriptor
A descriptor definition of a local `GattLocalCharacteristic` served by this device's `GattServer`.
GattLocalService
A service definition added to this device's `GattServer` via `GattServer.addService(GattLocalService)`.
GattNotificationListener
Receives characteristic value changes (notifications and indications) after subscribing via `GattCharacteristic.subscribe(GattNotificationListener)`.
GattReadRequest
A read request from a connected central, delivered to `GattServerListener.characteristicReadRequest(GattReadRequest)` or `GattServerListener.descriptorReadRequest(GattReadRequest)`.
GattServer
The local GATT server, opened via `BluetoothLE.openGattServer` when this device acts as a BLE peripheral.
GattServerAdapter
Convenience `GattServerListener` with empty implementations -- extend it and override only the events you handle.
GattServerListener
Receives the events of a local `GattServer`: requests from centrals, subscription changes and central connections.
GattService
A service discovered on a remote GATT server via `BlePeripheral.discoverServices()`.
GattStatus
ATT protocol status codes, used both to interpret remote GATT failures and to respond to requests when acting as a GATT server.
GattWriteRequest
A write request from a connected central, delivered to `GattServerListener.characteristicWriteRequest(GattWriteRequest)` or `GattServerListener.descriptorWriteRequest(GattWriteRequest)`.
GearJoint
A gear joint is used to connect two joints together.
GearJointDef
Gear joint definition.
GeneralPath
A general geometric path, consisting of any number of subpaths constructed out of straight lines and cubic or quadratic Bezier curves.
GeneratedSVGImage
Base class for SVG images emitted by the build-time transcoder (`maven/svg-transcoder`).
GenerateImageRequest
Request payload for `ImageGenerator.generate(GenerateImageRequest)`.
GenericListCellRenderer<T>
The generic list cell renderer can display containers or arbitrary Codename One components as items in a list, notice that we strongly discourage usage of lists..
GenericSpinner
A spinner class that allows arbitrary values, this is effectively a combo box replacement for platforms where a combo box is not available
Geofence
Metadata for geofencing support that allows tracking user location in the background while the app is inactive.
GeofenceListener
Listener interface for the Geofence background tracking functionality.
GeofenceManager
A utility class to simplify Geofencing in Codename One.
GeofenceManager.Listener
The Listener class that is registered to receive Geofence events.
GestureEvent
A high level gesture detected by the framework from the motion sensor stream and delivered to a `GestureListener`.
GestureListener
Receives high level gestures (shake, flip, tilt, pick up, free fall) derived from the motion sensors.
GET
HTTP `GET` request.
GlassRecipe
A typed, named recipe for the "Liquid Glass" backdrop materials (iOS 26).
GlassRecipe.Kind
The material kind a `GlassRecipe` renders.
GlassTutorial
A Glass Tutorial appears on top of the UI especially on a touch device but could be on any device and points to/circles components within the UI coupled with explanation of what they do and a tint of the screen.
GltfLoader
Loads a `Mesh` from a glTF 2.0 model so applications can render real authored geometry rather than only the built in `Primitives`.
GltfLoader.GltfImageModel
A loaded glTF model in device-free form: its geometry plus the decoded base-color image extracted from the model's first material, if any.
GltfLoader.GltfModel
A loaded glTF model: its geometry plus the base-color texture extracted from the model's first material, if any.
GlucoseMeasurement
A decoded Glucose Measurement, characteristic `0x2A18`.
GlucoseRecordFilter
Selects which stored records a glucose meter should replay, for `SensorSession.requestStoredRecords(GlucoseRecordFilter)`.
GlucoseRecordFilter.Kind
What a filter selects on.
GoogleAnalyticsProvider
A provider for Google Analytics 4 using the Measurement Protocol (v2).
GoogleCalendarSource
Google Calendar and Google Tasks implementation.
GoogleConnect
Sign-in-with-Google for Codename One.
GoogleMapsProvider
This is a GoogleMaps Provider https://developers.google.com/maps/documentation/staticmaps/
GpuCapabilities
Immutable description of the capabilities and limits of a `GraphicsDevice`.
Gradient
Abstract description of a CSS-style gradient that can be used as a background or painted directly via `Graphics#fillGradient`.
GradientDrawable
GradientDrawable.Orientation
Graphics
Abstracts the underlying platform graphics context thus allowing us to achieve portability between MIDP devices and CDC devices.
GraphicsDevice
The low level command surface of the 3D API, bound to a single `RenderView` and its GPU context.
GraphQL
High-level GraphQL-over-HTTP invoker used by generated `@GraphQLClient` implementations.
GraphQLClient
Marks an interface as a GraphQL client that the build-time annotation processor wires up to a generated implementation.
GraphQLClients
Runtime registry that wires `@GraphQLClient`-annotated interfaces to the build-time-generated implementations.
GraphQLClients.Factory<T>
Factory the generated bootstrap registers per API interface.
GraphQLError
One entry from a GraphQL response `errors` array.
GraphQLResponse<T>
Result of a GraphQL query or mutation.
GraphQLSubscription
Handle for a live GraphQL subscription.
GraphQLSubscription.Handler<T>
Receives the events of one subscription.
Grid
Holds components in a grid.
GridBagConstraints
Port of the GridBag code from Apache's Harmony
GridBagLayout
Codename One port of the infamous GridBagLayout based on the Apache Harmony code.
GridLayout
The components are arranged in a grid based on available space, all cells in the grid are given exactly the same size which matches the largest preferred size or available space.
GroupConstraint
Groups several constraints as if they are one constraint
GroupLayout
GroupLayout is a LayoutManager that hierarchically groups components to achieve common, and not so common, layouts.
GrpcClient
Marks an interface as a gRPC client that the build-time annotation processor wires up to a generated gRPC-Web implementation.
GrpcClients
Runtime registry that wires `@GrpcClient`-annotated interfaces to the build-time-generated implementations.
GrpcClients.Factory<T>
Factory the generated bootstrap registers per API interface.
GrpcException
Thrown when a synchronous helper observes a non-OK gRPC status or a transport-level failure.
GrpcResponse<T>
Result of a unary gRPC call.
GrpcWeb
High-level gRPC-Web invoker used by generated `@GrpcClient` implementations.
GZConnectionRequest
A connection request that can detect a GZipped response, parse it automatically and unzip it.
GZIPException
GZIPHeader

##### See also

GZIPInputStream
GZIPOutputStream
HardenControlFlow
Accepted values of the `harden.controlFlow` build hint.
Hardening
App hardening build hints, checked by the compiler.
Hardening
Read-only reporting of whether this build was hardened, and with what.
HardenLevel
Accepted values of the `harden.level` build hint.
HardenStrings
Accepted values of the `harden.strings` build hint.
Hash
Streaming and one-shot cryptographic hash (message digest) functions.
HashMap<K,V>
HashMap is an implementation of Map.
HashSet<E>
HashSet is an implementation of a Set.
Hashtable<K,V>
Hashtable associates keys with values.
Header
Binds an interface method parameter to an HTTP request header.
HeadTracker
Tracks the device orientation for VR by feeding the motion sensors (gyroscope, accelerometer and magnetometer through `com.codename1.sensors.MotionSensorManager`) into an `OrientationFilter`.
Health
Entry point for the Codename One health API -- reading and writing health data, watching it for changes, recording workouts, and streaming from Bluetooth health sensors.
HealthAccess
One data type paired with one direction of access.
HealthAggregationStyle
How a `HealthDataType` combines over a time bucket.
HealthAnchor
An opaque cursor marking how far through a data type's change history the app has read.
HealthAuthorizationStatus
The app's authorization for one data type and one direction.
HealthAvailability
Whether a platform health store is usable right now, and if not, why.
HealthBackgroundListener
Receives health-store changes even after the app's process has been killed and relaunched.
HealthBackgroundListenerFactory
Creates `HealthBackgroundListener` instances after the app's process has been killed and relaunched.
HealthChangeBatch
A set of changes since the last time a subscription was drained.
HealthChangeListener
Receives health-store changes while the app is running.
HealthConfigurationException
Thrown when the app is missing build configuration that the health APIs cannot work without -- an absent `ios.NSHealthShareUsageDescription` build hint, a missing Health Connect privacy-policy declaration.
HealthDataKind
What shape of data a `HealthDataType` produces, and therefore which `HealthSample` subclass a query for it returns.
HealthDataType
A kind of health data -- steps, heart rate, sleep, body mass.
HealthDeleteRequest
Describes what to delete from `HealthStore`, either by identifier or by type and time range.
HealthError
Typed failure reasons carried by `HealthException`.
HealthException
The failure delivered through an `AsyncResource` when a health operation does not succeed.
HealthInterval
The bucket width of an `AggregateQuery` -- "per hour", "per calendar day", "per calendar month".
HealthQuantity
An immutable value paired with the `HealthUnit` it is expressed in.
HealthRequestStatus
Whether presenting the authorization sheet would actually show the user anything.
HealthSample
The base of every health record: what it measures and when.
HealthSensor
A discovered health sensor: what it is, what it advertises, and how strong its signal was.
HealthSensorProfile
A standard Bluetooth SIG health sensor profile -- the service a device advertises and the measurements it produces.
HealthSensors
Discovers and streams from standard Bluetooth SIG health sensors -- heart-rate straps, power meters, speed and cadence sensors, foot pods, thermometers, scales, blood-pressure cuffs and glucose meters.
HealthSource
Where a sample came from -- which app wrote it and, when known, which device produced it.
HealthStore
Reads, writes and watches the platform health store -- HealthKit on iOS, Health Connect on Android, a local store elsewhere.
HealthSubscription
A live handle on a registered subscription.
HealthTimeRange
A half-open span of time, `[start, end)`, in epoch milliseconds UTC.
HealthUnit
A unit of measure for health data.
HealthUnitDimension
The physical dimension of a `HealthUnit`.
HealthWriteResult
The outcome of a write.
HeartRateMeasurement
A decoded Heart Rate Measurement, characteristic `0x2A37`.
HeatingCoolingMode
What a thermostat is doing, for `Trait.CURRENT_HEATING_COOLING`, or what it has been asked to do, for `Trait.TARGET_HEATING_COOLING`.
Hint
What a build hint attribute is, beyond what its Java signature already says.
HintKind
What a `String` build hint really holds.
HintUnset
Marks the enum constant that means "nothing was chosen".
HintValue
What an enum constant is called on the wire.
Hmac
Keyed-hash message authentication (HMAC, RFC 2104) on top of any hash algorithm supported by `Hash`.
HomeAuthorizationStatus
Whether the user has granted this app access to their home.
HomeAvailability
Whether a home graph is usable right now, and when it is not, why.
HomeBackend
Which platform service is behind this `SmartHome` instance.
HomeBridge
Internal service-provider interface implemented by each platform port to back `com.codename1.home.SmartHome` with HomeKit, the Google Home APIs, or a local simulated home.
HomeChangeListener
Told when a watched `Trait` changes value.
HomeConfigurationException
Raised when the app itself is missing something the backend needs -- an entitlement, a build hint, a Google Cloud project id -- rather than the user or the device being at fault.
HomeError
Typed failure reasons carried by `HomeException`.
HomeException
The failure delivered through an `AsyncResource` when a smart-home operation does not succeed.
HomeRoom
A room in a `HomeStructure`: HomeKit's `HMRoom`, a Google Home room.
HomeStructure
One home: HomeKit's `HMHome`, a Google Home structure.
HomeStructureEvent
Notification that the home graph moved, delivered to a `HomeStructureListener` on the EDT.
HomeStructureListener
Told when the home graph moves -- an accessory added, removed, renamed, moved between rooms, or its reachability changing.
HomeZone
A named grouping of rooms -- "upstairs", "the annexe": HomeKit's `HMZone`.
HostCardEmulationService
Application-supplied handler for Host Card Emulation (HCE) -- the mode where the device acts as a contactless smart card and answers APDUs from a nearby reader/terminal.
HostPolicy
What the shield does for a given host: whether to attach an attestation token, whether to enforce certificate pins, and what to do when a token cannot be obtained.
HTMLCallback
HTMLCallback is used to dispatch document lifecycle events.
HTMLComponent
HTMLComponent is a Codename One Component that renders HTML documents that conform to the XHTML Mobile Profile 1.0
HTMLElement
The HTMLElement class defines a single HTML element with its attributes and children.
HtmlImporter
Parses an HTML string into the pure rich text editor model (plain text plus per character `TextStyle` and per paragraph `RichBlocks.BlockAttr`).
HtmlImporter.Result
The imported content.
HTMLParser
The HTMLParser class is used to parse an XHTML-MP 1.0 document into a DOM object (Element).
HtmlSerializer
Serializes the pure rich text editor model (text + `InlineStyles` + `RichBlocks`) back into an HTML string for `RichTextArea#getHtml`.
HTMLUtils
This class contains several useful static methods for HTML
HttpTileSource
A `TileSource` that fetches tiles over HTTPS from a slippy-map URL template.
ICalendarCodec
Reads and writes the interoperable portion of RFC 5545 used by events, tasks, CalDAV, and file import/export.
IconHolder
An interface implemented by `Component` classes that can display an icon.
Id
Designates the primary-key field of an `@Entity`.
IdentityHashMap<K,V>
IdentityHashMap is a variant on HashMap which tests equality by reference instead of equality by value.
IDynamicStack<E>
Same functionality of a regular java.util stack.
IllegalAccessException
Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
IllegalMonitorStateException
Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
IllegalStateException
IllegalThreadStateException
Thrown to indicate that a thread is not in an appropriate state for the requested operation.
Image
Abstracts the underlying platform images allowing us to treat them as a uniform object.
ImageDownloadService
Simplifies the process of implementing an image link for labels and lists by binding a request to a component.
ImageFactory
A factory class for creating mutable images.
ImageGenerator
Cloud-first image generation.
ImageIO
Enable simple operations on image file & image objects such as dynamic scaling and storage to binary formats such as JPEG.
ImageLabel
Portable ranked image-classification label.
ImageLabeler
Classifies what an image contains, as ranked labels with confidences.
ImagePart
Image content within a multimodal `ChatMessage`.
ImageViewer
ImageViewer allows zooming/panning an image and potentially flicking between multiple images within a list of images.
InCellGapProvider
An interface to implement if you want to decide the gaps between two types of components within the same cell.
IncomingConnection
An incoming request from another device that wants to connect, delivered to `TransportListener.connectionRequested(IncomingConnection)`.
IncompatibleClassChangeError
`IncompatibleClassChangeError` is the superclass of all classes which represent errors that occur when inconsistent class files are loaded into the same running image.
IncompleteAnnotationException
A mirror of java.lang.annotation.IncompleteAnnotationException.
IndexBuffer
Holds the element indices used to assemble primitives from a `VertexBuffer`.
IndexOutOfBoundsException
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
InferenceException
Reports model validation, delegate selection, allocation, or invocation failures from the portable inference API.
InferenceOptions
Configures how a reusable `InferenceSession` is created.
InferenceOptions.Accelerator
Execution targets understood by the portable inference API.
InferenceSession
Reusable, native on-device session for a TensorFlow Lite model.
InfiniteContainer
This abstract Container can scroll indefinitely (or at least until we run out of data).
InfiniteProgress
Shows a "Washing Machine" infinite progress indication animation, to customize the image you can either use the infiniteImage theme constant or the `setAnimation` method.
InfiniteScrollAdapter
Allows adapting a scroll container to scroll indefinitely (or at least until running out of data), this effectively works by showing an infinite progress indicator when reaching scroll end then allowing code to fetch additional components.
Inflater
InflaterInputStream
Inherited
InlineStyles
The per character inline style model for the pure rich text editor.
InlineStyles.StylePredicate
A predicate over a style, used by `#allInRange`.
InlineStyles.StyleTransform
A transform applied to a character's style, used to toggle bold, set a color, etc.
InnerActive
Deprecated.
the InnerActive ad network is defunct.
InputComponent
A base class for `com.codename1.ui.TextComponent`, `com.codename1.ui.PickerComponent` and potentially other components that wish to accept input in a dynamic way that matches iOS and Android native input guidelines.
InputStream
This abstract class is the superclass of all classes representing an input stream of bytes.
InputStreamReader
An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters.
Insets
Port of Insets from Harmony for the use of the GridBag code
InstallLocation
Accepted values of the `android.installLocation` build hint.
Instant
InstantiationException
Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
InstantUI
Instant UI generates a user interface for editing a property business object based on common conventions and settings within the properties.
IntArray
Not thread safe int[] pooling
Integer
The Integer class wraps a value of the primitive type int in an object.
IntentBridge
The platform seam of the app intents framework, implemented by ports and returned from `CodenameOneImplementation.getIntentBridge()` -- null on unsupported ports, which makes the whole public API an inert no-op.
IntentCompletion
Receives the outcome of an invocation started through `Intents.dispatchInvocation(String, Map, IntentSource, boolean, IntentCompletion)`.
IntentContext
The circumstances one invocation runs under.
IntentDates
The one definition of what counts as a moment in time.
IntentDeclaration
Everything the framework knows about one declared intent.
IntentDispatcher
Internal contract between the build-time-generated intent table and the framework.
IntentEntity
Marks one of your application's own nouns -- an order, a playlist, a saved route -- as something the system can name, list, search and hand back to an `AppIntent`.
IntentParam
Names and describes one parameter of an `AppIntent` handler.
IntentParameterInfo
One parameter of a declared intent, as the framework and the simulator see it.
IntentParameterType
The parameter kinds an intent can accept.
IntentResult
What an intent handler hands back.
Intents
The entry point for app intents: the capabilities your application offers to the outside world.
IntentSerializer
Serializes intent declarations, entities and results to the wire format the platform bridges consume: a compact JSON document plus PNG blobs named by content hash.
IntentSource
Where an intent invocation came from.
InteractionDialog
Unlike a regular dialog the interaction dialog only looks like a dialog, it resides in the layered pane and can be used to implement features where interaction with the background form is still required.
InterFormContainer
A container that allows you to use the same component on multiple forms.
InterruptedException
Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
InterruptedIOException
Signals that an I/O operation has been interrupted.
InterstitialAd
A full screen interstitial ad shown at natural break points such as between game levels or activities.
IntProperty<K>
This is the integer specific version of numeric property
IOCallback
This interface is implemented by HTMLComponent and ResourceThread (The two classes using the AsyncDocumentRequestHandler)
IOException
Signals that an I/O exception of some sort has occurred.
IOProgressListener
Callback for IO updates from a buffered input/output stream
IOrderedStack<E>
This stack assumes that when you push 'n' items back, you're pushing back the last 'n' items popped.
Ios
iOS build hints, checked by the compiler.
IosDependencyManager
Accepted values of the `ios.dependencyManager` build hint.
IosPrivacy
iOS `Info.plist` privacy usage descriptions.
IosProjectType
Accepted values of the `ios.project_type` build hint.
IsGalleryTypeSupportedEvent
Plugin event fired when `Display#isGalleryTypeSupported(int)` method is called to give plugins an opportunity to answer this question.
Island
This is an internal class.
IsoDep
ISO 14443-4 / ISO 7816-4 technology view: send APDU command-response pairs to a contactless smart card (EMV payment, ePassport, government ID, transit).
IsoProjection
Maps between board cells (row, column) and screen pixels for the 2:1 isometric "diamond" layout used by board / strategy games.
Iterable<T>
Objects of classes that implement this interface can be used within a `foreach` statement.
Iterator<E>
An `Iterator` is used to sequence over a collection of objects.
IViewportTransform
This is the viewport transform used from drawing.
IWorldPool
World pool interface
Jacobian
JavascriptContext
Represents a Javascript context of a single BrowserComponent.
Joint
The base joint class.
JointDef
Joint definitions are used to construct joints.
JointEdge
A joint edge is used to connect bodies and joints together in a joint graph where each body is a node and each joint is an edge.
JointType
JSFunction
The JSFunction interface allows you to implement functions in Java that can be called from Javascript.
JSObject
A Java Wrapper around a Javascript object.
JsonIgnore
Excludes a `@Mapped` field from the JSON projection.
JSONParseCallback
The event based parser allows parsing without creating an object tree by receiving callbacks to this class.
JSONParser
Fast and dirty parser for JSON content on the web, it essentially returns a `java.util.Map` object containing the object fields mapped to their values.
JSONParser.RawJson
Wrapper that lets a caller embed a pre-built JSON fragment into a Map/List tree being serialized by `JSONParser.toJson(Object)`.
JsonProperty
Renames a `@Mapped` field in the JSON projection.
JSONWriter
Convenience JSON writer to complement `JSONParser`.
JSONWriter.ArrayBuilder
Fluent builder for `[ ..., ..., ... ]`.
JSONWriter.ObjectBuilder
Fluent builder for `{ "k": v, ... }`.
Jwt
JSON Web Token (RFC 7519) signing and verification.
JZlib
Key
Common base for every key type in the security package -- `SecretKey` for symmetric algorithms, `PublicKey` and `PrivateKey` for asymmetric ones.
KeyGenerator
Generates fresh cryptographic key material.
KeyPair
A matched pair of `PublicKey` / `PrivateKey`.
L10NManager
The localization manager allows adapting values for display in different locales thru parsing and formatting capabilities (similar to JavaSE's DateFormat/NumberFormat).
L2capChannel
An open L2CAP connection-oriented channel -- a raw bidirectional byte stream to a peripheral, obtained via `BlePeripheral.openL2capChannel(int, boolean)` on the central side or accepted from an `L2capServer` on the peripheral side.
L2capServer
A listening L2CAP endpoint on the local device, opened via `BluetoothLE.openL2capServer(boolean)` when acting as a peripheral.
Label
Allows displaying a single line of text and icon (both optional) with different alignment options.
LambdaMetafactory

##### Deprecated

LanguageBackend
Identifies a native language-service implementation.
LanguageBackends
Selects native backends for language identification, translation, and Smart Reply.
LanguageCandidate
One ranked BCP-47 language candidate returned by `LanguageIdentifier.identify(String, LanguageOptions)`.
LanguageDef
Describes the lexical rules of a programming language for the pure code editor's tokenizer: its keyword set, comment styles, string delimiters and number syntax.
LanguageIdentifier
Identifies possible languages entirely on device.
LanguageIdentifier.Session
Reusable owner of a native language-identification backend.
LanguageOptions
Reusable options shared by language identification, translation, and Smart Reply operations.
LatLng
An immutable WGS84 geographic coordinate (latitude/longitude in degrees).
Layer
A named drawing band in a `GameLevel`: the editor's "Background / Terrain / Items / Actors" rows, and the rendering order behind them.
Layer
a Layer interface.
Layer.Kind
What a layer holds, which decides how its content is realized.
LayeredLayout
The `LayeredLayout` places the components in order one on top of the other and sizes them all to the size of the largest component.
Layout
Abstract class that can be used to arrange components in a container using a predefined algorithm.
LayoutCallback
A class to extend if you want to provide more control over where a component is placed or the size of it.
LayoutStyle
LayoutStyle is used to determine how much space to place between components during layout.
LayoutUtil
A utility class that has only static helper methods.
LazyValue<T>
Useful when passing a value that might not exist to a function, e.g.
LC
Contains the constraints for an instance of the `LC` layout manager.
LegacyAnalyticsProviderAdapter
Bridges a legacy `AnalyticsService` subclass into the new `AnalyticsProvider` SPI so that custom analytics implementations written against the deprecated API can participate in the `Analytics` facade alongside modern providers.
Length
Requires the component value to have at least `min` characters.
LengthConstraint
Creates a validation constraint based on minimum input length
LevelLight
A serializable directional light authored in a 3D `GameLevel`: a direction, a diffuse `#getColor()` and an `#getAmbientColor()`.
Lifecycle
Optional helper class that implements the Codename One lifecycle methods with reasonable default implementations to help keep sample code smaller.
Light
A single directional light plus a global ambient term, consumed by lit materials (`Material.Type.LAMBERT` and `Material.Type.PHONG`).
LikeButton
Deprecated.
This functionality is no longer possible, open a BrowserComponent with the link instead.
LimitState
LinearGradient
Multi-stop linear gradient at an arbitrary angle.
LinearGradientPaint
LinearGradientPaint provides a way to fill a `Shape` with a linear gradient.
LineChart
Plots series of X/Y points using straight line segments.
LinesLayer
This is a Lines Layer
LinkageError
`LinkageError` is the superclass of all error classes that occur when loading and linking class files.
LinkedHashMap<K,V>
LinkedHashMap is a variant of HashMap.
LinkedHashSet<E>
LinkedHashSet is a variant of HashSet.
LinkedList<E>
LinkedList is an implementation of List, backed by a linked list.
LinkHandler
List<T>
A set of elements that is rendered using a `com.codename1.ui.list.ListCellRenderer` and are extracted via the `com.codename1.ui.list.ListModel`, notice that we strongly discourage usage of lists.
List<E>
A `List` is a collection which maintains an ordering for its elements.
ListCellRenderer<T>
A "rubber stamp" tool that allows us to extract a component (often the same component instance for all invocations) that is initialized to the value of the current item extracted from the model, this component is drawn on the list and discarded.
ListIterator<E>
An ListIterator is used to sequence over a List of objects.
ListModel<T>
Represents the data structure of the list, thus allowing a list to represent any potential data source by referencing different implementations of this interface, notice that we strongly discourage usage of lists..
ListProperty<T,K>
Base class for a property as a list which can contain multiple elements within
LiveActivity
A running live activity: an ongoing-state surface (delivery, timer, ride, score) presented on the iOS lock screen and Dynamic Island, as an ongoing Android notification, or as a floating pill window on desktop.
LiveActivityDescriptor
Describes a live activity: an ongoing-state surface (delivery, timer, ride, score) that stays visible outside the app while it is in progress.
LlmChatBinding
Convenience wiring that turns a `ChatView` into an LLM-driven chat surface in one call.
LlmClient
Provider-agnostic chat / embeddings client.
LlmException
The single checked-error type raised by `LlmClient`.
LlmException.ErrorType
Coarse-grained classification of every failure path the client can surface.
LocalCalendarSource
Device calendar source.
LocalDate
LocalDateTime
Locale
LocalNotification
Local notifications are user notifications that are scheduled by the app itself.
LocalNotification.Action
A single action button attached to a local notification.
LocalNotification.MessagingStyle
Describes a conversation (messaging style) notification.
LocalNotification.MessagingStyle.Message
A single message within a messaging style notification.
LocalNotificationCallback
An interface that can be implemented by the application's main class (i.e. the class with `start()`, `stop()` etc..) to respond to local notifications. This interface only works when it is implemented by the main class. It will never be called otherwise.
LocalTime
Location
Represents a position and possible velocity returned from positioning API's.
LocationListener
This is a Listener to the Locations events see LocationManager.setLocationListener
LocationManager
The LocationManager is the main entry to retrieveLocation or to bind a LocationListener,
LocationRequest
This class is used when requesting to listen to location update.
LockState
The state of a door lock, for `Trait.LOCK_STATE` and `Trait.TARGET_LOCK_STATE`.
Log
Pluggable logging framework that allows a developer to log into storage using the file connector API.
LoggingAnalyticsProvider
A provider that simply logs every call (and records them in memory) instead of sending data anywhere.
Login
The Login abstract base class is used to simplify Oauth2 authentications services.
LoginCallback
This class is used to indicate whether login was successful or not, it is an abstract class rather than an interface in order to allow additional features in the future.
Long
The Long class wraps a value of the primitive type long in an object.
LongProperty<K>
This is the long specific version of numeric property
LookAndFeel
Allows a UI developer to completely customize the look of the application by overriding drawing/sizing methods appropriately.
Mac
Native macOS build hints, checked by the compiler.
MalformedURLException
Thrown when attempting to create a URL that doesn't conform to specification.
Manifold
A manifold for two touching convex shapes.
Manifold.ManifoldType
ManifoldPoint
A manifold point is a contact point belonging to a contact manifold.
Map<K,V>
A `Map` is a data structure consisting of a set of keys and values in which each key is mapped to a single value.
Map.Entry<K,V>
`Map.Entry` is a key/value mapping contained in a `Map`.
MapAdapter
Instances of this class adapt an arbitrary object type so a property can appear differently when it's placed into a Map or initialized from a Map.
MapBounds
An immutable axis-aligned latitude/longitude rectangle delimited by its south-west and north-east corners.
MapComponent
Deprecated.
MapListener
Invoked when the map is panned or zoomed
MapObject
Common base for objects placed on a map (`Marker`, `Polyline`, `Polygon`, `Circle`).
Mapped
Marks a POJO or `PropertyBusinessObject` as a target for the build-time JSON / XML mapping processor.
Mapper<T>
Runtime contract a build-time-generated mapper implements for one `@Mapped` class.
Mapper.Direct<T>
Optional: append `instance` as JSON directly, without building a map first.
Mappers
Public entry point for the build-time JSON / XML mapping framework.
MapProperty<T,J,K>
Base class for a property as a Map which can contain multiple elements within it
MapProvider
This is a generic map provider.
MapProvider
The service-provider interface a native map backend implements so the core `NativeMap` component can drive it without knowing which provider (Apple MapKit, Google Maps, Bing, Huawei, ...) is in use.
MapProviderRegistry
The registry through which build-injected `MapProvider` implementations advertise themselves to the core `NativeMap` component.
MapStyle
An ordered list of `StyleLayer` rules plus a background color, describing how a vector tile is painted.
MapSurface
The provider-agnostic map API shared by the pure-vector `MapView` and the native-peer `NativeMap`.
MapTapListener
Receives tap and long-press notifications from a `MapSurface`.
MapView
A pure-vector map component: it renders entirely through the Codename One `Graphics` API (the built-in `VectorMapEngine`) and never embeds a native peer, so it composes cleanly with the rest of the UI -- dialogs, lists and overlays draw over it without the clipping limitations of a native view.
Marker
A marker pinned to a geographic location on a map.
MarkerOptions
A fluent builder describing a `Marker` before it is added to a `MapSurface`.
MassData
This holds the mass data computed for a shape.
MasterDetail
Master-detail utility class simplifying the process of defining a master/detail
Mat22
A 2-by-2 matrix.
Mat33
A 3-by-3 matrix.
Material
A pluggable surface material used by terrain cells and `TerrainFeature`s.
Material
A declarative description of how a surface should be shaded.
Material.Type
The built in lighting model used to shade a surface.
MaterialRegistry
Process-wide registry of pluggable `Material`s, keyed by id.
Math
The class Math contains methods for performing basic numeric operations.
MathHelper
Utility class for math operations.
MathUtil
MathUtil for Java ME.
MathUtils
A few math methods that don't fit very well anywhere else.
MatomoAnalyticsProvider
A privacy-first provider targeting Matomo (formerly Piwik) through its HTTP Tracking API.
Matrix4
Portable column-major 4x4 float matrix math used by the 3D API.
MCP
Public entry point for the Codename One MCP headless API.
MCP.SocketTransportFactory
Supplies the platform loopback socket transport.
MCP.StdioTransportFactory
Supplies the platform stdio transport.
MCPClientDescriptor
Describes the MCP server entry to register with a host: the stable server name it appears under and the command line that launches the application in stdio MCP mode.
MCPClientRegistrar
Detects installed MCP hosts and registers a Codename One application's stdio MCP server with them, so an end user can point Claude Desktop, Claude Code, Codex and similar tools at the application without editing config by hand.
MCPClientRegistrar.MCPClient
A detected MCP host and where its config lives.
MCPLoopbackSocketTransport
Loopback socket MCP transport built on the portable `Socket` API, so an agent can attach to a running app on ANY port that can bind the loopback interface - a device or simulator, not only the desktop.
MCPLoopbackSocketTransport.Connection
The per-connection callback the socket API instantiates.
MCPServer
A Model Context Protocol server.
MCPTransport
A bidirectional line delimited transport for MCP JSON-RPC messages.
MCPVerbosity
How much of the MCP conversation the server echoes to the Codename One log, so a developer can watch and debug what an agent is doing.
Media
Media control interface allows for media playback, recording.
Media360View
A 360 degree panorama viewer: renders an equirectangular image onto the inside of a sphere with drag-to-look navigation and optional gyroscope look.
MediaManager
Allow us to create `Media` objects using String URI's or with a stream to the media data.
MediaMetaData
MetaData for use by `RemoteControlListener` to provide information about the currently playing background media on the device's lock screen.
MediaPlayer
Video playback component with control buttons for back, play/pause and forward buttons.
MediaRecorderBuilder
A builder class to generate a Media recorder with specific settings.
MemoryCalendarCache
Process-local cache, useful for tests or sessions that must leave no data on disk.
MenuBar
This class represents the Form MenuBar.
Mercator
Represents a Mercator projection http://en.wikipedia.org/wiki/Mercator_projection
Mesh
Renderable geometry: a `VertexBuffer`, an optional `IndexBuffer` and the `PrimitiveType` that ties the vertices into shapes.
Message
Represents a message to be sent using underlying platform e-mail client or the cloud.
MessageEvent
Encapsulates an event that either originates outside the App (e.g. from the webpage that contains the app if it is published using the Javascript port); or whose destination is outside the app.
MessageEvent.PromptPromise
Encapsulates a promise that should be fulfilled when implementingn a custom permissions prompt to record or play audio.
MessagePart
A single content fragment within a `ChatMessage`.
Method
MethodHandle

##### Deprecated

MethodHandles

##### Deprecated

MethodHandles.Lookup
MethodType

##### Deprecated

MicrosoftCalendarSource
Microsoft Graph calendar and Microsoft To Do source.
MicrosoftConnect
Sign-in with a Microsoft account (personal, work, or school) backed by Microsoft Entra ID (formerly Azure Active Directory).
MifareClassic
NXP MIFARE Classic 1K/4K technology view.
MifareUltralight
NXP MIFARE Ultralight / Ultralight C / NTAG21x technology view.
MigLayout
A very flexible layout manager.
Model
A 3D mesh placed in the world: a `com.codename1.gpu.Mesh` plus a `com.codename1.gpu.Material` and a position / rotation / scale transform.
ModelCache
Downloads a large model into app-private storage and exposes it as a file-backed `ModelSource`.
ModelSource
Describes where an `InferenceSession` should obtain a `.tflite` model.
Monitor
One physical display attached to the desktop.
MorphTransition
A transition inspired by the Android L release morph activity effect allowing a set of components in one form/container to morph into another in a different container/form.
MorphTransition.MorphElement
Describes an arbitrary rendered element that the morph tweens between two states: position, size, opacity, rotation and scale.
Motion
Abstracts the notion of physical motion over time from a numeric location to another.
MotionEvent
A single immutable reading from a motion sensor delivered to a `MotionSensorListener`.
MotionSensor
Represents a single motion sensor (for example the accelerometer or the gyroscope).
MotionSensorListener
Receives raw readings from a `MotionSensor`.
MotionSensorManager
Cross platform access to the device motion sensors (accelerometer, gyroscope, magnetometer and the derived gravity, linear acceleration and orientation) together with high level gesture detection (shake, flip, tilt, pick up and free fall).
MouseJoint
A mouse joint is used to make a point on a body track a specified world point.
MouseJointDef
Mouse joint definition.
MultiButton
A powerful button like component that allows multiple rows/and an icon to be added every row/icon can have its own UIID.
MultiList
A list with a `com.codename1.components.MultiButton` renderer, notice that we strongly discourage usage of lists..
MultipartRequest
A multipart post request allows a developer to submit large binary data files to the server in a multipart mime post request.
MultipleCategorySeries
A series for the multiple category charts like the doughnut.
MultipleGradientPaint
A base class for Paints that use multiple gradients.
MultipleGradientPaint.ColorSpaceType
Colors spaces for gradients.
MultipleGradientPaint.CycleMethod
Cycle methods for gradients.
MultipleSelectionListModel<T>
Events `ListModel` to support multiple selection.
MutableResouce
Deprecated.
MutableResource
Mutable variant of `Resources` intended for non-designer environments.
MutableStack<E>
Mutation
Declares a `GraphQLClient` method as a GraphQL mutation.
MvtDecoder
Decodes a Mapbox Vector Tile (MVT 2.1, `application/x-protobuf`) into the in-memory `VectorTile` model using the framework's protobuf reader (`ProtoReader`).
MvtTileSource
A networked MVT (Mapbox Vector Tile) source.
NativeAd
The assets of a native ad, loaded by `NativeAdLoader`.
NativeAdLoader
Loads `NativeAd` assets that you render with your own components, so the ad matches the look and feel of the surrounding content.
NativeAdProvider
Optional capability interface implemented by an `AdProvider` that supports native ads.
NativeDragAndDrop
Drag and drop through the operating system rather than inside the application.
NativeDragOperation
Everything the operating system needs in order to drag something out of a Codename One component: what is being dragged, what the receiver is allowed to do with it, and what the user should see under the cursor while dragging.
NativeDropEvent
One step of a native operating system drag passing over, or landing on, a component that was marked as a native drop target with `Component#setNativeDropTarget(boolean)`.
NativeInterface
This is a marker interface that should be extended by a user interface in order to indicate that said interface is implemented in native code.
NativeLookup
Creates an instance of the native interface which will call the underlying platform using the convention documented in the package docs.
NativeMap
A native-rendered map.
NavigableMap<K,V>
NavigableMap is a SortedMap with navigation methods answering the closest matches for specified item.
NavigableSet<E>
NavigableSet is a SortedSet with navigation methods answering the closest matches for specified item.
Navigation
In-app navigation API on top of the declarative `@Route` table.
NavigationCommand
The NavigationCommand is a Command that navigates to a given Form.
NavigationEntry
A single frame on the `Navigation` stack: the URL that produced the form and the `Form` instance the route built.
NdefMessage
An NDEF message -- the payload of an NDEF-formatted tag.
NdefRecord
A single NDEF (NFC Data Exchange Format) record.
NearbyAvailability
How much of a `com.codename1.nearby` feature is really usable right now.
NearbyBridge
Internal service-provider interface implemented by each platform port to carry the `com.codename1.nearby` API onto the native short-range stacks: Apple's Nearby Interaction, MultipeerConnectivity and AccessorySetupKit, Android's Jetpack UWB, Nearby Connections and `CompanionDeviceManager`.
NearbyError
Typed error codes carried by every `NearbyException` thrown through the failure path of the `com.codename1.nearby` APIs.
NearbyException
Thrown through the failure path of every `AsyncResource` returned by the `com.codename1.nearby` APIs, and passed to the failure callbacks of the ranging and transport listeners.
NearbyPermission
The runtime permissions the `com.codename1.nearby` APIs may need, named by what the app is trying to do rather than by any one platform's permission string.
NearbyTransport
Moving bytes and files to a device that is physically nearby, with no access point, no pairing and no internet.
NegativeArraySizeException
Thrown if an application tries to create an array with negative size.
NetworkEvent
Event containing more meta data for network events which may be error events or an update for progress indication code.
NetworkGuard
Interception point for cross-cutting network policy: decorating outgoing requests, and vetting the TLS certificate chain before a request body is written.
NetworkManager
Main entry point for managing the connection requests, this is essentially a threaded queue that makes sure to route all connections via the network thread while sending the callbacks through the Codename One EDT.
NetworkTypeListener
Receives notifications when the device's active network changes type (WiFi <-> Cellular <-> Ethernet <-> None <-> VPN).
NetworkTypePlatform
Platform-supplied implementation of the network-type tracking API.
Nfc
Entry point for the Codename One NFC API -- read and write NDEF messages, exchange APDUs with smart cards, and host-emulate as a contactless card.
NfcA
NFC-A (ISO 14443-3A) raw transceive view.
NfcB
NFC-B (ISO 14443-3B) raw transceive view.
NfcError
Typed error codes returned by `Nfc` and `HostCardEmulationService` when an asynchronous NFC operation fails.
NfcException
Thrown via the failure path of an `AsyncResource` returned by `Nfc` when an NFC read, write, or HCE operation fails.
NfcF
FeliCa (JIS X 6319-4) technology view -- the contactless protocol used by Suica, PASMO, ICOCA and other Japanese transit / payment cards.
NfcListener
Callback for long-running tag-discovery sessions registered via `Nfc.addTagListener(NfcListener)`.
NfcReadOptions
Configures a single call to `Nfc.readTag(NfcReadOptions)` or `Nfc.addTagListener(NfcListener)`.
NfcV
ISO 15693 (vicinity-card) technology view.
NoClassDefFoundError
Thrown if the Java Virtual Machine tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
Node
Encapsulates a Node in the scene-graph.
NodePainter
Interface for painting the content of a node in the Scene graph.
NoSuchElementException
Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
NoSuchFieldError
Thrown when the virtual machine notices that a program tries to reference, on a class or object, a field that does not exist.
NotConstraint
Negates a group of constraints, such that, if any of its child constraints is true, it returns false.
NotifiableBinding
Internal contract every generated `Binding` implementation provides so `Binders#notifyChanged(Object)` can route a model mutation to the bindings that observe it.
NotificationChannelBuilder
Builds and registers a notification channel.
NotificationPermissionCallback
Callback used to receive the outcome of a notification permission request issued via `com.codename1.ui.Display#requestNotificationPermission(NotificationPermissionCallback)`.
NotificationPermissionRequest
Describes which notification capabilities an app wants to request when calling `com.codename1.ui.Display#requestNotificationPermission(NotificationPermissionRequest, NotificationPermissionCallback)`.
NotificationPermissionResult
The result of a notification permission request delivered to a `NotificationPermissionCallback`.
NotificationPermissionResult.AuthorizationLevel
The granular authorization level returned by the platform.
NullPointerException
Thrown when an application attempts to use null in a case where an object is required.
Number
NumberFormat
NumberFormatException
Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
Numeric
Requires the component value to parse as a number, optionally within a closed range.
NumericConstraint
Forces the value to be a number potentially within specific bounds
NumericProperty<T,K>
This is the base class to all number properties, it introduces nullability and the ability to convert to all number types.
NumericSpinner
A spinner class that allows picking a number
Nutrient
A single nutrient that a `NutritionSample` can carry -- a macronutrient, a vitamin, a mineral.
NutritionSample
A logged food or meal, carrying whichever nutrients are known about it.
Oauth2
Deprecated.
Use `OidcClient` for new code.
Oauth2.RefreshTokenRequest
OAuthCalendarSource
Shared authenticated HTTP behavior for online calendar sources.
OBBViewportTransform
Orientated bounding box viewport transform
OBBViewportTransform.OBB
Object
Class Object is the root of the class hierarchy.
Objects
This is a compatibility class which supports the java.util.Objects API.
Objects
This is a compatibility class which supports the java.util.Objects API.
Observable
Observable is used to notify a group of Observer objects when a change occurs.
Observer
`Observer` is the interface to be implemented by objects that receive notification of updates on an `Observable` object.
Octal
OffsetDateTime
OidcBrowserNative
Service-provider interface that `SystemBrowser` uses to dispatch a sign-in flow through the OS's hardened sign-in surface (`ASWebAuthenticationSession` on iOS, `androidx.browser.customtabs` / `Credential Manager` on Android).
OidcCalendarTokenProvider
In-memory adapter around an application-configured `OidcClient`.
OidcCalendarTokenProvider.TokenListener
OidcClient
Modern OpenID Connect / OAuth 2.0 client.
OidcConfiguration
The subset of an OpenID Connect provider's `.well-known/openid-configuration` document that `OidcClient` cares about.
OidcConfiguration.Builder
Fluent builder for `OidcConfiguration`.
OidcException
Thrown for failures during an OpenID Connect / OAuth 2.0 flow driven by `OidcClient`.
OidcTokens
The tokens returned by an OpenID Connect token endpoint, with convenience accessors for the OIDC ID token claims.
OnComplete<T>
Invoked when a process is completed, this is a generic interface designed to replace the `SuccessCallback` interface.
OnDeviceDebug
On-device debugging build hints for iOS and Android.
OnOffSwitch
The on/off switch is a checkbox of sort (although it derives container) that represents its state as a switch each of which has a short label associated with it.
OnUserEarnedRewardListener
Invoked when the user finished watching a `RewardedAd` or `RewardedInterstitialAd` and earned the configured reward.
OpenGalleryEvent
Event triggered when `int)` is called.
OpenStreetMapProvider
This is an OpenStreetMap Provider http://www.openstreetmap.org/
OrderedStack<E>
OrientationFilter
Deterministic complementary sensor-fusion filter that turns raw gyroscope, accelerometer and magnetometer readings into a device orientation quaternion.
OsrmRouteService
The keyless `RouteService` Codename One uses by default: routing over the OpenStreetMap road network through the OSRM HTTP API.
Otp
Counter-based (HOTP, RFC 4226) and time-based (TOTP, RFC 6238) one-time password generators.
OtpField
Segmented one-time-code input -- one box per digit, with a caret that walks from box to box as the code is typed.
OutOfMemoryError
Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
OutputStream
This abstract class is the superclass of all classes representing an output stream of bytes.
OutputStreamWriter
An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes.
Override
An annotation to indicate that a method is intended to override a superclass method.
PacketBuffer
One IP packet on its way through the tunnel.
Page
This class represents a Facebook Page object https://developers.facebook.com/docs/reference/api/page/
Paint
DO NOT USE.
Paint
An interface for providing custom painting such as gradients.
Paint.Align
Paint.Cap
Paint.Join
Paint.Style
Painter
`Painter` can be used to draw on components backgrounds.
PainterChain
A painter chain allows us to chain together several painters to provide a "layer" effect where each painter only draws one element.
Pair
Java note: at the "creation" of each node, a random key is given to that node, and that's what we sort from.
PairCallback
ParseException
An error occurred during parsing.
ParseException
An error occurred during parsing.
ParserCallback
A callback used to dispatch errors encountered while parsing XML resources
PATCH
HTTP `PATCH` request.
Path
Binds an interface method parameter to a `{name}` placeholder in the URL path declared on the verb annotation.
PathIterator
This interface provides a directed path over the boundary of a shape.
PathMeasure
Payload
Something to send to a connected endpoint: either a block of bytes or a file.
PayloadStatus
Where a payload transfer got to, carried by `PayloadTransferUpdate`.
PayloadTransferUpdate
Progress on one payload, delivered to `TransportListener.payloadProgress(Endpoint, PayloadTransferUpdate)`.
PeerComponent
A peer component is essentially a "dummy" Codename One component used to calculate the position of the actual native platform specific component.
PendingPurchaseCallback
Callback interface that the main class may implement to be notified of pending purchases.
Period
PerspectiveCamera
PhoneNumberField
A phone number entry field: a country selector holding the calling code and a field for the rest of the number, producing one E.164 string.
PhoneNumberField.Country
A country and its E.164 calling code.
PhoneVerification
The two stages of verifying that a user holds a phone number: enter the number, then enter the code that arrives by SMS.
PhoneVerification.CodeSender
Asks the application's server to send a code to a number.
PhoneVerification.CodeVerifier
Asks the application's server whether a code matches a number.
PhoneVerification.Response
The application's answer to one request.
Photo
This class represents a Facebook Photo Object http://developers.facebook.com/docs/reference/api/photo/
PhotoCaptureOptions
Per-capture options for `CameraSession#takePhoto(PhotoCaptureOptions)`.
PhysicsBody
A rigid body in a `PhysicsWorld`, wrapping a shaded Box2D body.
PhysicsContact
A contact between two bodies, passed to a `ContactListener`.
PhysicsJoint
A constraint that ties two `PhysicsBody` objects together (or a body to the world)
PhysicsLinkable
Implemented by anything a `PhysicsBody` can drive -- typically a `com.codename1.gaming.Sprite`.
PhysicsWorld
A 2D rigid body physics world, wrapping a shaded Box2D (JBox2D) simulation in an idiomatic Codename One API.
Picker
`Picker` is a component and API that allows either popping up a spinner or using the native picker API when applicable.
Picker.DateGetter
Functional interface that supplies the default `Date` to display when a date-type picker is opened without an explicit value.
Picker.LightweightPopupButtonPlacement
Placement options for custom lightweight popup buttons.
PickerComponent
A picker component similar to `com.codename1.ui.TextComponent` that adapts to native UI conventions and leverages the `com.codename1.ui.spinner.Picker` API.
PieChart
Shows each value from a `CategorySeries` as a slice of a circle.
PieMapper
PieChart Segment Selection Management.
PieSegment
Holds A PieChart Segment
PiiScrubber
Default PII scrubber for `CrashProtection` uploads.
PinSet
An immutable set of certificate pins, keyed by host, as published by the attestation service.
PkceChallenge
One PKCE pair (RFC 7636).
PlatformDefaults
Currently handles Windows, Mac OS X, and GNOME spacing.
Plugin
Interface that must be implemented by Codename One plugins.
PluginEvent<T>
Parent class for all plugin events.
PluginSupport
Support class for implementing plugins in codename one.
Point
A class to encapsulate the definition of a point.
Point
Utility class that holds x,y
Point2D
Utility class that holds x,y
Point3D
Encapsulates a point in 3D space.
PointerEvent
Immutable snapshot describing the rich detail of a pointer interaction that goes beyond the simple x/y coordinates carried by the legacy pointer callbacks.
PointLayer
Do not use this layer directly, you need to add this layer into a PointsLayer class instance in order for it to work as expected!
PointsLayer
This is a Points Layer
PointStyle
The chart point style enumerator.
Polygon
A filled, optionally stroked polygon drawn on a map.
PolygonAndCircleContact
PolygonContact
PolygonShape
A convex polygon shape.
Polyline
A connected sequence of line segments drawn on a map.
PolylineCodec
Reads and writes the encoded polyline format -- the compact ASCII representation of a coordinate sequence that virtually every directions and routing service uses for route geometry (Google Directions, OSRM, Mapbox Directions, GraphHopper, Valhalla, OpenRouteService).
PopGuard
Intercept back/pop attempts on a `Form`.
PopReason
Why a back/pop attempt is happening.
Pose
Portable body-pose result.
Pose.Landmark
One named body joint with normalized position and confidence.
PoseDetector
Locates body joints, for rep counting, form feedback, or gesture input.
PoseLandmarks
The joint names `Pose.Landmark.getName()` reports, as constants instead of literals.
Position
PositionState
Which way a window covering is moving, for `Trait.COVERING_MOTION`.
Post
This class represents a Facebook Post Object http://developers.facebook.com/docs/reference/api/post/
POST
HTTP `POST` request.
Predicate<T>
PreferenceListener
Respond to changes to the Preferences
Preferences
Simple map like class to store application and Codename One preference settings in the `com.codename1.io.Storage`.
PreferencesObject
Binds an object to the `com.codename1.io.Preferences` API for automatic persistent storage.
PresenceListener
Told when an associated device comes into or goes out of range.
Primitives
Factory helpers that build common `Mesh` primitives.
PrimitiveType
The geometric primitive a `Mesh` is assembled from.
Printer
Cross platform printing API that hands a document to the platform printing system, typically by popping up the native print dialog where the user picks a printer and options.
PrintResult
Outcome of a print request initiated through `Printer` or `Display.print(String, String, PrintResultListener)`.
PrintResultListener
Receives the outcome of a print request.
PrintStream
A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
PriorityQueue<E>
A PriorityQueue holds elements on a priority heap, which orders the elements according to their natural order or according to the comparator specified at construction time.
PrismaticJoint
A prismatic joint.
PrismaticJointDef
Prismatic joint definition.
PrivateKey
A private key -- paired with a `PublicKey` to form a key pair.
Product
Represents a product within the system
Profile
Progress
Displays a progress dialog with the ability to cancel an ongoing operation
Projection
This class represents a projection type.
Promise<T>
An implementation of Promise for use with Codename One applications.
Promise.State
Encapsulates the state of a Promise.
PromotionalOffer
A marker interface representing a promotional offer for in-app purchase.
PromptTemplate
Trivial `{placeholder}` substitution.
Properties
A `Properties` object is a `Hashtable` where the keys and values must be `String`s.
Property<T,K>
Base class for a property, it can store a generic value of any type and broadcast change events to external listeners
PropertyBase<T,K>
Base class for property types
PropertyBusinessObject
Allows mapping properties generically
PropertyChangeListener<T,K>
Event callback interface, invoked when a property changed its value
PropertyIndex
Maps the properties that are in a class/object and provides access to them so tools such as ORM can implicitly access them for us.
ProtoCodec<T>
Per-class encoder / decoder for a `@ProtoMessage` type.
ProtoCodecs
Runtime registry that wires `@ProtoMessage` classes to their build-time-generated `ProtoCodec`s.
ProtoEnum
Marks a Java `enum` as a Protocol Buffers enum.
ProtoField
Binds a `ProtoMessage` field to a protobuf field tag.
ProtoField.WireKind
Integer encoding selectors.
ProtoMessage
Marks a POJO (or Java 17+ record) as a Protocol Buffers message.
ProtoReader
Low-level protobuf wire-format reader used by generated `ProtoCodec` implementations.
ProtoReader.PackedReader<T>
Strategy hook for `ProtoReader.readPacked(List, ProtoReader.PackedReader)`.
ProtoWriter
Low-level protobuf wire-format writer used by generated `ProtoCodec` implementations.
ProxyHttpTile
This Tile brings the tile image from a given http url.
PublicKey
A public key -- paired with a `PrivateKey` to form a key pair.
PublicKeyCredential
The authenticator's response to a passkey ceremony -- either a registration (`type=public-key`, `response.attestationObject` present) or an assertion (`response.signature` + `response.authenticatorData` present).
PublicKeyCredentialCreationOptions
W3C `PublicKeyCredentialCreationOptionsJSON` -- the options blob your relying-party server sends to start a passkey registration ceremony.
PublicKeyCredentialCreationOptions.Builder
Fluent builder for `PublicKeyCredentialCreationOptions`.
PublicKeyCredentialRequestOptions
W3C `PublicKeyCredentialRequestOptionsJSON` -- the options blob your relying-party server sends to start a passkey sign-in (assertion) ceremony.
PublicKeyCredentialRequestOptions.Builder
Fluent builder for the rare case of synthesising the options client-side (e.g. unit tests).
PulleyJoint
The pulley joint is connected to two bodies and two fixed ground points.
PulleyJointDef
Pulley joint definition.
Purchase
Represents the status of in-app-purchase goods, this class provides information about products purchased by a user as well as the ability to purchase additional products.
PurchaseCallback
Callback interface that the main class must implement in order for in-app-purchasing to work.
PureEditor
The pure Codename One editor backend.
Push
Utility class for sending a push message to a different device through the Codename One push servers.
PushAction
Encapsulates a push notification action.
PushActionCategory
Encapsulates a category for push notifications.
PushActionsProvider
This callback interface is invoked when a push notification with a "category" is received by the application.
PushBuilder
A convenience class for building a push notification Payload.
PushCallback
This callback interface is invoked when a push notification is received by the application.
PushClient
Owns push registration and delivers typed push events to an application.
PushClient.Builder
Configures a `PushClient`.
PushContent
Encapsulates the content of a Push message.
PushedCall
A call that is already ringing when the app finds out about it.
PushError
Describes a push registration or envelope-processing error.
PushListener
Receives registration, message, and error events from a `PushClient`.
PushMessage
Immutable typed push message used by clients and sending code.
PushMessage.Builder
Builds an immutable `PushMessage`.
PushRegistrationSink
Mirrors native subscription changes to an application-owned server.
PushSubscription
Immutable native registration produced by a push transport.
PushTransport
Low-level native push integration for a CN1Lib or private provider.
PushTransport.Callback
Receives events emitted by a custom transport.
PUT
HTTP `PUT` request.
QuantitySample
A numeric measurement with a unit -- the most common kind of health sample.
Quaternion
Portable quaternion math used by the 3D, AR and VR APIs.
Query
Declares a `GraphQLClient` method as a GraphQL query.
Query
Binds an interface method parameter to a URL query-string entry.
QueryCallback
Callback class for AABB queries.
Queue<E>
This kind of collection provides advanced operations compared to basic collections, such as insertion, extraction, and inspection.
RadarChart
Draws multi-dimensional data as a web chart (also known as a radar or spider chart).
RadialGradient
Multi-stop radial gradient with CSS shape / extent / center / radius support.
RadioButton
RadioButton is a `Button` that maintains a selection state exclusively within a specific `ButtonGroup`.
RadioButtonList
A list of Radio buttons that can be managed as a single component.
Random
An instance of this class is used to generate a stream of pseudorandom numbers.
RandomAccess
RandomAccess is implemented by `List` implementations that support fast (usually constant time) random access.
RangeBarChart
Extends `BarChart` to support values that represent ranges rather than single points.
RangeCategorySeries
A series for the range category charts like the range bar.
RangeStackedBarChart
Ranging
Precision ranging: how far away another device is, and in which direction.
RangingAdapter
A `RangingListener` whose methods all do nothing, so a caller interested in one event overrides one method.
RangingCapabilities
What the current device can actually measure.
RangingListener
Receives everything a `RangingSession` has to say.
RangingRemovalReason
Why a peer stopped being ranged, delivered to `RangingListener.peerRemoved(RangingRemovalReason)`.
RangingRole
Which end of a UWB session this device is.
RangingSession
One ranging conversation with one peer or accessory, obtained from `Ranging.prepareSession(RangingRole)`.
RangingToken
The handle one device publishes so another can range against it.
RangingUnit
The unit a distance is read in.
RangingUpdate
One measurement of where the peer is, delivered to `RangingListener.updated(RangingUpdate)` on the EDT.
RasterTileSource
A networked raster (image) XYZ tile source.
RayCastCallback
Callback class for ray casts.
RayCastInput
Ray-cast input data.
RayCastOutput
Ray-cast output data.
RaycastResult
RE
RE is an efficient, lightweight regular expression evaluator/matcher class.
Reader
Abstract class for reading character streams.
ReaderCharacterIterator
Encapsulates java.io.Reader as CharacterIterator
Receipt
Encapsulates a receipt for an in-app purchase.
ReceiptStore
Interface that can be implemented to provide store of receipts.
RECharacter
RecognitionCallback
Listener for `SpeechRecognizer` results.
RecognitionCallback.Adapter
No-op adapter.
RecognitionOptions
Tuning knobs for `SpeechRecognizer`.
RECompiler
A regular expression compiler class.
Record
Base class for Java record types.
RecordingMethod
How a sample came to exist.
Rectangle
Represents a Rectangle position (x, y) and `Dimension` (width, height), this is useful for measuring coordinates within the application.
Rectangle2D
Represents a Rectangle position (x, y) and `Dimension` (width, height), this is useful for measuring coordinates within the application.
REDebugCompiler
A subclass of RECompiler which can dump a regular expression program for debugging purposes.
Reference
Abstract base class for reference objects.
Regex
Requires the component value to match a regular expression.
RegexConstraint
Creates a validation constraint based on a regular expression
Region
A loadable area of a large world: its own streaming `Terrain`, placed `GameElement`s and a world-space origin (`#getOriginX()`,`#getOriginZ()` in tile units). Regions are linked to neighbours by named edges (`#link(String,String)`, e.g. "east" -> "desert-2"), so a `GameWorld` can stream the adjacent regions in and out for seamless transitions as the player crosses a boundary.
RegionProvider
Loads and persists `Region`s by id for a `GameWorld`, so a world larger than memory can page whole areas in and out as the player roams.
ReleasableComponent
An Interface that any Component that could be released from the parent Form can implement.
RemoteControlListener
A base class that is meant to be overridden to implement functionality that responds to the device's remote control for media playback.
Renderer
Application supplied callback that drives the contents of a `RenderView`.
RenderState
Fixed function pipeline state attached to a `Material`: depth testing, alpha blending and face culling.
RenderState.BlendMode
The alpha blending mode applied when a fragment is written.
RenderState.CullMode
Which triangle faces are discarded before rasterization.
RenderView
A Codename One component that hosts a hardware accelerated 3D rendering surface and drives an application supplied `Renderer`.
ReplaceableImage
Allows the image data to be replaced at runtime when a different image is available.
REProgram
A class that holds compiled regular expressions.
RequestBuilder
This class is used to build, invoke the http request and to get the http response
Required
Marks a `@Bind` field whose component must hold a non-empty value.
Resources
Loads resources from the binary resource file generated by the Codename One Designer.
Response<T>
The http Response class
ResponseFormat
Constrains the model's output format.
Rest
This class is used to create the Http RequestBuilder(get/post/head/options/delete/put)
RestClient
Marks an interface as a REST client that the build-time annotation processor wires up to a generated network implementation.
RestClients
Runtime registry that wires `@RestClient`-annotated interfaces to the build-time-generated implementations.
RestClients.Factory<T>
Factory the generated bootstrap registers per API interface.
RestoreCallback
Callback interface that the main class must implement in order for the restore option of in-app-purchasing to work.
RestStateRelay
A `StateRelay` over your own HTTPS endpoint, which is all most applications need.
Result
An evaluator for a very small expression language to extract primitive types from structured information.
RESyntaxException
Exception thrown to indicate a syntax error in a regular expression.
Retention
RetentionPolicy
A mirror of java.lang.annotation.RetentionPolicy.
RetryPolicy
Decides whether and how long to wait before retrying a failed `LlmClient` call.
REUtil
This is a class that contains utility helper methods for this package.
RevoluteJoint
A revolute joint constrains two bodies to share a common point while they are free to rotate about the point.
RevoluteJointDef
Revolute joint definition.
RewardedAd
An opt-in full screen ad that grants the user a reward for watching it to completion.
RewardedInterstitialAd
A rewarded interstitial: a full screen ad shown at a transition that can grant a reward but, unlike `RewardedAd`, is not strictly opt-in.
RewardItem
The reward earned by a user who finished watching a `RewardedAd` or `RewardedInterstitialAd`.
RfcommConnection
An open RFCOMM (Serial Port Profile style) stream connection to a classic Bluetooth device, obtained via `BluetoothClassic.connect(BluetoothDevice, BluetoothUuid, boolean)` or accepted from an `RfcommServer`.
RfcommServer
A listening RFCOMM endpoint (SPP server) registered with the local SDP database via `BluetoothClassic.listen(String, BluetoothUuid, boolean)`.
RGBImage
An image that stores its data as an integer RGB array internally, this image cannot be manipulated via Graphics primitives however its array is accessible and modifiable programmatically.
RichBlocks
The per paragraph block attribute model for the pure rich text editor.
RichBlocks.BlockAttr
A single paragraph's block attributes.
RichPureEditor
The pure rich text editor backend.
RichRunPainter
Shared inline-run styling primitive for the rich text subsystem: it turns a `TextStyle` plus a paragraph block type into a concrete pixel size and derived `Font`, and paints one styled run (foreground color, highlight background, inline-code tint, underline and strike-through decorations).
RichTextArea
A native visual editor for rich text / HTML content (a WYSIWYG editor).
RichTextClipboardData
Clipboard content with both a plain-text fallback and optional rich representations.
RichTextComponent
A read-only component that renders multi-styled, word-wrapped rich text: headings, bold / italic / underline / strike, inline code, colored and highlighted spans, per-paragraph alignment and indentation, ordered and unordered lists, block quotes, preformatted blocks, inline images and tappable hyperlinks.
RichTextComponent.ImageResolver
Resolves an image source string (as it appears in the markup, e.g.
RichTextComponent.SizeMode
Controls how the component sizes itself relative to its content.
RichTextFormat
Input formats understood by `RichTextArea`.
RichTextImporter
Parses supported rich-text interchange formats into the shared editor model.
RichTextSerializer
Serializes the native rich-text model directly to its requested interchange format.
RichView
The pure rich text editor surface.
Role
Author of a `ChatMessage`.
RopeJoint
A rope joint enforces a maximum distance between two points on two bodies.
RopeJointDef
Rope joint definition.
Rot
Represents a rotation
RoundBorder
A border that can either be a circle or a circular rectangle which is a rectangle whose sides are circles.
RoundChart
Base class for charts that render circular data representations such as pie charts, doughnut charts or gauges.
RoundRectBorder
Customizable rounded rectangle border that breaks down the border into customizable pieces.
Route
Binds a `Form` class -- or a static method that returns a `Form` -- to a URL path so the framework can show it in response to a deep link.
Route
A road-following journey returned by a `RouteService`: the geometry that traces the actual roads, how long it is, how long it takes, and the legs and turn-by-turn steps that make it up.
Route.Routes
Container annotation for binding several path patterns to the same target.
RouteCallback
Receives the outcome of a routing request.
RouteDispatcher
Internal contract between the build-time-generated route table and the framework.
RouteLeg
The portion of a `Route` between two consecutive stops.
RouteParam
Binds a constructor or static-factory parameter to a path variable or query parameter from an incoming deep link.
RouteRequest
Describes the journey to route: where it starts, where it ends, anything it must pass through on the way, and how the traveller moves.
RouteService
A backend that turns a `RouteRequest` into road-following `Route`s.
RouteStep
One maneuver of a `RouteLeg` -- "turn left onto Elm Street and continue for 300 m" -- together with the piece of road geometry it covers.
Routing
The entry point for road-following routes.
Row
The `Row` interface is returned by `com.codename1.db.Cursor#getRow()` to provide access to the content of an individual row.
RowExt
An extension of the `Row` interface to support `#wasNull()`.
Rpc
Binds a `GrpcClient` interface method to a gRPC unary RPC.
RscMeasurement
A decoded Running Speed and Cadence Measurement, characteristic `0x2A53`.
RSSReader
A List implementing an RSS reader that automatically populates itself with content from the RSS chanel.
RSSService
Simple RSS read and parse request, to handle errors just subclass this and override parsingError.
Runnable
The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
RunnableWithResult<T>
A Runnable like interface that can return a result possibly asynchronously
RunnableWithResultSync<T>
A Runnable like interface that can return a result synchronously
Runtime
Every Java application has a single instance of class Runtime that allows the application to interface with the environment in which the application is running.
RuntimeException
RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
SafetyFilter
Pre-flight gate that inspects messages before they're sent to the model.
SafeVarargs
SamplePage
One page of samples, plus the token needed to fetch the next.
SampleQuery
Describes a read against `HealthStore`.
ScaleImageButton
Button that simplifies the usage of scale to fill/fit.
ScaleImageLabel
Label that simplifies the usage of scale to fill/fit.
ScaleType
How the live preview from a `CameraView` is fitted inside its component bounds.
ScanFilter
A single scan filter -- all criteria set on one filter are AND-combined; multiple filters added to a `ScanSettings` are OR-combined.
ScanListener
Receives advertisement sightings during a scan started via `BluetoothLE.startScan(ScanSettings, ScanListener)`.
ScanMode
Power/latency trade-off of a BLE scan, mirroring Android's scan modes.
ScanResult
One advertisement sighting delivered to a `ScanListener` during a scan.
ScanResult
Deprecated!!: Please use the cn1-codescan library instead.
ScanSettings
Options for a BLE scan started via `BluetoothLE.startScan(ScanSettings, ScanListener)`.
ScatterChart
Renders discrete X/Y points without connecting lines.
Scene
A z-ordered collection of sprites with an optional camera offset.
Scene
A named set of accessory states that can be applied in one go: HomeKit's `HMActionSet`, a Google Home scene.
Scene
A scene graph.
SceneAction
One thing a `Scene` does: set one `Trait` on one `AccessoryService` to one value.
SceneType
What kind of `Scene` this is.
ScrollListener
Invoked to indicate a scroll change events
SecretKey
A symmetric secret key.
Secrets
Runtime access to the secrets your app needs (API keys such as a Google Maps key) WITHOUT shipping them inside the binary, where they are trivially extractable.
SecureRandom
Cryptographically secure random number generator.
SecureStorage
Biometric-gated secure storage backed by the platform keychain.
SecurityException
Thrown by the system to indicate a security violation.
SegmentationMask
Dense per-pixel foreground confidence mask.
SelectableIconHolder
An interface that is implemented by "selectable" components that hold icons, such as `Button`, `SpanButton`, `MultiButton`, etc...
SelectionListener
Invoked to indicate a selection change in the list model
SelfieSegmenter
Separates a person from the background, for background replacement or blur.
SensorDiscoveryListener
Receives sensors found during a scan.
SensorSampleListener
Receives measurements and state changes from a `SensorSession`.
SensorScan
A running sensor scan.
SensorScanSettings
Which sensors to look for and for how long.
SensorSession
A live connection to one health sensor, decoding its notifications into health samples.
SensorSessionOptions
How a `SensorSession` should behave: reconnection, where samples go, and how stale a cached reading may be.
SensorSessionState
The lifecycle of a `SensorSession`.
Serializable
Here to simplify porting, won't actually work...
SeriesSample
A run of measurements that share one record identity -- a beat-to-beat heart-rate trace, a cadence series.
SeriesSelection
SeriesTransition
A base class for series transitions of ChartComponent.
ServerSideVerificationOptions
Options for server side verification (SSV) of rewarded ads.
ServiceType
What one `AccessoryService` is: HomeKit's `HMService` type, Matter's device type on an endpoint.
SessionSample
A bounded activity that groups child data -- a workout, a night's sleep, a logged meal.
Set<E>
A `Set` is a data structure which does not allow duplicate elements.
SetProperty<T,K>
Base class for a property as a set which can contain multiple elements within
Settings
Global tuning constants based on MKS units and various integer maximums (vertices per shape, pairs, etc.).
SetupPayload
A Matter onboarding payload: the `MT:` string behind the QR code on an accessory, or the 11 or 21 digit code printed under it.
Shape
A shape is used for collision detection.
Shape
An interface that can be implemented by any class that wants to be drawable as a shape.
ShapeType
Types of shapes
ShareButton
The share button allows sharing a String or an image either thru the defined sharing services or thru the native OS sharing support.
SharedContent
Content shared into the app from another application via the platform share sheet (Android) or share extension / open-in flow (iOS).
SharedContent.Builder
Builder for `SharedContent`.
SharedContent.Item
A single item within a shared payload.
ShareResult
Outcome of a share request initiated through `Display.share(String)` or `ShareButton`.
ShareResultListener
Receives the outcome of a share request.
ShareService
This is an abstract sharing service.
Sheet
A light-weight dialog that slides up from the bottom of the screen on mobile devices.
ShieldConfig
Configuration for `AppShield.init(ShieldConfig)`.
ShieldEngine
The service-provider seam between the public shield API and the attestation engine that implements it.
ShieldEngineRegistry
Where the attestation engine registers itself.
ShieldException
Raised when a shield operation cannot produce a usable token, or when a request to a protected host is refused because its certificate chain matched no configured pin.
ShieldListener
Callback for shield state changes.
ShieldSignal
One runtime self-protection observation, such as "a hooking framework is loaded".
ShieldSignals
Collection point for runtime self-protection observations.
ShieldStatus
Outcome of a shield operation.
ShieldToken
A short-lived attestation token, ready to be attached to a request.
Short
The Short class is the standard wrapper for short values.
SideMenuBar
This is Menu Bar that displays it's commands on a side bar navigation similar to Google+/Facbook apps navigation
Signature
Digital signature creation and verification.
SignatureComponent
A component to allow a user to enter their signature.
Simd
Portable SIMD API with Java fallback implementations.
SimpleDateFormat
A class for parsing and formatting dates with a given pattern, compatible with the Java 6 API, as in the examples here: https://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
SimpleDateFormat
A class for parsing and formatting dates with a given pattern, compatible with the Java 6 API.
SimpleSeriesRenderer
A simple series renderer.
SimulatorHookExecutor
Cross-platform registry of named actions that the JavaSE simulator exposes.
SleepSample
A sleep session, optionally broken into `SleepStageInterval` spans.
SleepStage
One stage within a `SleepSample`.
SleepStageInterval
A contiguous span of one `SleepStage` inside a `SleepSample`.
SleepStageSupport
How much stage detail a `SleepSample` actually carries.
Slider
The slider component serves both as a slider widget to allow users to select a value on a scale via touch/arrows and also to indicate progress.
SliderBridge
Binds a `com.codename1.ui.Slider` to network progress events so it shows the progress of the current `com.codename1.io.ConnectionRequest`
SmartHome
Entry point for the Codename One smart-home API -- reading the accessories in a user's home, reading and writing what they can do, watching them for change, running scenes, and adding new Matter accessories.
SmartReply
Produces short reply suggestions for a chronological conversation without uploading its messages.
SmartReply.Session
Reusable owner of a native Smart Reply backend.
SmartReplyMessage
One message supplied to the on-device smart-reply model.
SMSShare
SMS Sharing service
Socket
Class implementing the socket API
Socket.StopListening
This interface can be invoked to stop listening on a server socket
SocketConnection
Callback for establishment of a socket connection.
SolverData
SortableTableModel
A proxy that wraps the table model providing sorting API that can be leveraged by the table
SortedMap<K,V>
A map that has its keys ordered.
SortedSet<E>
SortedSet is a Set which iterates over its elements in a sorted order.
SoundEffect
A short, reusable sound clip loaded into a `SoundPool`.
SoundPool
Plays many short, overlapping sound effects with low latency.
SoundPoolPeer
Low level service provider interface backing `com.codename1.gaming.SoundPool`.
SpanButton
A complex button similar to MultiButton that breaks lines automatically and looks like a regular button (more or less).
SpanLabel
A multi line label component that can be easily localized, this is simply based on a text area combined with a label.
SpanMultiButton
A powerful button like component that allows multiple rows/and an icon to be added every row/icon can have its own UIID.
SpeechRecognizer
On-device speech-to-text.
SplitPane
A Split Pane component.
SplitPane.Settings
An object to configure settings for a SplitPane.
Sprite
A drawable image with position, rotation, scale, tint and a normalized anchor.
SpriteRenderer
Draws a `Scene` of `Sprite`s on the GPU, implementing the `com.codename1.gpu` `com.codename1.gpu.Renderer` contract so it can be hosted in a `com.codename1.gpu.RenderView` (which `GameView` does for you).
SpriteSheet
Slices a single texture atlas image into a grid of equally sized frames.
SQLMap
A simple ORM wrapper for property objects.
SQLMap.SqlType
Stack<E>
`Stack` is a Last-In/First-Out(LIFO) data structure which represents a stack of objects.
StackTraceElement
StandardCharsets
Minimal charset constants supported by CLDC11 stubs.
StateCodec
Turns an `AppState` into the two forms it has to travel in, and refuses payloads that cannot make the trip.
StateProvider
Supplies and consumes the half of the application state the framework cannot work out for itself.
StateRelay
Carries state between devices the platform will not carry it between -- an iPhone and an Android tablet, two devices that are never in the same room, a phone and the web build.
StickyHeaderContainer
A scrollable container that pins the most recently scrolled-past section header to the top of its viewport, in the style of the iOS contacts list or sectioned material lists.
Storage
Abstracts the underlying application specific storage system, unlike the `com.codename1.io.FileSystemStorage` this class is a higher level abstraction.
StorageCalendarCache
Opt-in persistent cache backed by application `Storage`.
StorageImage
An encoded image that stores the actual data of the encoded image in storage.
StorageImageAsync
Asynchronous storage image that loads in the background and not during the paint cycle effectively not blocking the EDT drawing speed.
Stream<T>
StreamCharacterIterator
Encapsulates java.io.InputStream as CharacterIterator.
StreamingListener
Callback for `LlmClient.chatStream(ChatRequest, StreamingListener)`.
StreamingListener.Adapter
No-op default implementation.
StreamingTerrain
An unbounded `Terrain` that pages `TerrainChunk`s in and out through a `ChunkProvider`, keeping at most `#getCacheSize()` chunks resident (LRU).
StreamingTerrain.MemoryChunkProvider
A trivial in-memory provider: remembers chunks it has seen, generates empty flat-grass chunks otherwise.
String
The String class represents character strings.
StringBuffer
A string buffer implements a mutable sequence of characters.
StringBuilder
A string builder implements a mutable sequence of characters.
StringCharacterIterator
Encapsulates String as CharacterIterator.
StringConcatFactory

##### Deprecated

StringIndexOutOfBoundsException
Thrown by the charAt method in class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
StringReader
StringReader
A specialized `Reader` that reads characters from a `String` in a sequential manner.
StringTokenizer
The `StringTokenizer` class allows an application to break a string into tokens by performing code point comparison.
StringUtil
Various utility methods for manipulating strings
StringWriter
Stroke
Encapsulates the stroke used for drawing paths.
StructureChangeKind
What moved in the home, for `HomeStructureEvent`.
Style
Represents the look of a given component: colors, fonts, transparency, margin and padding & images.
StyleLayer
One rule of a `MapStyle`: it selects features from a named vector-tile source layer (optionally narrowed by a single attribute equality filter) within a zoom range, and describes how to paint them.
StyleListener
Invoked to indicate a change in a `Style` property
StyleParser
Parses Style strings into StyleInfo objects, which can be converted to Style objects at runtime.
StyleParser.BorderInfo
Encapsulates information about the border property of a style string.
StyleParser.BoxInfo
Base class for style values that consist of 4 scalar values, such as padding and margin.
StyleParser.FontInfo
Encapsulates the value of the font property in a style string.
StyleParser.ImageInfo
Encapsulates an image that is referenced by a style string.
StyleParser.MarginInfo
Encapsulates information about the padding in a style string.
StyleParser.PaddingInfo
Encapsulates information about the padding in a style string.
StyleParser.ScalarValue
Encapsulates a scalar value with a unit.
StyleParser.StyleInfo
Encapculates a style string in structured format.
Subscription
Declares a `GraphQLClient` method as a GraphQL subscription, streamed over a WebSocket using the `graphql-transport-ws` protocol.
SubscriptionRequest
Describes a standing subscription to changes in the health store.
SubscriptionRequest
Which traits to watch, and how often you are willing to hear about them.
SuccessCallback<T>
Simple interface that allows asynchronous code to perform a parameterized callback in a similar way to GWT's callback interface.
Supplier<T>
SuppressWarnings
An annotation that indicates a compiler should suppress any warnings of the type specified in the `#value()`.
SurfaceActionEvent
A user interaction with an external surface: the user tapped a node that carries an action id.
SurfaceActionHandler
Receives surface action events.
SurfaceAlignment
Nine-way alignment of a node within its parent.
SurfaceBox
A container that stacks its children on top of each other.
SurfaceBridge
The platform seam of the external surfaces framework, implemented by ports and returned from `CodenameOneImplementation.getSurfaceBridge()` (null on unsupported ports, making the whole public API an inert no-op).
SurfaceColor
A color used on an external surface.
SurfaceColumn
A container that stacks its children vertically.
SurfaceContainer
The base class of surface nodes that hold children: `SurfaceColumn`, `SurfaceRow` and `SurfaceBox`.
SurfaceDynamicText
A date-driven text node the operating system animates natively -- the headline feature for timers, delivery ETAs and elapsed-time displays: a countdown keeps ticking every second on the widget or Dynamic Island even though the app process is not running.
SurfaceFontWeight
Font weight of a surface text node.
SurfaceImage
An image node.
SurfaceNode
The base class of all surface layout nodes.
SurfaceProgress
A progress indicator node.
SurfaceRasterizer
A shared software renderer for desktop ports (the JavaSE simulator, the native Windows and Linux ports): draws a parsed surface descriptor node into a mutable Codename One `Image` using only `Graphics` primitives -- no `Container`/`Label` components and no theme dependence, so the output looks the same on every desktop surface.
SurfaceRasterizer.ActionRect
The absolute bounds of a node that carries a tap action, in pixels of the rasterized image.
SurfaceRasterizer.Result
The output of a rasterization pass: pixels, action hit rectangles and the next re-render deadline.
SurfaceRow
A container that lays its children out horizontally.
Surfaces
The static entry point for external surfaces: home-screen widgets and live activities -- the two faces of one concept, a live source of information that resides outside your app.
SurfaceSerializer
Serializes surface descriptors to the canonical wire format shared by every port: a compact JSON document plus PNG blobs named by content hash.
SurfaceSpacer
A flexible spacer that absorbs the leftover space of its parent row or column, pushing its siblings apart.
SurfaceText
A static text node.
SurfaceVector
A retained vector drawing node: a small catalog of fill/stroke/text operations recorded in paint order and replayed natively by every platform renderer (SwiftUI `Canvas` on iOS, an in-process bitmap on Android, Codename One `Graphics` on desktop).
Sweep
This describes the motion of a body/shape for TOI computation.
SwipeableContainer
`SwipeableContainer` allows us to side swipe a component and expose underlying configuration within it.
SwipeBackSupport
Allows binding a swipe listener to the form that enables the user to swipe back to the previous form.
Switch
The on/off switch is a checkbox of sort (although it derives container) that represents its state as a switch When using the Android native theme, this implementation follows the Material Design Switch guidelines: https://material.io/guidelines/components/selection-controls.html#selection-controls-radio-button
SwitchList
A list of switches.
SyncedStore
A small key/value store the platform carries between the devices one person signed in to, without them ever being in the same room.
SyncedStoreListener
Notified when the synced store changed because another of the user's devices wrote to it.
SyntaxHighlighter
A pluggable incremental syntax highlighter for `CodeEditor`.
SyntaxHighlightResult
Result of highlighting one source line, including the opaque state passed to the following line.
SyntaxToken
One highlighted source span.
System
The System class contains several useful class fields and methods.
SystemBrowser
Routes an authorization-code-flow sign-in through the system browser (`ASWebAuthenticationSession` on iOS, an Android Custom Tab on Android, the user's default browser on JavaSE / Web) and resolves with the final redirect URL once the OS hands it back.
Table
The `Table` class represents a grid of data that can be used for rendering a grid of components/labels.
TableLayout
TableLayout is a very elaborate constraint based layout manager that can arrange elements in rows/columns while defining constraints to control complex behavior such as spanning, alignment/weight etc.
TableLayout.Constraint
Represents the layout constraint for an entry within the table indicating the desired position/behavior of the component.
TableModel
The table and table model class are complimentry classes allowing the quick construction of tabular data controls.
Tabs
A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
Tag
A tag discovered by `Nfc.readTag(NfcReadOptions)` or `Nfc.addTagListener(NfcListener)`.
TagTechnology
Common surface for the low-level technology views attached to a `Tag` -- `IsoDep`, `MifareClassic`, `MifareUltralight`, `NfcA`, `NfcB`, `NfcF`, `NfcV`.
TagType
Tag technologies that a discovered `Tag` may support.
TapjackingPolicy
What the framework should do about a touch that arrives while another application's window is drawn over this app.
TarConstants
TarEntry
Target
TarHeader
Header
TarInputStream
TarOutputStream
TarUtils
TemperatureMeasurement
A decoded Temperature Measurement, characteristic `0x2A1C`.
TemporalAccessor
Tensor
Immutable named tensor passed to or returned from an inference session.
TensorInfo
Immutable metadata for one model input or output.
TensorType
Tensor element types supported by the portable LiteRT contract.
Terrain
Abstraction over a heightfield + per-cell material + placed `TerrainFeature`s addressed by world cell coordinates.
TerrainChunk
A `#SIZE`x`#SIZE` square block of terrain -- the unit of streaming.
TerrainFeature
A placed, variable-size terrain element such as a wall, ramp or platform.
TerrainGrid
A height grid for a 3D `GameLevel`: a `#getCols()` x `#getRows()` array of vertex heights spaced `#getCellSize()` world units apart.
TestReporting
Test reports can be overriden to provide custom test reporting options you can replace the test reporter on the device by sending the build argument build.testReporter='com.x.MyTestReporterClass'.
TestRunnerComponent
A UI component for running unit tests and displaying the results.
TestUtils
Various utility classes to automate UI testing
TextArea
An optionally multi-line editable region that can display text and allow a user to edit it.
TextComponent
Encapsulates a text field and label into a single component.
TextComponentPassword
TextComponent extended to automatically add mask/unmask password button near the TextField; it acts like a normal TextComponent if the Constraint is not TextArea.PASSWORD
TextField
A specialized version of `com.codename1.ui.TextArea` with some minor deviations from the original specifically:
TextHolder
An interface implemented by `Component` classes that can support setting/getting text.
TextInputClient
A low level text input client, the counterpart to a platform text input source (soft keyboard, IME, autocorrect and hardware keyboard).
TextInputConfig
Immutable configuration handed to the platform when a `TextInputClient` binds to the low level text input source (see `com.codename1.impl.CodenameOneImplementation#startTextInput`).
TextInputState
An immutable snapshot of the editing state shared between a `TextInputClient` and the platform text input source.
TextModeLayout
This is a special case layout specifically designed for `com.codename1.ui.InputComponent`.
TextPainter
A painter for painting text into a Node.
TextPart
A plain-text fragment of a `ChatMessage`.
TextRecognitionResult
OCR output containing the complete recognized text and portable block-level geometry.
TextRecognitionResult.TextBlock
One recognized text block with confidence and normalized bounds.
TextRecognizer
Reads the text in an image.
TextScript
Writing system selectors for `TextRecognizer`.
TextSelection
Text selection support for Codename One applications.
TextSelection.TextSelectionSupport
An interface that can be returned from any Component's `Component#getTextSelectionSupport()` method to provide text selection support on that component.
TextSelection.TextSelectionTrigger
Trigger types for text selection.
TextStyle
An immutable inline text style (bold / italic / underline / strike, foreground color, highlight color and relative font size) used by the pure rich text editor.
TextToSpeech
Speaks text aloud using the platform's built-in synthesizer.
Texture
A GPU texture.
Texture.Filter
The sampling filter applied when the texture is scaled.
Texture.Wrap
The texture coordinate wrapping behavior outside the 0..1 range.
TextureSource
Supplies and updates the texture rendered by a `Media360View`, enabling dynamic content such as procedural animations - and, once a platform path from media frames to GPU textures exists, 360 video.
ThemeMode
The look a build asks the platform for.
ThemePalette
The color palette for the pure code editor, mirroring the light (GitHub style) and dark (VS Code style) themes used by the previous `BrowserComponent` backend so switching backends is visually consistent.
Thread
A thread is a thread of execution in a program.
ThreadLocal<T>
ThreadLocalRandom
ThreadSafeDatabase
Confines a database and its cursors to a single thread.
Throwable
The Throwable class is the superclass of all errors and exceptions in the Java language.
Tile
This class represents a single tile on a map.
TileCallback
Asynchronous result callback for `TileSource.fetchTile(int, int, int, TileCallback)`.
TiledProvider
This is a tiled map provider
TileLayer
An efficient, single-tileset tile grid: a `#getCols()` x `#getRows()` array of frame indices into one `SpriteSheet` (-1 means "empty cell").
TileSource
Supplies tile payloads to the `VectorMapEngine` given a slippy-map `z/x/y` address.
TimeChart
Specialised `LineChart` that formats the X axis as dates or times.
TimedRecognitionCallback
Caption-aware `SpeechRecognizer` callback.
TimedRecognitionCallback.Adapter
No-op adapter.
Timeline
A timeline represents the motions of animation objects
TimeOfImpact
Class used for computing the time of impact.
TimeOfImpact.TOIInput
Input parameters for TOI
TimeOfImpact.TOIOutput
Output parameters for TimeOfImpact
TimeOfImpact.TOIOutputState
Timer
TimerTask
TimeSeries
A series for the date / time charts.
TimeSpinner
Allows selecting a time of day either in 24 hour batches or AM/PM format.
TimeStep
This is an internal structure.
TimeZone
TimeZone represents a time zone offset, and also figures out daylight savings.
ToastBar
An API to present status messages to the user in an unobtrusive manner.
Toggle
A build hint the build server reads as true or false, plus the state of not having said either.
Tokenizer
Rough best-effort token counting.
Tokenizer
A small, allocation light, stateful lexer for the pure code editor.
TokenStore
Pluggable persistence for an `OidcClient`'s tokens.
TokenStore.DefaultStorageTokenStore
The default store.
Tool
A function the model can call.
Toolbar
Toolbar replaces the default title area with a powerful abstraction that allows functionality ranging from side menus (hamburger) to title animations and any arbitrary component type.
Toolbar.BackCommandPolicy
The behavior of the back command in the title
ToolCall
A tool/function invocation produced by the model.
ToolChoice
Controls how aggressively the model will call tools.
ToolHandler
Executor backing a `Tool`.
ToolResultPart
The result of a tool invocation, sent back to the model so it can continue reasoning.
TooltipManager
Central management for tooltips, this class can be derived/customized to override the default tooltip behavior.
TopLevelContainer
The contract shared by the two things that can sit at the root of a Codename One component hierarchy: `Form`, which fills the application's main surface, and `Window`, which is a separate native operating system window on the desktop.
TouchControls
On-screen controls for touch devices: an optional analog `VirtualJoystick` plus any number of `VirtualButton`s.
Trait
One capability an accessory can have: a light's brightness, a lock's state, a sensor's reading.
TraitChangeBatch
A coalesced set of trait changes, delivered to a `HomeChangeListener` on the EDT.
TraitConstraint
What one particular accessory will actually accept for one particular `Trait`: whether it can be read or written, the range it works over, the step it moves in, and for an enum trait, which constants it can produce.
TraitReading
One trait's value at one moment, or the reason there isn't one.
TraitReadRequest
Which traits to read, and how fresh they have to be.
TraitSubscription
A live watch on a set of traits, returned by `SmartHome.subscribe(SubscriptionRequest, HomeChangeListener)`.
TraitUnit
A unit of measure for a `Trait` value.
TraitUnitDimension
What a `TraitUnit` measures.
TraitValue
One value of one `Trait`: immutable, typed, and carrying its unit.
TraitValueKind
What sort of value a `Trait` carries, and therefore which `TraitValue` getter is the one that works.
TraitWrite
One change to make: set one `Trait` on one `AccessoryService` to one value.
TraitWriteResult
What happened to one `TraitWrite`.
Transcriber
Provider-pluggable file transcriber.
TranscriptionRequest
File transcription request shared by transcription providers.
TranscriptionResult
A complete transcription: plain text plus the timed segments needed for captions.
TranscriptionSegment
One timed transcript span.
Transform
A transform contains translation and rotation.
Transform
Encapsulates a 3D transform that can be used in `com.codename1.ui.Graphics` contexts or with `com.codename1.ui.geom.Shape`s to transform in various ways.
Transform.NotInvertibleException
Transition
Represents a transition animation between two forms this class is used internally by Display to play an animation when moving from one form to the next.
Translator
Translates text on device with lazily installed language-pair models.
Translator.Session
Reusable owner of a native translation backend.
TransportAdapter
A `TransportListener` whose methods all do nothing, so a caller interested in two events overrides two methods.
TransportListener
Receives everything the nearby transport has to say.
TransportStrategy
The connection topology a transport session uses.
TravelMode
How the traveller moves, which decides the road network and speeds a `RouteService` routes over.
Tree
The `Tree` component allows constructing simple tree component hierarchies that can be expanded seamlessly with no limit.
Tree.TreeState
A marker interface used for Tree state returned from `#getTreeState()` and passed to `#setTreeState(com.codename1.ui.tree.Tree.TreeState)` for retaining state in a Tree when the model is changed.
TreeCallback
callback for `DynamicTree`
TreeMap<K,V>
TreeMap is an implementation of SortedMap.
TreeModel
Arranges tree node objects, a node can essentially be anything and it will be displayed in a hierarchy using the `com.codename1.ui.tree.Tree`
TreeRayCastCallback
callback for `DynamicTree`
TreeSet<E>
TreeSet is an implementation of SortedSet.
TtsOptions
Tuning knobs for `TextToSpeech.speak(String, TtsOptions)`.
TunnelConfiguration
What the tunnel was started with.
Tunnels
Starts and stops a packet tunnel this application implements.
TunnelSetup
What an application asks the platform to set up before its tunnel runs.
TunnelStopReason
Why a tunnel stopped.
TunnelTransport
How packets reach the tunnel, which is where the two platforms differ.
TwitterRESTService
Calls to the Twitter REST API can be performed via this class although currently support for authentication isn't implemented due to the transition to oAuth instead of basic authentication.
TxPowerLevel
Transmit power for advertising, trading range against battery.
Type
UiBinding
The binding framework can implicitly bind UI elements to properties, this allow seamless model to UI mapping.
UiBinding.BooleanConverter
Converts the source value to a Boolean.
UiBinding.BoundTableModel
Implements table model binding, this is implemented as a class to allow additional features such as adding/removing rows
UiBinding.CheckBoxRadioSelectionAdapter<PropertyType>
Adapts a `com.codename1.ui.CheckBox` or `com.codename1.ui.RadioButton` to binding
UiBinding.ComponentAdapter<PropertyType, ComponentType>
Adapters can be extended to allow any component to bind to a property via a converter
UiBinding.DateConverter
Converts the source value to a Date.
UiBinding.DoubleConverter
Converts the source value to a Double.
UiBinding.FloatConverter
Converts the source value to a Float.
UiBinding.IntegerConverter
Converts the source value to an Integer.
UiBinding.LongConverter
Converts the source value to a Long.
UiBinding.MappingConverter
Maps values to other values for conversion in a similar way to a Map this is pretty useful for API's like picker where we have a list of Strings and we might want a list of other objects to match every string
UiBinding.ObjectConverter
Object converter can convert an object from one type to another e.g.
UiBinding.PickerAdapter<PropertyType>
Adapts a `com.codename1.ui.spinner.Picker` to binding
UiBinding.RadioListAdapter<PropertyType>
Adapts a set of `com.codename1.ui.RadioButton` to a selection within a list of values
UiBinding.StringConverter
Converts the source value to a String.
UiBinding.TextAreaAdapter<PropertyType>
Adapts a `com.codename1.ui.TextArea` (and it's subclass `com.codename1.ui.TextField` to binding
UiBinding.TextComponentAdapter<PropertyType>
Adapts a `com.codename1.ui.TextComponent` to binding
UIBuilder
The UI builder can create a user interface based on the UI designed in the resource editor and allows us to bind to said UI.
UIFragment
Encapsulates an XML or JSON template for a UI component hierarchy.
UIFragment.ComponentFactory
A factory for converting XML elements to Components.
UIFragment.DefaultComponentFactory
Default component factory that is used in templates.
UIManager
Central point singleton managing the look of the application, this class allows us to customize the styles (themes) as well as the look instance.
UITimer
Simple timer callback that is invoked on the CodenameOne EDT thread rather than on a separate thread.
UnaryOperator<T>
UndoManager
A compact undo / redo stack for the pure editors.
UnitConverter
UnitTest
A Codename One unit test interface, you would normally like to derive from AbstractTest which is less verbose and contains many helper methods.
UnitValue
UnsupportedEncodingException
The Character Encoding is not supported.
UnsupportedOperationException
URI
An implementation of a Univeral Resource Identifier (URI).
URISyntaxException
Url
Requires the component value to be a syntactically valid URL (http, https, ftp, or file scheme).
URL
This class provides a similar API to `URL` making it almost into a "drop in" replacement.
URLCallback
In platforms that support opening an application via URL this interface can be implemented by the main class to support such functionality.
URLImage
`URLImage` allows us to create an image from a URL.
URLImage.ErrorCallback
Invoked in a case of an error
URLImage.ImageAdapter
Allows applying resize logic to downloaded images you can use constant resize behaviors defined in this class.
URLImage.RequestDecorator
Decorator hook applied to the `ConnectionRequest` that loads a network-backed `URLImage`.
Usage
Token accounting returned by the provider.
Usb
USB Host API.
UsbDevice
One attached USB device.
UsbDeviceListener
Callback for USB attach/detach and permission events.
UsbPlatform
Platform-supplied implementation of the USB host APIs.
User
This class represents a Facebook User objject http://developers.facebook.com/docs/reference/api/user/
UTFDataFormatException
Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
Util
Various utility methods used for HTTP/IO operations
Validate
Escape hatch for the validation annotation set: points the component at a hand-written `com.codename1.ui.validation.Constraint` implementation.
Validator
Binds validation constraints to form elements, when validation fails it can be highlighted directly on the component via an emblem or change of the UIID (to original UIID name + "Invalid" e.g. "TextFieldInvalid").
Validator.HighlightMode
Indicates the validation failure modes
Var
Binds a `GraphQLClient` method parameter to a GraphQL operation variable.
Vec2
A 2D column vector
Vec2Array
not thread safe Vec2[] pool
Vec3
Vector<E>
Vector is a variable size contiguous indexable array of objects.
VectorFeature
A single decoded feature of a Mapbox Vector Tile: its geometry type, its attribute map, and its geometry as one or more parts in tile-local coordinates (0..`VectorLayer.getExtent()`, origin top-left).
VectorLayer
A named layer of a decoded vector tile (for example `water`, `road`, `building`, `place`) holding its features and the integer extent of its local coordinate grid (4096 by default).
VectorMapEngine
The pure-Codename One map renderer behind `MapView` (and the `NativeMap` fallback).
VectorTile
A decoded Mapbox Vector Tile: an ordered collection of named `VectorLayer`s.
Velocity
VertexAttribute
Describes a single attribute (position, normal, texture coordinate, color) within a `VertexFormat`.
VertexAttribute.Usage
The semantic meaning of a vertex attribute.
VertexBuffer
Holds interleaved vertex data for a `Mesh`.
VertexFormat
An ordered, interleaved layout of `VertexAttribute`s describing how the floats of a `VertexBuffer` are grouped into vertices.
VideoCaptureConstraints
Encapsulates constraints that can be used for capturing video.
VideoCaptureConstraints.Compiler
An interface that will be implemented by the implementation.
VideoCodec
Describes a single codec made available by the underlying platform, as returned by `VideoIO#getAvailableEncoders()` and `VideoIO#getAvailableDecoders()`.
VideoFrame
A single decoded video frame produced by a `VideoReader`.
VideoIO
Low level video encoding and decoding using the platform's native codecs.
VideoReader
Decodes an existing video clip into individual RGBA frames and PCM audio.
VideoReader.FrameCallback
Callback used by `VideoReader#readFrames(float, FrameCallback)` to receive frames as they are decoded.
VideoRecording
Handle for an in-progress video recording started via `CameraSession#startVideoRecording(String)`.
VideoWriter
Encodes application supplied frames and audio into a video file using the platform's native codecs.
VideoWriterBuilder
A fluent builder describing how a video file should be encoded.
VirtualButton
An on-screen touch button.
VirtualInputDevice
Represents a virtual input device that may need to be closed/disposed, providing a way Widgets that require exclusive access to the user's input (but perhaps not all of the user interactions with the app) need to provide a way for the form to dispose of it when a new input device needs to be displayed.
VirtualJoystick
An on-screen analog stick.
VirtualMachineError
Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
VisionAnalyzer<T>
Reusable, closable on-device analyzer for still images or camera frames.
VisionBackend
Identifies a vision implementation.
VisionBackends
Vision backend selectors.
VisionCameraView<T>
A live camera preview that runs an analyzer over its frames.
VisionException
Failure reported by an on-device vision backend.
VisionFeature
Features understood by the shared vision backend.
VisionImage
Immutable input for encoded still images or raw camera pixels.
VisionMetadata
Optional backend identity and backend-specific diagnostic strings attached to a vision result.
VisionOptions
Common analyzer configuration.
VisionPipeline<T>
Connects a camera frame stream to a reusable analyzer with keep-only-latest backpressure.
VisionPipelineListener<T>
Receives live vision results and recoverable analysis failures on the EDT.
VisionPoint
Immutable point in a normalized, top-left-origin coordinate space.
VisionRect
Immutable normalized rectangle using a top-left origin.
VoiceCompletionListener
Low-level callback a `SoundPoolPeer` fires when one of its voices finishes.
VoiceListener
Notified when a voice started with `SoundPool#play(SoundEffect)` finishes playing (best effort).
Void
VoipPush
Ringing when the app is not running.
VoipPushListener
Told about calls that arrived as VoIP pushes, and about the token needed to send them.
Vpn
Installing and controlling a VPN configuration the operating system runs for you.
VpnBridge
Internal service-provider interface implemented by each platform port to carry the `com.codename1.vpn` API onto the native VPN machinery: Apple's `NEVPNManager` and `NETunnelProviderManager`, and Android's `VpnManager` and `VpnService`.
VpnError
Typed error codes carried by `VpnException`.
VpnException
Thrown through the failure path of every `AsyncResource` returned by the `com.codename1.vpn` APIs.
VpnProfile
A VPN configuration: which server, which protocol, and how to prove who you are.
VpnProtocol
The tunnelling protocol a configuration uses.
VpnStatus
Where a VPN connection is in its life.
VpnStatusListener
Told when the tunnel's state changes.
VpnTunnel
The packet loop, written once for both platforms.
VRCameraRig
Computes per-eye cameras for stereo rendering: a head position and orientation plus a `VRSettings` interpupillary distance yield a `com.codename1.gpu.Camera` per `VREye`.
VREye
Identifies which eye a `VRRenderer` frame is being rendered for.
VRRenderer
Application supplied callback that draws the scene for a `VRView`.
VRSettings
Configuration for a `VRView`.
VRView
Component that renders an application scene in virtual reality: stereo side-by-side per-eye views with sensor-fusion head tracking, built entirely on the portable `com.codename1.gpu` pipeline so it works on every platform where `Display#isGpuSupported()` is true - including the simulator.
WalletExtension
Publishes card data to the Apple Wallet issuer-provisioning extension so users can add the issuer's cards to Apple Wallet from inside the Wallet app ("From apps on your iPhone").
WalletPassEntry
A card entry published to the Apple Wallet issuer-provisioning extension through `WalletExtension`.
WAVWriter
A class that can write raw PCM data to a WAV file.
WeakHashMap<K,V>
Helper weak hash map substitute
WeakReference
This class provides support for weak references.
WearableBridge
Internal service-provider interface implemented by each platform port to carry the `com.codename1.wearable` API onto the native phone-to-watch transport (Apple's `WCSession` or Google's Wearable Data Layer).
WearableConnection
The link between a phone app and its watch app.
WearableConnection.DroppedDeliveryHandler
How a port recovers a parked delivery the cap discarded.
WearableDataListener
Notified when replicated data changes on the peer.
WearableMessage
A payload addressed to a path, used both for live messages and for replicated data.
WearableMessageListener
Notified when the peer app sends a live message.
WearableNode
A device on the other end of the link: the watch as seen from the phone, or the phone as seen from the watch.
WearableReplyHandler
Receives the answer to a message that asked for one.
WearableStateListener
Notified when the link to the peer app changes.
WebAuthnClient
Modern WebAuthn / passkey client.
WebAuthnException
Thrown for failures during a WebAuthn / passkey ceremony driven by `WebAuthnClient`.
WebAuthnNative
Service-provider interface that `WebAuthnClient` uses to dispatch a passkey ceremony through the OS's public-key credential API (`ASAuthorizationPlatformPublicKeyCredentialProvider` on iOS 16+, `androidx.credentials.CredentialManager` on Android API 28+).
WebBrowser
A simple browser view that encapsulates a usable version of HTMLComponent or BrowserComponent and automatically picks the right component for the platform preferring BrowserComponent whenever it is supported.
WebMapProvider
A cross-platform `MapProvider` that hosts a JavaScript map SDK (Google Maps JS, Azure Maps, ...) inside a `BrowserComponent`.
WebMercator
Spherical Web Mercator (EPSG:3857) helpers expressed in "world pixels" -- the slippy-map coordinate space where the whole world spans `tileSize * 2^zoom` pixels.
WebServiceProxyCall
Utility class used by the webservice proxy code to invoke server code
WebServiceProxyCall.WSDefinition
Webservice definition type, allows defining the argument values for a specific WS call
WebSocket
Client-side WebSocket.
WebSocket.BinaryHandler
Handler for an incoming binary frame.
WebSocket.CloseHandler
Handler for the close event.
WebSocket.ConnectHandler
Handler for the connection-established event.
WebSocket.ErrorHandler
Handler for transport- or protocol-level errors.
WebSocket.TextHandler
Handler for an incoming text frame.
WebSocketState
Lifecycle state of a `WebSocket`.
WeightMeasurement
A decoded Weight Measurement, characteristic `0x2A9D`.
WeldJoint
A weld joint essentially glues two bodies together.
WeldJointDef
WheelEvent
Event delivered to mouse wheel listeners when the wheel or a trackpad scroll gesture is moved.
WheelJoint
A wheel joint.
WheelJointDef
Wheel joint definition.
WidgetKind
Declares one kind of home-screen widget the app offers (an app may offer several).
WidgetSize
The size families a widget kind supports.
WidgetTimeline
The content of a widget kind: a layout descriptor plus a timeline of dated state snapshots.
WidgetTimeline.Entry
One dated state snapshot within a timeline.
WiFi
Entry point for inspecting, scanning and connecting to WiFi networks.
WiFiConnectCallback
Callback for `WiFi.connect(...)`.
WiFiDirect
WiFi Direct (Wi-Fi P2P) discovery and grouping.
WiFiDirectListener
Listener for WiFi Direct peer discovery.
WiFiDirectPeer
One peer discovered by `WiFiDirect.startDiscovery(...)`.
WifiDirectPlatform
Platform-supplied implementation of the WiFi-Direct API.
WiFiNetwork
One entry in a WiFi scan result.
WifiPlatform
Platform-supplied implementation of the WiFi APIs.
WiFiScanCallback
Callback for `WiFi.scan(...)`.
WiFiSecurity
Security mode advertised by an access point.
Window
A separate native operating system window, with its own Codename One component hierarchy inside it.
WindowEvent
Describes a change in the native window hosting the Codename One display on desktop platforms.
WindowEvent.Type
The type of window change that occurred.
WorkoutActivityType
What kind of exercise a workout records.
WorkoutConfiguration
Describes a workout about to be started.
WorkoutEvent
A marked moment inside a workout -- a lap, a segment boundary, a user-placed marker.
WorkoutEvent.Kind
What kind of moment an event marks.
WorkoutLocationType
Whether a workout happens indoors or outdoors.
WorkoutManager
Starts and tracks workout recordings.
WorkoutSample
A completed workout: what kind, how long, and the totals the platform computed for it.
WorkoutSession
A workout being recorded.
WorkoutSessionListener
Receives workout lifecycle and statistics updates.
WorkoutSessionState
The lifecycle of a `WorkoutSession`.
WorkRequest
Describes a unit of constraint-aware background work to be scheduled with `BackgroundWork#schedule(WorkRequest)`.
WorkRequest.Builder
Builder for `WorkRequest`.
World
The world class manages all physics entities, dynamic simulation, and asynchronous queries.
WorldManifold
This is used to compute the current state of a contact manifold.
Wrapper<T>
Generic object wrapper, as workaround for the issue "Local variables referenced from a lambda expression must be final or effectively final".
Writer
Abstract class for writing to character streams.
XmlAttribute
Promotes a `@Mapped` field to an XML attribute on the parent element rather than a nested child element.
XmlElement
Renames a `@Mapped` field in the XML projection.
XMLParser
Parser class used to parse an XML document into a DOM object (Element).
XmlRoot
Names the root XML element produced for a `@Mapped` class.
XmlTransient
Excludes a `@Mapped` field from the XML projection.
XMLWriter
`XMLWriter` writes an XML `com.codename1.xml.Element` into an XML string/file this allowing us to serialize previously parsed and modified XML.
XYChart
The XY chart rendering class.
XYMultipleSeriesDataset
A series that includes 0 to many XYSeries.
XYMultipleSeriesRenderer
Multiple XY series renderer.
XYMultipleSeriesRenderer.Orientation
An enum for the XY chart orientation of the X axis.
XYMultiSeriesTransition
A transition to animate the values of a MultipleSeriesDataset (used by BarChart).
XYSeries
An XY series encapsulates values for XY charts like line, time, area, scatter...
XYSeriesRenderer
A renderer for the XY type series.
XYSeriesRenderer.FillOutsideLine
A descriptor for the line fill behavior.
XYSeriesRenderer.FillOutsideLine.Type
XYSeriesTransition
A transition for enabling animations between different values in an XYSeries.
XYValueSeries
An extension of the XY series which adds a third dimension.
XYValueSeriesTransition
A transition for enabling animations between different values in an XYSeries.
ZonedDateTime
ZoneId
ZoneOffset
ZStream
Deprecated.