Spec-Zone .ru
спецификации, руководства, описания, API

JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

Set of key codes for KeyEvent objects.

Profile: common conditional keyboard

Field Summary

access name type description
public static final VK_0 KeyCode
public static final VK_1 KeyCode
public static final VK_2 KeyCode
public static final VK_3 KeyCode
public static final VK_4 KeyCode
public static final VK_5 KeyCode
public static final VK_6 KeyCode
public static final VK_7 KeyCode
public static final VK_8 KeyCode
public static final VK_9 KeyCode
public static final VK_A KeyCode
public static final VK_ACCEPT KeyCode

Constant for the Accept or Commit function key.

public static final VK_ADD KeyCode
public static final VK_AGAIN KeyCode
public static final VK_ALL_CANDIDATES KeyCode

Constant for the All Candidates function key.

public static final VK_ALPHANUMERIC KeyCode

Constant for the Alphanumeric function key.

public static final VK_ALT KeyCode
public static final VK_ALT_GRAPH KeyCode

Constant for the AltGraph function key.

public static final VK_AMPERSAND KeyCode
public static final VK_ASTERISK KeyCode
public static final VK_AT KeyCode

Constant for the "@" key.

public static final VK_B KeyCode
public static final VK_BACK_QUOTE KeyCode
public static final VK_BACK_SLASH KeyCode

Constant for the back slash key, "\"

public static final VK_BACK_SPACE KeyCode
public static final VK_BEGIN KeyCode

Constant for the Begin key.

public static final VK_BRACELEFT KeyCode
public static final VK_BRACERIGHT KeyCode
public static final VK_C KeyCode
public static final VK_CANCEL KeyCode
public static final VK_CAPS KeyCode
public static final VK_CIRCUMFLEX KeyCode

Constant for the "^" key.

public static final VK_CLEAR KeyCode
public static final VK_CLOSE_BRACKET KeyCode

Constant for the close bracket key, "]"

public static final VK_CODE_INPUT KeyCode

Constant for the Code Input function key.

public static final VK_COLON KeyCode

Constant for the ":" key.

public static final VK_COMMA KeyCode

Constant for the comma key, ","

public static final VK_COMPOSE KeyCode

Constant for the input method on/off key.

public static final VK_CONTEXT_MENU KeyCode

Constant for the Microsoft Windows Context Menu key.

public static final VK_CONTROL KeyCode
public static final VK_CONVERT KeyCode

Constant for the Convert function key.

public static final VK_COPY KeyCode
public static final VK_CUT KeyCode
public static final VK_D KeyCode
public static final VK_DEAD_ABOVEDOT KeyCode
public static final VK_DEAD_ABOVERING KeyCode
public static final VK_DEAD_ACUTE KeyCode
public static final VK_DEAD_BREVE KeyCode
public static final VK_DEAD_CARON KeyCode
public static final VK_DEAD_CEDILLA KeyCode
public static final VK_DEAD_CIRCUMFLEX KeyCode
public static final VK_DEAD_DIAERESIS KeyCode
public static final VK_DEAD_DOUBLEACUTE KeyCode
public static final VK_DEAD_GRAVE KeyCode
public static final VK_DEAD_IOTA KeyCode
public static final VK_DEAD_MACRON KeyCode
public static final VK_DEAD_OGONEK KeyCode
public static final VK_DEAD_SEMIVOICED_SOUND KeyCode
public static final VK_DEAD_TILDE KeyCode
public static final VK_DEAD_VOICED_SOUND KeyCode
public static final VK_DECIMAL KeyCode
public static final VK_DELETE KeyCode
public static final VK_DIVIDE KeyCode
public static final VK_DOLLAR KeyCode

Constant for the "$" key.

public static final VK_DOWN KeyCode

Constant for the non-numpad down arrow key.

public static final VK_E KeyCode
public static final VK_END KeyCode
public static final VK_ENTER KeyCode
public static final VK_EQUALS KeyCode

Constant for the equals key, "="

public static final VK_ESCAPE KeyCode
public static final VK_EURO_SIGN KeyCode

Constant for the Euro currency sign key.

public static final VK_EXCLAMATION_MARK KeyCode

Constant for the "!" key.

public static final VK_F KeyCode
public static final VK_F1 KeyCode

Constant for the F1 function key.

public static final VK_F10 KeyCode

Constant for the F10 function key.

