public static enum Nearable.Orientation extends java.lang.Enum<Nearable.Orientation>
Enum Constant and Description |
---|
HORIZONTAL |
HORIZONTAL_UPSIDE_DOWN |
LEFT_SIDE |
RIGHT_SIDE |
UNKNOWN |
VERTICAL |
VERTICAL_UPSIDE_DOWN |
Modifier and Type | Method and Description |
---|---|
static Nearable.Orientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Nearable.Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Nearable.Orientation UNKNOWN
public static final Nearable.Orientation HORIZONTAL
public static final Nearable.Orientation HORIZONTAL_UPSIDE_DOWN
public static final Nearable.Orientation VERTICAL
public static final Nearable.Orientation VERTICAL_UPSIDE_DOWN
public static final Nearable.Orientation LEFT_SIDE
public static final Nearable.Orientation RIGHT_SIDE
public static Nearable.Orientation[] values()
for (Nearable.Orientation c : Nearable.Orientation.values()) System.out.println(c);
public static Nearable.Orientation 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