Package org.pepstock.charba.client.enums
Enum PointStyleType
- java.lang.Object
-
- java.lang.Enum<PointStyleType>
-
- org.pepstock.charba.client.enums.PointStyleType
-
- All Implemented Interfaces:
Serializable
,Comparable<PointStyleType>
,Key
public enum PointStyleType extends Enum<PointStyleType> implements Key
Enumerates the type of the point style.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PointStyleType
getType(NativeObjectContainer object, Key key)
Returns the point style type in the native object container.String
value()
Returns the name value of propertystatic PointStyleType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PointStyleType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final PointStyleType STRING
The point style is stored as string, seePointStyle
, the default.
-
IMAGE
public static final PointStyleType IMAGE
The point style is stored as image, seeImg
.
-
CANVAS
public static final PointStyleType CANVAS
The point style is stored as canvas, seeCanvas
.
-
-
Method Detail
-
values
public static PointStyleType[] 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 (PointStyleType c : PointStyleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PointStyleType 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
-
value
public String value()
Description copied from interface:Key
Returns the name value of property
-
getType
public static PointStyleType getType(NativeObjectContainer object, Key key)
Returns the point style type in the native object container.- Parameters:
object
- the object instance on which to checkkey
- the string name of the property to test- Returns:
- the point style type
-
-