Enum PointerElement
- java.lang.Object
-
- java.lang.Enum<PointerElement>
-
- org.pepstock.charba.client.impl.plugins.enums.PointerElement
-
- All Implemented Interfaces:
Serializable
,Comparable<PointerElement>
,Key
public enum PointerElement extends Enum<PointerElement> implements Key
The elements of the chart in scope ofChartPointer.ID
plugin.- Author:
- Andrea "Stock" Stocchero
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AXES
Changes the cursor when over to an axes.DATASET
Changes the cursor when over to a dataset.LEGEND
Changes the cursor when over to the legend.SUBTITLE
Changes the cursor when over to the subtitle.TITLE
Changes the cursor when over to the title.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
value()
Returns the name value of propertystatic PointerElement
valueOf(String name)
Returns the enum constant of this type with the specified name.static PointerElement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATASET
public static final PointerElement DATASET
Changes the cursor when over to a dataset.
-
TITLE
public static final PointerElement TITLE
Changes the cursor when over to the title.
-
SUBTITLE
public static final PointerElement SUBTITLE
Changes the cursor when over to the subtitle.
-
AXES
public static final PointerElement AXES
Changes the cursor when over to an axes.
-
LEGEND
public static final PointerElement LEGEND
Changes the cursor when over to the legend.
-
-
Method Detail
-
values
public static PointerElement[] 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 (PointerElement c : PointerElement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PointerElement 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
-
-