| java.lang.Object org.gjt.sp.jedit.input.AbstractInputHandler org.gjt.sp.jedit.input.TextAreaInputHandler
TextAreaInputHandler | public class TextAreaInputHandler extends AbstractInputHandler (Code) | | This class manage the key bindings and execute the actions binded on the
keyboard events for the standalone textarea.
author: Matthieu Casanova version: $Id: FoldHandler.java 5568 2006-07-10 20:52:23Z kpouer $ |
Method Summary | |
public boolean | handleKey(KeyEventTranslator.Key keyStroke, boolean dryRun) Handles the given keystroke. | protected void | invokeReadNextChar(char ch) | public void | processKeyEvent(KeyEvent evt, int from, boolean global) Forwards key events directly to the input handler.
This is slightly faster than using a KeyListener
because some Swing overhead is avoided.
Parameters: evt - the keyboard event Parameters: from - the source of the event. | protected void | userInput(char ch) |
TextAreaInputHandler | public TextAreaInputHandler(TextArea textArea)(Code) | | |
handleKey | public boolean handleKey(KeyEventTranslator.Key keyStroke, boolean dryRun)(Code) | | Handles the given keystroke.
Parameters: keyStroke - The key stroke Parameters: dryRun - only calculate the return value, do not have any other effect since: jEdit 4.2pre5 |
invokeReadNextChar | protected void invokeReadNextChar(char ch)(Code) | | |
processKeyEvent | public void processKeyEvent(KeyEvent evt, int from, boolean global)(Code) | | Forwards key events directly to the input handler.
This is slightly faster than using a KeyListener
because some Swing overhead is avoided.
Parameters: evt - the keyboard event Parameters: from - the source of the event. Since this is the input handler of the textarea, it should always be 1 Parameters: global - it is only true if the event comes from the DefaultKeyboardFocusManager since: 4.3pre7 |
userInput | protected void userInput(char ch)(Code) | | |
|
|