net.sf.click.extras.tree
Class Tree.CookieRenderer
java.lang.Object
net.sf.click.extras.tree.Tree.AbstractJavascriptRenderer
net.sf.click.extras.tree.Tree.CookieRenderer
- All Implemented Interfaces:
- Tree.JavascriptRenderer
- Direct Known Subclasses:
- CheckboxTree.CheckboxCookieJavascriptRenderer
- Enclosing class:
- Tree
- protected class Tree.CookieRenderer
- 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_COOKIE_POLICY
is in effect.
Method Summary |
void |
init(TreeNode treeNode)
Called to initialize the renderer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tree.CookieRenderer
public Tree.CookieRenderer(String expandedCookieName,
String collapsedCookieName)
- Default constructor.
- Parameters:
expandedCookieName
- name of the cookie holding expanded id'scollapsedCookieName
- name of the cookie holding collapsed id's
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)