public static enum Interactable.Result extends Enum<Interactable.Result>
Enum Constant and Description |
---|
EVENT_HANDLED
The event has been dealt with by this component, shouldn't be sent to the parent.
|
EVENT_NOT_HANDLED
The component didn't have any action for this event, send it to the parent.
|
NEXT_INTERACTABLE_DOWN
Move keyboard focus to the next component, going down.
|
NEXT_INTERACTABLE_RIGHT
Move keyboard focus to the next component, going right.
|
PREVIOUS_INTERACTABLE_LEFT
Move keyboard focus to the previous component, going left.
|
PREVIOUS_INTERACTABLE_UP
Move keyboard focus to the previous component, going up.
|
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 EVENT_HANDLED
public static final Interactable.Result EVENT_NOT_HANDLED
public static final Interactable.Result NEXT_INTERACTABLE_DOWN
public static final Interactable.Result NEXT_INTERACTABLE_RIGHT
public static final Interactable.Result PREVIOUS_INTERACTABLE_UP
public static final Interactable.Result PREVIOUS_INTERACTABLE_LEFT
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 © 2015. All Rights Reserved.