AccessibleEditableTextListener

Classes which implement this interface provide methods that handle AccessibleEditableText events. <p> After creating an instance of a class that implements this interface it can be added to an accessible using the <code>addAccessibleEditableTextListener</code> method and removed using the <code>removeAccessibleEditableTextListener</code> method. </p>

@see AccessibleEditableTextAdapter @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.

Meta