Liking cljdoc? Tell your friends :D

javax.accessibility.AccessibleText

The AccessibleText interface should be implemented by all classes that present textual information on the display. This interface provides the standard mechanism for an assistive technology to access that text via its content, attributes, and spatial location. Applications can determine if an object supports the AccessibleText interface by first obtaining its AccessibleContext (see Accessible) and then calling the AccessibleContext.getAccessibleText() method of AccessibleContext. If the return value is not null, the object supports this interface.

The AccessibleText interface should be implemented by all
classes that present textual information on the display.  This interface
provides the standard mechanism for an assistive technology to access
that text via its content, attributes, and spatial location.
Applications can determine if an object supports the AccessibleText
interface by first obtaining its AccessibleContext (see Accessible)
and then calling the AccessibleContext.getAccessibleText() method of
AccessibleContext.  If the return value is not null, the object supports this
interface.
raw docstring

get-after-indexclj

(get-after-index this part index)

Returns the String after a given index.

part - the CHARACTER, WORD, or SENTENCE to retrieve - int index - an index within the text - int

returns: the letter, word, or sentence - java.lang.String

Returns the String after a given index.

part - the CHARACTER, WORD, or SENTENCE to retrieve - `int`
index - an index within the text - `int`

returns: the letter, word, or sentence - `java.lang.String`
raw docstring

get-at-indexclj

(get-at-index this part index)

Returns the String at a given index.

part - the CHARACTER, WORD, or SENTENCE to retrieve - int index - an index within the text - int

returns: the letter, word, or sentence - java.lang.String

Returns the String at a given index.

part - the CHARACTER, WORD, or SENTENCE to retrieve - `int`
index - an index within the text - `int`

returns: the letter, word, or sentence - `java.lang.String`
raw docstring

get-before-indexclj

(get-before-index this part index)

Returns the String before a given index.

part - the CHARACTER, WORD, or SENTENCE to retrieve - int index - an index within the text - int

returns: the letter, word, or sentence - java.lang.String

Returns the String before a given index.

part - the CHARACTER, WORD, or SENTENCE to retrieve - `int`
index - an index within the text - `int`

returns: the letter, word, or sentence - `java.lang.String`
raw docstring

get-caret-positionclj

(get-caret-position this)

Returns the zero-based offset of the caret.

Note: That to the right of the caret will have the same index value as the offset (the caret is between two characters).

returns: the zero-based offset of the caret. - int

Returns the zero-based offset of the caret.

 Note: That to the right of the caret will have the same index
 value as the offset (the caret is between two characters).

returns: the zero-based offset of the caret. - `int`
raw docstring

get-char-countclj

(get-char-count this)

Returns the number of characters (valid indicies)

returns: the number of characters - int

Returns the number of characters (valid indicies)

returns: the number of characters - `int`
raw docstring

get-character-attributeclj

(get-character-attribute this i)

Returns the AttributeSet for a given character at a given index

i - the zero-based index into the text - int

returns: the AttributeSet of the character - javax.swing.text.AttributeSet

Returns the AttributeSet for a given character at a given index

i - the zero-based index into the text - `int`

returns: the AttributeSet of the character - `javax.swing.text.AttributeSet`
raw docstring

get-character-boundsclj

(get-character-bounds this i)

Determines the bounding box of the character at the given index into the string. The bounds are returned in local coordinates. If the index is invalid an empty rectangle is returned.

i - the index into the String - int

returns: the screen coordinates of the character's bounding box, if index is invalid return an empty rectangle. - java.awt.Rectangle

Determines the bounding box of the character at the given
 index into the string.  The bounds are returned in local
 coordinates.  If the index is invalid an empty rectangle is returned.

i - the index into the String - `int`

returns: the screen coordinates of the character's bounding box,
 if index is invalid return an empty rectangle. - `java.awt.Rectangle`
raw docstring

get-index-at-pointclj

(get-index-at-point this p)

Given a point in local coordinates, return the zero-based index of the character under that Point. If the point is invalid, this method returns -1.

p - the Point in local coordinates - java.awt.Point

returns: the zero-based index of the character under Point p; if Point is invalid return -1. - int

Given a point in local coordinates, return the zero-based index
 of the character under that Point.  If the point is invalid,
 this method returns -1.

p - the Point in local coordinates - `java.awt.Point`

returns: the zero-based index of the character under Point p; if
 Point is invalid return -1. - `int`
raw docstring

get-selected-textclj

(get-selected-text this)

Returns the portion of the text that is selected.

returns: the String portion of the text that is selected - java.lang.String

Returns the portion of the text that is selected.

returns: the String portion of the text that is selected - `java.lang.String`
raw docstring

get-selection-endclj

(get-selection-end this)

Returns the end offset within the selected text. If there is no selection, but there is a caret, the start and end offsets will be the same.

returns: the index into the text of the end of the selection - int

Returns the end offset within the selected text.
 If there is no selection, but there is
 a caret, the start and end offsets will be the same.

returns: the index into the text of the end of the selection - `int`
raw docstring

get-selection-startclj

(get-selection-start this)

Returns the start offset within the selected text. If there is no selection, but there is a caret, the start and end offsets will be the same.

returns: the index into the text of the start of the selection - int

Returns the start offset within the selected text.
 If there is no selection, but there is
 a caret, the start and end offsets will be the same.

returns: the index into the text of the start of the selection - `int`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close