public class ReducedGraphTableModel extends AbstractTableModel
listenerList
Constructor and Description |
---|
ReducedGraphTableModel() |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
String |
getColumnName(int column) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
void |
setContent(List content)
set the content of the table model
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public void setContent(List content)
content
- the vector containing valuespublic int getRowCount()
public int getColumnCount()
public Object getValueAt(int rowIndex, int columnIndex)
rowIndex
- columnIndex
- public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
column
- a column numberCopyright © 2005–2020. All rights reserved.