|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.ext.SpreadsheetExtension
csheets.ext.style.StylableSpreadsheet
public class StylableSpreadsheet
An extension of a spreadsheet, with support for style, i.e. row and column dimensions and cell spanning.
| Constructor Summary | |
|---|---|
protected |
StylableSpreadsheet(Spreadsheet spreadsheet)
Creates a stylable cell spreadsheet for the given spreadsheet. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class csheets.ext.SpreadsheetExtension |
|---|
addCellListener, getCell, getCell, getCellListeners, getCells, getColumn, getColumnCount, getExtension, getName, getRow, getRowCount, getTitle, getWorkbook, iterator, removeCellListener, setTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected StylableSpreadsheet(Spreadsheet spreadsheet)
spreadsheet - the spreadsheet to extend| Method Detail |
|---|
public int getRowHeight(int row)
row - the index of the row
public 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 column
public void setColumnWidth(int column,
int width)
column - the index of the columnwidth - the width of the column
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||