java.lang.Object
org.gjt.sp.jedit.gui.KeyEventWorkaround
Various hacks to get keyboard event handling to behave in a consistent manner
across Java implementations. This type of stuff should not be necessary, but
Java's keyboard handling is crap, to put it mildly.
- Version:
- $Id: KeyEventWorkaround.java 24859 2018-04-10 23:06:33Z daleanson $
- Author:
- Slava Pestov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isBindable
(int keyCode) static boolean
isPrintable
(int keyCode) We need to know if a keycode can potentially result in a keytyped.static KeyEvent
processKeyEvent
(KeyEvent evt)
-
Constructor Details
-
KeyEventWorkaround
public KeyEventWorkaround()
-
-
Method Details
-
isBindable
public static boolean isBindable(int keyCode) -
isPrintable
public static boolean isPrintable(int keyCode) We need to know if a keycode can potentially result in a keytyped.- Since:
- jEdit 4.3pre2
-
processKeyEvent
-