public enum AdjustRotationMode extends Enum<AdjustRotationMode>
Define adjust rotation mode.
| Enum Constant and Description |
|---|
Automatic
Automatic detection of rotation.
|
Disabled
Without rotation.
|
UserDefined
User defined value of rotation angle.
|
| Modifier and Type | Method and Description |
|---|---|
static AdjustRotationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdjustRotationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdjustRotationMode Automatic
Automatic detection of rotation.
public static final AdjustRotationMode Disabled
Without rotation.
public static final AdjustRotationMode UserDefined
User defined value of rotation angle. Need set AdjustRotationAngle property.
public static AdjustRotationMode 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 AdjustRotationMode[] values()
for (AdjustRotationMode c : AdjustRotationMode.values()) System.out.println(c);
Copyright © 2014. All rights reserved.