These APIs generally accept a single String and integer offsets for caret position and selection, which is totally impossible to implement in the context of a large virtualized text model, as it a) uses TextPos for encapsulating the text position instead of an int, and it may not be possible to represent selected text as a String for large models.
| Modifier and Type | Field and Description |
|---|---|
| private final RichTextArea | |
| private TextPos | |
| private TextPos |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Integer | |
| private Integer | |
| private void | |
| public String | |
| public void | |
| public boolean | Returns: true if a11y window has shifted and TEXT attribute needs to be sent to the platformHandles selection changes. |
| public boolean | |
| private boolean | |
| private void | |
| public Integer | |
| public Integer |
| control | back to summary |
|---|---|
| private final RichTextArea control | |
| end | back to summary |
|---|---|
| private TextPos end | |
| start | back to summary |
|---|---|
| private TextPos start | |
| RTAccessibilityHelper | back to summary |
|---|---|
| public RTAccessibilityHelper(RichTextArea t) | |
| caretOffset | back to summary |
|---|---|
| public Integer caretOffset() | |
| computeOffset | back to summary |
|---|---|
| private Integer computeOffset(TextPos p) | |
| createWindow | back to summary |
|---|---|
| private void createWindow() | |
| getText | back to summary |
|---|---|
| public String getText() | |
| handleModelChange | back to summary |
|---|---|
| public void handleModelChange() clear a11y cache | |
| handleSelectionChange | back to summary |
|---|---|
| public boolean handleSelectionChange(SelectionSegment sel) Handles selection changes.
| |
| handleTextUpdate | back to summary |
|---|---|
| public boolean handleTextUpdate(TextPos p0, TextPos p1) returns true if update is within the a11y window | |
| isOutside | back to summary |
|---|---|
| private boolean isOutside(TextPos p0, TextPos p1) | |
| p | back to summary |
|---|---|
| private void p(String fmt, Object... args) | |
| selectionEnd | back to summary |
|---|---|
| public Integer selectionEnd() | |
| selectionStart | back to summary |
|---|---|
| public Integer selectionStart() | |