org.apache.tapestry.contrib.table.model.common
Class AbstractTableDataModel
java.lang.Object
org.apache.tapestry.contrib.table.model.common.AbstractTableDataModel
- All Implemented Interfaces:
- ITableDataModel
- Direct Known Subclasses:
- SimpleListTableDataModel, SimpleSetTableDataModel
public abstract class AbstractTableDataModel
- extends Object
- implements ITableDataModel
An implementation of the listener support in the ITableDataModel interface
- Version:
- $Id: AbstractTableDataModel.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- mindbridge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTableDataModel
public AbstractTableDataModel()
fireTableDataModelEvent
protected void fireTableDataModelEvent(CTableDataModelEvent objEvent)
- Method fireTableDataModelEvent.
Fires a change event to all listeners
- Parameters:
objEvent
- the event to pass to the listeners
addTableDataModelListener
public void addTableDataModelListener(ITableDataModelListener objListener)
- Description copied from interface:
ITableDataModel
- Method addTableDataModelListener
Adds a listener that is notified when the data in the model is changed
- Specified by:
addTableDataModelListener
in interface ITableDataModel
- Parameters:
objListener
- the listener to add- See Also:
ITableDataModel.addTableDataModelListener(ITableDataModelListener)
removeTableDataModelListener
public void removeTableDataModelListener(ITableDataModelListener objListener)
- Description copied from interface:
ITableDataModel
- Method removeTableDataModelListener.
Removes a listener that is notified when the data in the model is changed
- Specified by:
removeTableDataModelListener
in interface ITableDataModel
- Parameters:
objListener
- the listener to remove- See Also:
ITableDataModel.removeTableDataModelListener(ITableDataModelListener)