org.relayirc.swingutil
Class TableMap
java.lang.Object
|
+--javax.swing.table.AbstractTableModel
|
+--org.relayirc.swingutil.TableMap
- All Implemented Interfaces:
- java.util.EventListener, java.io.Serializable, javax.swing.table.TableModel, javax.swing.event.TableModelListener
- Direct Known Subclasses:
- TableSorter
- public class TableMap
- extends javax.swing.table.AbstractTableModel
- implements javax.swing.event.TableModelListener
- See Also:
- Serialized Form
Field Summary |
protected javax.swing.table.TableModel |
model
|
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
model
protected javax.swing.table.TableModel model
TableMap
public TableMap()
getModel
public javax.swing.table.TableModel getModel()
setModel
public void setModel(javax.swing.table.TableModel model)
getValueAt
public java.lang.Object getValueAt(int aRow,
int aColumn)
- Overrides:
getValueAt
in class javax.swing.table.AbstractTableModel
setValueAt
public void setValueAt(java.lang.Object aValue,
int aRow,
int aColumn)
- Overrides:
setValueAt
in class javax.swing.table.AbstractTableModel
getRowCount
public int getRowCount()
- Overrides:
getRowCount
in class javax.swing.table.AbstractTableModel
getColumnCount
public int getColumnCount()
- Overrides:
getColumnCount
in class javax.swing.table.AbstractTableModel
getColumnName
public java.lang.String getColumnName(int aColumn)
- Overrides:
getColumnName
in class javax.swing.table.AbstractTableModel
getColumnClass
public java.lang.Class getColumnClass(int aColumn)
- Overrides:
getColumnClass
in class javax.swing.table.AbstractTableModel
isCellEditable
public boolean isCellEditable(int row,
int column)
- Overrides:
isCellEditable
in class javax.swing.table.AbstractTableModel
tableChanged
public void tableChanged(javax.swing.event.TableModelEvent e)
- Specified by:
tableChanged
in interface javax.swing.event.TableModelListener