All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.util.EventObject | +----java.awt.AWTEvent | +----java.awt.event.ComponentEvent | +----java.awt.event.InputEvent | +----java.awt.event.KeyEvent
public static final int KEY_FIRST
public static final int KEY_LAST
public static final int KEY_TYPED
public static final int KEY_PRESSED
public static final int KEY_RELEASED
public static final int VK_ENTER
public static final int VK_BACK_SPACEVK_TAB
public static final int VK_TABVK_CANCEL
public static final int VK_CANCELVK_CLEAR
public static final int VK_CLEARVK_SHIFT
public static final int VK_SHIFTVK_CONTROL
public static final int VK_CONTROLVK_ALT
public static final int VK_ALTVK_PAUSE
public static final int VK_PAUSEVK_CAPS_LOCK
public static final int VK_CAPS_LOCKVK_ESCAPE
public static final int VK_ESCAPEVK_SPACE
public static final int VK_SPACEVK_PAGE_UP
public static final int VK_PAGE_UPVK_PAGE_DOWN
public static final int VK_PAGE_DOWNVK_END
public static final int VK_ENDVK_HOME
public static final int VK_HOMEVK_LEFT
public static final int VK_LEFTVK_UP
public static final int VK_UPVK_RIGHT
public static final int VK_RIGHTVK_DOWN
public static final int VK_DOWNVK_COMMA
public static final int VK_COMMAVK_PERIOD
public static final int VK_PERIODVK_SLASH
public static final int VK_SLASHVK_0
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_SEMICOLON
public static final int VK_SEMICOLONVK_EQUALS
public static final int VK_EQUALSVK_A
public static final int VK_A
public static final int VK_BVK_C
public static final int VK_CVK_D
public static final int VK_DVK_E
public static final int VK_EVK_F
public static final int VK_FVK_G
public static final int VK_GVK_H
public static final int VK_HVK_I
public static final int VK_IVK_J
public static final int VK_JVK_K
public static final int VK_KVK_L
public static final int VK_LVK_M
public static final int VK_MVK_N
public static final int VK_NVK_O
public static final int VK_OVK_P
public static final int VK_PVK_Q
public static final int VK_QVK_R
public static final int VK_RVK_S
public static final int VK_SVK_T
public static final int VK_TVK_U
public static final int VK_UVK_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_ZVK_OPEN_BRACKET
public static final int VK_OPEN_BRACKETVK_BACK_SLASH
public static final int VK_BACK_SLASHVK_CLOSE_BRACKET
public static final int VK_CLOSE_BRACKETVK_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_MULTIPLY
public static final int VK_MULTIPLYVK_ADD
public static final int VK_ADDVK_SEPARATER
public static final int VK_SEPARATERVK_SUBTRACT
public static final int VK_SUBTRACTVK_DECIMAL
public static final int VK_DECIMALVK_DIVIDE
public static final int VK_DIVIDEVK_F1
public static final int VK_F1VK_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_F10
public static final int VK_F10VK_F11
public static final int VK_F11VK_F12
public static final int VK_F12VK_DELETE
public static final int VK_DELETEVK_NUM_LOCK
public static final int VK_NUM_LOCKVK_SCROLL_LOCK
public static final int VK_SCROLL_LOCKVK_PRINTSCREEN
public static final int VK_PRINTSCREENVK_INSERT
public static final int VK_INSERTVK_HELP
public static final int VK_HELPVK_META
public static final int VK_METAVK_BACK_QUOTE
public static final int VK_BACK_QUOTEVK_QUOTE
public static final int VK_QUOTEVK_FINAL
public static final int VK_FINAL
public static final int VK_CONVERTVK_NONCONVERT
public static final int VK_NONCONVERTVK_ACCEPT
public static final int VK_ACCEPTVK_MODECHANGE
public static final int VK_MODECHANGEVK_KANA
public static final int VK_KANAVK_KANJI
public static final int VK_KANJIVK_UNDEFINED
public static final int VK_UNDEFINED
public static final char CHAR_UNDEFINED
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 int getKeyCode()
public void setKeyCode(int keyCode)setKeyChar
public void setKeyChar(char keyChar)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.
public char getKeyChar()
public static String getKeyText(int keyCode)
public static String getKeyModifiersText(int modifiers)
public boolean isActionKey()
public String paramString()
All Packages Class Hierarchy This Package Previous Next Index