Enum GoogleChartColor
- java.lang.Object
-
- java.lang.Enum<GoogleChartColor>
-
- org.pepstock.charba.client.colors.GoogleChartColor
-
- All Implemented Interfaces:
Serializable
,Comparable<GoogleChartColor>
,IsColor
public enum GoogleChartColor extends Enum<GoogleChartColor>
Google Chart colors provided as enumeration of colors.- Author:
- Andrea "Stock" Stocchero
- See Also:
- Google Chart Color on Stackoverflow
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLOR_00
Google chart color name "COLOR_00" -COLOR_01
Google chart color name "COLOR_01" -COLOR_02
Google chart color name "COLOR_02" -COLOR_03
Google chart color name "COLOR_03" -COLOR_04
Google chart color name "COLOR_04" -COLOR_05
Google chart color name "COLOR_05" -COLOR_06
Google chart color name "COLOR_06" -COLOR_07
Google chart color name "COLOR_07" -COLOR_08
Google chart color name "COLOR_08" -COLOR_09
Google chart color name "COLOR_09" -COLOR_10
Google chart color name "COLOR_10" -COLOR_11
Google chart color name "COLOR_11" -COLOR_12
Google chart color name "COLOR_12" -COLOR_13
Google chart color name "COLOR_13" -COLOR_14
Google chart color name "COLOR_14" -COLOR_15
Google chart color name "COLOR_15" -COLOR_16
Google chart color name "COLOR_16" -COLOR_17
Google chart color name "COLOR_17" -COLOR_18
Google chart color name "COLOR_18" -COLOR_19
Google chart color name "COLOR_19" -COLOR_20
Google chart color name "COLOR_20" -COLOR_21
Google chart color name "COLOR_21" -COLOR_22
Google chart color name "COLOR_22" -COLOR_23
Google chart color name "COLOR_23" -COLOR_24
Google chart color name "COLOR_24" -COLOR_25
Google chart color name "COLOR_25" -COLOR_26
Google chart color name "COLOR_26" -COLOR_27
Google chart color name "COLOR_27" -COLOR_28
Google chart color name "COLOR_28" -COLOR_29
Google chart color name "COLOR_29" -COLOR_30
Google chart color name "COLOR_30" -
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description default double
getAlpha()
Returns the alpha rate.default int
getBlue()
Returns the blue value.IsColor
getColor()
default int
getGreen()
Returns the green value.default int
getRed()
Returns the red value.static GoogleChartColor
valueOf(String name)
Returns the enum constant of this type with the specified name.static GoogleChartColor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COLOR_00
public static final GoogleChartColor COLOR_00
Google chart color name "COLOR_00" -
-
COLOR_01
public static final GoogleChartColor COLOR_01
Google chart color name "COLOR_01" -
-
COLOR_02
public static final GoogleChartColor COLOR_02
Google chart color name "COLOR_02" -
-
COLOR_03
public static final GoogleChartColor COLOR_03
Google chart color name "COLOR_03" -
-
COLOR_04
public static final GoogleChartColor COLOR_04
Google chart color name "COLOR_04" -
-
COLOR_05
public static final GoogleChartColor COLOR_05
Google chart color name "COLOR_05" -
-
COLOR_06
public static final GoogleChartColor COLOR_06
Google chart color name "COLOR_06" -
-
COLOR_07
public static final GoogleChartColor COLOR_07
Google chart color name "COLOR_07" -
-
COLOR_08
public static final GoogleChartColor COLOR_08
Google chart color name "COLOR_08" -
-
COLOR_09
public static final GoogleChartColor COLOR_09
Google chart color name "COLOR_09" -
-
COLOR_10
public static final GoogleChartColor COLOR_10
Google chart color name "COLOR_10" -
-
COLOR_11
public static final GoogleChartColor COLOR_11
Google chart color name "COLOR_11" -
-
COLOR_12
public static final GoogleChartColor COLOR_12
Google chart color name "COLOR_12" -
-
COLOR_13
public static final GoogleChartColor COLOR_13
Google chart color name "COLOR_13" -
-
COLOR_14
public static final GoogleChartColor COLOR_14
Google chart color name "COLOR_14" -
-
COLOR_15
public static final GoogleChartColor COLOR_15
Google chart color name "COLOR_15" -
-
COLOR_16
public static final GoogleChartColor COLOR_16
Google chart color name "COLOR_16" -
-
COLOR_17
public static final GoogleChartColor COLOR_17
Google chart color name "COLOR_17" -
-
COLOR_18
public static final GoogleChartColor COLOR_18
Google chart color name "COLOR_18" -
-
COLOR_19
public static final GoogleChartColor COLOR_19
Google chart color name "COLOR_19" -
-
COLOR_20
public static final GoogleChartColor COLOR_20
Google chart color name "COLOR_20" -
-
COLOR_21
public static final GoogleChartColor COLOR_21
Google chart color name "COLOR_21" -
-
COLOR_22
public static final GoogleChartColor COLOR_22
Google chart color name "COLOR_22" -
-
COLOR_23
public static final GoogleChartColor COLOR_23
Google chart color name "COLOR_23" -
-
COLOR_24
public static final GoogleChartColor COLOR_24
Google chart color name "COLOR_24" -
-
COLOR_25
public static final GoogleChartColor COLOR_25
Google chart color name "COLOR_25" -
-
COLOR_26
public static final GoogleChartColor COLOR_26
Google chart color name "COLOR_26" -
-
COLOR_27
public static final GoogleChartColor COLOR_27
Google chart color name "COLOR_27" -
-
COLOR_28
public static final GoogleChartColor COLOR_28
Google chart color name "COLOR_28" -
-
COLOR_29
public static final GoogleChartColor COLOR_29
Google chart color name "COLOR_29" -
-
COLOR_30
public static final GoogleChartColor COLOR_30
Google chart color name "COLOR_30" -
-
-
Method Detail
-
values
public static GoogleChartColor[] 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 (GoogleChartColor c : GoogleChartColor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GoogleChartColor 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
-
getColor
public IsColor getColor()
-
getRed
public default int getRed()
Description copied from interface:IsColor
Returns the red value.
-
getGreen
public default int getGreen()
Description copied from interface:IsColor
Returns the green value.
-
getBlue
public default int getBlue()
Description copied from interface:IsColor
Returns the blue value.
-
-