|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Please note this class is not meant for public use.
Provides the contract for pluggable javascript handlers. One of the main tasks the handler must perform is keeping track of which nodes changed state after the user interacted with the tree in the browser. This is also the reason why the handler extendsTreeListener
to be informed of any changes
to node state via other means.
Method Summary | |
void |
destroy()
Called to indicate the user request cycle is complete. |
Tree.JavascriptRenderer |
getJavascriptRenderer()
Returns the javascript renderer associated with this handler. |
void |
init(Context context)
Initialize the handler state. |
boolean |
renderAsExpanded(TreeNode treeNode)
Queries the handler if the specified node should be rendered as a expanded node. |
Methods inherited from interface net.sf.click.extras.tree.TreeListener |
nodeCollapsed, nodeDeselected, nodeExpanded, nodeSelected |
Method Detail |
public void init(Context context)
context
- provides information for initializing
the handler.public boolean renderAsExpanded(TreeNode treeNode)
treeNode
- the specified node to query for
public void destroy()
public Tree.JavascriptRenderer getJavascriptRenderer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |