| Package | Description |
|---|---|
| com.codename1.components |
Generic elaborate components that make use of both UI elements and storage.
|
| com.codename1.properties |
High level property objects that allow us to replace getters/setters in business objects with more convenient
storage/parsing mappings while retaining type safety.
|
| com.codename1.testing |
This package contains everything necessary for unit tests, automation of tests and everything in between.
|
| com.codename1.ui |
Main widget package containing the component/container "composite" similar
both in terminology and design to Swing/AWT.
|
| com.codename1.ui.html |
This package is deprecated and used only for legacy support, use the WebBrowser component
from the components package.
|
| com.codename1.ui.plaf |
Look of the application can be fully customized via this package, it represents
a rendering layer that can be plugged in separately in runtime and themed to
provide any custom look.
|
| Modifier and Type | Method and Description |
|---|---|
TextArea |
SpanLabel.getTextComponent()
Returns the TextArea holding the actual text
|
TextArea |
SpanButton.getTextComponent()
Returns the TextArea holding the actual text
|
| Modifier and Type | Method and Description |
|---|---|
String |
Ads.fieldSubmitted(HTMLComponent htmlC,
TextArea ta,
String actionURL,
String id,
String value,
int type,
String errorMsg)
Deprecated.
Called whenever a field is submitted to a form.
|
static ClearableTextField |
ClearableTextField.wrap(TextArea tf)
Wraps the given text field with a UI that will allow us to clear it
|
static ClearableTextField |
ClearableTextField.wrap(TextArea tf,
float iconSize)
Wraps the given text field with a UI that will allow us to clear it
|
| Constructor and Description |
|---|
FloatingHint(TextArea tf)
Deprecated.
Wraps a text field in a floating hint
|
| Modifier and Type | Method and Description |
|---|---|
void |
UiBinding.TextAreaAdapter.assignTo(PropertyType value,
TextArea cmp) |
void |
UiBinding.bindInteger(Property<Integer,? extends Object> prop,
TextArea ta)
Deprecated.
this code was experimental we will use the more generic Adapter/bind framework
|
void |
UiBinding.TextAreaAdapter.bindListener(TextArea cmp,
ActionListener<ActionEvent> l) |
void |
UiBinding.bindString(Property<String,? extends Object> prop,
TextArea ta)
Deprecated.
this code was experimental we will use the more generic Adapter/bind framework
|
PropertyType |
UiBinding.TextAreaAdapter.getFrom(TextArea cmp) |
void |
UiBinding.TextAreaAdapter.removeListener(TextArea cmp,
ActionListener<ActionEvent> l) |
| Modifier and Type | Method and Description |
|---|---|
static TextArea |
TestUtils.findTextAreaText(String text)
Finds a component with the given name, works even with UI's that weren't created with the GUI builder
|
TextArea |
AbstractTest.findTextAreaText(String text)
This method just invokes the test utils method, it is here for convenience
|
| Modifier and Type | Class and Description |
|---|---|
class |
AutoCompleteTextField
An editable
TextField with completion suggestions
that show up in a drop down menu while the user types in text. |
class |
TextField
A specialized version of
TextArea with some minor deviations from the original
specifically: |
| Modifier and Type | Method and Description |
|---|---|
static TextArea |
TextField.create()
Default factory method
|
static TextArea |
TextField.create(int columns)
Construct text field/area depending on whether native in place editing is supported
|
static TextArea |
TextField.create(String text)
Construct text field/area depending on whether native in place editing is supported
|
static TextArea |
TextField.create(String text,
int columns)
Construct text field/area depending on whether native in place editing is supported
|
TextArea |
Form.getEditOnShow()
A text component that will receive focus and start editing immediately as the form is shown
|
| Modifier and Type | Method and Description |
|---|---|
void |
Form.setEditOnShow(TextArea editOnShow)
A text component that will receive focus and start editing immediately as the form is shown
|
| Modifier and Type | Method and Description |
|---|---|
String |
HTMLCallback.fieldSubmitted(HTMLComponent htmlC,
TextArea ta,
String actionURL,
String id,
String value,
int type,
String errorMsg)
Called whenever a field is submitted to a form.
|
String |
DefaultHTMLCallback.fieldSubmitted(HTMLComponent htmlC,
TextArea ta,
String actionURL,
String id,
String value,
int type,
String errorMsg)
{Called whenever a field is submitted to a form.}
|
| Modifier and Type | Method and Description |
|---|---|
TextSelection.Spans |
DefaultLookAndFeel.calculateTextAreaSpan(TextSelection sel,
TextArea ta)
Deprecated.
|
abstract TextSelection.Spans |
LookAndFeel.calculateTextAreaSpan(TextSelection sel,
TextArea ta)
Deprecated.
Calculates the Spans used in text selection for a given text area.
|
TextSelection.Spans |
DefaultLookAndFeel.calculateTextFieldSpan(TextSelection sel,
TextArea ta)
Deprecated.
|
abstract TextSelection.Spans |
LookAndFeel.calculateTextFieldSpan(TextSelection sel,
TextArea ta)
Deprecated.
Calculates the Spans used in text selection for a given text field.
|
void |
DefaultLookAndFeel.drawTextArea(Graphics g,
TextArea ta)
Deprecated.
Draw the given text area
|
abstract void |
LookAndFeel.drawTextArea(Graphics g,
TextArea ta)
Deprecated.
Draw the given text area
|
void |
DefaultLookAndFeel.drawTextField(Graphics g,
TextArea ta)
Deprecated.
Draws the text field without its cursor which is drawn in a separate method
input mode indication can also be drawn using this method.
|
abstract void |
LookAndFeel.drawTextField(Graphics g,
TextArea ta)
Deprecated.
Draws the text field without its cursor which is drawn in a separate method
input mode indication can also be drawn using this method.
|
void |
DefaultLookAndFeel.drawTextFieldCursor(Graphics g,
TextArea ta)
Deprecated.
Draws the cursor of the text field, blinking is handled simply by avoiding
a call to this method.
|
abstract void |
LookAndFeel.drawTextFieldCursor(Graphics g,
TextArea ta)
Deprecated.
Draws the cursor of the text field, blinking is handled simply by avoiding
a call to this method.
|
Dimension |
DefaultLookAndFeel.getTextAreaSize(TextArea ta,
boolean pref)
Deprecated.
Calculate the preferred size of the component
|
abstract Dimension |
LookAndFeel.getTextAreaSize(TextArea ta,
boolean pref)
Deprecated.
Calculate the preferred size of the component
|
Dimension |
DefaultLookAndFeel.getTextFieldPreferredSize(TextArea ta)
Deprecated.
Calculate the preferred size of the component
|
abstract Dimension |
LookAndFeel.getTextFieldPreferredSize(TextArea ta)
Deprecated.
Calculate the preferred size of the component
|
protected String |
DefaultLookAndFeel.getTextFieldString(TextArea ta)
Deprecated.
Similar to getText() but works properly with password fields
|
Copyright © 2021. All rights reserved.