javax.swing
Class JComponent.KeyboardState
java.lang.Object
javax.swing.JComponent.KeyboardState
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- JComponent
- static class JComponent.KeyboardState
- extends Object
- implements Serializable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyCodesKey
private static final Object keyCodesKey
JComponent.KeyboardState
JComponent.KeyboardState()
getKeyCodeArray
static JComponent.IntVector getKeyCodeArray()
registerKeyPressed
static void registerKeyPressed(int keyCode)
registerKeyReleased
static void registerKeyReleased(int keyCode)
keyIsPressed
static boolean keyIsPressed(int keyCode)
shouldProcess
static boolean shouldProcess(KeyEvent e)
- Updates internal state of the KeyboardState and returns true
if the event should be processed further.