public static interface Component.EditEventListener
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
default boolean |
onCopy() |
Processes the Copy event distributed to this component.
|
default boolean |
onCut() |
Processes the Cut event distributed to this component.
|
default boolean |
onDelete() |
Processes the Delete event distributed to this component.
|
default boolean |
onForwardDelete() |
Processes the Forward Delete event distributed to this component.
|
default boolean |
onPaste() |
Processes the Paste event distributed to this component.
|
default boolean |
onSelectAll() |
Processes the Select All event distributed to this component.
|
default boolean |
onUndo() |
Processes the Undo event distributed to this component.
|
default boolean onCopy()
Ctrl+C key
combination.true if the Copy event is processed; returns false otherwise.default boolean onPaste()
Ctrl+V key
combination.true if the Paste event is processed; returns false otherwise.default boolean onCut()
Ctrl+X key
combination.true if the Cut event is processed; returns false otherwise.default boolean onUndo()
Ctrl+Z key
combination.true if the Undo event is processed; returns false otherwise.default boolean onSelectAll()
Ctrl+A key
combination.true if the Select All event is processed; returns false otherwise.default boolean onDelete()
BackSpace key.true if the Delete event is processed; returns false otherwise.default boolean onForwardDelete()
Delete
key.true if the Forward Delete event is processed; returns false otherwise.