Package org.pepstock.charba.client.enums
Enum BorderItemType
- java.lang.Object
-
- java.lang.Enum<BorderItemType>
-
- org.pepstock.charba.client.enums.BorderItemType
-
- All Implemented Interfaces:
Serializable
,Comparable<BorderItemType>
,Key
public enum BorderItemType extends Enum<BorderItemType> implements Key
Property which map the border width and border radius types onBarDataset
.- Author:
- Andrea "Stock" Stocchero
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTEGERS
When border width or radius are stored as an array of integers.OBJECTS
When border width or radius are stored as an object,BarBorderRadius
orBarBorderWidth
.UNKNOWN
When border width or radius are missing or set by a callback,WidthCallback
orRadiusCallback
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
value()
Returns the name value of propertystatic BorderItemType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BorderItemType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGERS
public static final BorderItemType INTEGERS
When border width or radius are stored as an array of integers.
-
OBJECTS
public static final BorderItemType OBJECTS
When border width or radius are stored as an object,BarBorderRadius
orBarBorderWidth
.
-
UNKNOWN
public static final BorderItemType UNKNOWN
When border width or radius are missing or set by a callback,WidthCallback
orRadiusCallback
.
-
-
Method Detail
-
values
public static BorderItemType[] 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 (BorderItemType c : BorderItemType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BorderItemType 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
-
-