Enum Constant and Description |
---|
ADD |
ALT |
ARROW_DOWN |
ARROW_LEFT |
ARROW_RIGHT |
ARROW_UP |
BACK_SPACE |
CANCEL |
CLEAR |
COMMAND |
CONTROL |
DECIMAL |
DELETE |
DIVIDE |
END |
ENTER |
EQUALS |
ESCAPE |
F1 |
F10 |
F11 |
F12 |
F2 |
F3 |
F4 |
F5 |
F6 |
F7 |
F8 |
F9 |
HELP |
HOME |
INSERT |
META |
MULTIPLY |
NULL |
NUMPAD0 |
NUMPAD1 |
NUMPAD2 |
NUMPAD3 |
NUMPAD4 |
NUMPAD5 |
NUMPAD6 |
NUMPAD7 |
NUMPAD8 |
NUMPAD9 |
PAGE_DOWN |
PAGE_UP |
PAUSE |
RETURN |
SEMICOLON |
SEPARATOR |
SHIFT |
SPACE |
SUBTRACT |
TAB |
ZENKAKU_HANKAKU |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
static Keycode |
getKeyFromUnicode(char key) |
int |
length() |
java.lang.CharSequence |
subSequence(int start,
int end) |
java.lang.String |
toString() |
static Keycode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Keycode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Keycode NULL
public static final Keycode CANCEL
public static final Keycode HELP
public static final Keycode BACK_SPACE
public static final Keycode TAB
public static final Keycode CLEAR
public static final Keycode RETURN
public static final Keycode ENTER
public static final Keycode SHIFT
public static final Keycode CONTROL
public static final Keycode ALT
public static final Keycode PAUSE
public static final Keycode ESCAPE
public static final Keycode SPACE
public static final Keycode PAGE_UP
public static final Keycode PAGE_DOWN
public static final Keycode END
public static final Keycode HOME
public static final Keycode ARROW_LEFT
public static final Keycode ARROW_UP
public static final Keycode ARROW_RIGHT
public static final Keycode ARROW_DOWN
public static final Keycode INSERT
public static final Keycode DELETE
public static final Keycode SEMICOLON
public static final Keycode EQUALS
public static final Keycode NUMPAD0
public static final Keycode NUMPAD1
public static final Keycode NUMPAD2
public static final Keycode NUMPAD3
public static final Keycode NUMPAD4
public static final Keycode NUMPAD5
public static final Keycode NUMPAD6
public static final Keycode NUMPAD7
public static final Keycode NUMPAD8
public static final Keycode NUMPAD9
public static final Keycode MULTIPLY
public static final Keycode ADD
public static final Keycode SEPARATOR
public static final Keycode SUBTRACT
public static final Keycode DECIMAL
public static final Keycode DIVIDE
public static final Keycode F1
public static final Keycode F2
public static final Keycode F3
public static final Keycode F4
public static final Keycode F5
public static final Keycode F6
public static final Keycode F7
public static final Keycode F8
public static final Keycode F9
public static final Keycode F10
public static final Keycode F11
public static final Keycode F12
public static final Keycode META
public static final Keycode COMMAND
public static final Keycode ZENKAKU_HANKAKU
public static Keycode[] values()
for (Keycode c : Keycode.values()) System.out.println(c);
public static Keycode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic char charAt(int index)
charAt
in interface java.lang.CharSequence
public int length()
length
in interface java.lang.CharSequence
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class java.lang.Enum<Keycode>
public static Keycode getKeyFromUnicode(char key)