org.apache.tapestry.contrib.table.model
Interface ITableModelSource
- All Superinterfaces:
- IComponent, IRender, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder
- 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
- Author:
- mindbridge
Methods inherited from interface org.apache.tapestry.IComponent |
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName |
Methods inherited from interface org.apache.tapestry.IRender |
render |
Methods inherited from interface org.apache.hivemind.LocationHolder |
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
getLocation |
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.
storeTableAction
void storeTableAction(ITableAction action)
- Stores the provided table action.
- Parameters:
action
- The action to store.
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.