| Package | Description |
|---|---|
| com.codename1.ui |
Main widget package containing the component/container "composite" similar
both in terminology and design to Swing/AWT.
|
| 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 |
|---|---|
protected TextSelection.Spans |
TextArea.calculateTextSelectionSpan(TextSelection sel)
Calculates the spans for the the given text selection.
|
protected TextSelection.Spans |
TextField.calculateTextSelectionSpan(TextSelection sel)
Calculates the spans for the the given text selection.
|
TextSelection.Spans |
TextSelection.Spans.getIntersection(Rectangle bounds,
boolean b) |
TextSelection.Spans |
TextSelection.TextSelectionSupport.getTextSelectionForBounds(TextSelection sel,
Rectangle bounds)
Gets the spans that should be selected for the given bounds.
|
TextSelection.Spans |
TextSelection.newSpans()
Creates a new Spans (a collection of Spans).
|
| Modifier and Type | Method and Description |
|---|---|
void |
TextSelection.Spans.add(TextSelection.Spans spans)
Adds all of the non-empty spans in the given spans collection to the current
spans collection.
|
| Modifier and Type | Method and Description |
|---|---|
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.calculateTextAreaSpan(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.
|
TextSelection.Spans |
DefaultLookAndFeel.calculateTextFieldSpan(TextSelection sel,
TextArea ta)
Deprecated.
|
Copyright © 2021. All rights reserved.