public class CutCopyPasteInputHandler extends DefaultInputHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
CutCopyPasteInputHandler.AlterText |
static class |
CutCopyPasteInputHandler.CutCopyPaste |
InputHandler.backspace, InputHandler.backspace_word, InputHandler.delete, InputHandler.delete_word, InputHandler.document_end, InputHandler.document_home, InputHandler.end, InputHandler.home, InputHandler.insert_break, InputHandler.insert_char, InputHandler.insert_tab, InputHandler.MacroRecorder, InputHandler.next_char, InputHandler.next_line, InputHandler.next_page, InputHandler.next_word, InputHandler.NonRecordable, InputHandler.NonRepeatable, InputHandler.overwrite, InputHandler.prev_char, InputHandler.prev_line, InputHandler.prev_page, InputHandler.prev_word, InputHandler.redo, InputHandler.repeat, InputHandler.select_all, InputHandler.toggle_rect, InputHandler.undo, InputHandler.Wrapper| Modifier and Type | Field and Description |
|---|---|
static java.awt.event.ActionListener |
COMMENT |
static java.awt.event.ActionListener |
COPY |
static java.awt.event.ActionListener |
CUT |
static java.awt.event.ActionListener |
PASTE |
static java.awt.event.ActionListener |
SHIFTCOMMENT |
static java.awt.event.ActionListener |
SHIFTTAB |
static java.awt.event.ActionListener |
TAB |
BACKSPACE, BACKSPACE_WORD, DELETE, DELETE_WORD, DOCUMENT_END, DOCUMENT_HOME, END, grabAction, HOME, INSERT_BREAK, INSERT_CHAR, INSERT_TAB, NEXT_CHAR, NEXT_LINE, NEXT_PAGE, NEXT_WORD, OVERWRITE, PREV_CHAR, PREV_LINE, PREV_PAGE, PREV_WORD, recorder, REDO, repeat, REPEAT, repeatCount, SELECT_ALL, SELECT_DOC_END, SELECT_DOC_HOME, SELECT_END, SELECT_HOME, SELECT_NEXT_CHAR, SELECT_NEXT_LINE, SELECT_NEXT_PAGE, SELECT_NEXT_WORD, SELECT_PREV_CHAR, SELECT_PREV_LINE, SELECT_PREV_PAGE, SELECT_PREV_WORD, SMART_HOME_END_PROPERTY, TOGGLE_RECT, UNDO| Constructor and Description |
|---|
CutCopyPasteInputHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultKeyBindings()
Sets up the default key bindings.
|
addKeyBinding, copy, keyPressed, keyTyped, parseKeyStroke, removeAllKeyBindings, removeKeyBindingexecuteAction, getAction, getActionName, getActions, getMacroRecorder, getRepeatCount, getTextArea, grabNextKeyStroke, handleGrabAction, isRepeatEnabled, setMacroRecorder, setRepeatCount, setRepeatEnabledpublic static final java.awt.event.ActionListener CUT
public static final java.awt.event.ActionListener COPY
public static final java.awt.event.ActionListener PASTE
public static final java.awt.event.ActionListener TAB
public static final java.awt.event.ActionListener SHIFTTAB
public static final java.awt.event.ActionListener COMMENT
public static final java.awt.event.ActionListener SHIFTCOMMENT
public void addDefaultKeyBindings()
DefaultInputHandleraddDefaultKeyBindings in class DefaultInputHandler