com.lowagie.tools.arguments

Class TableMap

public class TableMap extends AbstractTableModel implements TableModelListener

In a chain of data manipulators some behaviour is common. TableMap provides most of this behavour 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.

Version: 1.4 12/17/97

Author: Philip Milne

Field Summary
protected TableModelmodel
static longserialVersionUID
Method Summary
ClassgetColumnClass(int aColumn)
intgetColumnCount()
StringgetColumnName(int aColumn)
TableModelgetModel()
intgetRowCount()
ObjectgetValueAt(int aRow, int aColumn)
booleanisCellEditable(int row, int column)
voidsetModel(TableModel model)
voidsetValueAt(Object aValue, int aRow, int aColumn)
voidtableChanged(TableModelEvent e)

Field Detail

model

protected TableModel model

serialVersionUID

private static final long serialVersionUID

Method Detail

getColumnClass

public Class getColumnClass(int aColumn)

getColumnCount

public int getColumnCount()

getColumnName

public String getColumnName(int aColumn)

getModel

public TableModel getModel()

getRowCount

public int getRowCount()

getValueAt

public Object getValueAt(int aRow, int aColumn)

isCellEditable

public boolean isCellEditable(int row, int column)

setModel

public void setModel(TableModel model)

setValueAt

public void setValueAt(Object aValue, int aRow, int aColumn)

tableChanged

public void tableChanged(TableModelEvent e)