Serializable
, Comparable<Interactable.FocusChangeDirection>
public static enum Interactable.FocusChangeDirection extends Enum<Interactable.FocusChangeDirection>
Enum Constant | Description |
---|---|
DOWN |
The next interactable component, going down.
|
LEFT |
The next interactable component, going left.
|
NEXT |
The next interactable component, in layout manager order (usually left->right, up->down).
|
PREVIOUS |
The previous interactable component, reversed layout manager order (usually right->left, down->up).
|
RESET |
Focus has gone away and no component is now in focus
|
RIGHT |
The next interactable component, going right.
|
TELEPORT |
Focus was changed by calling the
RootContainer.setFocusedInteractable(..) method directly. |
UP |
The next interactable component, going up.
|
Modifier and Type | Method | Description |
---|---|---|
static Interactable.FocusChangeDirection |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Interactable.FocusChangeDirection[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interactable.FocusChangeDirection DOWN
public static final Interactable.FocusChangeDirection RIGHT
public static final Interactable.FocusChangeDirection UP
public static final Interactable.FocusChangeDirection LEFT
public static final Interactable.FocusChangeDirection NEXT
public static final Interactable.FocusChangeDirection PREVIOUS
public static final Interactable.FocusChangeDirection TELEPORT
RootContainer.setFocusedInteractable(..)
method directly.public static final Interactable.FocusChangeDirection RESET
public static Interactable.FocusChangeDirection[] values()
for (Interactable.FocusChangeDirection c : Interactable.FocusChangeDirection.values()) System.out.println(c);
public static Interactable.FocusChangeDirection 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 © 2020. All rights reserved.