Package org.pepstock.charba.client.enums
Enum ScaleTitleAlign
- java.lang.Object
-
- java.lang.Enum<ScaleTitleAlign>
-
- org.pepstock.charba.client.enums.ScaleTitleAlign
-
- All Implemented Interfaces:
Serializable
,Comparable<ScaleTitleAlign>
,Key
public enum ScaleTitleAlign extends Enum<ScaleTitleAlign> implements Key
Property to set the scale title alignment.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
value()
Returns the name value of propertystatic ScaleTitleAlign
valueOf(String name)
Returns the enum constant of this type with the specified name.static ScaleTitleAlign[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final ScaleTitleAlign START
The property sets the text at start of scale.
-
CENTER
public static final ScaleTitleAlign CENTER
The property sets the text at center of scale.
-
END
public static final ScaleTitleAlign END
The property sets the text at end of scale.
-
-
Method Detail
-
values
public static ScaleTitleAlign[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ScaleTitleAlign c : ScaleTitleAlign.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScaleTitleAlign valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-