Package groovy.inspect.swingui
Class TableMap
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- groovy.inspect.swingui.TableMap
-
- All Implemented Interfaces:
Serializable,EventListener,TableModelListener,TableModel
- Direct Known Subclasses:
TableSorter
@Deprecated public class TableMap extends AbstractTableModel implements TableModelListener
Deprecated.In a chain of data manipulators some behaviour is common. TableMap provides most of this behaviour and can be subclassed by filters that only need to override a handful of specific methods. TableMap implements TableModel by routing all requests to its model, and TableModelListener by routing all events to its listeners. Inserting a TableMap which has not been subclassed into a chain of table filters should have no effect.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected TableModelmodelDeprecated.-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description TableMap()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ClassgetColumnClass(int aColumn)Deprecated.intgetColumnCount()Deprecated.StringgetColumnName(int aColumn)Deprecated.TableModelgetModel()Deprecated.intgetRowCount()Deprecated.ObjectgetValueAt(int aRow, int aColumn)Deprecated.booleanisCellEditable(int row, int column)Deprecated.voidsetModel(TableModel model)Deprecated.voidsetValueAt(Object aValue, int aRow, int aColumn)Deprecated.voidtableChanged(TableModelEvent e)Deprecated.-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Field Detail
-
model
protected TableModel model
Deprecated.
-
-
Method Detail
-
getModel
public TableModel getModel()
Deprecated.
-
setModel
public void setModel(TableModel model)
Deprecated.
-
getValueAt
public Object getValueAt(int aRow, int aColumn)
Deprecated.- Specified by:
getValueAtin interfaceTableModel
-
setValueAt
public void setValueAt(Object aValue, int aRow, int aColumn)
Deprecated.- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
getRowCount
public int getRowCount()
Deprecated.- Specified by:
getRowCountin interfaceTableModel
-
getColumnCount
public int getColumnCount()
Deprecated.- Specified by:
getColumnCountin interfaceTableModel
-
getColumnName
public String getColumnName(int aColumn)
Deprecated.- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getColumnClass
public Class getColumnClass(int aColumn)
Deprecated.- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int row, int column)Deprecated.- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
tableChanged
public void tableChanged(TableModelEvent e)
Deprecated.- Specified by:
tableChangedin interfaceTableModelListener
-
-