Package com.codename1.components


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.
  • Class
    Description
    The Accordion ui pattern is a vertically stacked list of items.
    A vertical list of events joined by a line: order tracking ("Placed", "Packed", "Out for delivery"), an activity feed or a history.
    Deprecated.
    this legacy HTML banner component targets the defunct InnerActive network.
    A component for recording Audio from the device microphone.
    Enum for tracking the recorder state.
    The 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.
    An abstract base class for a list of buttons.
    An interface that can be implemented to provide custom decoration/undecoration of the buttons as they are created/removed.
    A 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.
    One row in a ChatView.
    The input strip at the bottom of a ChatView.
    A scrollable, theme-aware chat surface.
    A list of checkboxes.
    A small rounded label for a tag, a filter or a choice: Material's input, filter and choice chips.
    A text field that turns each entry into a removable Chip: a tag input, a recipient field or a list of keywords.
    A 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.
    Wraps a text field so it will have an X to clear its content on the right hand side
    Coach 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.
    Picks 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.
    An emoji keyboard: a grid of emoji by category, with a search field and a row of recently used ones.
    An 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.
    Long 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.
    An encoded image that stores the actual data of the encoded image in a disk file or resource and loads it only when necessary.
    This class is identical to FileEncodedImage with the difference of using asynchronous loading for files (and the animation framework) which will not work for all cases (e.g. renderers) but could improve some performance/RAM aspects.
    Simple class showing off the filesystem as a tree component
    A tree model representing the file system as a whole, notice that this class returns absolute file names which would result in an unreadable tree.
    Floating action buttons are a material design element used to promote a special action in a Form.
    A floating hint is similar to a text field with a hint.
    A titled frame around a group of related controls.
    ImageViewer allows zooming/panning an image and potentially flicking between multiple images within a list of images.
    Shows a "Washing Machine" infinite progress indication animation, to customize the image you can either use the infiniteImage theme constant or the setAnimation method.
    Allows adapting a scroll container to scroll indefinitely (or at least until running out of data), this effectively works by showing an infinite progress indicator when reaching scroll end then allowing code to fetch additional components.
    Unlike a regular dialog the interaction dialog only looks like a dialog, it resides in the layered pane and can be used to implement features where interaction with the background form is still required.
    A ShareButton that mints an invite and shares it, so the whole invite funnel is wired with one component.
    Master-detail utility class simplifying the process of defining a master/detail
    Video playback component with control buttons for back, play/pause and forward buttons.
    A text field that suggests people (or tags, or channels) as the user types an @ mention, and completes the name when one is tapped.
    A powerful button like component that allows multiple rows/and an icon to be added every row/icon can have its own UIID.
    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.
    Segmented one-time-code input -- one box per digit, with a caret that walks from box to box as the code is typed.
    A row of page dots (a dots indicator or pager indicator) that shows which page of a pager, carousel or onboarding flow is on screen.
    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.
    A country and its E.164 calling code.
    The two stages of verifying that a user holds a phone number: enter the number, then enter the code that arrives by SMS.
    Asks the application's server to send a code to a number.
    Asks the application's server whether a code matches a number.
    The application's answer to one request.
    Displays a progress dialog with the ability to cancel an ongoing operation
    A list of Radio buttons that can be managed as a single component.
    A slider with two thumbs that selects a range, such as a price filter or a time window.
    Allows the image data to be replaced at runtime when a different image is available.
    A List implementing an RSS reader that automatically populates itself with content from the RSS chanel.
    Button that simplifies the usage of scale to fill/fit.
    Label that simplifies the usage of scale to fill/fit.
    A rule that divides one group of controls from the next.
    The share button allows sharing a String or an image either thru the defined sharing services or thru the native OS sharing support.
    A component to allow a user to enter their signature.
    A 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.
    Binds a com.codename1.ui.Slider to network progress events so it shows the progress of the current com.codename1.io.ConnectionRequest
    A complex button similar to MultiButton that breaks lines automatically and looks like a regular button (more or less).
    A multi line label component that can be easily localized, this is simply based on a text area combined with a label.
    A powerful button like component that allows multiple rows/and an icon to be added every row/icon can have its own UIID.
    A Split Pane component.
    An object to configure settings for a SplitPane.
    A numeric field with increment and decrement controls: NSStepper, WinUI's NumberBox with its spin buttons, GtkSpinButton.
    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.
    An encoded image that stores the actual data of the encoded image in storage.
    Asynchronous storage image that loads in the background and not during the paint cycle effectively not blocking the EDT drawing speed.
    The on/off switch is a checkbox of sort (although it derives container) that represents its state as a switch When using the Android native theme, this implementation follows the Material Design Switch guidelines: https://material.io/guidelines/components/selection-controls.html#selection-controls-radio-button
    A list of switches.
    An API to present status messages to the user in an unobtrusive manner.
    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.