Liking cljdoc? Tell your friends :D

javax.accessibility.AccessibleEditableText

The AccessibleEditableText interface should be implemented by all classes that present editable textual information on the display. Along with the AccessibleText interface, 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 AccessibleEditableText interface by first obtaining its AccessibleContext (see Accessible) and then calling the AccessibleContext.getAccessibleEditableText() method of AccessibleContext. If the return value is not null, the object supports this interface.

The AccessibleEditableText interface should be implemented by all
classes that present editable textual information on the display.
Along with the AccessibleText interface, 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 AccessibleEditableText
interface by first obtaining its AccessibleContext (see Accessible)
and then calling the AccessibleContext.getAccessibleEditableText()
method of AccessibleContext.  If the return value is not null, the object
supports this interface.
raw docstring

cutclj

(cut this start-index end-index)

Cuts the text between two indices into the system clipboard.

start-index - the starting index in the text - int end-index - the ending index in the text - int

Cuts the text between two indices into the system clipboard.

start-index - the starting index in the text - `int`
end-index - the ending index in the text - `int`
raw docstring

deleteclj

(delete this start-index end-index)

Deletes the text between two indices

start-index - the starting index in the text - int end-index - the ending index in the text - int

Deletes the text between two indices

start-index - the starting index in the text - `int`
end-index - the ending index in the text - `int`
raw docstring

get-text-rangeclj

(get-text-range this start-index end-index)

Returns the text string between two indices.

start-index - the starting index in the text - int end-index - the ending index in the text - int

returns: the text string between the indices - java.lang.String

Returns the text string between two indices.

start-index - the starting index in the text - `int`
end-index - the ending index in the text - `int`

returns: the text string between the indices - `java.lang.String`
raw docstring

insert-text-at-indexclj

(insert-text-at-index this index s)

Inserts the specified string at the given index/

index - the index in the text where the string will be inserted - int s - the string to insert in the text - java.lang.String

Inserts the specified string at the given index/

index - the index in the text where the string will be inserted - `int`
s - the string to insert in the text - `java.lang.String`
raw docstring

pasteclj

(paste this start-index)

Pastes the text from the system clipboard into the text starting at the specified index.

start-index - the starting index in the text - int

Pastes the text from the system clipboard into the text
 starting at the specified index.

start-index - the starting index in the text - `int`
raw docstring

replace-textclj

(replace-text this start-index end-index s)

Replaces the text between two indices with the specified string.

start-index - the starting index in the text - int end-index - the ending index in the text - int s - the string to replace the text between two indices - java.lang.String

Replaces the text between two indices with the specified
 string.

start-index - the starting index in the text - `int`
end-index - the ending index in the text - `int`
s - the string to replace the text between two indices - `java.lang.String`
raw docstring

select-textclj

(select-text this start-index end-index)

Selects the text between two indices.

start-index - the starting index in the text - int end-index - the ending index in the text - int

Selects the text between two indices.

start-index - the starting index in the text - `int`
end-index - the ending index in the text - `int`
raw docstring

set-attributesclj

(set-attributes this start-index end-index as)

Sets attributes for the text between two indices.

start-index - the starting index in the text - int end-index - the ending index in the text - int as - the attribute set - javax.swing.text.AttributeSet

Sets attributes for the text between two indices.

start-index - the starting index in the text - `int`
end-index - the ending index in the text - `int`
as - the attribute set - `javax.swing.text.AttributeSet`
raw docstring

set-text-contentsclj

(set-text-contents this s)

Sets the text contents to the specified string.

s - the string to set the text contents - java.lang.String

Sets the text contents to the specified string.

s - the string to set the text contents - `java.lang.String`
raw docstring

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

× close