public class MapGroupTableModel<K,V>
extends javax.swing.table.AbstractTableModel
TableModel
view of a MapGroup
object.
For performance reasons this implementation takes a snapshot of
the MapGroup at construction time rather than treating it as a
live object.Constructor and Description |
---|
MapGroupTableModel(MapGroup<K,V> mapgroup)
Constructs a TableModel from a given MapGroup.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
java.lang.String |
getColumnName(int icol) |
int |
getRowCount() |
V |
getValueAt(int irow,
int icol) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public int getRowCount()
public int getColumnCount()
public V getValueAt(int irow, int icol)
public java.lang.String getColumnName(int icol)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel