public enum RotationEnum extends java.lang.Enum<RotationEnum> implements JREnum
Enum Constant and Description |
---|
LEFT
Constant useful for rotating the text 90 degrees counter clockwise.
|
NONE
Constant useful for displaying the text without rotating it
|
RIGHT
Constant useful for rotating the text 90 degrees clockwise.
|
UPSIDE_DOWN
Constant useful for rotating the text 180 degrees.
|
Modifier and Type | Method and Description |
---|---|
static RotationEnum |
getByName(java.lang.String name) |
static RotationEnum |
getByValue(byte value) |
static RotationEnum |
getByValue(java.lang.Byte value) |
java.lang.String |
getName() |
byte |
getValue() |
java.lang.Byte |
getValueByte() |
static RotationEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RotationEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RotationEnum NONE
public static final RotationEnum LEFT
public static final RotationEnum RIGHT
public static final RotationEnum UPSIDE_DOWN
public static RotationEnum[] values()
for (RotationEnum c : RotationEnum.values()) System.out.println(c);
public static RotationEnum 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 java.lang.Byte getValueByte()
getValueByte
in interface JREnum
public static RotationEnum getByName(java.lang.String name)
public static RotationEnum getByValue(java.lang.Byte value)
public static RotationEnum getByValue(byte value)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com