Enum Class PivotTotalsType
- All Implemented Interfaces:
Serializable,Comparable<PivotTotalsType>,Constable
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 ConstantsEnum ConstantDescriptionNo totals-row on the bottom, totals-column enabled in freezeTableBoth totals-row on the bottom and totals-column in freezeTable are desiredTotals-row on the bottom, no totals-column in freezeTableNo totals-row on the bottom, no totals-column in freezeTable -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanIdentifies if a given PivotTotalsType requires a totals-column in the freezeTablebooleanhasDown()Identifies if a given PivotTotalsType requires a totals-row on the bottomstatic PivotTotalsTypeReturns the enum constant of this class with the specified name.static PivotTotalsType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
No totals-row on the bottom, no totals-column in freezeTable -
Down
Totals-row on the bottom, no totals-column in freezeTable -
Across
No totals-row on the bottom, totals-column enabled in freezeTable -
Both
Both totals-row on the bottom and totals-column in freezeTable are desired
-
-
Field Details
-
TOTALS_NAME
- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- 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
-