public interface AccessibleEditableTextListener
After creating an instance of a class that implements
this interface it can be added to an accessible using the
addAccessibleEditableTextListener
method and removed using
the removeAccessibleEditableTextListener
method.
AccessibleEditableTextAdapter
,
AccessibleEditableTextEvent
,
AccessibleTextAttributeEvent
Modifier and Type | Method and Description |
---|---|
void |
copyText(AccessibleEditableTextEvent e)
Copies the substring beginning at the specified
start offset
and extending to the character at offset end - 1 to the clipboard. |
void |
cutText(AccessibleEditableTextEvent e)
Moves the substring beginning at the specified
start offset
and extending to the character at offset end - 1 to the clipboard. |
void |
pasteText(AccessibleEditableTextEvent e)
Inserts the text in the clipboard at the leading edge of the specified
start offset. |
void |
replaceText(AccessibleEditableTextEvent e)
Replaces the substring beginning at the specified
start offset
and extending to the character at offset end - 1 by the specified string. |
void |
setTextAttributes(AccessibleTextAttributeEvent e)
Replaces the set of attributes of the substring beginning at the specified
start offset
and extending to the character at offset end - 1 by the specified set of attributes. |
void copyText(AccessibleEditableTextEvent e)
start
offset
and extending to the character at offset end - 1
to the clipboard.e
- an event object containing the following information:ACC.OK
if the operation was completed successfullyvoid cutText(AccessibleEditableTextEvent e)
start
offset
and extending to the character at offset end - 1
to the clipboard.e
- an event object containing the following information:ACC.OK
if the operation was completed successfullyvoid pasteText(AccessibleEditableTextEvent e)
start
offset.e
- an event object containing the following information:ACC.OK
if the operation was completed successfullyvoid replaceText(AccessibleEditableTextEvent e)
start
offset
and extending to the character at offset end - 1
by the specified string.
This event notification is also used to delete text if string
is an empty string,
or to insert text at the leading edge of the specified offset if start
and end
are equal.
e
- an event object containing the following information:start
and extending to end - 1
ACC.OK
if the operation was completed successfullyvoid setTextAttributes(AccessibleTextAttributeEvent e)
start
offset
and extending to the character at offset end - 1
by the specified set of attributes.e
- an event object containing the following information:ACC.OK
if the operation was completed successfully
Copyright (c) EclipseSource and others 2002, 2017.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0