openfuture.util.misc
Class TableMap

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--openfuture.util.misc.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, 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)
Overrides:
getValueAt in class javax.swing.table.AbstractTableModel

setValueAt

public void setValueAt(java.lang.Object aValue,
                       int aRow,
                       int aColumn)
Overrides:
setValueAt in class javax.swing.table.AbstractTableModel

getRowCount

public int getRowCount()
Overrides:
getRowCount in class javax.swing.table.AbstractTableModel

getColumnCount

public int getColumnCount()
Overrides:
getColumnCount in class javax.swing.table.AbstractTableModel

getColumnName

public java.lang.String getColumnName(int aColumn)
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getColumnClass

public java.lang.Class getColumnClass(int aColumn)
Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel

tableChanged

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


Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.