Enum Class TickTextRotate
- All Implemented Interfaces:
Serializable
,Comparable<TickTextRotate>
,Constable
Sets the rotation of the text on the chart’s axis.
- Since:
- 4.0
- Author:
- JBStrap
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TickTextRotate
Determines the rotation type of the text by its name.toString()
static TickTextRotate
Returns the enum constant of this class with the specified name.static TickTextRotate[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROTATE_0
The text is displayed horizontally and is not rotated. -
ROTATE_45
The text is rotated in a 45° angle. -
ROTATE_90
The text is rotated in a 90° angle (displayed vertically). -
AUTO
Based on the length and amount of the text, it is automatically rotated.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<TickTextRotate>
-
fromName
Determines the rotation type of the text by its name.- Parameters:
name
- Text rotation name- Returns:
- Rotation type for the specified name or
null
if there is no rotation type for the specified name
-