public abstract class TableModel extends Object
Table will use to retrieve tabular data.| Constructor and Description |
|---|
TableModel() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getColumnCount()
Return the number of columns that can be queried.
|
abstract int |
getRowCount()
Return the number of rows that can be queried.
|
abstract Object |
getValue(int row,
int column)
Return the data value to be displayed at a given row and column, which may be null.
|
TableModel |
transpose()
Return a transposed view of this model, where rows become columns and vice-versa.
|
public abstract int getRowCount()
rowCount-1 inclusive are valid values.public abstract int getColumnCount()
columnCount-1 inclusive are valid values.public abstract Object getValue(int row, int column)
public TableModel transpose()