[]
        
立即试用
(Showing Draft Content)

SubtotalType

Enum Class SubtotalType

java.lang.Object
java.lang.Enum<SubtotalType>
com.grapecity.documents.excel.SubtotalType
All Implemented Interfaces:
Serializable, Comparable<SubtotalType>, Constable

public enum SubtotalType extends Enum<SubtotalType>
指定指定数据透视字段的汇总子类型。
  • Enum Constant Details

    • None

      public static final SubtotalType None
      指定不使用小计。
    • Automatic

      public static final SubtotalType Automatic
      指定小计类型与PivotDataConsolidationFunction的值相同。如果使用自动模式,则应移除所有其他小计。
    • Sum

      public static final SubtotalType Sum
      指定总和。
    • Count

      public static final SubtotalType Count
      指定值的数量。
    • Average

      public static final SubtotalType Average
      指定平均值。
    • Max

      public static final SubtotalType Max
      指定最大值。
    • Min

      public static final SubtotalType Min
      指定最小值。
    • Product

      public static final SubtotalType Product
      指定产品。
    • CountNums

      public static final SubtotalType CountNums
      指定数字值的数量。
    • StdDev

      public static final SubtotalType StdDev
      指定标准偏差。
    • StdDevP

      public static final SubtotalType StdDevP
      指定 StdDevP。
    • Var

      public static final SubtotalType Var
      指定变量。
    • VarP

      public static final SubtotalType VarP
      指定 VarP。
  • Method Details

    • values

      public static SubtotalType[] 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

      public static SubtotalType valueOf(String name)
      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 name
      NullPointerException - if the argument is null