public class ArrayTableModel extends TableModel
Constructor and Description |
---|
ArrayTableModel(Object[][] data) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
int |
getRowCount() |
Object |
getValue(int row,
int column) |
transpose
public ArrayTableModel(Object[][] data)
public int getRowCount()
getRowCount
in class TableModel
rowCount-1
inclusive are valid values.public int getColumnCount()
getColumnCount
in class TableModel
columnCount-1
inclusive are valid values.public Object getValue(int row, int column)
getValue
in class TableModel
row
- the row that is being queriedcolumn
- the column that is being queriedCopyright © 2017 Pivotal Software, Inc.. All rights reserved.