All Packages Class Hierarchy This Package Previous Next Index
Object | +----EventObject | +----AWTEvent | +----ComponentEvent | +----InputEvent | +----java.awt.event.KeyEvent
public static final char CHAR_UNDEFINED
public static final int KEY_FIRST
public static final int KEY_LAST
public static final int KEY_PRESSED
public static final int KEY_RELEASED
public static final int KEY_TYPED
public static final int VK_0
public static final int VK_1VK_2
public static final int VK_2VK_3
public static final int VK_3VK_4
public static final int VK_4VK_5
public static final int VK_5VK_6
public static final int VK_6VK_7
public static final int VK_7VK_8
public static final int VK_8VK_9
public static final int VK_9VK_A
public static final int VK_A
public static final int VK_ACCEPTVK_ADD
public static final int VK_ADDVK_ALT
public static final int VK_ALTVK_B
public static final int VK_BVK_BACK_QUOTE
public static final int VK_BACK_QUOTEVK_BACK_SLASH
public static final int VK_BACK_SLASHVK_BACK_SPACE
public static final int VK_BACK_SPACEVK_C
public static final int VK_CVK_CANCEL
public static final int VK_CANCELVK_CAPS_LOCK
public static final int VK_CAPS_LOCKVK_CLEAR
public static final int VK_CLEARVK_CLOSE_BRACKET
public static final int VK_CLOSE_BRACKETVK_COMMA
public static final int VK_COMMAVK_CONTROL
public static final int VK_CONTROLVK_CONVERT
public static final int VK_CONVERTVK_D
public static final int VK_DVK_DECIMAL
public static final int VK_DECIMALVK_DELETE
public static final int VK_DELETEVK_DIVIDE
public static final int VK_DIVIDEVK_DOWN
public static final int VK_DOWNVK_E
public static final int VK_EVK_END
public static final int VK_ENDVK_ENTER
public static final int VK_ENTER
public static final int VK_EQUALSVK_ESCAPE
public static final int VK_ESCAPEVK_F
public static final int VK_FVK_F1
public static final int VK_F1VK_F10
public static final int VK_F10VK_F11
public static final int VK_F11VK_F12
public static final int VK_F12VK_F2
public static final int VK_F2VK_F3
public static final int VK_F3VK_F4
public static final int VK_F4VK_F5
public static final int VK_F5VK_F6
public static final int VK_F6VK_F7
public static final int VK_F7VK_F8
public static final int VK_F8VK_F9
public static final int VK_F9VK_FINAL
public static final int VK_FINAL
public static final int VK_GVK_H
public static final int VK_HVK_HELP
public static final int VK_HELPVK_HOME
public static final int VK_HOMEVK_I
public static final int VK_IVK_INSERT
public static final int VK_INSERTVK_J
public static final int VK_JVK_K
public static final int VK_KVK_KANA
public static final int VK_KANAVK_KANJI
public static final int VK_KANJIVK_L
public static final int VK_LVK_LEFT
public static final int VK_LEFTVK_M
public static final int VK_MVK_META
public static final int VK_METAVK_MODECHANGE
public static final int VK_MODECHANGEVK_MULTIPLY
public static final int VK_MULTIPLYVK_N
public static final int VK_NVK_NONCONVERT
public static final int VK_NONCONVERTVK_NUMPAD0
public static final int VK_NUMPAD0VK_NUMPAD1
public static final int VK_NUMPAD1VK_NUMPAD2
public static final int VK_NUMPAD2VK_NUMPAD3
public static final int VK_NUMPAD3VK_NUMPAD4
public static final int VK_NUMPAD4VK_NUMPAD5
public static final int VK_NUMPAD5VK_NUMPAD6
public static final int VK_NUMPAD6VK_NUMPAD7
public static final int VK_NUMPAD7VK_NUMPAD8
public static final int VK_NUMPAD8VK_NUMPAD9
public static final int VK_NUMPAD9VK_NUM_LOCK
public static final int VK_NUM_LOCKVK_O
public static final int VK_OVK_OPEN_BRACKET
public static final int VK_OPEN_BRACKETVK_P
public static final int VK_PVK_PAGE_DOWN
public static final int VK_PAGE_DOWNVK_PAGE_UP
public static final int VK_PAGE_UPVK_PAUSE
public static final int VK_PAUSEVK_PERIOD
public static final int VK_PERIODVK_PRINTSCREEN
public static final int VK_PRINTSCREENVK_Q
public static final int VK_QVK_QUOTE
public static final int VK_QUOTEVK_R
public static final int VK_RVK_RIGHT
public static final int VK_RIGHTVK_S
public static final int VK_SVK_SCROLL_LOCK
public static final int VK_SCROLL_LOCKVK_SEMICOLON
public static final int VK_SEMICOLONVK_SEPARATER
public static final int VK_SEPARATERVK_SHIFT
public static final int VK_SHIFTVK_SLASH
public static final int VK_SLASHVK_SPACE
public static final int VK_SPACEVK_SUBTRACT
public static final int VK_SUBTRACTVK_T
public static final int VK_TVK_TAB
public static final int VK_TABVK_U
public static final int VK_UVK_UNDEFINED
public static final int VK_UNDEFINED
public static final int VK_UPVK_V
public static final int VK_VVK_W
public static final int VK_WVK_X
public static final int VK_XVK_Y
public static final int VK_YVK_Z
public static final int VK_Z
public KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar)
public KeyEvent(Component source, int id, long when, int modifiers, int keyCode)
public char getKeyChar()
public int getKeyCode()
public static java.lang.String getKeyModifiersText(int modifiers)
public static java.lang.String getKeyText(int keyCode)
public boolean isActionKey()
public java.lang.String paramString()
public void setKeyChar(char keyChar)setKeyCode
public void setKeyCode(int keyCode)setModifiers
public void setModifiers(int modifiers)
NOTE: use of this method is not recommended, because many AWT implementations do not recognize modifier changes. This is especially true for KEY_TYPED events where the shift modifier is changed.
All Packages Class Hierarchy This Package Previous Next Index