org.softsmithy.lib.swing.table
Class AbstractCellTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.softsmithy.lib.swing.table.AbstractCellTableModel
All Implemented Interfaces:
Serializable, TableModel, CellTableModel

public abstract class AbstractCellTableModel
extends AbstractTableModel
implements CellTableModel

Author:
puce
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
AbstractCellTableModel()
          Creates a new instance of XAbstractTableModel
 
Method Summary
 Class getCellClass(int row, int column)
           
 Class getColumnClass(int columnIndex)
          Returns Object.class regardless of columnIndex.
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Constructor Detail

AbstractCellTableModel

public AbstractCellTableModel()
Creates a new instance of XAbstractTableModel

Method Detail

getCellClass

public Class getCellClass(int row,
                          int column)
Specified by:
getCellClass in interface CellTableModel

getColumnClass

public Class getColumnClass(int columnIndex)
Returns Object.class regardless of columnIndex.

Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel
Parameters:
columnIndex - the column being queried
Returns:
the Object.class


Copyright © 2002-2011 SoftSmithy. All Rights Reserved.