| 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 | Method and Description |
|---|---|
TextSelection.Char |
TextSelection.Span.charAt(int x,
int y)
Gets the char at the given coordinate or null if there isn't a char there.
|
TextSelection.Char |
TextSelection.Spans.charAt(int x,
int y) |
TextSelection.Char |
TextSelection.Span.first()
Gets the first Char in the span, or null if span is empty.
|
TextSelection.Char |
TextSelection.Span.last()
Gets the last Char in the span, or null if the span is empty.
|
TextSelection.Char |
TextSelection.newChar(int pos,
int x,
int y,
int w,
int h)
Creates a new Char box.
|
TextSelection.Char |
TextSelection.newChar(int pos,
Rectangle bounds)
Creates a new Char box
|
TextSelection.Char |
TextSelection.Char.translate(int tx,
int ty)
Translates the Char box.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<TextSelection.Char> |
TextSelection.Span.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
TextSelection.Span.add(TextSelection.Char character)
Adds a character to the span, updating the bounds.
|
Copyright © 2023. All rights reserved.