public static final VK_F11 KeyCode

Constant for the F11 function key.

public static final VK_F12 KeyCode

Constant for the F12 function key.

public static final VK_F13 KeyCode

Constant for the F13 function key.

public static final VK_F14 KeyCode

Constant for the F14 function key.

public static final VK_F15 KeyCode

Constant for the F15 function key.

public static final VK_F16 KeyCode

Constant for the F16 function key.

public static final VK_F17 KeyCode

Constant for the F17 function key.

public static final VK_F18 KeyCode

Constant for the F18 function key.

public static final VK_F19 KeyCode

Constant for the F19 function key.

public static final VK_F2 KeyCode

Constant for the F2 function key.

public static final VK_F20 KeyCode

Constant for the F20 function key.

public static final VK_F21 KeyCode

Constant for the F21 function key.

public static final VK_F22 KeyCode

Constant for the F22 function key.

public static final VK_F23 KeyCode

Constant for the F23 function key.

public static final VK_F24 KeyCode

Constant for the F24 function key.

public static final VK_F3 KeyCode

Constant for the F3 function key.

public static final VK_F4 KeyCode

Constant for the F4 function key.

public static final VK_F5 KeyCode

Constant for the F5 function key.

public static final VK_F6 KeyCode

Constant for the F6 function key.

public static final VK_F7 KeyCode

Constant for the F7 function key.

public static final VK_F8 KeyCode

Constant for the F8 function key.

public static final VK_F9 KeyCode

Constant for the F9 function key.

public static final VK_FINAL KeyCode

Constant for input method support on Asian Keyboards.

public static final VK_FIND KeyCode
public static final VK_FULL_WIDTH KeyCode

Constant for the Full-Width Characters function key.

public static final VK_G KeyCode
public static final VK_GAME_A KeyCode
public static final VK_GAME_B KeyCode
public static final VK_GAME_C KeyCode
public static final VK_GAME_D KeyCode
public static final VK_GREATER KeyCode
public static final VK_H KeyCode
public static final VK_HALF_WIDTH KeyCode

Constant for the Half-Width Characters function key.

public static final VK_HELP KeyCode
public static final VK_HIRAGANA KeyCode

Constant for the Hiragana function key.

public static final VK_HOME KeyCode
public static final VK_I KeyCode
public static final VK_INPUT_METHOD_ON_OFF KeyCode

Constant for the input method on/off key.

public static final VK_INSERT KeyCode
public static final VK_INVERTED_EXCLAMATION_MARK KeyCode

Constant for the inverted exclamation mark key.

public static final VK_J KeyCode
public static final VK_JAPANESE_HIRAGANA KeyCode

Constant for the Japanese-Hiragana function key.

Constant for the Japanese-Hiragana function key. This key switches to a Japanese input method and selects its Hiragana input mode.

Profile: common conditional keyboard

 
public static final VK_JAPANESE_KATAKANA KeyCode

Constant for the Japanese-Katakana function key.

Constant for the Japanese-Katakana function key. This key switches to a Japanese input method and selects its Katakana input mode.

Profile: common conditional keyboard

 
public static final VK_JAPANESE_ROMAN KeyCode

Constant for the Japanese-Roman function key.

Constant for the Japanese-Roman function key. This key switches to a Japanese input method and selects its Roman-Direct input mode.

Profile: common conditional keyboard

 
public static final VK_K KeyCode
public static final VK_KANA KeyCode
public static final VK_KANA_LOCK KeyCode

Constant for the locking Kana function key.

Constant for the locking Kana function key. This key locks the keyboard into a Kana layout.

Profile: common conditional keyboard

 
public static final VK_KANJI KeyCode
public static final VK_KATAKANA KeyCode

Constant for the Katakana function key.

public static final VK_KP_DOWN KeyCode

Constant for the numeric keypad down arrow key.

public static final VK_KP_LEFT KeyCode

Constant for the numeric keypad left arrow key.

public static final VK_KP_RIGHT KeyCode

Constant for the numeric keypad right arrow key.

public static final VK_KP_UP KeyCode

Constant for the numeric keypad up arrow key.

public static final VK_L KeyCode
public static final VK_LEFT KeyCode

Constant for the non-numpad left arrow key.

public static final VK_LEFT_PARENTHESIS KeyCode

Constant for the "(" key.

