[]
        
立即试用
(Showing Draft Content)

TableStyleElementType

Enum Class TableStyleElementType

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

public enum TableStyleElementType extends Enum<TableStyleElementType>
指定使用的表格样式元素。
  • Enum Constant Details

    • WholeTable

      public static final TableStyleElementType WholeTable
      指定整个表。
    • HeaderRow

      public static final TableStyleElementType HeaderRow
      指定表头行
    • TotalRow

      public static final TableStyleElementType TotalRow
      指定总行数。
    • GrandTotalRow

      public static final TableStyleElementType GrandTotalRow
      指定数据透视表中的总计行。
    • FirstColumn

      public static final TableStyleElementType FirstColumn
      指定第一列。
    • LastColumn

      public static final TableStyleElementType LastColumn
      指定最后一列
    • GrandTotalColumn

      public static final TableStyleElementType GrandTotalColumn
      指定在数据透视中的总计列。
    • FirstRowStripe

      public static final TableStyleElementType FirstRowStripe
      指定行条纹1。
    • SecondRowStripe

      public static final TableStyleElementType SecondRowStripe
      指定行条纹2。
    • FirstColumnStripe

      public static final TableStyleElementType FirstColumnStripe
      指定第一列的条纹。
    • SecondColumnStripe

      public static final TableStyleElementType SecondColumnStripe
      指定列条纹2。
    • FirstHeaderCell

      public static final TableStyleElementType FirstHeaderCell
      指定第一个表头单元格。
    • LastHeaderCell

      public static final TableStyleElementType LastHeaderCell
      指定最后一个表头单元格。
    • FirstTotalCell

      public static final TableStyleElementType FirstTotalCell
      指定第一个总单元格。
    • LastTotalCell

      public static final TableStyleElementType LastTotalCell
      指定最后一个总单元格。
    • FirstSubtotalColumn

      public static final TableStyleElementType FirstSubtotalColumn
      指定小计列1。
    • SecondSubtotalColumn

      public static final TableStyleElementType SecondSubtotalColumn
      指定小计列2。
    • ThirdSubtotalColumn

      public static final TableStyleElementType ThirdSubtotalColumn
      指定小计列3。
    • FirstSubtotalRow

      public static final TableStyleElementType FirstSubtotalRow
      指定小计行1。
    • SecondSubtotalRow

      public static final TableStyleElementType SecondSubtotalRow
      指定小计行2。
    • ThirdSubtotalRow

      public static final TableStyleElementType ThirdSubtotalRow
      指定小计行3。
    • BlankRow

      public static final TableStyleElementType BlankRow
      指定空白行。
    • FirstColumnSubheading

      public static final TableStyleElementType FirstColumnSubheading
      指定列副标题1。
    • SecondColumnSubheading

      public static final TableStyleElementType SecondColumnSubheading
      指定列副标题2。
    • ThirdColumnSubheading

      public static final TableStyleElementType ThirdColumnSubheading
      指定列副标题3。
    • FirstRowSubheading

      public static final TableStyleElementType FirstRowSubheading
      指定数据透视表中第一行副标题。
    • SecondRowSubheading

      public static final TableStyleElementType SecondRowSubheading
      指定行副标题2。
    • ThirdRowSubheading

      public static final TableStyleElementType ThirdRowSubheading
      指定行副标题3。
    • PageFieldLabels

      public static final TableStyleElementType PageFieldLabels
      指定页面字段标签。
    • PageFieldValues

      public static final TableStyleElementType PageFieldValues
      指定页面字段值。
    • UnselectedItemWithData

      public static final TableStyleElementType UnselectedItemWithData
      指定一个未选中但包含数据的项目。
    • UnselectedItemWithNoData

      public static final TableStyleElementType UnselectedItemWithNoData
      指定一个未选中且不包含数据的项目。
    • SelectedItemWithData

      public static final TableStyleElementType SelectedItemWithData
      指定一个包含数据的选定项。
    • SelectedItemWithNoData

      public static final TableStyleElementType SelectedItemWithNoData
      指定一个不包含数据的选择项。
    • HoveredUnselectedItemWithData

      public static final TableStyleElementType HoveredUnselectedItemWithData
      指定用户悬停的一项未选中且包含数据的项目。
    • HoveredSelectedItemWithData

      public static final TableStyleElementType HoveredSelectedItemWithData
      指定一个包含数据的项目,该项目被用户悬停选中。
    • HoveredUnselectedItemWithNoData

      public static final TableStyleElementType HoveredUnselectedItemWithNoData
      指定一个被用户悬停但未选中且不包含数据的项目。
    • HoveredSelectedItemWithNoData

      public static final TableStyleElementType HoveredSelectedItemWithNoData
      指定一个被用户悬停但不包含数据的选择项。
    • TimelineSelectionLabel

      public static final TableStyleElementType TimelineSelectionLabel
    • TimelineTimeLevel

      public static final TableStyleElementType TimelineTimeLevel
    • TimelinePeriodLabels1

      public static final TableStyleElementType TimelinePeriodLabels1
    • TimelinePeriodLabels2

      public static final TableStyleElementType TimelinePeriodLabels2
    • TimelineSelectedTimeBlock

      public static final TableStyleElementType TimelineSelectedTimeBlock
    • TimelineUnselectedTimeBlock

      public static final TableStyleElementType TimelineUnselectedTimeBlock
    • TimelineSelectedTimeBlockSpace

      public static final TableStyleElementType TimelineSelectedTimeBlockSpace
  • Method Details

    • values

      public static TableStyleElementType[] 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 TableStyleElementType 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
    • getValue

      public int getValue()
    • forValue

      public static TableStyleElementType forValue(int value)