|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DisplayDirection>
gov.nasa.pds.label.DisplayDirection
public enum DisplayDirection
Defines the various display directions that can be used by axes within arrays and images.
Enum Constant Summary | |
---|---|
DOWN
Display is top-to-bottom. |
|
LEFT
Display is right-to-left. |
|
RIGHT
Display is left-to-right. |
|
UP
Display is bottom-to-top. |
Method Summary | |
---|---|
static DisplayDirection |
getDirectionFromValue(String value)
Looks up a display direction based on the value within the metadata. |
static DisplayDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DisplayDirection[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DisplayDirection LEFT
public static final DisplayDirection RIGHT
public static final DisplayDirection UP
public static final DisplayDirection DOWN
Method Detail |
---|
public static DisplayDirection[] values()
for (DisplayDirection c : DisplayDirection.values()) System.out.println(c);
public static DisplayDirection valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static DisplayDirection getDirectionFromValue(String value)
value
- the metadata value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |