public enum Rotation extends Enum<Rotation>
Defines page rotation in degrees.
Enum Constant and Description |
---|
ON_180_DEGREE
The 180 degree page rotation.
|
ON_270_DEGREE
The 270 degree page rotation.
|
ON_90_DEGREE
The 90 degree page rotation.
|
Modifier and Type | Method and Description |
---|---|
static Rotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rotation ON_180_DEGREE
The 180 degree page rotation.
public static final Rotation ON_270_DEGREE
The 270 degree page rotation.
public static final Rotation ON_90_DEGREE
The 90 degree page rotation.
public static Rotation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Rotation[] values()
for (Rotation c : Rotation.values()) System.out.println(c);