org.wcb.util
Class TableMap

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byorg.wcb.util.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
 
Constructor Summary
TableMap()
           
 
Method Summary
 java.lang.Class getColumnClass(int aColumn)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int aColumn)
           
 javax.swing.table.TableModel getModel()
           
 int getRowCount()
           
 java.lang.Object getValueAt(int aRow, int aColumn)
           
 boolean isCellEditable(int row, int column)
           
 void setModel(javax.swing.table.TableModel model)
           
 void setValueAt(java.lang.Object aValue, int aRow, int aColumn)
           
 void tableChanged(javax.swing.event.TableModelEvent e)
           
 
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 Detail

model

protected javax.swing.table.TableModel model
Constructor Detail

TableMap

public TableMap()
Method Detail

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)
Specified by:
getValueAt in interface javax.swing.table.TableModel

setValueAt

public void setValueAt(java.lang.Object aValue,
                       int aRow,
                       int aColumn)
Specified by:
setValueAt in interface javax.swing.table.TableModel

getRowCount

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

getColumnCount

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

getColumnName

public java.lang.String getColumnName(int aColumn)
Specified by:
getColumnName in interface javax.swing.table.TableModel

getColumnClass

public java.lang.Class getColumnClass(int aColumn)
Specified by:
getColumnClass in interface javax.swing.table.TableModel

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Specified by:
isCellEditable in interface javax.swing.table.TableModel

tableChanged

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


Copyright © 1999-2004 Walter Bogaardt. All Rights Reserved.