org.apache.tapestry.contrib.table.model
Interface ITableModelSource
- All Superinterfaces:
- IComponent, ILocatable, ILocationHolder, IRender
- All Known Implementing Classes:
- Table, TableView
- public interface ITableModelSource
- extends IComponent
A Tapestry component that provides the current table model.
This interface is used for obtaining the table model source by
components wrapped by it, as well as by external renderers,
such as those provided by the column implementations
- Version:
- $Id: ITableModelSource.java,v 1.1 2003/03/05 23:03:21 hlship Exp $
- Author:
- mindbridge
Methods inherited from interface org.apache.tapestry.IComponent |
addAsset, addBody, addComponent, finishLoad, getAsset, getAssets, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, renderBody, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification |
Methods inherited from interface org.apache.tapestry.IRender |
render |
TABLE_MODEL_SOURCE_ATTRIBUTE
public static final String TABLE_MODEL_SOURCE_ATTRIBUTE
getTableModel
public ITableModel getTableModel()
- Returns the table model currently used
- Returns:
- ITableModel the current table model
fireObservedStateChange
public void fireObservedStateChange()
- Notifies the model source that the model state has changed, and
that it should consider saving it.
This method was added to allow using the table within a Block when
the pageBeginRender() listener of the implementation will not be called
and automatic state storage will therefore be hard to implement.