Enum GradientColorCoding.ColorGradient
java.lang.Object
java.lang.Enum<GradientColorCoding.ColorGradient>
no.uib.jsparklines.renderers.util.GradientColorCoding.ColorGradient
- All Implemented Interfaces:
Serializable
,Comparable<GradientColorCoding.ColorGradient>
,java.lang.constant.Constable
- Enclosing class:
- GradientColorCoding
public static enum GradientColorCoding.ColorGradient extends Enum<GradientColorCoding.ColorGradient>
List of supported color gradient types.
Values below zero uses the first color in the gradient name, while values above zero uses the third color in the gradient.
Values below zero uses the first color in the gradient name, while values above zero uses the third color in the gradient.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description BlueBlackGreen
Blue via black to green.BlueBlackRed
Blue via black to red.BlueWhiteGreen
Blue via white to green.BlueWhiteRed
Blue via white to red.GreenBlackBlue
Green via black to blue.GreenBlackPurple
Green via black to purple.GreenBlackRed
Green via black to red.GreenBlackYellow
Green via black to yellow.GreenWhiteBlue
Green via white to blue.GreenWhiteRed
Green via white to red.MagentaBlackRed
Magenta via black to red.PurpleBlackGreen
Purple via black to green.RedBlackBlue
Red via black to blue.RedBlackGreen
Red via black to green.RedBlackMagenta
Red via black to magenta.RedWhiteBlue
Red via white to blue.RedWhiteGreen
Red via white to green.YellowBlackGreen
Yellow via black to green. -
Method Summary
Modifier and Type Method Description static GradientColorCoding.ColorGradient
valueOf(String name)
Returns the enum constant of this type with the specified name.static GradientColorCoding.ColorGradient[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RedBlackGreen
Red via black to green. -
GreenBlackRed
Green via black to red. -
GreenBlackBlue
Green via black to blue. -
BlueBlackGreen
Blue via black to green. -
GreenBlackYellow
Green via black to yellow. -
YellowBlackGreen
Yellow via black to green. -
GreenBlackPurple
Green via black to purple. -
PurpleBlackGreen
Purple via black to green. -
RedBlackMagenta
Red via black to magenta. -
MagentaBlackRed
Magenta via black to red. -
BlueBlackRed
Blue via black to red. -
RedBlackBlue
Red via black to blue. -
GreenWhiteRed
Green via white to red. -
RedWhiteGreen
Red via white to green. -
BlueWhiteRed
Blue via white to red. -
RedWhiteBlue
Red via white to blue. -
GreenWhiteBlue
Green via white to blue. -
BlueWhiteGreen
Blue via white to green.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-