|
Eclipse Remote Application Platform | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.accessibility.AccessibleEditableTextAdapter
public class AccessibleEditableTextAdapter
This adapter class provides default implementations for the
methods in the AccessibleEditableTextListener interface.
Classes that wish to deal with AccessibleEditableText events can
extend this class and override only the methods that they are
interested in.
AccessibleEditableTextListener,
AccessibleEditableTextEvent,
AccessibleTextAttributeEvent| Constructor Summary | |
|---|---|
AccessibleEditableTextAdapter()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccessibleEditableTextAdapter()
| Method Detail |
|---|
public void copyText(AccessibleEditableTextEvent e)
start offset
and extending to the character at offset end - 1 to the clipboard.
copyText in interface AccessibleEditableTextListenere - an event object containing the following information:ACC.OK if the operation was completed successfullypublic void cutText(AccessibleEditableTextEvent e)
start offset
and extending to the character at offset end - 1 to the clipboard.
cutText in interface AccessibleEditableTextListenere - an event object containing the following information:ACC.OK if the operation was completed successfullypublic void pasteText(AccessibleEditableTextEvent e)
start offset.
pasteText in interface AccessibleEditableTextListenere - an event object containing the following information:ACC.OK if the operation was completed successfullypublic void 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.
replaceText in interface AccessibleEditableTextListenere - an event object containing the following information:start and extending to end - 1ACC.OK if the operation was completed successfullypublic void setTextAttributes(AccessibleTextAttributeEvent e)
start offset
and extending to the character at offset end - 1 by the specified set of attributes.
setTextAttributes in interface AccessibleEditableTextListenere - an event object containing the following information:ACC.OK if the operation was completed successfully
|
Eclipse Remote Application Platform | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.