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 F1
The first general-purpose function key,F1
.F10
TheF10
key.F11
TheF11
key.F12
TheF12
key.F13
TheF13
key.F14
TheF14
key.F15
TheF15
key.F16
TheF16
key.F17
TheF17
key.F18
TheF18
key.F19
TheF19
key.F2
TheF2
key.F20
TheF20
key.F3
TheF3
key.F4
TheF4
key.F5
TheF5
key.F6
TheF6
key.F7
TheF7
key.F8
TheF8
key.F9
TheF9
key.SOFT1
The first general-purpose virtual function key.SOFT2
The second general-purpose virtual function key.SOFT3
The third general-purpose virtual function key.SOFT4
The fourth general-purpose virtual function key.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
value()
Returns the name value of propertystatic KeyboardFunctionKey
valueOf(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
TheF2
key.
-
F3
public static final KeyboardFunctionKey F3
TheF3
key.
-
F4
public static final KeyboardFunctionKey F4
TheF4
key.
-
F5
public static final KeyboardFunctionKey F5
TheF5
key.
-
F6
public static final KeyboardFunctionKey F6
TheF6
key.
-
F7
public static final KeyboardFunctionKey F7
TheF7
key.
-
F8
public static final KeyboardFunctionKey F8
TheF8
key.
-
F9
public static final KeyboardFunctionKey F9
TheF9
key.
-
F10
public static final KeyboardFunctionKey F10
TheF10
key.
-
F11
public static final KeyboardFunctionKey F11
TheF11
key.
-
F12
public static final KeyboardFunctionKey F12
TheF12
key.
-
F13
public static final KeyboardFunctionKey F13
TheF13
key.
-
F14
public static final KeyboardFunctionKey F14
TheF14
key.
-
F15
public static final KeyboardFunctionKey F15
TheF15
key.
-
F16
public static final KeyboardFunctionKey F16
TheF16
key.
-
F17
public static final KeyboardFunctionKey F17
TheF17
key.
-
F18
public static final KeyboardFunctionKey F18
TheF18
key.
-
F19
public static final KeyboardFunctionKey F19
TheF19
key.
-
F20
public static final KeyboardFunctionKey F20
TheF20
key.
-
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
-
-