public class ConsoleInputHandler extends DefaultInputHandler
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.repeat, InputHandler.toggle_rect, InputHandler.Wrapper
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, repeat, REPEAT, repeatCount, 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
Constructor and Description |
---|
ConsoleInputHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addConsoleListener(JConsole console) |
void |
keyPressed(KeyEvent evt)
Handle a key pressed event.
|
void |
keyReleased(KeyEvent arg0) |
void |
keyTyped(KeyEvent evt)
Handle a key typed event.
|
addDefaultKeyBindings, addKeyBinding, copy, parseKeyStroke, removeAllKeyBindings, removeKeyBinding
executeAction, getAction, getActionName, getActions, getMacroRecorder, getRepeatCount, getTextArea, grabNextKeyStroke, handleGrabAction, isRepeatEnabled, setMacroRecorder, setRepeatCount, setRepeatEnabled
public void keyPressed(KeyEvent evt)
DefaultInputHandler
keyPressed
in interface KeyListener
keyPressed
in class DefaultInputHandler
public void keyTyped(KeyEvent evt)
DefaultInputHandler
keyTyped
in interface KeyListener
keyTyped
in class DefaultInputHandler
public void keyReleased(KeyEvent arg0)
keyReleased
in interface KeyListener
keyReleased
in class KeyAdapter
public void addConsoleListener(JConsole console)