| Package | Description |
|---|---|
| com.codename1.impl |
The implementation package should not be used by developers, it is an internal implementation detail
which will break compatibility between major Codename One releases.
|
| 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 |
|---|---|
void |
CodenameOneImplementation.copySelectionToClipboard(TextSelection sel)
Copies the current text selection to the clipboard.
|
void |
CodenameOneImplementation.deinitializeTextSelection(TextSelection aThis)
Deinitializes text selection.
|
void |
CodenameOneImplementation.initializeTextSelection(TextSelection aThis)
Initializes text selection.
|
| Modifier and Type | Method and Description |
|---|---|
TextSelection |
Form.getTextSelection()
Gets TextSelection support for this form.
|
| 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.
|
String |
TextSelection.TextSelectionSupport.getTextForSpan(TextSelection sel,
TextSelection.Span span)
Returns the text for a given span.
|
TextSelection.Spans |
TextSelection.TextSelectionSupport.getTextSelectionForBounds(TextSelection sel,
Rectangle bounds)
Gets the spans that should be selected for the given bounds.
|
boolean |
TextSelection.TextSelectionSupport.isTextSelectionEnabled(TextSelection sel)
Checks if text selection is enabled for this component.
|
boolean |
TextSelection.TextSelectionSupport.isTextSelectionTriggerEnabled(TextSelection sel)
Checks if this component can be used to trigger a text selection.
|
TextSelection.Span |
TextSelection.TextSelectionSupport.triggerSelectionAt(TextSelection sel,
int x,
int y)
Trigger a text selection at a given point.
|
| Modifier and Type | Method and Description |
|---|---|
TextSelection.Span |
DefaultLookAndFeel.calculateLabelSpan(TextSelection sel,
Label l)
Deprecated.
|
abstract TextSelection.Span |
LookAndFeel.calculateLabelSpan(TextSelection sel,
Label l)
Deprecated.
Calculates the text selection spans for a given label
|
TextSelection.Span |
DefaultLookAndFeel.calculateSpanForLabelText(TextSelection sel,
Label l,
String text,
int x,
int y,
int textSpaceW)
Deprecated.
|
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.
|
Copyright © 2021. All rights reserved.