Example usage for Java javax.accessibility AccessibleText fields, constructors, methods, implement or subclass
The text is from its open source code.
int | getCaretPosition() Returns the zero-based offset of the caret. |
String | getSelectedText() Returns the portion of the text that is selected. |