public enum MoveFocusDirection extends Enum<MoveFocusDirection>
NavigationInputMode
to determine the direction of the search for items to navigate to.Enum Constant and Description |
---|
CHILD
In the direction of the
children in
the grouped graph. |
DOWN
In the direction of the positive y Axis.
|
LEFT
In the direction of the negative x Axis.
|
NONE
No direction.
|
PARENT
In the direction of the
parent
in the grouped graph. |
RIGHT
In the direction of the positive x Axis.
|
UP
In the direction of the negative y Axis.
|
Modifier and Type | Method and Description |
---|---|
static MoveFocusDirection |
fromOrdinal(int ordinal) |
int |
value() |
static MoveFocusDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MoveFocusDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MoveFocusDirection CHILD
children
in
the grouped graph.public static final MoveFocusDirection DOWN
public static final MoveFocusDirection LEFT
public static final MoveFocusDirection NONE
public static final MoveFocusDirection PARENT
parent
in the grouped graph.public static final MoveFocusDirection RIGHT
public static final MoveFocusDirection UP
public static final MoveFocusDirection fromOrdinal(int ordinal)
public int value()
public static MoveFocusDirection valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static MoveFocusDirection[] values()
for (MoveFocusDirection c : MoveFocusDirection.values()) System.out.println(c);