[]
Serializable, Comparable<TableStyleElementType>, ConstableUse this enum to identify a specific part of a table, pivot table, slicer, or timeline style, such as the whole table, header row, total row, striped rows, or special selection states. It is typically used with ITableStyleElements.get(TableStyleElementType) to access the corresponding ITableStyleElement.
ITableStyle tableStyle = workbook.getTableStyles().add("CustomStyle");
ITableStyleElement headerRow = tableStyle.getTableStyleElements().get(TableStyleElementType.HeaderRow);
headerRow.getInterior().setColor(Color.GetBlue());
Color headerColor = headerRow.getInterior().getColor();
Enum.EnumDesc<E extends Enum<E>>static TableStyleElementTypeforValue(int value) intgetValue()static TableStyleElementTypestatic TableStyleElementType[]values()This element is used to define the base formatting applied to the entire table, excluding more specific regions that can be styled separately, such as the header row, total row, or striped areas.
This element represents the row that displays summary or aggregate values at the bottom of a table and is used when defining formatting specifically for that row.
This element is used to define the formatting applied to the row that displays grand total values across the pivot table.
This element represents the formatting applied to the rightmost column when a table or pivot table style is configured to highlight the last column.
This element is used to apply formatting to the column that displays grand total values in a pivot table.
This element defines the style applied to the first band in alternating row stripe patterns for a table or PivotTable style.
This element defines the formatting applied to the first stripe in an alternating column banding pattern when column stripes are used.
This element is used to define the formatting applied to the second alternating column band when banded columns are enabled.
Use this value to identify or customize the formatting applied to the header cell of the last column in a table style.
This element is used to define the style applied specifically to the rightmost cell in the table's total row, allowing it to differ from the rest of the total row or from FirstTotalCell.
This element identifies the style region applied to the second-level subtotal column when a PivotTable displays column subtotals.
Use this element type to define the formatting applied to the third subtotal column in a PivotTable.
This style element applies to the cells that display the current page field values, rather than the page field labels.
Use this value to define the appearance of unavailable slicer items in their normal, unselected state.
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