Enum Class WaterfallVisualSet.Category

java.lang.Object
java.lang.Enum<WaterfallVisualSet.Category>
com.amalgamasimulation.charts.visualsets.WaterfallVisualSet.Category
All Implemented Interfaces:
Serializable, Comparable<WaterfallVisualSet.Category>, Constable
Enclosing class:
WaterfallVisualSet<T>

public static enum WaterfallVisualSet.Category extends Enum<WaterfallVisualSet.Category>
Defines the category of a bar (data element) in the waterfall chart.
  • Enum Constant Details

    • ABSOLUTE_VALUE

      public static final WaterfallVisualSet.Category ABSOLUTE_VALUE
      Represents the absolute value of an element.
    • PLACEHOLDER

      public static final WaterfallVisualSet.Category PLACEHOLDER
      Represents a placeholder used for alignment in the visualization to draw the area below the delta data elements.
    • POSITIVE_DELTA

      public static final WaterfallVisualSet.Category POSITIVE_DELTA
      Represents a positive change from the previous value.
    • NEGATIVE_DELTA

      public static final WaterfallVisualSet.Category NEGATIVE_DELTA
      Represents a negative change from the previous value.
  • Method Details

    • values

      public static WaterfallVisualSet.Category[] 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 WaterfallVisualSet.Category 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