Package com.vaadin.flow.component
Enum Class KeyModifier
- All Implemented Interfaces:
Key
,Serializable
,Comparable<KeyModifier>
,Constable
Modifier keys.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Fields inherited from interface com.vaadin.flow.component.Key
ABORT, ACCEPT, ADD, AGAIN, ALL_CANDIDATES, ALPHANUMERIC, ALT, ALT_GRAPH, ALT_LEFT, ALT_RIGHT, APP_SWITCH, ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP, ATTN, AUDIO_BALANCE_LEFT, AUDIO_BALANCE_RIGHT, AUDIO_BASS_BOOST_DOWN, AUDIO_BASS_BOOST_TOGGLE, AUDIO_BASS_BOOST_UP, AUDIO_BASS_DOWN, AUDIO_BASS_UP, AUDIO_FADER_FRONT, AUDIO_FADER_REAR, AUDIO_SURROUND_MODE_NEXT, AUDIO_TREBLE_DOWN, AUDIO_TREBLE_UP, AUDIO_VOLUME_DOWN, AUDIO_VOLUME_MUTE, AUDIO_VOLUME_UP, AVR_INPUT, AVR_POWER, BACKQUOTE, BACKSLASH, BACKSPACE, BRACKET_LEFT, BRACKET_RIGHT, BRIGHTNESS_DOWN, BRIGHTNESS_UP, BROWSER_BACK, BROWSER_FAVORITES, BROWSER_FORWARD, BROWSER_HOME, BROWSER_REFRESH, BROWSER_SEARCH, BROWSER_STOP, CALL, CAMERA, CAMERA_FOCUS, CANCEL, CAPS_LOCK, CHANNEL_DOWN, CHANNEL_UP, CLEAR, CLOSE, CLOSED_CAPTION_TOGGLE, CODE_INPUT, COLOR_F0_RED, COLOR_F1_GREEN, COLOR_F2_YELLOW, COLOR_F3_BLUE, COLOR_F4_GREY, COLOR_F5_BROWN, COMMA, COMPOSE, CONTEXT_MENU, CONTROL, CONTROL_LEFT, CONTROL_RIGHT, CONVERT, COPY, CR_SEL, CUT, DEAD, DECIMAL, DELETE, DIGIT_0, DIGIT_1, DIGIT_2, DIGIT_3, DIGIT_4, DIGIT_5, DIGIT_6, DIGIT_7, DIGIT_8, DIGIT_9, DIMMER, DISPLAY_SWAP, DIVIDE, DVR, EISU, EJECT, END, END_CALL, ENTER, EQUAL, ERASE_EOF, ESCAPE, EX_SEL, EXECUTE, EXIT, F1, F10, F11, F12, F13, F14, F15, F16, F17, F18, F19, F2, F20, F3, F4, F5, F6, F7, F8, F9, FAVORITE_CLEAR0, FAVORITE_CLEAR1, FAVORITE_CLEAR2, FAVORITE_CLEAR3, FAVORITE_RECALL0, FAVORITE_RECALL1, FAVORITE_RECALL2, FAVORITE_RECALL3, FAVORITE_STORE0, FAVORITE_STORE1, FAVORITE_STORE2, FAVORITE_STORE3, FINAL_MODE, FIND, FINISH, FN, FN_LOCK, GO_BACK, GO_HOME, GROUP_FIRST, GROUP_LAST, GROUP_NEXT, GROUP_PREVIOUS, GUIDE, GUIDE_NEXT_DAY, GUIDE_PREVIOUS_DAY, HANGUL_MODE, HANJA_MODE, HANKAKU, HEADSET_HOOK, HELP, HIBERNATE, HIRAGANA, HIRAGANA_KATAKANA, HOME, HYPER, INFO, INSERT, INSTANT_REPLAY, INTL_BACKSLASH, INTL_RO, INTL_YEN, JUNJA_MODE, KANA_MODE, KANJI_MODE, KATAKANA, KEY_A, KEY_B, KEY_C, KEY_D, KEY_E, KEY_F, KEY_G, KEY_H, KEY_I, KEY_J, KEY_K, KEY_L, KEY_M, KEY_N, KEY_O, KEY_P, KEY_Q, KEY_R, KEY_S, KEY_T, KEY_U, KEY_V, KEY_W, KEY_X, KEY_Y, KEY_Z, KEY11, KEY12, LANG_1, LANG_2, LANG_3, LANG_4, LANG_5, LAST_NUMBER_REDIAL, LAUNCH_APP_1, LAUNCH_APP_2, LAUNCH_APPLICATION1, LAUNCH_APPLICATION10, LAUNCH_APPLICATION11, LAUNCH_APPLICATION12, LAUNCH_APPLICATION13, LAUNCH_APPLICATION14, LAUNCH_APPLICATION15, LAUNCH_APPLICATION16, LAUNCH_APPLICATION2, LAUNCH_APPLICATION3, LAUNCH_APPLICATION4, LAUNCH_APPLICATION5, LAUNCH_APPLICATION6, LAUNCH_APPLICATION7, LAUNCH_APPLICATION8, LAUNCH_APPLICATION9, LAUNCH_CALCULATOR, LAUNCH_CALENDAR, LAUNCH_CONTACTS, LAUNCH_MAIL, LAUNCH_MEDIA_PLAYER, LAUNCH_MUSIC_PLAYER, LAUNCH_MY_COMPUTER, LAUNCH_PHONE, LAUNCH_SCREEN_SAVER, LAUNCH_SPREADSHEET, LAUNCH_WEB_BROWSER, LAUNCH_WEB_CAM, LAUNCH_WORD_PROCESSOR, LINK, LIST_PROGRAM, LIVE_CONTENT, LOCK, LOG_OFF, MAIL_FORWARD, MAIL_REPLY, MAIL_SEND, MANNER_MODE, MEDIA_APPS, MEDIA_AUDIO_TRACK, MEDIA_FAST_FORWARD, MEDIA_LAST, MEDIA_PAUSE, MEDIA_PLAY, MEDIA_PLAY_PAUSE, MEDIA_RECORD, MEDIA_REWIND, MEDIA_SELECT, MEDIA_SKIP_BACKWARD, MEDIA_SKIP_FORWARD, MEDIA_STEP_BACKWARD, MEDIA_STEP_FORWARD, MEDIA_STOP, MEDIA_TOP_MENU, MEDIA_TRACK_NEXT, MEDIA_TRACK_PREVIOUS, META, META_LEFT, META_RIGHT, MICROPHONE_TOGGLE, MICROPHONE_VOLUME_DOWN, MICROPHONE_VOLUME_MUTE, MICROPHONE_VOLUME_UP, MINUS, MODE_CHANGE, MULTIPLY, NAVIGATE_IN, NAVIGATE_NEXT, NAVIGATE_OUT, NAVIGATE_PREVIOUS, NEW, NEXT_CANDIDATE, NEXT_FAVORITE_CHANNEL, NEXT_USER_PROFILE, NON_CONVERT, NONE, NOTIFICATION, NUM_LOCK, NUMPAD_0, NUMPAD_1, NUMPAD_2, NUMPAD_3, NUMPAD_4, NUMPAD_5, NUMPAD_6, NUMPAD_7, NUMPAD_8, NUMPAD_9, NUMPAD_ADD, NUMPAD_BACKSPACE, NUMPAD_CLEAR, NUMPAD_CLEAR_ENTRY, NUMPAD_COMMA, NUMPAD_DECIMAL, NUMPAD_DIVIDE, NUMPAD_ENTER, NUMPAD_EQUAL, NUMPAD_HASH, NUMPAD_MEMORY_ADD, NUMPAD_MEMORY_CLEAR, NUMPAD_MEMORY_RECALL, NUMPAD_MEMORY_STORE, NUMPAD_MEMORY_SUBTRACT, NUMPAD_MULTIPLY, NUMPAD_PAREN_LEFT, NUMPAD_PAREN_RIGHT, NUMPAD_STAR, NUMPAD_SUBTRACT, ON_DEMAND, OPEN, PAGE_DOWN, PAGE_UP, PAIRING, PASTE, PAUSE, PERIOD, PINP_DOWN, PINP_MOVE, PINP_TOGGLE, PINP_UP, PLAY, PLAY_SPEED_DOWN, PLAY_SPEED_RESET, PLAY_SPEED_UP, POWER, POWER_OFF, PREVIOUS_CANDIDATE, PRINT, PRINT_SCREEN, PROCESS, PROPS, QUOTE, RANDOM_TOGGLE, RC_LOW_BATTERY, RECORD_SPEED_NEXT, REDO, RESUME, RF_BYPASS, ROMAJI, SAVE, SCAN_CHANNELS_TOGGLE, SCREEN_MODE_NEXT, SCROLL_LOCK, SELECT, SEMICOLON, SEPARATOR, SETTINGS, SHIFT, SHIFT_LEFT, SHIFT_RIGHT, SINGLE_CANDIDATE, SLASH, SLEEP, SOFT1, SOFT2, SOFT3, SOFT4, SPACE, SPEECH_CORRECTION_LIST, SPEECH_INPUT_TOGGLE, SPELL_CHECK, SPLIT_SCREEN_TOGGLE, STANDBY, STB_INPUT, STB_POWER, SUBTITLE, SUBTRACT, SUPER, SUSPEND, SYMBOL, SYMBOL_LOCK, TAB, TELETEXT, TURBO, TV, TV_3D_MODE, TV_ANTENNA_CABLE, TV_AUDIO_DESCRIPTION, TV_AUDIO_DESCRIPTION_MIX_DOWN, TV_AUDIO_DESCRIPTION_MIX_UP, TV_CONTENTS_MENU, TV_DATA_SERVICE, TV_INPUT, TV_INPUT_COMPONENT1, TV_INPUT_COMPONENT2, TV_INPUT_COMPOSITE1, TV_INPUT_COMPOSITE2, TV_INPUT_HDMI1, TV_INPUT_HDMI2, TV_INPUT_HDMI3, TV_INPUT_HDMI4, TV_INPUT_VGA1, TV_MEDIA_CONTEXT, TV_NETWORK, TV_NUMBER_ENTRY, TV_POWER, TV_RADIO_SERVICE, TV_SATELLITE, TV_SATELLITE_BS, TV_SATELLITE_CS, TV_SATELLITE_TOGGLE, TV_TERRESTRIAL_ANALOG, TV_TERRESTRIAL_DIGITAL, TV_TIMER, UNDO, UNIDENTIFIED, VIDEO_MODE_NEXT, VOICE_DIAL, WAKE_UP, WINK, ZENKAKU, ZENKAKU_HANAKU, ZOOM_IN, ZOOM_OUT, ZOOM_TOGGLE
-
Method Summary
Modifier and TypeMethodDescriptiongetKeys()
Gets the key value.static KeyModifier
Returns theKeyModifier
forkey
.static KeyModifier
Returns the enum constant of this class with the specified name.static KeyModifier[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SHIFT
KeyModifier for "Shift
" key. -
CONTROL
KeyModifier for "Control
" key. -
ALT
KeyModifier for "Alt
" key. -
ALT_GRAPH
KeyModifier for "Alt Graph
" key. -
META
KeyModifier for "Meta
" key.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getKeys
Gets the key value. -
of
Returns theKeyModifier
forkey
.- Parameters:
key
- the key value- Returns:
- the
KeyModifier
-