Enum Class ShortcutSlot
- All Implemented Interfaces:
Serializable
,Comparable<ShortcutSlot>
,Constable
A slot in the shortcuts bar.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionint
getSlot()
Returns the slot number.@NotNull String
toString()
static ShortcutSlot
Returns the enum constant of this class with the specified name.static ShortcutSlot[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
F1
The F1 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. -
F10
The F10 key. -
F11
The F11 key. -
F12
The F2 key.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getSlot
public int getSlot()Returns the slot number.- Returns:
- the slot number
-
toString
- Overrides:
toString
in classEnum<ShortcutSlot>
-