Package com.grapecity.documents.excel
Enum Class SubtotalType
- All Implemented Interfaces:
Serializable,Comparable<SubtotalType>,Constable
Specifies the type of subtotal for the specified pivot field.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies that the subtotal type is the same as the value of PivotDataConsolidationFunction.Specifies the average.Specifies the number of values.Specifies the number of numeric values.Specifies the maximum.Specifies the minimum.Specifies no subtotal is used.Specifies the product.Specifies StdDev.Specifies StdDevP.Specifies sum.Specifies Var.Specifies VarP. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubtotalTypeReturns the enum constant of this class with the specified name.static SubtotalType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
Specifies no subtotal is used. -
Automatic
Specifies that the subtotal type is the same as the value of PivotDataConsolidationFunction. If Automatic is used, all other subtotals should be removed. -
Sum
Specifies sum. -
Count
Specifies the number of values. -
Average
Specifies the average. -
Max
Specifies the maximum. -
Min
Specifies the minimum. -
Product
Specifies the product. -
CountNums
Specifies the number of numeric values. -
StdDev
Specifies StdDev. -
StdDevP
Specifies StdDevP. -
Var
Specifies Var. -
VarP
Specifies VarP.
-
-
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
-