Jakarta > Tapestry
Jakarta
 

TreeTable

The TreeTable is an implementation of a tree component using tables for nodes.

See also: Tree Table

Parameters

Name Type Direction Required Default Description
sessionStateManager ITreeSessionStateManager custom no   The sessionStateManager is responsible for handling collapse/expansion and selection of the tree nodes.
sessionStoreManager ISessionStoreManager custom no   The sessionStoreManager holds the key to retrieving the session state.
treeModel ITreeModel custom yes   ITreeModel implementation that holds the tree data and state models
treeStateListener ITreeStateListener custom no   Listener that responds to changes in the tree state
nodeRenderFactory INodeRenderFactory custom no   Factory responsible for the rendering of each node.
nodeViewComponentAddress ComponentAddress custom no   The ComponentAddress class contains the path to a component, allowing it to locate an instance of that component in a different IRequestCycle.
tableColumns java.util.ArrayList custom no   Array of columns for the tree
entriesPerTablePage int custom no   Number of nodes in the tree per page
showRootNode boolean custom no   If true, the root node of the tree will be displayed.

Body: allowed

Informal parameters: forbidden

Reserved parameters: none

The Workbench under Examples shows an example of the TreeTable