| Package | Description |
|---|---|
| com.codename1.ui |
Main widget package containing the component/container "composite" similar
both in terminology and design to Swing/AWT.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AutoCompleteTextComponent
A
TextComponent version of AutoCompleteTextField
This component was contributed here https://github.com/codenameone/CodenameOne/issues/2705 |
class |
PickerComponent
A picker component similar to
TextComponent that adapts to native UI
conventions and leverages the Picker API. |
class |
TextComponent
Encapsulates a text field and label into a single component.
|
class |
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
|
| Modifier and Type | Method and Description |
|---|---|
InputComponent |
InputComponent.action(char icon)
Sets the icon for the action button
|
InputComponent |
InputComponent.actionAsButton(boolean asButton)
Indicates the action should behave as a button next to the component
and not layered on top of the text component.
|
InputComponent |
InputComponent.actionClick(ActionListener c)
Binds an event for the action button
|
InputComponent |
InputComponent.actionText(String text)
Provides the text of the action button
|
InputComponent |
InputComponent.actionUIID(String uiid)
Sets the UIID for the action button
|
InputComponent |
InputComponent.descriptionMessage(String descriptionMessage)
Sets the text of the description label which currently only applies in the onTop mode.
|
InputComponent |
InputComponent.errorMessage(String errorMessage)
Sets the text of the error label
|
InputComponent |
InputComponent.label(String text)
Sets the text of the label
|
InputComponent |
InputComponent.onTopMode(boolean onTopMode)
Sets the on top mode which places the label above the text when true.
|
Copyright © 2021. All rights reserved.