de.matthiasmann.twl.model
Class AbstractTableModel

java.lang.Object
  extended by de.matthiasmann.twl.model.AbstractTableColumnHeaderModel
      extended by de.matthiasmann.twl.model.AbstractTableModel
All Implemented Interfaces:
TableColumnHeaderModel, TableModel
Direct Known Subclasses:
SimpleTableModel

public abstract class AbstractTableModel
extends AbstractTableColumnHeaderModel
implements TableModel


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.matthiasmann.twl.model.TableModel
TableModel.ChangeListener
 
Nested classes/interfaces inherited from interface de.matthiasmann.twl.model.TableColumnHeaderModel
TableColumnHeaderModel.ColumnHeaderChangeListener
 
Constructor Summary
AbstractTableModel()
           
 
Method Summary
 void addChangeListener(TableModel.ChangeListener listener)
           
protected  void fireAllChanged()
           
protected  void fireCellChanged(int row, int column)
           
protected  void fireColumnDeleted(int idx, int count)
           
protected  void fireColumnHeaderChanged(int column)
           
protected  void fireColumnInserted(int idx, int count)
           
protected  void fireRowsChanged(int idx, int count)
           
protected  void fireRowsDeleted(int idx, int count)
           
protected  void fireRowsInserted(int idx, int count)
           
 java.lang.Object getTooltipContent(int row, int column)
           
protected  boolean hasCallbacks()
           
 void removeChangeListener(TableModel.ChangeListener listener)
           
 
Methods inherited from class de.matthiasmann.twl.model.AbstractTableColumnHeaderModel
getColumnHeaderState, getColumnHeaderStates
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.matthiasmann.twl.model.TableModel
getCell, getNumRows
 
Methods inherited from interface de.matthiasmann.twl.model.TableColumnHeaderModel
getColumnHeaderState, getColumnHeaderStates, getColumnHeaderText, getNumColumns
 

Constructor Detail

AbstractTableModel

public AbstractTableModel()
Method Detail

getTooltipContent

public java.lang.Object getTooltipContent(int row,
                                          int column)
Specified by:
getTooltipContent in interface TableModel

addChangeListener

public void addChangeListener(TableModel.ChangeListener listener)
Specified by:
addChangeListener in interface TableModel

removeChangeListener

public void removeChangeListener(TableModel.ChangeListener listener)
Specified by:
removeChangeListener in interface TableModel

hasCallbacks

protected boolean hasCallbacks()

fireRowsInserted

protected void fireRowsInserted(int idx,
                                int count)

fireRowsDeleted

protected void fireRowsDeleted(int idx,
                               int count)

fireRowsChanged

protected void fireRowsChanged(int idx,
                               int count)

fireColumnInserted

protected void fireColumnInserted(int idx,
                                  int count)

fireColumnDeleted

protected void fireColumnDeleted(int idx,
                                 int count)

fireColumnHeaderChanged

protected void fireColumnHeaderChanged(int column)

fireCellChanged

protected void fireCellChanged(int row,
                               int column)

fireAllChanged

protected void fireAllChanged()