javax.swing
Class JComponent.KeyboardState

java.lang.Object
  extended byjavax.swing.JComponent.KeyboardState
All Implemented Interfaces:
Serializable
Enclosing class:
JComponent

static class JComponent.KeyboardState
extends Object
implements Serializable


Field Summary
private static Object keyCodesKey
           
 
Constructor Summary
(package private) JComponent.KeyboardState()
           
 
Method Summary
(package private) static JComponent.IntVector getKeyCodeArray()
           
(package private) static boolean keyIsPressed(int keyCode)
           
(package private) static void registerKeyPressed(int keyCode)
           
(package private) static void registerKeyReleased(int keyCode)
           
(package private) static boolean shouldProcess(KeyEvent e)
          Updates internal state of the KeyboardState and returns true if the event should be processed further.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyCodesKey

private static final Object keyCodesKey
Constructor Detail

JComponent.KeyboardState

JComponent.KeyboardState()
Method Detail

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.