Package net.pricefx.common.api.chart
Enum Class AuxLineColor
- All Implemented Interfaces:
Serializable,Comparable<AuxLineColor>,Constable
A named color for an auxiliary reference line or trend line overlay, set with
AuxLine.setColor(AuxLineColor) or
TrendLine.setColor(AuxLineColor). Each constant resolves to a
fixed hexadecimal RGB color, available via color().-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHexadecimal RGB#000000.Hexadecimal RGB#4572A7.Hexadecimal RGB#014421.Hexadecimal RGB#8B0000.Hexadecimal RGB#808080.Hexadecimal RGB#89A54E.Hexadecimal RGB#ADD8E6.Hexadecimal RGB#66FF00.Hexadecimal RGB#FF2800.Hexadecimal RGB#FB9902.Hexadecimal RGB#AA4643.Hexadecimal RGB#FFD800. -
Method Summary
Modifier and TypeMethodDescriptioncolor()Returns this color's hexadecimal RGB value, for example"#AA4643"forRED.static AuxLineColorReturns the enum constant of this class with the specified name.static AuxLineColor[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RED
Hexadecimal RGB#AA4643. -
GREEN
Hexadecimal RGB#89A54E. -
BLUE
Hexadecimal RGB#4572A7. -
BLACK
Hexadecimal RGB#000000. -
DARK_RED
Hexadecimal RGB#8B0000. -
LIGHT_RED
Hexadecimal RGB#FF2800. -
DARK_GREEN
Hexadecimal RGB#014421. -
LIGHT_GREEN
Hexadecimal RGB#66FF00. -
LIGHT_BLUE
Hexadecimal RGB#ADD8E6. -
ORANGE
Hexadecimal RGB#FB9902. -
YELLOW
Hexadecimal RGB#FFD800. -
GRAY
Hexadecimal RGB#808080.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
color
Returns this color's hexadecimal RGB value, for example"#AA4643"forRED.- Returns:
- the hexadecimal RGB string this constant resolves to. Never
null.
-