public class StylableSpreadsheet extends SpreadsheetExtension
Modifier | Constructor and Description |
---|---|
protected |
StylableSpreadsheet(Spreadsheet spreadsheet)
Creates a stylable cell spreadsheet for the given spreadsheet.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnWidth(int column)
Returns the width of the given column.
|
int |
getRowHeight(int row)
Returns the height of the given row.
|
void |
setColumnWidth(int column,
int width)
Sets the width of the given column.
|
void |
setRowHeight(int row,
int height)
Sets the height of the given row.
|
addCellListener, getCell, getCell, getCellListeners, getCells, getColumn, getColumnCount, getExtension, getName, getRow, getRowCount, getTitle, getWorkbook, iterator, removeCellListener, setTitle
protected StylableSpreadsheet(Spreadsheet spreadsheet)
spreadsheet
- the spreadsheet to extendpublic int getRowHeight(int row)
row
- the index of the rowpublic void setRowHeight(int row, int height)
row
- the index of the rowheight
- the height of the rowpublic int getColumnWidth(int column)
column
- the index of the columnpublic void setColumnWidth(int column, int width)
column
- the index of the columnwidth
- the width of the column