@OpenApiAll
public class StyledTable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TABLE_PROPERTIES
constants for table properites.
|
static java.lang.String |
TAG_NAME
Constants for tag name.
|
Constructor and Description |
---|
StyledTable() |
Modifier and Type | Method and Description |
---|---|
void |
addCellStyle(CellStyle cellStyle)
Add cell (TD) style to list.
|
void |
clearCellStyle()
Clear cell style.
|
java.util.List<CellStyle> |
getCellStyle()
Get cell (TD) style list.
|
CellStyle |
getCellStyle(int index)
Get cell (TD) style by index.
|
CellStyle |
getRowStyle()
Get row (TR) style.
|
CellStyle |
getTableStyle()
Get table style.
|
void |
setCellStyle(java.util.List<CellStyle> cellStyles)
Set cell (TD) style.
|
void |
setRowStyle(CellStyle rowStyle)
Set row (TR) style.
|
void |
setTableStyle(CellStyle tableStyle)
Set table style.
|
public static final java.lang.String TABLE_PROPERTIES
public static final java.lang.String TAG_NAME
public CellStyle getTableStyle()
public void setTableStyle(CellStyle tableStyle)
tableStyle
- table stylepublic CellStyle getRowStyle()
public void setRowStyle(CellStyle rowStyle)
rowStyle
- row stylepublic java.util.List<CellStyle> getCellStyle()
public void setCellStyle(java.util.List<CellStyle> cellStyles)
cellStyles
- list of cell stylepublic void addCellStyle(CellStyle cellStyle)
cellStyle
- of cell stylepublic CellStyle getCellStyle(int index)
index
- index of cell style in listpublic void clearCellStyle()
Copyright © 2010 - No Magic Asia