Package org.pepstock.charba.client.enums
Enum TickAlign
- java.lang.Object
-
- java.lang.Enum<TickAlign>
-
- org.pepstock.charba.client.enums.TickAlign
-
- All Implemented Interfaces:
Serializable
,Comparable<TickAlign>
,Key
public enum TickAlign extends Enum<TickAlign> implements Key
Property to set alignment of the ticks.- 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 TickAlign
valueOf(String name)
Returns the enum constant of this type with the specified name.static TickAlign[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final TickAlign START
The property sets the start alignment.
-
CENTER
public static final TickAlign CENTER
The property sets the center alignment.
-
INNER
public static final TickAlign INNER
The property sets the center alignment.
-
END
public static final TickAlign END
The property sets the end alignment.
-
-
Method Detail
-
values
public static TickAlign[] 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 (TickAlign c : TickAlign.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TickAlign 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
-
-