public enum DirectionType extends java.lang.Enum<DirectionType>
Modifier and Type | Method and Description |
---|---|
static DirectionType |
fromInteger(int value)
Converts an integer between 0 and 10 to a image format.
|
int |
value()
Gets the enumaration object value.
|
static DirectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DirectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectionType ORIGINAL
public static final DirectionType FORENSIC
public static DirectionType[] values()
for (DirectionType c : DirectionType.values()) System.out.println(c);
public static DirectionType 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 value()
Gets the enumaration object value.
public static DirectionType fromInteger(int value)
Converts an integer between 0 and 10 to a image format.
value
-