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 b) it may not be possible to represent selected text as a single String for large models.
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final RichTextArea | |
| private final StyledTextModel. | |
| private RTAccessibilityHelper. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Integer | |
| private Integer | |
| public String | |
| public void | |
| private void | |
| private boolean | |
| public void | |
| private RTAccessibilityHelper. | |
| public Integer | |
| public Integer | |
| private boolean | |
| public void |
| control | back to summary |
|---|---|
| private final RichTextArea control | |
| modelListener | back to summary |
|---|---|
| private final StyledTextModel. | |
| segment | back to summary |
|---|---|
| private RTAccessibilityHelper. | |
| RTAccessibilityHelper | back to summary |
|---|---|
| public RTAccessibilityHelper(RichTextArea t) | |
| caretOffset | back to summary |
|---|---|
| public Integer caretOffset() | |
| computeOffset | back to summary |
|---|---|
| private Integer computeOffset(TextPos p) | |
| getText | back to summary |
|---|---|
| public String getText() | |
| handleModelChange | back to summary |
|---|---|
| public void handleModelChange() | |
| handleSelectionChange | back to summary |
|---|---|
| private void handleSelectionChange(SelectionSegment old, SelectionSegment cur) | |
| isAccSegmentAffected | back to summary |
|---|---|
| private boolean isAccSegmentAffected(TextPos start, TextPos end) | |
| registerModel | back to summary |
|---|---|
| public void registerModel(StyledTextModel m) | |
| segment | back to summary |
|---|---|
| private RTAccessibilityHelper. | |
| selectionEnd | back to summary |
|---|---|
| public Integer selectionEnd() | |
| selectionStart | back to summary |
|---|---|
| public Integer selectionStart() | |
| shouldUpdateTextAttribute | back to summary |
|---|---|
| private boolean shouldUpdateTextAttribute(SelectionSegment sel) | |
| unregisterModel | back to summary |
|---|---|
| public void unregisterModel(StyledTextModel m) | |
| Modifier and Type | Field and Description |
|---|---|
| private final TextPos | |
| private final TextPos | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| end | back to summary |
|---|---|
| private final TextPos end | |
| start | back to summary |
|---|---|
| private final TextPos start | |
| text | back to summary |
|---|---|
| private String text | |
| AccessibilitySegment | back to summary |
|---|---|
| public AccessibilitySegment(TextPos start, TextPos end) | |
| computeOffset | back to summary |
|---|---|
| private Integer computeOffset(TextPos p) | |
| isAffected | back to summary |
|---|---|
| public boolean isAffected(TextPos updStart, TextPos updEnd) | |
| text | back to summary |
|---|---|
| public String text() | |