The AccessibleExtendedText interface contains additional methods not provided by the AccessibleText interface
Applications can determine if an object supports the AccessibleExtendedText interface by first obtaining its AccessibleContext (see Accessible) and then calling the AccessibleContext.getAccessibleText() method of AccessibleContext. If the return value is an instance of AccessibleExtendedText, the object supports this interface.
The AccessibleExtendedText interface contains additional methods not provided by the AccessibleText interface Applications can determine if an object supports the AccessibleExtendedText interface by first obtaining its AccessibleContext (see Accessible) and then calling the AccessibleContext.getAccessibleText() method of AccessibleContext. If the return value is an instance of AccessibleExtendedText, the object supports this interface.
(get-text-bounds this start-index end-index)
Returns the bounding rectangle of the text between two indices.
start-index - the start index in the text - int
end-index - the end index in the text - int
returns: the bounding rectangle of the text if the indices are valid.
Otherwise, null is returned. - java.awt.Rectangle
Returns the bounding rectangle of the text between two indices. start-index - the start index in the text - `int` end-index - the end index in the text - `int` returns: the bounding rectangle of the text if the indices are valid. Otherwise, null is returned. - `java.awt.Rectangle`
(get-text-range this start-index end-index)
Returns the text between two indices
start-index - the start index in the text - int
end-index - the end index in the text - int
returns: the text string if the indices are valid.
Otherwise, null is returned. - java.lang.String
Returns the text between two indices start-index - the start index in the text - `int` end-index - the end index in the text - `int` returns: the text string if the indices are valid. Otherwise, null is returned. - `java.lang.String`
(get-text-sequence-after this part index)
Returns the AccessibleTextSequence after a given index.
part - the CHARACTER, WORD, SENTENCE, LINE or ATTRIBUTE_RUN to retrieve - int
index - an index within the text - int
returns: an AccessibleTextSequence specifying the text
if part and index are valid. Otherwise, null is returned. - javax.accessibility.AccessibleTextSequence
Returns the AccessibleTextSequence after a given index. part - the CHARACTER, WORD, SENTENCE, LINE or ATTRIBUTE_RUN to retrieve - `int` index - an index within the text - `int` returns: an AccessibleTextSequence specifying the text if part and index are valid. Otherwise, null is returned. - `javax.accessibility.AccessibleTextSequence`
(get-text-sequence-at this part index)
Returns the AccessibleTextSequence at a given index.
part - the CHARACTER, WORD, SENTENCE, LINE or ATTRIBUTE_RUN to retrieve - int
index - an index within the text - int
returns: an AccessibleTextSequence specifying the text
if part and index are valid. Otherwise, null is returned. - javax.accessibility.AccessibleTextSequence
Returns the AccessibleTextSequence at a given index. part - the CHARACTER, WORD, SENTENCE, LINE or ATTRIBUTE_RUN to retrieve - `int` index - an index within the text - `int` returns: an AccessibleTextSequence specifying the text if part and index are valid. Otherwise, null is returned. - `javax.accessibility.AccessibleTextSequence`
(get-text-sequence-before this part index)
Returns the AccessibleTextSequence before a given index.
part - the CHARACTER, WORD, SENTENCE, LINE or ATTRIBUTE_RUN to retrieve - int
index - an index within the text - int
returns: an AccessibleTextSequence specifying the text
if part and index are valid. Otherwise, null is returned. - javax.accessibility.AccessibleTextSequence
Returns the AccessibleTextSequence before a given index. part - the CHARACTER, WORD, SENTENCE, LINE or ATTRIBUTE_RUN to retrieve - `int` index - an index within the text - `int` returns: an AccessibleTextSequence specifying the text if part and index are valid. Otherwise, null is returned. - `javax.accessibility.AccessibleTextSequence`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close