AccessibleEditableTextAdapter

This adapter class provides default implementations for the methods in the <code>AccessibleEditableTextListener</code> interface. <p> Classes that wish to deal with <code>AccessibleEditableText</code> events can extend this class and override only the methods that they are interested in. </p>

@see AccessibleEditableTextListener @see AccessibleEditableTextEvent @see AccessibleTextAttributeEvent

@since 3.7

Members

Functions

copyText
void copyText(AccessibleEditableTextEvent e)

Copies the substring beginning at the specified <code>start</code> offset and extending to the character at offset <code>end - 1</code> to the clipboard.

cutText
void cutText(AccessibleEditableTextEvent e)

Moves the substring beginning at the specified <code>start</code> offset and extending to the character at offset <code>end - 1</code> to the clipboard.

pasteText
void pasteText(AccessibleEditableTextEvent e)

Inserts the text in the clipboard at the leading edge of the specified <code>start</code> offset.

replaceText
void replaceText(AccessibleEditableTextEvent e)

Replaces the substring beginning at the specified <code>start</code> offset and extending to the character at offset <code>end - 1</code> by the specified string. <p> This event notification is also used to delete text if <code>string</code> is an empty string, or to insert text at the leading edge of the specified offset if <code>start</code> and <code>end</code> are equal. </p>

setTextAttributes
void setTextAttributes(AccessibleTextAttributeEvent e)

Replaces the set of attributes of the substring beginning at the specified <code>start</code> offset and extending to the character at offset <code>end - 1</code> by the specified set of attributes.

Inherited Members

From AccessibleEditableTextListener

copyText
void copyText(AccessibleEditableTextEvent e)

Copies the substring beginning at the specified <code>start</code> offset and extending to the character at offset <code>end - 1</code> to the clipboard.

cutText
void cutText(AccessibleEditableTextEvent e)

Moves the substring beginning at the specified <code>start</code> offset and extending to the character at offset <code>end - 1</code> to the clipboard.

pasteText
void pasteText(AccessibleEditableTextEvent e)

Inserts the text in the clipboard at the leading edge of the specified <code>start</code> offset.

replaceText
void replaceText(AccessibleEditableTextEvent e)

Replaces the substring beginning at the specified <code>start</code> offset and extending to the character at offset <code>end - 1</code> by the specified string. <p> This event notification is also used to delete text if <code>string</code> is an empty string, or to insert text at the leading edge of the specified offset if <code>start</code> and <code>end</code> are equal. </p>

setTextAttributes
void setTextAttributes(AccessibleTextAttributeEvent e)

Replaces the set of attributes of the substring beginning at the specified <code>start</code> offset and extending to the character at offset <code>end - 1</code> by the specified set of attributes.

Meta