Package org.apache.poi.xssf.usermodel
Enum Class XSSFBuiltinTableStyle
- All Implemented Interfaces:
Serializable
,Comparable<XSSFBuiltinTableStyle>
,Constable
Table style names defined in the OOXML spec.
The actual styling is defined in presetTableStyles.xml
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
implementation for built-in stylesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiongetStyle()
static void
init()
Only init once - thus the synchronized.static boolean
isBuiltinStyle
(TableStyle style) NOTE: only checks by name, not definition.static XSSFBuiltinTableStyle
Returns the enum constant of this class with the specified name.static XSSFBuiltinTableStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TableStyleDark1
-
TableStyleDark2
-
TableStyleDark3
-
TableStyleDark4
-
TableStyleDark5
-
TableStyleDark6
-
TableStyleDark7
-
TableStyleDark8
-
TableStyleDark9
-
TableStyleDark10
-
TableStyleDark11
-
TableStyleLight1
-
TableStyleLight2
-
TableStyleLight3
-
TableStyleLight4
-
TableStyleLight5
-
TableStyleLight6
-
TableStyleLight7
-
TableStyleLight8
-
TableStyleLight9
-
TableStyleLight10
-
TableStyleLight11
-
TableStyleLight12
-
TableStyleLight13
-
TableStyleLight14
-
TableStyleLight15
-
TableStyleLight16
-
TableStyleLight17
-
TableStyleLight18
-
TableStyleLight19
-
TableStyleLight20
-
TableStyleLight21
-
TableStyleMedium1
-
TableStyleMedium2
-
TableStyleMedium3
-
TableStyleMedium4
-
TableStyleMedium5
-
TableStyleMedium6
-
TableStyleMedium7
-
TableStyleMedium8
-
TableStyleMedium9
-
TableStyleMedium10
-
TableStyleMedium11
-
TableStyleMedium12
-
TableStyleMedium13
-
TableStyleMedium14
-
TableStyleMedium15
-
TableStyleMedium16
-
TableStyleMedium17
-
TableStyleMedium18
-
TableStyleMedium19
-
TableStyleMedium20
-
TableStyleMedium21
-
TableStyleMedium22
-
TableStyleMedium23
-
TableStyleMedium24
-
TableStyleMedium25
-
TableStyleMedium26
-
TableStyleMedium27
-
TableStyleMedium28
-
PivotStyleMedium1
-
PivotStyleMedium2
-
PivotStyleMedium3
-
PivotStyleMedium4
-
PivotStyleMedium5
-
PivotStyleMedium6
-
PivotStyleMedium7
-
PivotStyleMedium8
-
PivotStyleMedium9
-
PivotStyleMedium10
-
PivotStyleMedium11
-
PivotStyleMedium12
-
PivotStyleMedium13
-
PivotStyleMedium14
-
PivotStyleMedium15
-
PivotStyleMedium16
-
PivotStyleMedium17
-
PivotStyleMedium18
-
PivotStyleMedium19
-
PivotStyleMedium20
-
PivotStyleMedium21
-
PivotStyleMedium22
-
PivotStyleMedium23
-
PivotStyleMedium24
-
PivotStyleMedium25
-
PivotStyleMedium26
-
PivotStyleMedium27
-
PivotStyleMedium28
-
PivotStyleLight1
-
PivotStyleLight2
-
PivotStyleLight3
-
PivotStyleLight4
-
PivotStyleLight5
-
PivotStyleLight6
-
PivotStyleLight7
-
PivotStyleLight8
-
PivotStyleLight9
-
PivotStyleLight10
-
PivotStyleLight11
-
PivotStyleLight12
-
PivotStyleLight13
-
PivotStyleLight14
-
PivotStyleLight15
-
PivotStyleLight16
-
PivotStyleLight17
-
PivotStyleLight18
-
PivotStyleLight19
-
PivotStyleLight20
-
PivotStyleLight21
-
PivotStyleLight22
-
PivotStyleLight23
-
PivotStyleLight24
-
PivotStyleLight25
-
PivotStyleLight26
-
PivotStyleLight27
-
PivotStyleLight28
-
PivotStyleDark1
-
PivotStyleDark2
-
PivotStyleDark3
-
PivotStyleDark4
-
PivotStyleDark5
-
PivotStyleDark6
-
PivotStyleDark7
-
PivotStyleDark8
-
PivotStyleDark9
-
PivotStyleDark10
-
PivotStyleDark11
-
PivotStyleDark12
-
PivotStyleDark13
-
PivotStyleDark14
-
PivotStyleDark15
-
PivotStyleDark16
-
PivotStyleDark17
-
PivotStyleDark18
-
PivotStyleDark19
-
PivotStyleDark20
-
PivotStyleDark21
-
PivotStyleDark22
-
PivotStyleDark23
-
PivotStyleDark24
-
PivotStyleDark25
-
PivotStyleDark26
-
PivotStyleDark27
-
PivotStyleDark28
-
-
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
-
getStyle
- Returns:
- built-in
TableStyle
definition
-
isBuiltinStyle
NOTE: only checks by name, not definition.- Parameters:
style
-- Returns:
- true if the style represents a built-in style, false if it is null or a custom style
-
init
public static void init()Only init once - thus the synchronized. Lazy, after creating instances, and only when a style is actually needed, to avoid overhead for uses that don't need the actual style definitions.Public so clients can initialize the map on startup rather than lazily during evaluation if desired.
-