Enum Class AuxLineColor

Object
Enum<AuxLineColor>
AuxLineColor
All Implemented Interfaces:
Serializable, Comparable<AuxLineColor>, Constable

public enum AuxLineColor extends Enum<AuxLineColor>
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().
  • Enum Constant Details

    • RED

      public static final AuxLineColor RED
      Hexadecimal RGB #AA4643.
    • GREEN

      public static final AuxLineColor GREEN
      Hexadecimal RGB #89A54E.
    • BLUE

      public static final AuxLineColor BLUE
      Hexadecimal RGB #4572A7.
    • BLACK

      public static final AuxLineColor BLACK
      Hexadecimal RGB #000000.
    • DARK_RED

      public static final AuxLineColor DARK_RED
      Hexadecimal RGB #8B0000.
    • LIGHT_RED

      public static final AuxLineColor LIGHT_RED
      Hexadecimal RGB #FF2800.
    • DARK_GREEN

      public static final AuxLineColor DARK_GREEN
      Hexadecimal RGB #014421.
    • LIGHT_GREEN

      public static final AuxLineColor LIGHT_GREEN
      Hexadecimal RGB #66FF00.
    • LIGHT_BLUE

      public static final AuxLineColor LIGHT_BLUE
      Hexadecimal RGB #ADD8E6.
    • ORANGE

      public static final AuxLineColor ORANGE
      Hexadecimal RGB #FB9902.
    • YELLOW

      public static final AuxLineColor YELLOW
      Hexadecimal RGB #FFD800.
    • GRAY

      public static final AuxLineColor GRAY
      Hexadecimal RGB #808080.
  • Method Details

    • values

      public static AuxLineColor[] 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

      public static AuxLineColor valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • color

      public String color()
      Returns this color's hexadecimal RGB value, for example "#AA4643" for RED.
      Returns:
      the hexadecimal RGB string this constant resolves to. Never null.