Enum ElementsNames

java.lang.Object
java.lang.Enum<ElementsNames>
org.rrd4j.graph.ElementsNames
All Implemented Interfaces:
Serializable, Comparable<ElementsNames>, java.lang.constant.Constable

public enum ElementsNames extends Enum<ElementsNames>
The elements of the graph. For use in RrdGraphDef.setColor(ElementsNames, java.awt.Paint) method.
Author:
Fabrice Bacchella
  • Enum Constant Details

    • canvas

      public static final ElementsNames canvas
      The canvas color
    • back

      public static final ElementsNames back
      The background color
    • shadea

      public static final ElementsNames shadea
      The top-left graph shade color
    • shadeb

      public static final ElementsNames shadeb
      The bottom-right graph shade color
    • grid

      public static final ElementsNames grid
      The minor grid color
    • mgrid

      public static final ElementsNames mgrid
      The major grid color
    • font

      public static final ElementsNames font
      The font color
    • frame

      public static final ElementsNames frame
      The frame color
    • arrow

      public static final ElementsNames arrow
      The arrow color
    • xaxis

      public static final ElementsNames xaxis
      The x-axis color
    • yaxis

      public static final ElementsNames yaxis
      The y-axis color
  • Method Details

    • values

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

      public static ElementsNames 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 name
      NullPointerException - if the argument is null