Package com.grapecity.documents.excel
Enum Class SubtotalType
- All Implemented Interfaces:
Serializable,Comparable<SubtotalType>,Constable
指定指定数据透视字段的汇总子类型。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
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
指定不使用小计。 -
Automatic
指定小计类型与PivotDataConsolidationFunction的值相同。如果使用自动模式,则应移除所有其他小计。 -
Sum
指定总和。 -
Count
指定值的数量。 -
Average
指定平均值。 -
Max
指定最大值。 -
Min
指定最小值。 -
Product
指定产品。 -
CountNums
指定数字值的数量。 -
StdDev
指定标准偏差。 -
StdDevP
指定 StdDevP。 -
Var
指定变量。 -
VarP
指定 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
-