Package ch.exense.oryon.modules.syrius
Enum Keys
-
- All Implemented Interfaces:
Serializable
,CharSequence
,Comparable<Keys>
public enum Keys extends Enum<Keys> implements CharSequence
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
ALT
ARROW_DOWN
ARROW_LEFT
ARROW_RIGHT
ARROW_UP
BACK_SPACE
CANCEL
CLEAR
COMMAND
CONTROL
DECIMAL
DELETE
DIVIDE
DOWN
END
ENTER
EQUALS
ESCAPE
F1
F10
F11
F12
F2
F3
F4
F5
F6
F7
F8
F9
HELP
HOME
INSERT
LEFT
LEFT_ALT
LEFT_CONTROL
LEFT_SHIFT
META
MULTIPLY
NUMPAD0
NUMPAD1
NUMPAD2
NUMPAD3
NUMPAD4
NUMPAD5
NUMPAD6
NUMPAD7
NUMPAD8
NUMPAD9
PAGE_DOWN
PAGE_UP
PAUSE
RIGHT
SEMICOLON
SEPARATOR
SHIFT
SPACE
SUBTRACT
TAB
UP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description char
charAt(int index)
KeyCode
getKeyCode()
int
length()
CharSequence
subSequence(int start, int end)
static Keys
valueOf(String name)
Returns the enum constant of this type with the specified name.static Keys[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface CharSequence
chars, codePoints, toString
-
-
-
-
Enum Constant Detail
-
CANCEL
public static final Keys CANCEL
-
HELP
public static final Keys HELP
-
BACK_SPACE
public static final Keys BACK_SPACE
-
TAB
public static final Keys TAB
-
CLEAR
public static final Keys CLEAR
-
ENTER
public static final Keys ENTER
-
SHIFT
public static final Keys SHIFT
-
LEFT_SHIFT
public static final Keys LEFT_SHIFT
-
CONTROL
public static final Keys CONTROL
-
LEFT_CONTROL
public static final Keys LEFT_CONTROL
-
ALT
public static final Keys ALT
-
LEFT_ALT
public static final Keys LEFT_ALT
-
PAUSE
public static final Keys PAUSE
-
ESCAPE
public static final Keys ESCAPE
-
SPACE
public static final Keys SPACE
-
PAGE_UP
public static final Keys PAGE_UP
-
PAGE_DOWN
public static final Keys PAGE_DOWN
-
END
public static final Keys END
-
HOME
public static final Keys HOME
-
LEFT
public static final Keys LEFT
-
ARROW_LEFT
public static final Keys ARROW_LEFT
-
UP
public static final Keys UP
-
ARROW_UP
public static final Keys ARROW_UP
-
RIGHT
public static final Keys RIGHT
-
ARROW_RIGHT
public static final Keys ARROW_RIGHT
-
DOWN
public static final Keys DOWN
-
ARROW_DOWN
public static final Keys ARROW_DOWN
-
INSERT
public static final Keys INSERT
-
DELETE
public static final Keys DELETE
-
SEMICOLON
public static final Keys SEMICOLON
-
EQUALS
public static final Keys EQUALS
-
NUMPAD0
public static final Keys NUMPAD0
-
NUMPAD1
public static final Keys NUMPAD1
-
NUMPAD2
public static final Keys NUMPAD2
-
NUMPAD3
public static final Keys NUMPAD3
-
NUMPAD4
public static final Keys NUMPAD4
-
NUMPAD5
public static final Keys NUMPAD5
-
NUMPAD6
public static final Keys NUMPAD6
-
NUMPAD7
public static final Keys NUMPAD7
-
NUMPAD8
public static final Keys NUMPAD8
-
NUMPAD9
public static final Keys NUMPAD9
-
MULTIPLY
public static final Keys MULTIPLY
-
ADD
public static final Keys ADD
-
SEPARATOR
public static final Keys SEPARATOR
-
SUBTRACT
public static final Keys SUBTRACT
-
DECIMAL
public static final Keys DECIMAL
-
DIVIDE
public static final Keys DIVIDE
-
F1
public static final Keys F1
-
F2
public static final Keys F2
-
F3
public static final Keys F3
-
F4
public static final Keys F4
-
F5
public static final Keys F5
-
F6
public static final Keys F6
-
F7
public static final Keys F7
-
F8
public static final Keys F8
-
F9
public static final Keys F9
-
F10
public static final Keys F10
-
F11
public static final Keys F11
-
F12
public static final Keys F12
-
META
public static final Keys META
-
COMMAND
public static final Keys COMMAND
-
-
Method Detail
-
values
public static Keys[] 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 (Keys c : Keys.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Keys 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
-
getKeyCode
public KeyCode getKeyCode()
-
length
public int length()
- Specified by:
length
in interfaceCharSequence
-
charAt
public char charAt(int index)
- Specified by:
charAt
in interfaceCharSequence
-
subSequence
public CharSequence subSequence(int start, int end)
- Specified by:
subSequence
in interfaceCharSequence
-
-