Enum Class PoHistogram.Colorings

java.lang.Object
java.lang.Enum<PoHistogram.Colorings>
com.openinventor.meshviz.graph.PoHistogram.Colorings
All Implemented Interfaces:
IntegerValuedEnum, Serializable, Comparable<PoHistogram.Colorings>, Constable
Enclosing class:
PoHistogram

public static enum PoHistogram.Colorings extends Enum<PoHistogram.Colorings> implements IntegerValuedEnum
Type of coloration of the bars.
  • Enum Constant Details

    • COLOR_LIST

      public static final PoHistogram.Colorings COLOR_LIST
      Histogram bars are colored by a list of colors.
    • DATA_MAPPING

      public static final PoHistogram.Colorings DATA_MAPPING
      Histogram bars are colored by data mapping.
  • Method Details

    • values

      public static PoHistogram.Colorings[] 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 PoHistogram.Colorings 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
    • valueOf

      public static PoHistogram.Colorings valueOf(int val)
      Returns the enum constant of this type with the specified integer value
      Returns:
      the enum constant of this type with the specified integer value.
    • getValue

      public int getValue()
      Description copied from interface: IntegerValuedEnum
      Returns the integer value of the enum constant.
      Specified by:
      getValue in interface IntegerValuedEnum
      Returns:
      the integer value of the enum constant.