public class ExcelGrid extends Object implements IExcelGrid
| Constructor and Description |
|---|
ExcelGrid() |
| Modifier and Type | Method and Description |
|---|---|
ExcelColumn |
getColumn(int columnIndex)
Get column at given column index.
|
List<ExcelColumn> |
getColumns() |
IExcelCellStyle |
getDefaultStyle() |
String |
getName() |
void |
setDefaultStyle(IExcelCellStyle defaultStyle)
Set default style for each cell in this grid
|
void |
setName(String name)
Set the name of the grid, this name will be presented as the excel sheet name
|
public void setName(String name)
IExcelGridsetName in interface IExcelGridpublic String getName()
getName in interface IExcelGridpublic IExcelCellStyle getDefaultStyle()
getDefaultStyle in interface IExcelGridpublic void setDefaultStyle(IExcelCellStyle defaultStyle)
IExcelGridsetDefaultStyle in interface IExcelGriddefaultCellStyle - the defaultCellStyle to setpublic ExcelColumn getColumn(int columnIndex)
IExcelGridgetColumn in interface IExcelGridcolumnIndex - the column index.public List<ExcelColumn> getColumns()