Package com.grapecity.documents.excel
Enum Class PivotFieldCalculation
- All Implemented Interfaces:
Serializable,Comparable<PivotFieldCalculation>,Constable
指定小计功能。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription与基字段中基项值的差异。数据计算方式为:((单元格中的值) x (所有总计的总和)) / ((行总计) x (列总计)).无计算。基数字段中基项值的百分比差异。基字段中基项目值的百分比。列或系列的总百分比。指定父级Base字段总数的百分比。父列总量的百分比。父行的总百分比。行或类别占总数的百分比。报告中所包含的所有数据或数据点的总量的百分比。指定基础字段运行总数的百分比。按从小到大的顺序排列。从大到小排序。基字段中后续项目的数据作为累加总计。 -
Method Summary
Modifier and TypeMethodDescriptionstatic PivotFieldCalculationforValue(int value) intgetValue()static PivotFieldCalculationReturns the enum constant of this class with the specified name.static PivotFieldCalculation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DifferenceFrom
与基字段中基项值的差异。 -
Index
数据计算方式为:((单元格中的值) x (所有总计的总和)) / ((行总计) x (列总计)). -
NoAdditionalCalculation
无计算。 -
PercentDifferenceFrom
基数字段中基项值的百分比差异。 -
PercentOf
基字段中基项目值的百分比。 -
PercentOfColumn
列或系列的总百分比。 -
PercentOfParent
指定父级Base字段总数的百分比。 -
PercentOfParentColumn
父列总量的百分比。 -
PercentOfParentRow
父行的总百分比。 -
PercentOfRow
行或类别占总数的百分比。 -
PercentOfTotal
报告中所包含的所有数据或数据点的总量的百分比。 -
PercentRunningTotal
指定基础字段运行总数的百分比。 -
RankAscending
按从小到大的顺序排列。 -
RankDecending
从大到小排序。 -
RunningTotal
基字段中后续项目的数据作为累加总计。
-
-
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
-
getValue
public int getValue() -
forValue
-