Enum Class PivotCellType

java.lang.Object
java.lang.Enum<PivotCellType>
com.grapecity.documents.excel.PivotCellType
所有已实现的接口:
Serializable, Comparable<PivotCellType>, Constable

public enum PivotCellType extends Enum<PivotCellType>
Specifies the PivotTable entity the cell corresponds to.
  • 枚举常量详细资料

    • Value

      public static final PivotCellType Value
      Any cell in the data area (except a blank row).
    • PivotItem

      public static final PivotCellType PivotItem
      A cell in the row or column area which is not a subtotal, grand total, custom subtotal, or blank line.
    • Subtotal

      public static final PivotCellType Subtotal
      A cell in the row or column area which is a subtotal.
    • GrandTotal

      public static final PivotCellType GrandTotal
      A cell in a row or column area which is a grand total.
    • DataField

      public static final PivotCellType DataField
      A data field label (not the Data button).
    • PivotField

      public static final PivotCellType PivotField
      The button for a field (not the Data button).
    • PageFieldItem

      public static final PivotCellType PageFieldItem
      The cell that shows the selected item of a Page field.
    • CustomSubtotal

      public static final PivotCellType CustomSubtotal
      A cell in the row or column area that is a custom subtotal.
    • DataPivotField

      public static final PivotCellType DataPivotField
      The Data button.
    • BlankCell

      public static final PivotCellType BlankCell
      A structural blank cell in the PivotTable.
  • 方法详细资料

    • values

      public static PivotCellType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值