Package com.grapecity.documents.excel
Enum Class PivotFieldCalculation
- All Implemented Interfaces:
Serializable,Comparable<PivotFieldCalculation>,Constable
Specifies the subtotal function.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe difference from the value of the Base item in the Base field.Data calculated as ((value in cell) x (Grand Total of Grand Totals)) / ((Grand Row Total) x (Grand Column Total)).No calculation.Percentage difference from the value of the Base item in the Base field.Percentage of the value of the Base item in the Base field.Percentage of the total for the column or series.Percentage of the total of the specified parent Base field.Percentage of the total of the parent column.Percentage of the total of the parent row.Percentage of the total for the row or category.Percentage of the grand total of all the data or data points in the report.Percentage of the running total of the specified Base field.Rank smallest to largest.Rank largest to smallest.Data for successive items in the Base field as a running total. -
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
The difference from the value of the Base item in the Base field. -
Index
Data calculated as ((value in cell) x (Grand Total of Grand Totals)) / ((Grand Row Total) x (Grand Column Total)). -
NoAdditionalCalculation
No calculation. -
PercentDifferenceFrom
Percentage difference from the value of the Base item in the Base field. -
PercentOf
Percentage of the value of the Base item in the Base field. -
PercentOfColumn
Percentage of the total for the column or series. -
PercentOfParent
Percentage of the total of the specified parent Base field. -
PercentOfParentColumn
Percentage of the total of the parent column. -
PercentOfParentRow
Percentage of the total of the parent row. -
PercentOfRow
Percentage of the total for the row or category. -
PercentOfTotal
Percentage of the grand total of all the data or data points in the report. -
PercentRunningTotal
Percentage of the running total of the specified Base field. -
RankAscending
Rank smallest to largest. -
RankDecending
Rank largest to smallest. -
RunningTotal
Data for successive items in the Base field as a running total.
-
-
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
-