public static enum Interactable.Result extends Enum<Interactable.Result>
Enum Constant and Description |
---|
HANDLED
This component has handled the key-stroke and it should be considered consumed.
|
MOVE_FOCUS_DOWN
This component has handled the key-stroke and requests the GUI system to switch focus to next component in
the general down direction.
|
MOVE_FOCUS_LEFT
This component has handled the key-stroke and requests the GUI system to switch focus to next component in
the general left direction.
|
MOVE_FOCUS_NEXT
This component has handled the key-stroke and requests the GUI system to switch focus to next component in
an ordered list of components.
|
MOVE_FOCUS_PREVIOUS
This component has handled the key-stroke and requests the GUI system to switch focus to previous component
in an ordered list of components.
|
MOVE_FOCUS_RIGHT
This component has handled the key-stroke and requests the GUI system to switch focus to next component in
the general right direction.
|
MOVE_FOCUS_UP
This component has handled the key-stroke and requests the GUI system to switch focus to next component in
the general up direction.
|
UNHANDLED
This component didn't handle the key-stroke, either because it was not recognized or because it chose to
ignore it.
|
Modifier and Type | Method and Description |
---|---|
static Interactable.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Interactable.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interactable.Result UNHANDLED
public static final Interactable.Result HANDLED
public static final Interactable.Result MOVE_FOCUS_NEXT
public static final Interactable.Result MOVE_FOCUS_PREVIOUS
public static final Interactable.Result MOVE_FOCUS_LEFT
public static final Interactable.Result MOVE_FOCUS_RIGHT
public static final Interactable.Result MOVE_FOCUS_UP
public static final Interactable.Result MOVE_FOCUS_DOWN
public static Interactable.Result[] values()
for (Interactable.Result c : Interactable.Result.values()) System.out.println(c);
public static Interactable.Result 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 nullCopyright © 2016. All rights reserved.