|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAccessibleTextElement
Interface for exposing accessibility-related properties of text components to the validation engine.
IAccessibleElement2
Method Summary | |
---|---|
Object |
getAttributes(long offset)
get the attributes at the specified offset of the text |
long |
getCaretOffset()
get the offset of the caret for the accessible text object |
String |
getSelectedText(long index)
get the text of the selected object |
long |
getSelectedTextEnd(long index)
get the ending index of the selected text |
long |
getSelectedTextStart(long index)
get the starting index of the selected text |
long |
getSelectionCount()
get number of active non-contiguous selections |
String |
getText()
get the text for the accessible text object |
Method Detail |
---|
String getText() throws InvalidComponentException
InvalidComponentException
long getCaretOffset() throws InvalidComponentException
InvalidComponentException
Object getAttributes(long offset) throws InvalidComponentException
offset
- zero index of caret offset
InvalidComponentException
long getSelectionCount() throws InvalidComponentException
InvalidComponentException
String getSelectedText(long index) throws InvalidComponentException
index
- zero index of selected text objects
InvalidComponentException
long getSelectedTextStart(long index) throws InvalidComponentException
index
- zero index of selected text objects
InvalidComponentException
long getSelectedTextEnd(long index) throws InvalidComponentException
index
- zero index of selected text objects
InvalidComponentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |