Package groovy.inspect.swingui

# Class TableMap

java.lang.Object
javax.swing.table.AbstractTableModel
groovy.inspect.swingui.TableMap

All Implemented Interfaces:
  `java.io.Serializable`, `java.util.EventListener`, `javax.swing.event.TableModelListener`, `javax.swing.table.TableModel`

Direct Known Subclasses:
  `TableSorter`

    @Deprecated
    public class TableMap
    extends javax.swing.table.AbstractTableModel
    implements javax.swing.event.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 javax.swing.table.TableModel` | `model` | Deprecated.

  ### Fields inherited from class javax.swing.table.AbstractTableModel

  `listenerList`

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `TableMap()` | Deprecated.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `java.lang.Class` | `getColumnClass​(int aColumn)` | Deprecated.
  `int` | `getColumnCount()` | Deprecated.
  `java.lang.String` | `getColumnName​(int aColumn)` | Deprecated.
  `javax.swing.table.TableModel` | `getModel()` | Deprecated.
  `int` | `getRowCount()` | Deprecated.
  `java.lang.Object` | `getValueAt​(int aRow, int aColumn)` | Deprecated.
  `boolean` | `isCellEditable​(int row, int column)` | Deprecated.
  `void` | `setModel​(javax.swing.table.TableModel model)` | Deprecated.
  `void` | `setValueAt​(java.lang.Object aValue, int aRow, int aColumn)` | Deprecated.
  `void` | `tableChanged​(javax.swing.event.TableModelEvent e)` | Deprecated.

  ### Methods inherited from class javax.swing.table.AbstractTableModel

  `addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### model

    protected javax.swing.table.TableModel model
    Deprecated.

- ## Constructor Details

  - ### TableMap

    public TableMap()
    Deprecated.

- ## Method Details

  - ### getModel

    public javax.swing.table.TableModel getModel()
    Deprecated.

  - ### setModel

    public void setModel​(javax.swing.table.TableModel model)
    Deprecated.

  - ### getValueAt

    public java.lang.Object getValueAt​(int aRow, int aColumn)
    Deprecated.
    Specified by:
      `getValueAt` in interface `javax.swing.table.TableModel`

  - ### setValueAt

    public void setValueAt​(java.lang.Object aValue, int aRow, int aColumn)
    Deprecated.
    Specified by:
      `setValueAt` in interface `javax.swing.table.TableModel`
    Overrides:
      `setValueAt` in class `javax.swing.table.AbstractTableModel`

  - ### getRowCount

    public int getRowCount()
    Deprecated.
    Specified by:
      `getRowCount` in interface `javax.swing.table.TableModel`

  - ### getColumnCount

    public int getColumnCount()
    Deprecated.
    Specified by:
      `getColumnCount` in interface `javax.swing.table.TableModel`

  - ### getColumnName

    public java.lang.String getColumnName​(int aColumn)
    Deprecated.
    Specified by:
      `getColumnName` in interface `javax.swing.table.TableModel`
    Overrides:
      `getColumnName` in class `javax.swing.table.AbstractTableModel`

  - ### getColumnClass

    public java.lang.Class getColumnClass​(int aColumn)
    Deprecated.
    Specified by:
      `getColumnClass` in interface `javax.swing.table.TableModel`
    Overrides:
      `getColumnClass` in class `javax.swing.table.AbstractTableModel`

  - ### isCellEditable

    public boolean isCellEditable​(int row, int column)
    Deprecated.
    Specified by:
      `isCellEditable` in interface `javax.swing.table.TableModel`
    Overrides:
      `isCellEditable` in class `javax.swing.table.AbstractTableModel`

  - ### tableChanged

    public void tableChanged​(javax.swing.event.TableModelEvent e)
    Deprecated.
    Specified by:
      `tableChanged` in interface `javax.swing.event.TableModelListener`