Enum KeyboardUiKey
- java.lang.Object
-
- java.lang.Enum<KeyboardUiKey>
-
- org.pepstock.charba.client.dom.enums.KeyboardUiKey
-
- All Implemented Interfaces:
Serializable,Comparable<KeyboardUiKey>,Key,IsKeyboardKey
public enum KeyboardUiKey extends Enum<KeyboardUiKey> implements IsKeyboardKey
Enumerates the user interface keys forNativeKeyboardEvent.- Author:
- Andrea "Stock" Stocchero
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTTheAccept,Commit, orOKkey or button.AGAINTheAgainkey.ATTENTIONTheAttn(Attention) key.CANCELTheCancelkey.CONTEXT_MENUShows the context menu.ESCAPETheEsc(Escape) key.EXECUTETheExecutekey.FINDTheFindkey.FINISHTheFinishkey.HELPTheHelpkey.PAUSEThePausekey.PLAYThePlaykey.PROPERTIESTheProps(Properties) key.SELECTTheSelectkey.ZOOM_INTheZoomInkey.ZOOM_OUTTheZoomOutkey.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringvalue()Returns the name value of propertystatic KeyboardUiKeyvalueOf(String name)Returns the enum constant of this type with the specified name.static KeyboardUiKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.pepstock.charba.client.dom.enums.IsKeyboardKey
is, is, is
-
-
-
-
Enum Constant Detail
-
ACCEPT
public static final KeyboardUiKey ACCEPT
TheAccept,Commit, orOKkey or button.
-
AGAIN
public static final KeyboardUiKey AGAIN
TheAgainkey. Redoes or repeats a previous action.
-
ATTENTION
public static final KeyboardUiKey ATTENTION
TheAttn(Attention) key.
-
CANCEL
public static final KeyboardUiKey CANCEL
TheCancelkey.
-
CONTEXT_MENU
public static final KeyboardUiKey CONTEXT_MENU
Shows the context menu. Typically found between theWindows(orOS) key and theControlkey on the right side of the keyboard.
-
ESCAPE
public static final KeyboardUiKey ESCAPE
TheEsc(Escape) key. Typically used as an exit, cancel, or"escape this operation" button. Historically, the Escape character was used to signal the start of a special control sequence of characters called an "escape sequence."
-
EXECUTE
public static final KeyboardUiKey EXECUTE
TheExecutekey.
-
FIND
public static final KeyboardUiKey FIND
TheFindkey. Opens an interface (typically a dialog box) for performing a find/search operation.
-
FINISH
public static final KeyboardUiKey FINISH
TheFinishkey.
-
HELP
public static final KeyboardUiKey HELP
TheHelpkey. Opens or toggles the display of help information.
-
PAUSE
public static final KeyboardUiKey PAUSE
ThePausekey. Pauses the current application or state, if applicable.
Note: This shouldn't be confused with the"MediaPause"key value, which is used for media controllers, rather than to control applications and processes.
-
PLAY
public static final KeyboardUiKey PLAY
ThePlaykey. Resumes a previously paused application, if applicable.
Note: This shouldn't be confused with the"MediaPlay"key value, which is used for media controllers, rather than to control applications and processes.
-
PROPERTIES
public static final KeyboardUiKey PROPERTIES
TheProps(Properties) key.
-
SELECT
public static final KeyboardUiKey SELECT
TheSelectkey.
-
ZOOM_IN
public static final KeyboardUiKey ZOOM_IN
TheZoomInkey.
-
ZOOM_OUT
public static final KeyboardUiKey ZOOM_OUT
TheZoomOutkey.
-
-
Method Detail
-
values
public static KeyboardUiKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeyboardUiKey c : KeyboardUiKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyboardUiKey valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-