public static enum NodeHotKeyStorage.Hotkey extends Enum<NodeHotKeyStorage.Hotkey>
Enum Constant and Description |
---|
None |
Slot0 |
Slot1 |
Slot2 |
Slot3 |
Slot4 |
Slot5 |
Slot6 |
Slot7 |
Slot8 |
Slot9 |
Modifier and Type | Method and Description |
---|---|
static NodeHotKeyStorage.Hotkey |
fromIndex(int index) |
static NodeHotKeyStorage.Hotkey |
fromKeyCode(int key) |
static NodeHotKeyStorage.Hotkey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeHotKeyStorage.Hotkey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeHotKeyStorage.Hotkey None
public static final NodeHotKeyStorage.Hotkey Slot1
public static final NodeHotKeyStorage.Hotkey Slot2
public static final NodeHotKeyStorage.Hotkey Slot3
public static final NodeHotKeyStorage.Hotkey Slot4
public static final NodeHotKeyStorage.Hotkey Slot5
public static final NodeHotKeyStorage.Hotkey Slot6
public static final NodeHotKeyStorage.Hotkey Slot7
public static final NodeHotKeyStorage.Hotkey Slot8
public static final NodeHotKeyStorage.Hotkey Slot9
public static final NodeHotKeyStorage.Hotkey Slot0
public static NodeHotKeyStorage.Hotkey[] values()
for (NodeHotKeyStorage.Hotkey c : NodeHotKeyStorage.Hotkey.values()) System.out.println(c);
public static NodeHotKeyStorage.Hotkey valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static NodeHotKeyStorage.Hotkey fromIndex(int index)
public static NodeHotKeyStorage.Hotkey fromKeyCode(int key)
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.