javax.accessibility
public interface AccessibleExtendedText
Since: 1.5
See Also: AccessibleText
Field Summary | |
---|---|
int | ATTRIBUTE_RUN
This constant indicates that the retrieved text should consist
of a run with identical attributes. |
int | LINE
This constant indicates that the retrieved text should be a
complete line. |
Method Summary | |
---|---|
Rectangle | getTextBounds(int start, int end)
Determines the bounding box of some text held by this object. |
String | getTextRange(int start, int end)
Return a range of text from the underlying object. |
AccessibleTextSequence | getTextSequenceAfter(int part, int index)
Return a text sequence from the underlying object. |
AccessibleTextSequence | getTextSequenceAt(int part, int index)
Return a text sequence from the underlying object. |
AccessibleTextSequence | getTextSequenceBefore(int part, int index)
Return a text sequence from the underlying object. |
Parameters: start the starting index end the ending index
Returns: the bounding box
See Also: AccessibleText
Parameters: start the starting index end the ending index
Parameters: part the type of the sequence to return index start of the sequence
Parameters: part the type of the sequence to return index start of the sequence
Parameters: part the type of the sequence to return index end of the sequence