Class Index | File Index

Classes


Class zwt.ui.tree.TreeNodeRenderer


Extends zwt.Object.

A tree node renderer is used to render the content of the nodes in a tree.

This default implementation simply serialize the node object into a string value.


Defined in: TreeNodeRenderer.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct a tree node renderer.
Method Summary
Method Attributes Method Name and Description
 
getNodeElement(zwt_ui_tree_TreeNode_node)
Return the rendered element that should be displayed in a node element in the tree.
 
getNodeStyle(zwt_ui_tree_TreeNode_node)
Return the style that should be applied to the node element in the tree.
Class Detail
zwt.ui.tree.TreeNodeRenderer()
Construct a tree node renderer.
Author: Jeremy KUHN.
See:
zwt.ui.tree.Tree
Method Detail
{Element} getNodeElement(zwt_ui_tree_TreeNode_node)
Return the rendered element that should be displayed in a node element in the tree.
Parameters:
{zwt.ui.tree.TreeNode} zwt_ui_tree_TreeNode_node
The tree node object
Returns:
The element to display

{Element} getNodeStyle(zwt_ui_tree_TreeNode_node)
Return the style that should be applied to the node element in the tree.
Parameters:
{zwt.ui.tree.TreeNode} zwt_ui_tree_TreeNode_node
The tree node object
Returns:
The style to apply

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jan 12 2012 02:07:54 GMT+0100 (CET)