public enum GoogleChartScheme extends Enum<GoogleChartScheme>
ColorSchemes.ID plugin, where category is "googlechart".| Enum Constant and Description |
|---|
ALL
Color scheme name "ALL" -
|
EIGHT
Color scheme name "EIGHT" -
|
SIXTEEN
Color scheme name "SIXTEEN" -
|
TWELVE
Color scheme name "TWELVE" -
|
TWENTY
Color scheme name "TWENTY" -
|
TWENTY_FOUR
Color scheme name "TWENTY_FOUR" -
|
| Modifier and Type | Method and Description |
|---|---|
default String |
category()
Returns the color scheme category.
|
default Gradient |
createGradient()
Creates a LINEAR gradient, with
topDown orientation and chart scope. |
default Gradient |
createGradient(GradientType type)
Creates a gradient by a type, with
chart scope. |
default Gradient |
createGradient(GradientType type,
GradientOrientation orientation)
Creates a gradient by a type and an orientation, with
chart scope. |
default Gradient |
createGradient(GradientType type,
GradientOrientation orientation,
GradientScope scope)
Creates a gradient by a type, an orientation and a scope.
|
default Gradient |
createGradient(GradientType type,
GradientScope scope)
Creates a gradient by a type and a scope.
|
default List<IsColor> |
getColors()
Returns a list of colors which are composing a color scheme.
|
ColorScheme |
getScheme()
Returns the internal enumerated scheme instance.
|
default String |
value()
Returns the name value of property
|
static GoogleChartScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GoogleChartScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfisValidcheckAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValidpublic static final GoogleChartScheme EIGHT
public static final GoogleChartScheme TWELVE
public static final GoogleChartScheme SIXTEEN
public static final GoogleChartScheme TWENTY
public static final GoogleChartScheme TWENTY_FOUR
public static final GoogleChartScheme ALL
public static GoogleChartScheme[] values()
for (GoogleChartScheme c : GoogleChartScheme.values()) System.out.println(c);
public static GoogleChartScheme valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic ColorScheme getScheme()
public String value()
Keypublic String category()
ColorSchemeColorSchemesOptions.DEFAULT_SCHEME_CATEGORY.category in interface ColorSchemeColorSchemesOptions.DEFAULT_SCHEME_CATEGORYpublic List<IsColor> getColors()
ColorSchemegetColors in interface ColorSchemepublic Gradient createGradient()
topDown orientation and chart scope.public Gradient createGradient(GradientType type)
chart scope.type - gradient typepublic Gradient createGradient(GradientType type, GradientOrientation orientation)
chart scope.type - gradient typeorientation - orientation of gradientpublic Gradient createGradient(GradientType type, GradientScope scope)
type - gradient typescope - scope of gradientpublic Gradient createGradient(GradientType type, GradientOrientation orientation, GradientScope scope)
type - gradient typeorientation - orientation of gradientscope - scope of gradient