[]
        
(Showing Draft Content)

SheetTabType

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>
Represents the type of sheet tab.
  • Enum Constant Details

    • TableSheet

      public static final SheetTabType TableSheet
      Represents a table sheet.
    • GanttSheet

      public static final SheetTabType GanttSheet
      Represents a gantt sheet.
    • ReportSheet

      public static final SheetTabType ReportSheet
      Represents a report sheet.
  • 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