Package io.keikai.axyra.sheets
Enum Class SheetType
- All Implemented Interfaces:
Serializable,Comparable<SheetType>,Constable
What kind of tab a
Sheet is.
A workbook's sheet list is homogeneous in the file format (ECMA-376
Part 1 §18.2.20); the tab's real kind is carried by the relationship
type of the part it points at — .../relationships/chartsheet
(§12.3.2), .../relationships/dialogsheet (§12.3.7), and the
Microsoft xlMacrosheet / xlIntlMacrosheet extensions for
Excel-4.0 macro sheets.
This is a classification only: the engine models worksheet content, so reading a dialog or macro tab yields an empty grid rather than that tab's own body. It also does not survive a save — every tab is written back as an ordinary worksheet.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA full-page chart tab.A legacy Excel 5.0 dialog sheet.An international Excel-4.0 macro sheet.An Excel-4.0 macro sheet.An ordinary worksheet. -
Method Summary
-
Enum Constant Details
-
WORKSHEET
An ordinary worksheet. -
CHART
A full-page chart tab. -
DIALOG
A legacy Excel 5.0 dialog sheet. -
MACRO_SHEET
An Excel-4.0 macro sheet. -
INTERNATIONAL_MACRO_SHEET
An international Excel-4.0 macro sheet.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-