public enum RotationEnum extends 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(String name) |
static RotationEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static RotationEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
static RotationEnum |
valueOf(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(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 Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
public static RotationEnum getByName(String name)
public static RotationEnum getByValue(Byte value)
public static RotationEnum getByValue(byte value)
Copyright © 2017. All rights reserved.