org.apache.tapestry.contrib.tree.components
Class TreeDataView
java.lang.Object
org.apache.tapestry.spec.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.BaseComponent
org.apache.tapestry.contrib.tree.components.TreeDataView
- All Implemented Interfaces:
- ITreeRowSource, IComponent, ILocatable, ILocationHolder, IRender
public class TreeDataView
- extends BaseComponent
- implements ITreeRowSource
- Version:
- $Id: TreeDataView.java 243791 2004-02-19 17:38:13Z hlship $
Methods inherited from class org.apache.tapestry.AbstractComponent |
addAsset, addBody, addComponent, cleanupAfterRender, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, format, format, format, format, formatString, formatString, formatString, formatString, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString |
TreeDataView
public TreeDataView()
initialize
public void initialize()
getTreeViewBinding
public IBinding getTreeViewBinding()
- Returns the treeViewBinding.
- Returns:
- IBinding
setTreeViewBinding
public void setTreeViewBinding(IBinding treeViewBinding)
- Sets the treeViewBinding.
- Parameters:
treeViewBinding
- The treeViewBinding to set
getTreeView
public TreeView getTreeView()
renderComponent
public void renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
- Description copied from class:
BaseComponent
- Renders the top level components contained by the receiver.
- Overrides:
renderComponent
in class BaseComponent
walkTree
public void walkTree(Object objParent,
Object objParentUID,
int nDepth,
ITreeModel objTreeModel,
IMarkupWriter writer,
IRequestCycle cycle)
getTreeDeep
public int getTreeDeep()
getTreeRow
public TreeRowObject getTreeRow()
- Description copied from interface:
ITreeRowSource
- Method getTreeRow
- Specified by:
getTreeRow
in interface ITreeRowSource
- Returns:
- Object the current tree row object.
- See Also:
ITreeRowSource.getTreeRow()
getTreeRowObject
public TreeRowObject getTreeRowObject()
setTreeRowObject
public void setTreeRowObject(TreeRowObject object)