org.davesag.tasktracker.client
Class TableMap

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--org.davesag.tasktracker.client.TableMap
All Implemented Interfaces:
EventListener, Serializable, TableModel, TableModelListener
Direct Known Subclasses:
TableSorter

public class TableMap
extends AbstractTableModel
implements TableModelListener

See Also:
Serialized Form

Field Summary
protected  TableModel model
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
TableMap()
           
 
Method Summary
 Class getColumnClass(int aColumn)
           
 int getColumnCount()
           
 String getColumnName(int aColumn)
           
 TableModel getModel()
           
 int getRowCount()
           
 Object getValueAt(int aRow, int aColumn)
           
 boolean isCellEditable(int row, int column)
           
 void setModel(TableModel model)
           
 void setValueAt(Object aValue, int aRow, int aColumn)
           
 void tableChanged(TableModelEvent e)
           
 
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
 

Field Detail

model

protected TableModel model
Constructor Detail

TableMap

public TableMap()
Method Detail

getModel

public TableModel getModel()

setModel

public void setModel(TableModel model)

getValueAt

public Object getValueAt(int aRow,
                         int aColumn)
Overrides:
getValueAt in class AbstractTableModel

setValueAt

public void setValueAt(Object aValue,
                       int aRow,
                       int aColumn)
Overrides:
setValueAt in class AbstractTableModel

getRowCount

public int getRowCount()
Overrides:
getRowCount in class AbstractTableModel

getColumnCount

public int getColumnCount()
Overrides:
getColumnCount in class AbstractTableModel

getColumnName

public String getColumnName(int aColumn)
Overrides:
getColumnName in class AbstractTableModel

getColumnClass

public Class getColumnClass(int aColumn)
Overrides:
getColumnClass in class AbstractTableModel

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Overrides:
isCellEditable in class AbstractTableModel

tableChanged

public void tableChanged(TableModelEvent e)
Specified by:
tableChanged in interface TableModelListener


tasktracker API version 0.1 pre-release Copyright 2002 Dave Sag. Released under the BSD Licence.