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.
-
ClassDescriptionThe
Accordionui pattern is a vertically stacked list of items.This is an Ads Component, this Component can displays banner/text ads on a Form.A component for recording Audio from the device microphone.Enum for tracking the recorder state.An abstract base class for a list of buttons.ButtonList.Decorator<M, V extends Component>An interface that can be implemented to provide custom decoration/undecoration of the buttons as they are created/removed.A list of checkboxes.Wraps a text field so it will have an X to clear its content on the right hand sideAn 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 componentA 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.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 thesetAnimationmethod.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.Master-detail utility class simplifying the process of defining a master/detailVideo playback component with control buttons for back, play/pause and forward buttons.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.Displays a progress dialog with the ability to cancel an ongoing operationA list of Radio buttons that can be managed as a single component.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.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.Binds acom.codename1.ui.Sliderto network progress events so it shows the progress of the currentcom.codename1.io.ConnectionRequestA 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.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-buttonA 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.