Package com.grapecity.documents.excel
Enum Class TotalsCalculation
- All Implemented Interfaces:
Serializable,Comparable<TotalsCalculation>,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 TotalsCalculationforValue(int value) intgetValue()static TotalsCalculationReturns the enum constant of this class with the specified name.static TotalsCalculation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
指定不进行计算。 -
Sum
指定总和。 -
Average
指定平均值。 -
Count
指定非空单元格的数量。 -
CountNums
指定具有数字值的单元格的数量。 -
Min
指定最小值。 -
Max
指定最大值。 -
StdDev
指定标准差。 -
Var
指定方差。 -
Custom
指定自定义计算。
-
-
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
-