|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
protected static interface Tree.JavascriptHandler
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 org.apache.click.extras.tree.TreeListener |
---|
nodeCollapsed, nodeDeselected, nodeExpanded, nodeSelected |
Method Detail |
---|
void init(Context context)
context
- provides information for initializing
the handler.boolean renderAsExpanded(TreeNode treeNode)
treeNode
- the specified node to query for
void destroy()
Tree.JavascriptRenderer getJavascriptRenderer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |