|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessibleExtendedText
This interface provides extended text functionality, similar to AccessibleText.
AccessibleText
Field Summary | |
---|---|
static int |
ATTRIBUTE_RUN
This constant indicates that the retrieved text should consist of a run with identical attributes. |
static 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. |
Field Detail |
---|
static final int LINE
static final int ATTRIBUTE_RUN
Method Detail |
---|
Rectangle getTextBounds(int start, int end)
start
- the starting indexend
- the ending index
AccessibleText.getCharacterBounds(int)
String getTextRange(int start, int end)
start
- the starting indexend
- the ending indexAccessibleTextSequence getTextSequenceAfter(int part, int index)
AccessibleText
or from this
class.
part
- the type of the sequence to returnindex
- start of the sequenceAccessibleTextSequence getTextSequenceAt(int part, int index)
AccessibleText
or from this
class.
part
- the type of the sequence to returnindex
- start of the sequenceAccessibleTextSequence getTextSequenceBefore(int part, int index)
AccessibleText
or from this
class.
part
- the type of the sequence to returnindex
- end of the sequence
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |