Enum KeyboardFunctionKey
- java.lang.Object
-
- java.lang.Enum<KeyboardFunctionKey>
-
- org.pepstock.charba.client.dom.enums.KeyboardFunctionKey
-
- All Implemented Interfaces:
Serializable,Comparable<KeyboardFunctionKey>,Key,IsKeyboardKey
public enum KeyboardFunctionKey extends Enum<KeyboardFunctionKey> implements IsKeyboardKey
Enumerates the function keys forNativeKeyboardEvent.- Author:
- Andrea "Stock" Stocchero
-
-
Enum Constant Summary
Enum Constants Enum Constant Description F1The first general-purpose function key,F1.F10TheF10key.F11TheF11key.F12TheF12key.F13TheF13key.F14TheF14key.F15TheF15key.F16TheF16key.F17TheF17key.F18TheF18key.F19TheF19key.F2TheF2key.F20TheF20key.F3TheF3key.F4TheF4key.F5TheF5key.F6TheF6key.F7TheF7key.F8TheF8key.F9TheF9key.SOFT1The first general-purpose virtual function key.SOFT2The second general-purpose virtual function key.SOFT3The third general-purpose virtual function key.SOFT4The fourth general-purpose virtual function key.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringvalue()Returns the name value of propertystatic KeyboardFunctionKeyvalueOf(String name)Returns the enum constant of this type with the specified name.static KeyboardFunctionKey[]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
-
F1
public static final KeyboardFunctionKey F1
The first general-purpose function key,F1.
-
F2
public static final KeyboardFunctionKey F2
TheF2key.
-
F3
public static final KeyboardFunctionKey F3
TheF3key.
-
F4
public static final KeyboardFunctionKey F4
TheF4key.
-
F5
public static final KeyboardFunctionKey F5
TheF5key.
-
F6
public static final KeyboardFunctionKey F6
TheF6key.
-
F7
public static final KeyboardFunctionKey F7
TheF7key.
-
F8
public static final KeyboardFunctionKey F8
TheF8key.
-
F9
public static final KeyboardFunctionKey F9
TheF9key.
-
F10
public static final KeyboardFunctionKey F10
TheF10key.
-
F11
public static final KeyboardFunctionKey F11
TheF11key.
-
F12
public static final KeyboardFunctionKey F12
TheF12key.
-
F13
public static final KeyboardFunctionKey F13
TheF13key.
-
F14
public static final KeyboardFunctionKey F14
TheF14key.
-
F15
public static final KeyboardFunctionKey F15
TheF15key.
-
F16
public static final KeyboardFunctionKey F16
TheF16key.
-
F17
public static final KeyboardFunctionKey F17
TheF17key.
-
F18
public static final KeyboardFunctionKey F18
TheF18key.
-
F19
public static final KeyboardFunctionKey F19
TheF19key.
-
F20
public static final KeyboardFunctionKey F20
TheF20key.
-
SOFT1
public static final KeyboardFunctionKey SOFT1
The first general-purpose virtual function key.
-
SOFT2
public static final KeyboardFunctionKey SOFT2
The second general-purpose virtual function key.
-
SOFT3
public static final KeyboardFunctionKey SOFT3
The third general-purpose virtual function key.
-
SOFT4
public static final KeyboardFunctionKey SOFT4
The fourth general-purpose virtual function key.
-
-
Method Detail
-
values
public static KeyboardFunctionKey[] 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 (KeyboardFunctionKey c : KeyboardFunctionKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyboardFunctionKey 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
-
-