Enum Class SheetTabType

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

public enum SheetTabType extends Enum<SheetTabType>
表示工作表选项卡的类型。
  • Enum Constant Details

    • TableSheet

      public static final SheetTabType TableSheet
      表示一个集算表。
    • GanttSheet

      public static final SheetTabType GanttSheet
      表示一个甘特表。
    • ReportSheet

      public static final SheetTabType ReportSheet
      表示一个报表。
  • Method Details

    • values

      public static SheetTabType[] 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 SheetTabType 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()
      Gets the integer value associated with this sheet tab type.
      Returns:
      the integer value
    • fromValue

      public static SheetTabType fromValue(int value)
      Gets the SheetTabType enum constant by its integer value.
      Parameters:
      value - the integer value
      Returns:
      the corresponding SheetTabType, or null if no match is found