[]
Serializable, Comparable<SheetType>, Constable将此枚举与 IWorksheets.add(SheetType) 一起使用可创建特定类型的工作表,或与 IWorksheet.getType() 一起使用可识别现有工作表是普通工作表还是图表工作表。
IWorksheet chartSheet = workbook.getWorksheets().add(SheetType.Chart);
SheetType type = chartSheet.getType();
Enum.EnumDesc<E extends Enum<E>>name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null