org.apache.click.extras.tree
Class Tree.SessionRenderer

java.lang.Object
  extended by org.apache.click.extras.tree.Tree.AbstractJavascriptRenderer
      extended by org.apache.click.extras.tree.Tree.SessionRenderer
All Implemented Interfaces:
Tree.JavascriptRenderer
Direct Known Subclasses:
CheckboxTree.CheckboxSessionJavascriptRenderer
Enclosing class:
Tree

protected class Tree.SessionRenderer
extends Tree.AbstractJavascriptRenderer

Please note this class is only meant for developers of this control, not users.

Provides the rendering needed when a Tree.JAVASCRIPT_SESSION_POLICY is in effect.


Field Summary
 
Fields inherited from class org.apache.click.extras.tree.Tree.AbstractJavascriptRenderer
expandId, iconId, nodeExpansionString
 
Constructor Summary
protected Tree.SessionRenderer()
           
 
Method Summary
 void init(TreeNode treeNode)
          Called to initialize the renderer.
 
Methods inherited from class org.apache.click.extras.tree.Tree.AbstractJavascriptRenderer
buildString, renderExpandAndCollapseAction, renderIcon, renderTreeNodeStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tree.SessionRenderer

protected Tree.SessionRenderer()
Method Detail

init

public void init(TreeNode treeNode)
Description copied from interface: Tree.JavascriptRenderer
Called to initialize the renderer.

Specified by:
init in interface Tree.JavascriptRenderer
Overrides:
init in class Tree.AbstractJavascriptRenderer
Parameters:
treeNode - the current node rendered
See Also:
init(TreeNode), init(TreeNode)