public enum ShortcutSlot extends java.lang.Enum<ShortcutSlot>
Enum Constant and Description |
---|
F1
The F1 key.
|
F10
The F10 key.
|
F11
The F11 key.
|
F12
The F2 key.
|
F2
The F2 key.
|
F3
The F3 key.
|
F4
The F4 key.
|
F5
The F5 key.
|
F6
The F6 key.
|
F7
The F7 key.
|
F8
The F8 key.
|
F9
The F9 key.
|
Modifier and Type | Method and Description |
---|---|
int |
getSlot()
Returns the slot number.
|
@NotNull java.lang.String |
toString() |
static ShortcutSlot |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShortcutSlot[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShortcutSlot F1
public static final ShortcutSlot F2
public static final ShortcutSlot F3
public static final ShortcutSlot F4
public static final ShortcutSlot F5
public static final ShortcutSlot F6
public static final ShortcutSlot F7
public static final ShortcutSlot F8
public static final ShortcutSlot F9
public static final ShortcutSlot F10
public static final ShortcutSlot F11
public static final ShortcutSlot F12
public static ShortcutSlot[] values()
for (ShortcutSlot c : ShortcutSlot.values()) System.out.println(c);
public static ShortcutSlot 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 int getSlot()
@NotNull public @NotNull java.lang.String toString()
toString
in class java.lang.Enum<ShortcutSlot>