Class YAHOO.widget.RootNode

Object
   |
   +--YAHOO.widget.Node
         |
         +--YAHOO.widget.RootNode

class YAHOO.widget.RootNode

Field Summary [top]

TreeView tree
For the root node, we get the tree reference from as a param to the constructor instead of from the parent element. 

Constructor Summary [top]

YAHOO.widget.RootNode
A custom YAHOO.widget.Node that handles the unique nature of the virtual, presentationless root node. 

Method Summary [top]

Object getNodeHtml ()
Get the markup for the node. 
void loadComplete ()
Load complete is the callback function we pass to the data provider in dynamic load situations. 
Object toString ()
toString 

Field Detail [top]

tree

TreeView   tree
For the root node, we get the tree reference from as a param to the constructor instead of from the parent element.

Constructor Detail [top]

YAHOO.widget.RootNode

YAHOO.widget.RootNode ()
A custom YAHOO.widget.Node that handles the unique nature of the virtual, presentationless root node.

Method Detail [top]

getNodeHtml

Object getNodeHtml ()
Get the markup for the node. This is designed to be overrided so that we can support different types of nodes.
Returns:
The HTML that will render this node.

loadComplete

void loadComplete ()
Load complete is the callback function we pass to the data provider in dynamic load situations.

toString

Object toString ()
toString
Returns:
string representation of the node