org.apache.tapestry.contrib.table.model
Interface ITableModelSource
- All Superinterfaces:
- IComponent, ILocatable, ILocationHolder, IRender
- All Known Implementing Classes:
- FormTable, 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 243791 2004-02-19 17:38:13Z hlship $
- 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
static final String TABLE_MODEL_SOURCE_ATTRIBUTE
- See Also:
- Constant Field Values
getTableModel
ITableModel getTableModel()
- Returns the table model currently used
- Returns:
- ITableModel the current table model
fireObservedStateChange
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.