TreeView |
tree
For the root node, we get the tree reference from as a param
to the constructor instead of from the parent element.
|
Class YAHOO.widget.RootNode
Object | +--YAHOO.widget.Node | +--YAHOO.widget.RootNode
class
YAHOO.widget.RootNode
Field Summary [top]
Fields inherited from class YAHOO.widget.Node [top]
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
|
Methods inherited from class YAHOO.widget.Node
init, applyParent, appendTo, insertBefore, insertAfter, getSiblings, showChildren, hideChildren, getElId, getChildrenElId, getToggleElId, getEl, getChildrenEl, getToggleEl, getToggleLink, collapse, expand, getStyle, getHoverStyle, expandAll, collapseAll, setDynamicLoad, isRoot, isDynamic, getIconMode, hasChildren, toggle, getHtml, completeRender, getAncestor, getDepthStyle, refresh
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