Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

package com.codename1.components

Generic elaborate components that make use of both UI elements and storage. These are relatively high level components such as RSS reader, IO progress indication etc.

Types

class AccordionThe Accordion ui pattern is a vertically stacked list of items.
class ActivityTimelineA list of events joined by a line: order tracking (“Placed”, “Packed”, “Out for delivery”), an activity feed or a history.
class AdsThis is an Ads Component, this Component can displays banner/text ads on a Form.
class AudioRecorderComponentA component for recording Audio from the device microphone.
class AudioWaveformThe bars of an audio clip’s loudness, with the played part in the accent colour: the waveform of a voice message, a recording or a podcast scrubber.
class ButtonListAn abstract base class for a list of buttons.
class CarouselA carousel (also called an image slider, view pager, banner rotator or onboarding pager): pages the user swipes between, with page dots under them and optional auto play.
class ChatBubbleOne row in a ChatView.
class ChatInputThe input strip at the bottom of a ChatView.
class ChatViewA scrollable, theme-aware chat surface.
class CheckBoxListA list of checkboxes.
class ChipA small rounded label for a tag, a filter or a choice: Material’s input, filter and choice chips.
class ChipInputA text field that turns each entry into a removable Chip: a tag input, a recipient field or a list of keywords.
class CircularProgressA ring that fills clockwise to show how far something has got, with the percentage (or any short text) in the middle – a “percent indicator”, “progress ring” or “donut” progress.
class ClearableTextFieldWraps a text field so it will have an X to clear its content on the right hand side
class CoachMarksCoach marks (also called a feature tour, product walkthrough, onboarding overlay, spotlight or showcase view): the screen is dimmed, one component at a time is lit through a cut-out, and a bubble next to it says what it does.
class ColorPickerPicks a colour: a saturation and brightness square over a hue strip, with a swatch and the hex value of the result, and optionally a row of preset swatches.
class EmojiPickerAn emoji keyboard: a grid of emoji by category, with a search field and a row of recently used ones.
class EmptyStateAn empty state (also called a zero state, blank slate or “no results” view): an icon, a title, a line of explanation and an optional action, centred where a list or a screen would otherwise be blank.
class ExpandableTextLong text shown as its first few lines, ending in “…”, with a “Read more” link that expands it in place and a “Show less” link that collapses it again.
class FileEncodedImageAn encoded image that stores the actual data of the encoded image in a disk file or resource and loads it only when necessary.
class FileEncodedImageAsyncThis 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.
class FileTreeSimple class showing off the filesystem as a tree component
class FileTreeModelA tree model representing the file system as a whole, notice that this class returns absolute file names which would result in an unreadable tree.
class FloatingActionButtonFloating action buttons are a material design element used to promote a special action in a Form.
class FloatingHintA floating hint is similar to a text field with a hint.
class GroupBoxA titled frame around a group of related controls.
class ImageViewerImageViewer allows zooming/panning an image and potentially flicking between multiple images within a list of images.
class InfiniteProgressShows a “Washing Machine” infinite progress indication animation, to customize the image you can either use the infiniteImage theme constant or the setAnimation method.
class InfiniteScrollAdapterAllows 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.
class InteractionDialogUnlike 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.
class InviteButtonA ShareButton that mints an invite and shares it, so the whole invite funnel is wired with one component.
class MasterDetailMaster-detail utility class simplifying the process of defining a master/detail
class MediaPlayerVideo playback component with control buttons for back, play/pause and forward buttons.
class MentionFieldA text field that suggests people (or tags, or channels) as the user types an @ mention, and completes the name when one is tapped.
class MultiButtonA powerful button like component that allows multiple rows/and an icon to be added every row/icon can have its own UIID.
class OnOffSwitchThe 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.
class OtpFieldSegmented one-time-code input – one box per digit, with a caret that walks from box to box as the code is typed.
class PageIndicatorA row of page dots (a dots indicator or pager indicator) that shows which page of a pager, carousel or onboarding flow is on screen.
class PhoneNumberFieldA 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.
class PhoneVerificationThe two stages of verifying that a user holds a phone number: enter the number, then enter the code that arrives by SMS.
class ProgressDisplays a progress dialog with the ability to cancel an ongoing operation
class RSSReaderA List implementing an RSS reader that automatically populates itself with content from the RSS chanel.
class RadioButtonListA list of Radio buttons that can be managed as a single component.
class RangeSliderA slider with two thumbs that selects a range, such as a price filter or a time window.
class ReplaceableImageAllows the image data to be replaced at runtime when a different image is available.
class ScaleImageButtonButton that simplifies the usage of scale to fill/fit.
class ScaleImageLabelLabel that simplifies the usage of scale to fill/fit.
class SeparatorA rule that divides one group of controls from the next.
class ShareButtonThe share button allows sharing a String or an image either thru the defined sharing services or thru the native OS sharing support.
class SignatureComponentA component to allow a user to enter their signature.
class SkeletonA skeleton screen placeholder (also called a shimmer loader, content placeholder or ghost element): the grey outline of content that is still loading, with a light band sweeping across it.
class SliderBridgeBinds a com.codename1.ui.Slider to network progress events so it shows the progress of the current com.codename1.io.ConnectionRequest
class SpanButtonA complex button similar to MultiButton that breaks lines automatically and looks like a regular button (more or less).
class SpanLabelA multi line label component that can be easily localized, this is simply based on a text area combined with a label.
class SpanMultiButtonA powerful button like component that allows multiple rows/and an icon to be added every row/icon can have its own UIID.
class SplitPaneA Split Pane component.
class StepperA numeric field with increment and decrement controls: NSStepper, WinUI’s NumberBox with its spin buttons, GtkSpinButton.
class StickyHeaderContainerA 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.
class StorageImageAn encoded image that stores the actual data of the encoded image in storage.
class StorageImageAsyncAsynchronous storage image that loads in the background and not during the paint cycle effectively not blocking the EDT drawing speed.
class SwitchThe 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/guidel…
class SwitchListA list of switches.
class ToastBarAn API to present status messages to the user in an unobtrusive manner.
class WebBrowserA 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.