public static final VK_LESS KeyCode
public static final VK_M KeyCode
public static final VK_META KeyCode
public static final VK_MINUS KeyCode

Constant for the minus key, "-"

public static final VK_MODECHANGE KeyCode
public static final VK_MULTIPLY KeyCode
public static final VK_N KeyCode
public static final VK_NONCONVERT KeyCode

Constant for the Don't Convert function key.

public static final VK_NUM_LOCK KeyCode
public static final VK_NUMBER_SIGN KeyCode

Constant for the "#" key.

public static final VK_NUMPAD0 KeyCode
public static final VK_NUMPAD1 KeyCode
public static final VK_NUMPAD2 KeyCode
public static final VK_NUMPAD3 KeyCode
public static final VK_NUMPAD4 KeyCode
public static final VK_NUMPAD5 KeyCode
public static final VK_NUMPAD6 KeyCode
public static final VK_NUMPAD7 KeyCode
public static final VK_NUMPAD8 KeyCode
public static final VK_NUMPAD9 KeyCode
public static final VK_O KeyCode
public static final VK_OPEN_BRACKET KeyCode

Constant for the open bracket key, "["

public static final VK_P KeyCode
public static final VK_PAGE_DOWN KeyCode
public static final VK_PAGE_UP KeyCode
public static final VK_PASTE KeyCode
public static final VK_PAUSE KeyCode
public static final VK_PERIOD KeyCode

Constant for the period key, "."

public static final VK_PLUS KeyCode

Constant for the "+" key.

public static final VK_POUND KeyCode
public static final VK_PREVIOUS_CANDIDATE KeyCode

Constant for the Previous Candidate function key.

public static final VK_PRINTSCREEN KeyCode
public static final VK_PROPS KeyCode
public static final VK_Q KeyCode
public static final VK_QUOTE KeyCode
public static final VK_QUOTEDBL KeyCode
public static final VK_R KeyCode
public static final VK_RIGHT KeyCode

Constant for the non-numpad right arrow key.

public static final VK_RIGHT_PARENTHESIS KeyCode

Constant for the ")" key.

public static final VK_ROMAN_CHARACTERS KeyCode

Constant for the Roman Characters function key.

public static final VK_S KeyCode
public static final VK_SCROLL_LOCK KeyCode
public static final VK_SEMICOLON KeyCode

Constant for the semicolon key, ";"

public static final VK_SEPARATOR KeyCode

Constant for the Numpad Separator key.

public static final VK_SHIFT KeyCode
public static final VK_SLASH KeyCode

Constant for the forward slash key, "/"

public static final VK_SOFTKEY_0 KeyCode
public static final VK_SOFTKEY_1 KeyCode
public static final VK_SOFTKEY_2 KeyCode
public static final VK_SOFTKEY_3 KeyCode
public static final VK_SOFTKEY_4 KeyCode
public static final VK_SOFTKEY_5 KeyCode
public static final VK_SOFTKEY_6 KeyCode
public static final VK_SOFTKEY_7 KeyCode
public static final VK_SOFTKEY_8 KeyCode
public static final VK_SOFTKEY_9 KeyCode
public static final VK_SPACE KeyCode
public static final VK_STAR KeyCode
public static final VK_STOP KeyCode
public static final VK_SUBTRACT KeyCode
public static final VK_T KeyCode
public static final VK_TAB KeyCode
public static final VK_U KeyCode
public static final VK_UNDEFINED KeyCode

This value is used to indicate that the keyCode is unknown.

This value is used to indicate that the keyCode is unknown. key typed events do not have a keyCode value), this value is used instead.

Profile: common conditional keyboard

 
public static final VK_UNDERSCORE KeyCode

Constant for the "_" key.

public static final VK_UNDO KeyCode
public static final VK_UP KeyCode

Constant for the non-numpad up arrow key.

public static final VK_V KeyCode
public static final VK_W KeyCode
public static final VK_WINDOWS KeyCode

Constant for the Microsoft Windows "Windows" key.

Constant for the Microsoft Windows "Windows" key. It is used for both the left and right version of the key.

Profile: common conditional keyboard

 
public static final VK_X KeyCode
public static final VK_Y KeyCode
public static final VK_Z KeyCode

Inherited Variables

Method Summary

public static KeyCode valueOf(java.lang.String name)
Parameters
name
Returns
KeyCode
 
public static KeyCode[] values()
Returns
KeyCode[]
 

Inherited Functions