public static enum FocusTraversal.TraversalDirection extends java.lang.Enum<FocusTraversal.TraversalDirection>
Enum Constant and Description |
---|
Down
For containers that provide row/column navigation, this
represents the next row in a similar column as defined
by the layout/navigation implementation.
|
End
For containers that provide row/column nagivation, this represents
the last element in the current row or column, depending on if the UI
is row-oriented or column oriented.
|
Home
For containers that provide row/column nagivation, this represents
the first element in the current row or column, depending on if the UI
is row-oriented or column oriented.
|
Left
For containers that provide row/column navigation, this
represents the previous column in a similar row as defined
by the layout/navigation implementation.
|
Next
Represents the next logical navigation step in a focus
traversal workflow.
|
PageEnd
Represents the last element in this focus container.
|
PageHome
Represents the first element in this focus container.
|
Previous
Represents the previous logical navigation step in a focus
traversal workflow.
|
Right
For containers that provide row/column navigation, this
represents the next column in a similar row as defined
by the layout/navigation implementation.
|
Up
For containers that provide row/column navigation, this
represents the previous row in a similar column as defined
by the layout/navigation implementation.
|
Modifier and Type | Method and Description |
---|---|
static FocusTraversal.TraversalDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FocusTraversal.TraversalDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FocusTraversal.TraversalDirection Up
public static final FocusTraversal.TraversalDirection Down
public static final FocusTraversal.TraversalDirection Left
public static final FocusTraversal.TraversalDirection Right
public static final FocusTraversal.TraversalDirection Next
public static final FocusTraversal.TraversalDirection Previous
public static final FocusTraversal.TraversalDirection Home
public static final FocusTraversal.TraversalDirection End
public static final FocusTraversal.TraversalDirection PageHome
public static final FocusTraversal.TraversalDirection PageEnd
public static FocusTraversal.TraversalDirection[] values()
for (FocusTraversal.TraversalDirection c : FocusTraversal.TraversalDirection.values()) System.out.println(c);
public static FocusTraversal.TraversalDirection valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null