Interface IExcelGrid
public interface IExcelGrid
Represents an Excel grid.
-
Method Summary
Modifier and TypeMethodDescriptiongetColumn
(int columnIndex) Returns the column at the specified column index.Returns the default cell style of this Excel grid.getName()
Returns the name of the Excel grid.void
setDefaultStyle
(IExcelCellStyle defaultStyle) Sets the default style for all cells in this Excel grid to the specified style.void
Sets the name of the Excel grid.
-
Method Details
-
getDefaultStyle
IExcelCellStyle getDefaultStyle()Returns the default cell style of this Excel grid.- Returns:
- the default style
-
setDefaultStyle
Sets the default style for all cells in this Excel grid to the specified style.- Parameters:
defaultStyle
- the default style to set
-
getColumn
Returns the column at the specified column index. If no column exists yet, a new one is created and returned.- Parameters:
columnIndex
- the column index to return- Returns:
- the column
-
setName
Sets the name of the Excel grid. This name will be presented as the Excel sheet name.- Parameters:
name
- the name to set
-
getName
String getName()Returns the name of the Excel grid.- Returns:
- the name
-