public interface ISpreadSheetModel
ISpreadSheetModelListener
Modifier and Type | Method and Description |
---|---|
void |
addSpreadSheetModelListener(ISpreadSheetModelListener l)
Add a data update listener
|
int |
getColumnCount()
Returns the number of columns (except the row labels)
|
java.lang.Object |
getColumnLabel(int col)
Returns the value of the column label for a given row
|
int |
getColumnLabelType()
Returns the data type of the column labels
|
int |
getRowCount()
Returns the number of rows
|
java.lang.Object |
getRowLabel(int row)
Returns the value of the row label for a given row
|
int |
getRowLabelType()
Returns the data type of the row labels
|
java.lang.Object |
getValueAt(int row,
int col)
Returns the value of the cell for a given row and column
|
int |
getValueType()
Returns the data type of the values
|
void |
removeSpreadSheetModelListener(ISpreadSheetModelListener l)
remove a data update listener
|
int getColumnCount()
int getRowCount()
int getColumnLabelType()
int getRowLabelType()
int getValueType()
java.lang.Object getRowLabel(int row)
row
- the row index (beginning at 1)java.lang.Object getColumnLabel(int col)
row
- the row index (beginning at 1)java.lang.Object getValueAt(int row, int col)
row
- the row index (beginning at 1)column
- the column index (beginning at 1)void addSpreadSheetModelListener(ISpreadSheetModelListener l)
void removeSpreadSheetModelListener(ISpreadSheetModelListener l)