public class DefaultInputHandler extends InputHandler
InputHandler.NonRepeatablerepeatCount| Constructor and Description |
|---|
DefaultInputHandler(@NotNull ScriptEditControl scriptEditControl,
@NotNull MenuEntries menuEntries)
Creates a new input handler with no key bindings defined.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultKeyBindings()
Sets up the default key bindings.
|
InputHandler |
copy()
Returns a copy of this input handler that shares the same key bindings.
|
void |
keyPressed(java.awt.event.KeyEvent e)
Handle a key pressed event.
|
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e)
Handle a key typed event.
|
executeAction, getRepeatCount, getTextArea, handleGrabAction, isRepeatEnabled, setRepeatCount, setRepeatEnabledpublic DefaultInputHandler(@NotNull
@NotNull ScriptEditControl scriptEditControl,
@NotNull
@NotNull MenuEntries menuEntries)
scriptEditControl - the script edit control to affectmenuEntries - the menu entries to include in the function list
popuppublic void addDefaultKeyBindings()
addDefaultKeyBindings in class InputHandlerpublic InputHandler copy()
copy in class InputHandlerpublic void keyPressed(java.awt.event.KeyEvent e)
public void keyReleased(java.awt.event.KeyEvent e)
public void keyTyped(java.awt.event.KeyEvent e)