Package org.pepstock.charba.client.enums
Enum BorderAlign
- java.lang.Object
-
- java.lang.Enum<BorderAlign>
-
- org.pepstock.charba.client.enums.BorderAlign
-
- All Implemented Interfaces:
Serializable
,Comparable<BorderAlign>
,Key
public enum BorderAlign extends Enum<BorderAlign> implements Key
Property to set the border alignment on chart datasets.- 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 BorderAlign
valueOf(String name)
Returns the enum constant of this type with the specified name.static BorderAlign[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CENTER
public static final BorderAlign CENTER
When 'center' is set, the borders of arcs next to each other will overlap. This is the default.
-
INNER
public static final BorderAlign INNER
When 'inner' is set, it is guaranteed that all the borders are not overlap.
-
-
Method Detail
-
values
public static BorderAlign[] 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 (BorderAlign c : BorderAlign.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BorderAlign 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
-
-