public enum NavigateDirection extends java.lang.Enum<NavigateDirection> implements INativeEnum
Enum Constant and Description |
---|
FirstChild
The navigation direction is to the first child.
|
LastChild
The navigation direction is to the last child.
|
NextSibling
The navigation direction is to the next sibling.
|
Parent
The navigation direction is to the parent.
|
PreviousSibling
The navigation direction is to the previous sibling.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<NavigateDirection> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static NavigateDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NavigateDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NavigateDirection Parent
public static final NavigateDirection NextSibling
public static final NavigateDirection PreviousSibling
public static final NavigateDirection FirstChild
public static final NavigateDirection LastChild
public static NavigateDirection[] values()
for (NavigateDirection c : NavigateDirection.values()) System.out.println(c);
public static NavigateDirection 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 nullpublic int getNativeValue()
getNativeValue
in interface INativeEnum
public java.lang.String getConstantName()
getConstantName
in interface INativeEnum
public static java.util.Optional<NavigateDirection> fromNativeValue(int nativeValue)