Enum SchemeScope
- java.lang.Object
-
- java.lang.Enum<SchemeScope>
-
- org.pepstock.charba.client.impl.plugins.enums.SchemeScope
-
- All Implemented Interfaces:
Serializable
,Comparable<SchemeScope>
,Key
public enum SchemeScope extends Enum<SchemeScope> implements Key
Enumerates the possible values to address coloring of BAR or BUBBLE datasets by a color scheme.- 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 SchemeScope
valueOf(String name)
Returns the enum constant of this type with the specified name.static SchemeScope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATASET
public static final SchemeScope DATASET
Apply the scheme colors at dataset level (1 color for 1 dataset).
-
DATA
public static final SchemeScope DATA
Apply the scheme colors at data lavel (1 color for each data inside a dataset dataset).
-
-
Method Detail
-
values
public static SchemeScope[] 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 (SchemeScope c : SchemeScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemeScope 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
-
-