org.apache.click.extras.tree
Class CheckboxTree.CheckboxCookieHandler

java.lang.Object
  extended by org.apache.click.extras.tree.Tree.CookieHandler
      extended by org.apache.click.extras.tree.CheckboxTree.CheckboxCookieHandler
All Implemented Interfaces:
Serializable, Tree.JavascriptHandler, TreeListener
Enclosing class:
CheckboxTree

protected class CheckboxTree.CheckboxCookieHandler
extends Tree.CookieHandler

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

This class implements a session based javascript handler.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.click.extras.tree.Tree.CookieHandler
collapsedCookieName, expandedCookieName, javascriptRenderer
 
Constructor Summary
protected CheckboxTree.CheckboxCookieHandler(Context context)
          Creates and initializes a new CookieHandler.
 
Method Summary
 Tree.JavascriptRenderer getJavascriptRenderer()
          Returns the javascript renderer associated with this handler.
 
Methods inherited from class org.apache.click.extras.tree.Tree.CookieHandler
asSet, destroy, init, nodeCollapsed, nodeDeselected, nodeExpanded, nodeSelected, prepareCookieValue, renderAsExpanded, setCookie
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckboxTree.CheckboxCookieHandler

protected CheckboxTree.CheckboxCookieHandler(Context context)
Creates and initializes a new CookieHandler.

Parameters:
context - provides access to the http request, and session
Method Detail

getJavascriptRenderer

public Tree.JavascriptRenderer getJavascriptRenderer()
Description copied from interface: Tree.JavascriptHandler
Returns the javascript renderer associated with this handler.

Specified by:
getJavascriptRenderer in interface Tree.JavascriptHandler
Overrides:
getJavascriptRenderer in class Tree.CookieHandler
Returns:
currently installed javascript renderer
See Also:
Tree.JavascriptHandler.getJavascriptRenderer()