1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>API: treeview YAHOO.widget.TreeView (YUI Library)
</title>
5 <link rel=
"stylesheet" type=
"text/css" href=
"assets/api.css">
9 <div id=
"doc3" class=
"yui-t2">
12 <h1>Yahoo! UI Library
</h1>
13 <h3>TreeView Widget
<span class=
"subtitle">2.2.0</span></h3>
15 <a href=
"./index.html">Yahoo! UI Library
</a>
16 > <a href=
"./module_treeview.html">treeview
</a>
17 > YAHOO.widget.TreeView
32 Class
<b>YAHOO.widget.TreeView
</b>
33 <span class=
"extends">
36 <span class=
"extends">
39 <a href=
"YAHOO.util.EventProvider.html">YAHOO.util.EventProvider
</a>
45 <!-- class tree goes here -->
50 <div class=
"summary description">
51 Contains the tree view state data and the root node.
54 <div class=
"section constructor details">
55 <h3><a name=
"constructor_detail">Constructor
</a></h3>
58 <strong>YAHOO.widget.TreeView
</strong>
67 <div class=
"description">
72 <string|HTMLElement
>
74 The id of the element, or the element
75 itself that the tree will be inserted into.
85 <div class=
"section field details">
86 <h3><a name=
"field_detail">Properties
</a></h3>
88 <h4><a name=
"_animCount">_animCount
</a>
89 <code>- private int
</code>
92 <div class=
"description">
93 The current number of animations that are executing
101 <h4><a name=
"_collapseAnim">_collapseAnim
</a>
102 <code>- private string
</code>
105 <div class=
"description">
106 The animation to use for collapsing children, if any
114 <h4><a name=
"_el">_el
</a>
115 <code>- private object
</code>
118 <div class=
"description">
119 The host element for this tree
127 <h4><a name=
"_expandAnim">_expandAnim
</a>
128 <code>- private string
</code>
131 <div class=
"description">
132 The animation to use for expanding children, if any
140 <h4><a name=
"_nodes">_nodes
</a>
141 <code>- private Node[]
</code>
144 <div class=
"description">
145 Flat collection of all nodes in this tree. This is a sparse
146 array, so the length property can't be relied upon for a
147 node count for the tree.
155 <h4><a name=
"id">id
</a>
156 <code>- String
</code>
159 <div class=
"description">
160 The id of tree container element
168 <h4><a name=
"locked">locked
</a>
169 <code>- boolean
</code>
172 <div class=
"description">
173 We lock the tree control while waiting for the dynamic loader to return
181 <h4><a name=
"maxAnim">maxAnim
</a>
185 <div class=
"description">
186 The maximum number of animations to run at one time.
194 <h4><a name=
"YAHOO.widget.TreeView.counter">YAHOO.widget.TreeView.counter
</a>
195 <code>- private static object
</code>
198 <div class=
"description">
199 Counter for generating a new unique element id
207 <h4><a name=
"YAHOO.widget.TreeView.nodeCount">YAHOO.widget.TreeView.nodeCount
</a>
208 <code>- static int
</code>
211 <div class=
"description">
212 Running count of all nodes created in all trees. This is
213 used to provide unique identifies for all nodes. Deleting
214 nodes does not change the nodeCount.
222 <h4><a name=
"YAHOO.widget.TreeView.trees">YAHOO.widget.TreeView.trees
</a>
223 <code>- private static Array
</code>
226 <div class=
"description">
227 Global cache of tree instances
240 <div class=
"section field inheritance">
241 <h4>Properties inherited from
<a href=
"YAHOO.util.EventProvider.html">YAHOO.util.EventProvider
</a>:
</h4>
242 <div class=
"content">
245 <a href=
"YAHOO.util.EventProvider.html#__yui_events">__yui_events
</a>,
246 <a href=
"YAHOO.util.EventProvider.html#__yui_subscribers">__yui_subscribers
</a>
251 <div class=
"section method details">
252 <h3><a name=
"methodDetails">Methods
</a></h3>
253 <div class=
"content">
255 <a name=
"_deleteNode">_deleteNode
</a></h4>
262 <strong>_deleteNode
</strong>
267 <div class=
"description">
268 Deletes the node and recurses children
271 <div class=
"description">
287 <a name=
"animateCollapse">animateCollapse
</a></h4>
294 <strong>animateCollapse
</strong>
308 <div class=
"description">
309 Perform the collapse animation if configured, or just show the
310 element if not configured or too many animations are in progress
313 <div class=
"description">
318 <code>el
<HTMLElement
></code>
319 the element to animate
322 <code>node
<YAHOO.util.Node
></code>
323 the node that was expanded
332 <dd>true if animation could be invoked, false otherwise
</dd>
340 <a name=
"animateExpand">animateExpand
</a></h4>
347 <strong>animateExpand
</strong>
361 <div class=
"description">
362 Perform the expand animation if configured, or just show the
363 element if not configured or too many animations are in progress
366 <div class=
"description">
371 <code>el
<HTMLElement
></code>
372 the element to animate
375 <code>node
<YAHOO.util.Node
></code>
376 the node that was expanded
385 <dd>true if animation could be invoked, false otherwise
</dd>
393 <a name=
"collapseAll">collapseAll
</a></h4>
400 <strong>collapseAll
</strong>
405 <div class=
"description">
406 Collapses all expanded child nodes in the entire tree.
409 <div class=
"description">
425 <a name=
"collapseComplete">collapseComplete
</a></h4>
432 <strong>collapseComplete
</strong>
437 <div class=
"description">
438 Function executed when the collapse animation completes
441 <div class=
"description">
457 <a name=
"draw">draw
</a></h4>
464 <strong>draw
</strong>
469 <div class=
"description">
470 Renders the tree boilerplate and visible nodes
473 <div class=
"description">
489 <a name=
"expandAll">expandAll
</a></h4>
496 <strong>expandAll
</strong>
501 <div class=
"description">
502 Expands all child nodes. Note: this conflicts with the
"multiExpand"
503 node property. If expand all is called in a tree with nodes that
504 do not allow multiple siblings to be displayed, only the last sibling
508 <div class=
"description">
524 <a name=
"expandComplete">expandComplete
</a></h4>
531 <strong>expandComplete
</strong>
536 <div class=
"description">
537 Function executed when the expand animation completes
540 <div class=
"description">
556 <a name=
"generateId">generateId
</a></h4>
563 <strong>generateId
</strong>
568 <div class=
"description">
569 Generates an unique id for an element if it doesn't yet have one
572 <div class=
"description">
588 <a name=
"getEl">getEl
</a></h4>
595 <strong>getEl
</strong>
600 <div class=
"description">
601 Returns the tree's host element
604 <div class=
"description">
612 <dd>the host element
</dd>
620 <a name=
"getNodeByIndex">getNodeByIndex
</a></h4>
627 <strong>getNodeByIndex
</strong>
637 <div class=
"description">
638 Returns a node in the tree that has the specified index (this index
639 is created internally, so this function probably will only be used
640 in html generated for a given node.)
643 <div class=
"description">
648 <code>nodeIndex
<int
></code>
649 the index of the node wanted
658 <dd>the node with index=nodeIndex, null if no match
</dd>
666 <a name=
"getNodeByProperty">getNodeByProperty
</a></h4>
673 <strong>getNodeByProperty
</strong>
687 <div class=
"description">
688 Returns a node that has a matching property and value in the data
689 object that was passed into its constructor.
692 <div class=
"description">
697 <code>property
<object
></code>
698 the property to search (usually a string)
701 <code>value
<object
></code>
702 the value we want to find (usuall an int or string)
711 <dd>the matching node, null if no match
</dd>
719 <a name=
"getNodesByProperty">getNodesByProperty
</a></h4>
726 <strong>getNodesByProperty
</strong>
740 <div class=
"description">
741 Returns a collection of nodes that have a matching property
742 and value in the data object that was passed into its constructor.
745 <div class=
"description">
750 <code>property
<object
></code>
751 the property to search (usually a string)
754 <code>value
<object
></code>
755 the value we want to find (usuall an int or string)
764 <dd>the matching collection of nodes, null if no match
</dd>
772 <a name=
"getRoot">getRoot
</a></h4>
779 <strong>getRoot
</strong>
784 <div class=
"description">
785 Returns the root node of this tree
788 <div class=
"description">
796 <dd>the root node
</dd>
804 <a name=
"init">init
</a></h4>
811 <strong>init
</strong>
816 <div class=
"description">
820 <div class=
"description">
836 <a name=
"onCollapse">onCollapse
</a></h4>
843 <strong>onCollapse
</strong>
853 <div class=
"description">
854 Abstract method that is executed when a node is collapsed.
857 <div class=
"description">
862 <code>node
<Node
></code>
863 the node that was collapsed.
875 <div class=
"deprecated">
876 <strong>Deprecated
</strong> use treeobj.subscribe(
"collapse") instead
883 <a name=
"onExpand">onExpand
</a></h4>
890 <strong>onExpand
</strong>
900 <div class=
"description">
901 Abstract method that is executed when a node is expanded
904 <div class=
"description">
909 <code>node
<Node
></code>
910 the node that was expanded
922 <div class=
"deprecated">
923 <strong>Deprecated
</strong> use treeobj.subscribe(
"expand") instead
930 <a name=
"popNode">popNode
</a></h4>
937 <strong>popNode
</strong>
947 <div class=
"description">
948 Removes the node from the tree, preserving the child collection
949 to make it possible to insert the branch into another part of the
950 tree, or another tree.
953 <div class=
"description">
958 <code>the
<Node
></code>
976 <a name=
"regNode">regNode
</a></h4>
983 <strong>regNode
</strong>
993 <div class=
"description">
994 Nodes register themselves with the tree instance when they are created.
997 <div class=
"description">
1000 <dt>Parameters:
</dt>
1002 <code>node
<Node
></code>
1003 the node to register
1020 <a name=
"removeChildren">removeChildren
</a></h4>
1021 <div class=
"detail">
1027 <strong>removeChildren
</strong>
1037 <div class=
"description">
1038 Deletes this nodes child collection, recursively. Also collapses
1039 the node, and resets the dynamic load flag. The primary use for
1040 this method is to purge a node and allow it to fetch its data
1044 <div class=
"description">
1047 <dt>Parameters:
</dt>
1049 <code>node
<Node
></code>
1067 <a name=
"removeNode">removeNode
</a></h4>
1068 <div class=
"detail">
1074 <strong>removeNode
</strong>
1088 <div class=
"description">
1089 Removes the node and its children, and optionally refreshes the
1090 branch of the tree that was affected.
1093 <div class=
"description">
1096 <dt>Parameters:
</dt>
1098 <code>The
<Node
></code>
1102 <code>autoRefresh
<boolean
></code>
1103 automatically refreshes branch if true
1112 <dd>False is there was a problem, true otherwise.
</dd>
1120 <a name=
"setCollapseAnim">setCollapseAnim
</a></h4>
1121 <div class=
"detail">
1127 <strong>setCollapseAnim
</strong>
1137 <div class=
"description">
1138 Sets up the animation for collapsing children
1141 <div class=
"description">
1144 <dt>Parameters:
</dt>
1146 <code>the
<string
></code>
1147 type of animation (acceptable values defined in
1148 YAHOO.widget.TVAnim)
1165 <a name=
"setDynamicLoad">setDynamicLoad
</a></h4>
1166 <div class=
"detail">
1172 <strong>setDynamicLoad
</strong>
1186 <div class=
"description">
1187 Configures this tree to dynamically load all child data
1190 <div class=
"description">
1193 <dt>Parameters:
</dt>
1195 <code>fnDataLoader
<function
></code>
1196 the function that will be called to get the data
1199 <code>iconMode
<int
></code>
1200 configures the icon that is displayed when a dynamic
1201 load node is expanded the first time without children. By default, the
1202 "collapse" icon will be used. If set to
1, the leaf node icon will be
1220 <a name=
"setExpandAnim">setExpandAnim
</a></h4>
1221 <div class=
"detail">
1227 <strong>setExpandAnim
</strong>
1237 <div class=
"description">
1238 Sets up the animation for expanding children
1241 <div class=
"description">
1244 <dt>Parameters:
</dt>
1246 <code>type
<string
></code>
1247 the type of animation (acceptable values defined
1248 in YAHOO.widget.TVAnim)
1265 <a name=
"setUpLabel">setUpLabel
</a></h4>
1266 <div class=
"detail">
1272 <strong>setUpLabel
</strong>
1282 <div class=
"description">
1283 Sets up the node label
1286 <div class=
"description">
1289 <dt>Parameters:
</dt>
1291 <code>oData
<object
></code>
1292 string containing the label, or an object with a label property
1309 <a name=
"toString">toString
</a></h4>
1310 <div class=
"detail">
1316 <strong>toString
</strong>
1321 <div class=
"description">
1322 TreeView instance toString
1325 <div class=
"description">
1333 <dd>string representation of the tree
</dd>
1341 <a name=
"YAHOO.widget.TreeView.addHandler">YAHOO.widget.TreeView.addHandler
</a></h4>
1342 <div class=
"detail">
1348 <strong>YAHOO.widget.TreeView.addHandler
</strong>
1366 <div class=
"description">
1370 <div class=
"description">
1373 <dt>Parameters:
</dt>
1375 <code>el
<object
></code>
1376 the elment to bind the handler to
1379 <code>sType
<string
></code>
1380 the type of event handler
1383 <code>fn
<function
></code>
1384 the callback to invoke
1401 <a name=
"YAHOO.widget.TreeView.getNode">YAHOO.widget.TreeView.getNode
</a></h4>
1402 <div class=
"detail">
1408 <strong>YAHOO.widget.TreeView.getNode
</strong>
1422 <div class=
"description">
1423 Global method for getting a node by its id. Used in the generated
1427 <div class=
"description">
1430 <dt>Parameters:
</dt>
1432 <code>treeId
<String
></code>
1433 the id of the tree instance
1436 <code>nodeIndex
<String
></code>
1437 the index of the node to return
1446 <dd>the node instance requested, null if not found
</dd>
1454 <a name=
"YAHOO.widget.TreeView.getTree">YAHOO.widget.TreeView.getTree
</a></h4>
1455 <div class=
"detail">
1461 <strong>YAHOO.widget.TreeView.getTree
</strong>
1471 <div class=
"description">
1472 Global method for getting a tree by its id. Used in the generated
1476 <div class=
"description">
1479 <dt>Parameters:
</dt>
1481 <code>treeId
<String
></code>
1482 the id of the tree instance
1491 <dd>the tree instance requested, null if not found.
</dd>
1499 <a name=
"YAHOO.widget.TreeView.preload">YAHOO.widget.TreeView.preload
</a></h4>
1500 <div class=
"detail">
1506 <strong>YAHOO.widget.TreeView.preload
</strong>
1516 <div class=
"description">
1517 Attempts to preload the images defined in the styles used to draw the tree by
1518 rendering off-screen elements that use the styles.
1521 <div class=
"description">
1524 <dt>Parameters:
</dt>
1526 <code>prefix
<string
></code>
1527 the prefix to use to generate the names of the
1528 images to preload, default is ygtv
1545 <a name=
"YAHOO.widget.TreeView.removeHandler">YAHOO.widget.TreeView.removeHandler
</a></h4>
1546 <div class=
"detail">
1552 <strong>YAHOO.widget.TreeView.removeHandler
</strong>
1570 <div class=
"description">
1574 <div class=
"description">
1577 <dt>Parameters:
</dt>
1579 <code>el
<object
></code>
1580 the elment to bind the handler to
1583 <code>sType
<string
></code>
1584 the type of event handler
1587 <code>fn
<function
></code>
1588 the callback to invoke
1607 <div class=
"section field inheritance">
1608 <h4>Methods inherited from
<a href=
"YAHOO.util.EventProvider.html">YAHOO.util.EventProvider
</a>:
</h4>
1609 <div class=
"content">
1612 <a href=
"YAHOO.util.EventProvider.html#createEvent">createEvent
</a>,
1613 <a href=
"YAHOO.util.EventProvider.html#fireEvent">fireEvent
</a>,
1614 <a href=
"YAHOO.util.EventProvider.html#hasEvent">hasEvent
</a>,
1615 <a href=
"YAHOO.util.EventProvider.html#subscribe">subscribe
</a>,
1616 <a href=
"YAHOO.util.EventProvider.html#unsubscribe">unsubscribe
</a>,
1617 <a href=
"YAHOO.util.EventProvider.html#unsubscribeAll">unsubscribeAll
</a>
1622 <div class=
"section method details">
1623 <h3><a name=
"methodDetails">Events
</a></h3>
1624 <div class=
"content">
1626 <a name=
"animComplete">animComplete
</a></h4>
1627 <div class=
"detail">
1632 <strong>animComplete
</strong>
1644 <div class=
"description">
1645 When animation is enabled, this event fires when the animation
1649 <div class=
"description">
1653 <dt>Parameters:
</dt>
1655 <code>node
<YAHOO.widget.Node
></code>
1656 the node that is expanding/collapsing
1666 <a name=
"animStart">animStart
</a></h4>
1667 <div class=
"detail">
1672 <strong>animStart
</strong>
1684 <div class=
"description">
1685 When animation is enabled, this event fires when the animation
1689 <div class=
"description">
1693 <dt>Parameters:
</dt>
1695 <code>node
<YAHOO.widget.Node
></code>
1696 the node that is expanding/collapsing
1706 <a name=
"collapse">collapse
</a></h4>
1707 <div class=
"detail">
1712 <strong>collapse
</strong>
1724 <div class=
"description">
1725 Fires when a node is going to be collapsed. Return false to stop
1729 <div class=
"description">
1733 <dt>Parameters:
</dt>
1735 <code>node
<YAHOO.widget.Node
></code>
1736 the node that is collapsing
1746 <a name=
"collapseComplete">collapseComplete
</a></h4>
1747 <div class=
"detail">
1752 <strong>collapseComplete
</strong>
1764 <div class=
"description">
1765 Fires after a node is successfully collapsed. This event will not fire
1766 if the
"collapse" event was cancelled.
1769 <div class=
"description">
1773 <dt>Parameters:
</dt>
1775 <code>node
<YAHOO.widget.Node
></code>
1776 the node that was collapsed
1786 <a name=
"expand">expand
</a></h4>
1787 <div class=
"detail">
1792 <strong>expand
</strong>
1804 <div class=
"description">
1805 Fires when a node is going to be expanded. Return false to stop
1809 <div class=
"description">
1813 <dt>Parameters:
</dt>
1815 <code>node
<YAHOO.widget.Node
></code>
1816 the node that is expanding
1826 <a name=
"expandComplete">expandComplete
</a></h4>
1827 <div class=
"detail">
1832 <strong>expandComplete
</strong>
1844 <div class=
"description">
1845 Fires after a node is successfully expanded. This event will not fire
1846 if the
"expand" event was cancelled.
1849 <div class=
"description">
1853 <dt>Parameters:
</dt>
1855 <code>node
<YAHOO.widget.Node
></code>
1856 the node that was expanded
1866 <a name=
"labelClick">labelClick
</a></h4>
1867 <div class=
"detail">
1872 <strong>labelClick
</strong>
1884 <div class=
"description">
1885 Custom event that is fired when the text node label is clicked. The
1886 custom event is defined on the tree instance, so there is a single
1887 event that handles all nodes in the tree. The node clicked is
1888 provided as an argument
1891 <div class=
"description">
1895 <dt>Parameters:
</dt>
1897 <code>node
<YAHOO.widget.Node
></code>
1919 <div class=
"module">
1921 <ul class=
"content">
1923 <li class=
""><a href=
"module_animation.html">animation
</a></li>
1925 <li class=
""><a href=
"module_autocomplete.html">autocomplete
</a></li>
1927 <li class=
""><a href=
"module_button.html">button
</a></li>
1929 <li class=
""><a href=
"module_calendar.html">calendar
</a></li>
1931 <li class=
""><a href=
"module_connection.html">connection
</a></li>
1933 <li class=
""><a href=
"module_container.html">container
</a></li>
1935 <li class=
""><a href=
"module_datasource.html">datasource
</a></li>
1937 <li class=
""><a href=
"module_datatable.html">datatable
</a></li>
1939 <li class=
""><a href=
"module_dom.html">dom
</a></li>
1941 <li class=
""><a href=
"module_dragdrop.html">dragdrop
</a></li>
1943 <li class=
""><a href=
"module_element.html">element
</a></li>
1945 <li class=
""><a href=
"module_event.html">event
</a></li>
1947 <li class=
""><a href=
"module_history.html">history
</a></li>
1949 <li class=
""><a href=
"module_logger.html">logger
</a></li>
1951 <li class=
""><a href=
"module_menu.html">menu
</a></li>
1953 <li class=
""><a href=
"module_slider.html">slider
</a></li>
1955 <li class=
""><a href=
"module_tabview.html">tabview
</a></li>
1957 <li class=
"selected"><a href=
"module_treeview.html">treeview
</a></li>
1959 <li class=
""><a href=
"module_yahoo.html">yahoo
</a></li>
1963 <div class=
"module">
1965 <ul class=
"content">
1966 <li class=
""><a href=
"YAHOO.widget.HTMLNode.html">YAHOO.widget.HTMLNode
</a></li>
1967 <li class=
""><a href=
"YAHOO.widget.MenuNode.html">YAHOO.widget.MenuNode
</a></li>
1968 <li class=
""><a href=
"YAHOO.widget.Node.html">YAHOO.widget.Node
</a></li>
1969 <li class=
""><a href=
"YAHOO.widget.RootNode.html">YAHOO.widget.RootNode
</a></li>
1970 <li class=
""><a href=
"YAHOO.widget.TextNode.html">YAHOO.widget.TextNode
</a></li>
1971 <li class=
"selected"><a href=
"YAHOO.widget.TreeView.html">YAHOO.widget.TreeView
</a></li>
1972 <li class=
""><a href=
"YAHOO.widget.TVAnim.html">YAHOO.widget.TVAnim
</a></li>
1973 <li class=
""><a href=
"YAHOO.widget.TVFadeIn.html">YAHOO.widget.TVFadeIn
</a></li>
1974 <li class=
""><a href=
"YAHOO.widget.TVFadeOut.html">YAHOO.widget.TVFadeOut
</a></li>
1978 <div class=
"module">
1980 <ul class=
"content">
1981 <li class=
""><a href=
"HTMLNode.js.html">HTMLNode.js
</a></li>
1982 <li class=
""><a href=
"MenuNode.js.html">MenuNode.js
</a></li>
1983 <li class=
""><a href=
"Node.js.html">Node.js
</a></li>
1984 <li class=
""><a href=
"RootNode.js.html">RootNode.js
</a></li>
1985 <li class=
""><a href=
"TextNode.js.html">TextNode.js
</a></li>
1986 <li class=
""><a href=
"TreeView.js.html">TreeView.js
</a></li>
1987 <li class=
""><a href=
"TVAnim.js.html">TVAnim.js
</a></li>
1988 <li class=
""><a href=
"TVFadeIn.js.html">TVFadeIn.js
</a></li>
1989 <li class=
""><a href=
"TVFadeOut.js.html">TVFadeOut.js
</a></li>
1993 <div class=
"module">
1995 <ul class=
"content">
1996 <li><a href=
"#_animCount">_animCount
</a>
1997 <!--<code><Array></code>-->
1999 <li><a href=
"#_collapseAnim">_collapseAnim
</a>
2000 <!--<code><Array></code>-->
2002 <li><a href=
"#_el">_el
</a>
2003 <!--<code><Array></code>-->
2005 <li><a href=
"#_expandAnim">_expandAnim
</a>
2006 <!--<code><Array></code>-->
2008 <li><a href=
"#_nodes">_nodes
</a>
2009 <!--<code><Array></code>-->
2011 <li><a href=
"#id">id
</a>
2012 <!--<code><Array></code>-->
2014 <li><a href=
"#locked">locked
</a>
2015 <!--<code><Array></code>-->
2017 <li><a href=
"#maxAnim">maxAnim
</a>
2018 <!--<code><Array></code>-->
2020 <li><a href=
"#YAHOO.widget.TreeView.counter">YAHOO.widget.TreeView.counter
</a>
2021 <!--<code><Array></code>-->
2023 <li><a href=
"#YAHOO.widget.TreeView.nodeCount">YAHOO.widget.TreeView.nodeCount
</a>
2024 <!--<code><Array></code>-->
2026 <li><a href=
"#YAHOO.widget.TreeView.trees">YAHOO.widget.TreeView.trees
</a>
2027 <!--<code><Array></code>-->
2032 <div class=
"module">
2034 <ul class=
"content">
2035 <li><!--<code>void</code>-->
2036 <a href=
"#_deleteNode">_deleteNode
</a>
2038 <li><!--<code>boolean</code>-->
2039 <a href=
"#animateCollapse">animateCollapse
</a>
2041 <li><!--<code>boolean</code>-->
2042 <a href=
"#animateExpand">animateExpand
</a>
2044 <li><!--<code>void</code>-->
2045 <a href=
"#collapseAll">collapseAll
</a>
2047 <li><!--<code>void</code>-->
2048 <a href=
"#collapseComplete">collapseComplete
</a>
2050 <li><!--<code>void</code>-->
2051 <a href=
"#draw">draw
</a>
2053 <li><!--<code>void</code>-->
2054 <a href=
"#expandAll">expandAll
</a>
2056 <li><!--<code>void</code>-->
2057 <a href=
"#expandComplete">expandComplete
</a>
2059 <li><!--<code>void</code>-->
2060 <a href=
"#generateId">generateId
</a>
2062 <li><!--<code>HTMLElement</code>-->
2063 <a href=
"#getEl">getEl
</a>
2065 <li><!--<code>Node</code>-->
2066 <a href=
"#getNodeByIndex">getNodeByIndex
</a>
2068 <li><!--<code>Node</code>-->
2069 <a href=
"#getNodeByProperty">getNodeByProperty
</a>
2071 <li><!--<code>Array</code>-->
2072 <a href=
"#getNodesByProperty">getNodesByProperty
</a>
2074 <li><!--<code>Node</code>-->
2075 <a href=
"#getRoot">getRoot
</a>
2077 <li><!--<code>void</code>-->
2078 <a href=
"#init">init
</a>
2080 <li><!--<code>void</code>-->
2081 <a href=
"#onCollapse">onCollapse
</a>
2083 <li><!--<code>void</code>-->
2084 <a href=
"#onExpand">onExpand
</a>
2086 <li><!--<code>void</code>-->
2087 <a href=
"#popNode">popNode
</a>
2089 <li><!--<code>void</code>-->
2090 <a href=
"#regNode">regNode
</a>
2092 <li><!--<code>void</code>-->
2093 <a href=
"#removeChildren">removeChildren
</a>
2095 <li><!--<code>boolean</code>-->
2096 <a href=
"#removeNode">removeNode
</a>
2098 <li><!--<code>void</code>-->
2099 <a href=
"#setCollapseAnim">setCollapseAnim
</a>
2101 <li><!--<code>void</code>-->
2102 <a href=
"#setDynamicLoad">setDynamicLoad
</a>
2104 <li><!--<code>void</code>-->
2105 <a href=
"#setExpandAnim">setExpandAnim
</a>
2107 <li><!--<code>void</code>-->
2108 <a href=
"#setUpLabel">setUpLabel
</a>
2110 <li><!--<code>string</code>-->
2111 <a href=
"#toString">toString
</a>
2113 <li><!--<code>void</code>-->
2114 <a href=
"#YAHOO.widget.TreeView.addHandler">YAHOO.widget.TreeView.addHandler
</a>
2116 <li><!--<code>Node</code>-->
2117 <a href=
"#YAHOO.widget.TreeView.getNode">YAHOO.widget.TreeView.getNode
</a>
2119 <li><!--<code>TreeView</code>-->
2120 <a href=
"#YAHOO.widget.TreeView.getTree">YAHOO.widget.TreeView.getTree
</a>
2122 <li><!--<code>void</code>-->
2123 <a href=
"#YAHOO.widget.TreeView.preload">YAHOO.widget.TreeView.preload
</a>
2125 <li><!--<code>void</code>-->
2126 <a href=
"#YAHOO.widget.TreeView.removeHandler">YAHOO.widget.TreeView.removeHandler
</a>
2131 <div class=
"module">
2133 <ul class=
"content">
2135 <a href=
"#animComplete">animComplete
</a>
2138 <a href=
"#animStart">animStart
</a>
2141 <a href=
"#collapse">collapse
</a>
2144 <a href=
"#collapseComplete">collapseComplete
</a>
2147 <a href=
"#expand">expand
</a>
2150 <a href=
"#expandComplete">expandComplete
</a>
2153 <a href=
"#labelClick">labelClick
</a>
2164 Copyright
© 2007 Yahoo! Inc. All rights reserved.