Enum Class PivotTotalsType

java.lang.Object
java.lang.Enum<PivotTotalsType>
io.deephaven.multiviewwidget.query.pivot.PivotTotalsType
All Implemented Interfaces:
Serializable, Comparable<PivotTotalsType>, Constable

public enum PivotTotalsType extends Enum<PivotTotalsType>
Enum to identify user-driven Pivot Totals
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    No totals-row on the bottom, totals-column enabled in freezeTable
    Both totals-row on the bottom and totals-column in freezeTable are desired
    Totals-row on the bottom, no totals-column in freezeTable
    No totals-row on the bottom, no totals-column in freezeTable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Identifies if a given PivotTotalsType requires a totals-column in the freezeTable
    boolean
    Identifies if a given PivotTotalsType requires a totals-row on the bottom
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • None

      public static final PivotTotalsType None
      No totals-row on the bottom, no totals-column in freezeTable
    • Down

      public static final PivotTotalsType Down
      Totals-row on the bottom, no totals-column in freezeTable
    • Across

      public static final PivotTotalsType Across
      No totals-row on the bottom, totals-column enabled in freezeTable
    • Both

      public static final PivotTotalsType Both
      Both totals-row on the bottom and totals-column in freezeTable are desired
  • Field Details

  • Method Details

    • values

      public static PivotTotalsType[] 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 PivotTotalsType 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
    • hasDown

      public boolean hasDown()
      Identifies if a given PivotTotalsType requires a totals-row on the bottom
      Returns:
      true if totals-row is required, else false
    • hasAcross

      public boolean hasAcross()
      Identifies if a given PivotTotalsType requires a totals-column in the freezeTable
      Returns:
      true if totals-column is required, else false