public class ArrayTableModel extends TableModel
| Constructor and Description |
|---|
ArrayTableModel(Object[][] data) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount()
Return the number of columns that can be queried.
|
int |
getRowCount()
Return the number of rows that can be queried.
|
Object |
getValue(int row,
int column)
Return the data value to be displayed at a given row and column, which may be null.
|
transposepublic ArrayTableModel(Object[][] data)
public int getRowCount()
TableModelrowCount-1 inclusive are valid values.getRowCount in class TableModelpublic int getColumnCount()
TableModelcolumnCount-1 inclusive are valid values.getColumnCount in class TableModelpublic Object getValue(int row, int column)
TableModelgetValue in class TableModel