[]
        
立即试用
(Showing Draft Content)

PivotCellType

Enum Class PivotCellType

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

public enum PivotCellType extends Enum<PivotCellType>
指定该单元格对应的PivotTable实体。
  • Enum Constant Details

    • Value

      public static final PivotCellType Value
      数据区域内的任何单元格(空白行除外)。
    • PivotItem

      public static final PivotCellType PivotItem
      一个行或列区域中的单元格,它不是小计、总计、自定义小计或空白行。
    • Subtotal

      public static final PivotCellType Subtotal
      行或列区域中的一个小计单元格。
    • GrandTotal

      public static final PivotCellType GrandTotal
      一个行或列区域中的单元格,表示总总计。
    • DataField

      public static final PivotCellType DataField
      一个数据字段标签(不是数据按钮)。
    • PivotField

      public static final PivotCellType PivotField
      字段按钮(非数据按钮)。
    • PageFieldItem

      public static final PivotCellType PageFieldItem
      显示页面字段选中项的单元格。
    • CustomSubtotal

      public static final PivotCellType CustomSubtotal
      一个在行或列区域中的自定义小计单元格。
    • DataPivotField

      public static final PivotCellType DataPivotField
      数据按钮。
    • BlankCell

      public static final PivotCellType BlankCell
      一个在数据透视表中的结构空白单元格。
  • Method Details

    • values

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