public enum ImageOrientation extends java.lang.Enum<ImageOrientation>
Enum Constant and Description |
---|
BottomLeft |
BottomRight |
LeftBottom |
LeftTop |
RightBottom |
RightTop |
TopLeft |
TopRight |
Modifier and Type | Method and Description |
---|---|
static ImageOrientation |
from(java.lang.String value) |
int |
getValue() |
static boolean |
isValid(java.lang.String value) |
static ImageOrientation |
valueOf(int value) |
static ImageOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageOrientation TopLeft
public static final ImageOrientation TopRight
public static final ImageOrientation BottomRight
public static final ImageOrientation BottomLeft
public static final ImageOrientation LeftTop
public static final ImageOrientation RightTop
public static final ImageOrientation RightBottom
public static final ImageOrientation LeftBottom
public static ImageOrientation[] values()
for (ImageOrientation c : ImageOrientation.values()) System.out.println(c);
public static ImageOrientation 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 getValue()
public static ImageOrientation valueOf(int value)
public static ImageOrientation from(java.lang.String value)
public static boolean isValid(java.lang.String value)