Files
Phraseanet/www/include/jslibs/yui2.8/docs/YAHOO.widget.TreeView.html
2011-02-16 16:09:48 +01:00

3529 lines
223 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>API: treeview YAHOO.widget.TreeView (YUI Library)</title>
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
<link rel="stylesheet" type="text/css" href="assets/api.css" />
<script type="text/javascript" src="assets/api-js"></script>
<script type="text/javascript" src="assets/ac-js"></script>
</head>
<body id="yahoo-com">
<div id="doc3" class="yui-t2">
<div id="hd">
<h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
<h3>TreeView Widget&nbsp; <span class="subtitle">2.8.2r1</span></h3>
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a>
&gt; <a href="./module_treeview.html" title="treeview">treeview</a>
&gt; YAHOO.widget.TreeView
<form onsubmit="return false">
<div id="propertysearch">
Search: <input autocomplete="off" id="searchinput" />
<div id="searchresults">
&nbsp;
</div>
</div>
</form>
</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
<fieldset>
<legend>Filters</legend>
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
</fieldset>
</form>
<h2>
Class <b property="yui:name">YAHOO.widget.TreeView</b>
<span class="extends">
</span>
<span class="extends" rel="yui:extends">
- uses
<span rel="extend" resource="YAHOO.util.EventProvider.html">
<a href="YAHOO.util.EventProvider.html" property="yui:name" title="YAHOO.util.EventProvider">YAHOO.util.EventProvider</a>
</span>
</span>
</h2>
<!-- class tree goes here -->
<div class="summary description" property="yui:description">
Contains the tree view state data and the root node.
</div>
<div class="section constructor details" rel="yui:constructor" resource="#constructor">
<h3 id="constructor">Constructor</h3>
<div class="content">
<div class="detail">
<strong property="yui:name">YAHOO.widget.TreeView</strong>
<code>
(
id
,
oConfig
)
</code>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">id</span>
&lt;<span property="yui:type">string|HTMLElement</span>&gt;
</code>
<span property="yui:description"> The id of the element, or the element itself that the tree will be inserted into.
Existing markup in this element, if valid, will be used to build the tree</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">oConfig</span>
&lt;<span property="yui:type">Array|Object|String</span>&gt;
</code>
<span property="yui:description"> (optional) If present, it will be used to build the tree via method <a href="#method_buildTreeFromObject">buildTreeFromObject</a></span>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div rel="yui:properties" resource="#properties">
<div class="section field details">
<h3 id="properties">Properties</h3>
<div class="content">
<div class="private" rel="yui:property" resource="#property__animCount">
<h4><a name="property__animCount" property="yui:name">_animCount</a>
- <code>private <span property="yui:type">int</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
The current number of animations that are executing
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:property" resource="#property__collapseAnim">
<h4><a name="property__collapseAnim" property="yui:name">_collapseAnim</a>
- <code>private <span property="yui:type">string</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
The animation to use for collapsing children, if any
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:property" resource="#property__currentlyHighlighted">
<h4><a name="property__currentlyHighlighted" property="yui:name">_currentlyHighlighted</a>
- <code>private <span property="yui:type">YAHOO.widget.Node</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
A reference to the Node that is currently highlighted.
It is only meaningful if singleNodeHighlight is enabled
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: null
</div>
<hr />
</div>
<div class="private" rel="yui:property" resource="#property__dblClickTimer">
<h4><a name="property__dblClickTimer" property="yui:name">_dblClickTimer</a>
- <code>private <span property="yui:type">window.timer object</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Stores the timer used to check for double clicks
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:property" resource="#property__el">
<h4><a name="property__el" property="yui:name">_el</a>
- <code>private <span property="yui:type">HTMLelement</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
The host element for this tree
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:property" resource="#property__expandAnim">
<h4><a name="property__expandAnim" property="yui:name">_expandAnim</a>
- <code>private <span property="yui:type">string</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
The animation to use for expanding children, if any
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:property" resource="#property__hasDblClickSubscriber">
<h4><a name="property__hasDblClickSubscriber" property="yui:name">_hasDblClickSubscriber</a>
- <code>private <span property="yui:type">boolean</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Whether there is any subscriber to dblClickEvent
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:property" resource="#property__nodes">
<h4><a name="property__nodes" property="yui:name">_nodes</a>
- <code>private <span property="yui:type">Node[]</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Flat collection of all nodes in this tree. This is a sparse
array, so the length property can't be relied upon for a
node count for the tree.
</div>
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_currentFocus">
<h4><a name="property_currentFocus" property="yui:name">currentFocus</a>
- <code><span property="yui:type">YAHOO.widget.Node</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
A reference to the Node currently having the focus or null if none.
</div>
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_editorData">
<h4><a name="property_editorData" property="yui:name">editorData</a>
- <code>static <span property="yui:type">object</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
An object to store information used for in-line editing
for all Nodes of all TreeViews. It contains:
<ul>
<li>active {boolean}, whether there is an active cell editor </li>
<li>whoHasIt {YAHOO.widget.TreeView} TreeView instance that is currently using the editor</li>
<li>nodeType {string} value of static Node._type property, allows reuse of input element if node is of the same type.</li>
<li>editorPanel {HTMLelement (&lt;div&gt;)} element holding the in-line editor</li>
<li>inputContainer {HTMLelement (&lt;div&gt;)} element which will hold the type-specific input element(s) to be filled by the fillEditorContainer method</li>
<li>buttonsContainer {HTMLelement (&lt;div&gt;)} element which holds the &lt;button&gt; elements for Ok/Cancel. If you don't want any of the buttons, hide it via CSS styles, don't destroy it</li>
<li>node {YAHOO.widget.Node} reference to the Node being edited</li>
<li>saveOnEnter {boolean}, whether the Enter key should be accepted as a Save command (Esc. is always taken as Cancel), disable for multi-line input elements </li>
<li>oldValue {any} value before editing</li>
</ul>
Editors are free to use this object to store additional data.
</div>
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_id">
<h4><a name="property_id" property="yui:name">id</a>
- <code><span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
The id of tree container element
</div>
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_locked">
<h4><a name="property_locked" property="yui:name">locked</a>
- <code><span property="yui:type">boolean</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
We lock the tree control while waiting for the dynamic loader to return
</div>
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_maxAnim">
<h4><a name="property_maxAnim" property="yui:name">maxAnim</a>
- <code><span property="yui:type">int</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
The maximum number of animations to run at one time.
</div>
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_singleNodeHighlight">
<h4><a name="property_singleNodeHighlight" property="yui:name">singleNodeHighlight</a>
- <code><span property="yui:type">boolean</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
If true, only one Node can be highlighted at a time
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: false
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_TreeView.FOCUS_CLASS_NAME">
<h4><a name="property_TreeView.FOCUS_CLASS_NAME" property="yui:name">TreeView.FOCUS_CLASS_NAME</a>
- <code>static final <span property="yui:type">String</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Class name assigned to elements that have the focus
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: "ygtvfocus"
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_validator">
<h4><a name="property_validator" property="yui:name">validator</a>
- <code><span property="yui:type">function</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Validator function for edited data, called from the TreeView instance scope,
receives the arguments (newValue, oldValue, nodeInstance)
and returns either the validated (or type-converted) value or undefined.
An undefined return will prevent the editor from closing
</div>
</div>
<div class="default" property="yui:defaultValue">
Default Value: null
</div>
<hr />
</div>
<div class="" rel="yui:property" resource="#property_YAHOO.widget.TreeView.nodeCount">
<h4><a name="property_YAHOO.widget.TreeView.nodeCount" property="yui:name">YAHOO.widget.TreeView.nodeCount</a>
- <code>static <span property="yui:type">int</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Running count of all nodes created in all trees. This is
used to provide unique identifies for all nodes. Deleting
nodes does not change the nodeCount.
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:property" resource="#property_YAHOO.widget.TreeView.trees">
<h4><a name="property_YAHOO.widget.TreeView.trees" property="yui:name">YAHOO.widget.TreeView.trees</a>
- <code>private static <span property="yui:type">Array</span></code>
</h4>
<div class="detail">
<div class="description" property="yui:description">
Global cache of tree instances
</div>
</div>
<hr />
</div>
</div>
</div>
<div rel="yui:inheritance">
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.EventProvider.html">
<h4>Properties inherited from <a href="YAHOO.util.EventProvider.html" property="yui:name" title="YAHOO.util.EventProvider">YAHOO.util.EventProvider</a>:</h4>
<div class="content" rel="yui:properties">
<code>
<span rel="yui:property" resource="YAHOO.util.EventProvider.html#property___yui_events">
<a class="private" href="YAHOO.util.EventProvider.html#property___yui_events" property="yui:name" title="__yui_events">__yui_events</a><span class="private">,</span>
</span>
<span rel="yui:property" resource="YAHOO.util.EventProvider.html#property___yui_subscribers">
<a class="private" href="YAHOO.util.EventProvider.html#property___yui_subscribers" property="yui:name" title="__yui_subscribers">__yui_subscribers</a>
</span>
</code>
</div>
</div>
</div>
</div>
<div rel="yui:methods" resource="#methods">
<div class="section method details">
<h3 id="methods">Methods</h3>
<div class="content">
<div class="private" rel="yui:method" resource="#method__closeEditor">
<h4>
<a name="method__closeEditor">_closeEditor</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_closeEditor</strong>
(
save
)
</code>
<div class="description" property="yui:description">
Method to be called when the inline editing is finished and the editor is to be closed
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">save</span>
&lt;<span property="yui:type">Boolean</span>&gt;
</code>
<span property="yui:description"> true if the edited value is to be saved, false if discarded</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__deleteNode">
<h4>
<a name="method__deleteNode">_deleteNode</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_deleteNode</strong>
(
)
</code>
<div class="description" property="yui:description">
Deletes the node and recurses children
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__destroyEditor">
<h4>
<a name="method__destroyEditor">_destroyEditor</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_destroyEditor</strong>
(
)
</code>
<div class="description" property="yui:description">
Entry point for TreeView's destroy method to destroy whatever the editing plug-in has created
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__getEventTargetTdEl">
<h4>
<a name="method__getEventTargetTdEl">_getEventTargetTdEl</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_getEventTargetTdEl</strong>
(
)
</code>
<div class="description" property="yui:description">
Returns the TD element where the event has occurred
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__initEditor">
<h4>
<a name="method__initEditor">_initEditor</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_initEditor</strong>
(
)
</code>
<div class="description" property="yui:description">
Entry point for initializing the editing plug-in.
TreeView will call this method on initializing if it exists
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__nodeEditing">
<h4>
<a name="method__nodeEditing">_nodeEditing</a></h4>
<div class="detail" >
<code>
private
Boolean
<strong property="yui:name">_nodeEditing</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Entry point of the editing plug-in.
TreeView will call this method if it exists when a node label is clicked
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> the node to be edited</span>
</dd>
</dl>
<dl>
<dt>Returns:
<code property="yui:return">
Boolean
</code></dt>
<dd property="yui:returnInfo">true to indicate that the node is editable and prevent any further bubbling of the click.</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__onClickEvent">
<h4>
<a name="method__onClickEvent">_onClickEvent</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_onClickEvent</strong>
(
)
</code>
<div class="description" property="yui:description">
Event listener for click events
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__onDblClickEvent">
<h4>
<a name="method__onDblClickEvent">_onDblClickEvent</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_onDblClickEvent</strong>
(
)
</code>
<div class="description" property="yui:description">
Event listener for double-click events
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__onKeyDownEvent">
<h4>
<a name="method__onKeyDownEvent">_onKeyDownEvent</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_onKeyDownEvent</strong>
(
)
</code>
<div class="description" property="yui:description">
Event listener for key down events
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__onMouseOutEvent">
<h4>
<a name="method__onMouseOutEvent">_onMouseOutEvent</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_onMouseOutEvent</strong>
(
)
</code>
<div class="description" property="yui:description">
Event listener for mouse out events
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__onMouseOverEvent">
<h4>
<a name="method__onMouseOverEvent">_onMouseOverEvent</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_onMouseOverEvent</strong>
(
)
</code>
<div class="description" property="yui:description">
Event listener for mouse over events
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method__removeChildren_animComplete">
<h4>
<a name="method__removeChildren_animComplete">_removeChildren_animComplete</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">_removeChildren_animComplete</strong>
(
o
)
</code>
<div class="description" property="yui:description">
wait until the animation is complete before deleting
to avoid javascript errors
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">o</span>
&lt;<span property="yui:type">object</span>&gt;
</code>
<span property="yui:description"> the custom event payload</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_animateCollapse">
<h4>
<a name="method_animateCollapse">animateCollapse</a></h4>
<div class="detail" >
<code>
boolean
<strong property="yui:name">animateCollapse</strong>
(
el
,
node
)
</code>
<div class="description" property="yui:description">
Perform the collapse animation if configured, or just show the
element if not configured or too many animations are in progress
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">el</span>
&lt;<span property="yui:type">HTMLElement</span>&gt;
</code>
<span property="yui:description"> the element to animate</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">YAHOO.util.Node</span>&gt;
</code>
<span property="yui:description"> the node that was expanded</span>
</dd>
</dl>
<dl>
<dt>Returns:
<code property="yui:return">
boolean
</code></dt>
<dd property="yui:returnInfo">true if animation could be invoked, false otherwise</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_animateExpand">
<h4>
<a name="method_animateExpand">animateExpand</a></h4>
<div class="detail" >
<code>
boolean
<strong property="yui:name">animateExpand</strong>
(
el
,
node
)
</code>
<div class="description" property="yui:description">
Perform the expand animation if configured, or just show the
element if not configured or too many animations are in progress
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">el</span>
&lt;<span property="yui:type">HTMLElement</span>&gt;
</code>
<span property="yui:description"> the element to animate</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">YAHOO.util.Node</span>&gt;
</code>
<span property="yui:description"> the node that was expanded</span>
</dd>
</dl>
<dl>
<dt>Returns:
<code property="yui:return">
boolean
</code></dt>
<dd property="yui:returnInfo">true if animation could be invoked, false otherwise</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_buildTreeFromMarkup">
<h4>
<a name="method_buildTreeFromMarkup">buildTreeFromMarkup</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">buildTreeFromMarkup</strong>
(
id
)
</code>
<div class="description" property="yui:description">
Builds the TreeView from existing markup. Markup should consist of &lt;UL&gt; or &lt;OL&gt; elements containing &lt;LI&gt; elements.
Each &lt;LI&gt; can have one element used as label and a second optional element which is to be a &lt;UL&gt; or &lt;OL&gt;
containing nested nodes.
Depending on what the first element of the &lt;LI&gt; element is, the following Nodes will be created: <ul>
<li>plain text: a regular TextNode</li>
<li>anchor &lt;A&gt;: a TextNode with its <code>href</code> and <code>target</code> taken from the anchor</li>
<li>anything else: an HTMLNode</li></ul>
Only the first outermost (un-)ordered list in the markup and its children will be parsed.
Nodes will be collapsed unless an &lt;LI&gt; tag has a className called 'expanded'.
All other className attributes will be copied over to the Node className property.
If the &lt;LI&gt; element contains an attribute called <code>yuiConfig</code>, its contents should be a JSON-encoded object
as the one used in method <a href="#method_buildTreeFromObject">buildTreeFromObject</a>.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">id</span>
&lt;<span property="yui:type">string|HTMLElement</span>&gt;
</code>
<span property="yui:description"> The id of the element that contains the markup or a reference to it.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_buildTreeFromObject">
<h4>
<a name="method_buildTreeFromObject">buildTreeFromObject</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">buildTreeFromObject</strong>
(
oConfig
)
</code>
<div class="description" property="yui:description">
Builds the TreeView from an object.
This is the method called by the constructor to build the tree when it has a second argument.
A tree can be described by an array of objects, each object corresponding to a node.
Node descriptions may contain values for any property of a node plus the following extra properties: <ul>
<li>type: can be one of the following:<ul>
<li> A shortname for a node type (<code>'text','menu','html'</code>) </li>
<li>The name of a Node class under YAHOO.widget (<code>'TextNode', 'MenuNode', 'DateNode'</code>, etc) </li>
<li>a reference to an actual class: <code>YAHOO.widget.DateNode</code></li>
</ul></li>
<li>children: an array containing further node definitions</li></ul>
A string instead of an object will produce a node of type 'text' with the given string as its label.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">oConfig</span>
&lt;<span property="yui:type">Array|Object|String</span>&gt;
</code>
<span property="yui:description"> array containing a full description of the tree.
An object or a string will be turned into an array with the given object or string as its only element.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_collapseAll">
<h4>
<a name="method_collapseAll">collapseAll</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">collapseAll</strong>
(
)
</code>
<div class="description" property="yui:description">
Collapses all expanded child nodes in the entire tree.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_collapseComplete">
<h4>
<a name="method_collapseComplete">collapseComplete</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">collapseComplete</strong>
(
)
</code>
<div class="description" property="yui:description">
Function executed when the collapse animation completes
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_destroy">
<h4>
<a name="method_destroy">destroy</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">destroy</strong>
(
)
</code>
<div class="description" property="yui:description">
Nulls out the entire TreeView instance and related objects, removes attached
event listeners, and clears out DOM elements inside the container. After
calling this method, the instance reference should be expliclitly nulled by
implementer, as in myDataTable = null. Use with caution!
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class=" deprecated" rel="yui:method" resource="#method_draw">
<h4>
<a name="method_draw">draw</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">draw</strong>
(
)
</code>
<div class="description" property="yui:description">
Renders the tree boilerplate and visible nodes.
Alias for render
</div>
<div class="description">
<div class="deprecated">
<strong>Deprecated</strong> Use render instead
</div>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_expandAll">
<h4>
<a name="method_expandAll">expandAll</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">expandAll</strong>
(
)
</code>
<div class="description" property="yui:description">
Expands all child nodes. Note: this conflicts with the "multiExpand"
node property. If expand all is called in a tree with nodes that
do not allow multiple siblings to be displayed, only the last sibling
will be expanded.
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_expandComplete">
<h4>
<a name="method_expandComplete">expandComplete</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">expandComplete</strong>
(
)
</code>
<div class="description" property="yui:description">
Function executed when the expand animation completes
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getEl">
<h4>
<a name="method_getEl">getEl</a></h4>
<div class="detail" >
<code>
HTMLElement
<strong property="yui:name">getEl</strong>
(
)
</code>
<div class="description" property="yui:description">
Returns the tree's host element
</div>
<div class="description">
<dl>
<dt>Returns:
<code property="yui:return">
HTMLElement
</code></dt>
<dd property="yui:returnInfo">the host element</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getHighlightedNode">
<h4>
<a name="method_getHighlightedNode">getHighlightedNode</a></h4>
<div class="detail" >
<code>
YAHOO.widget.Node
<strong property="yui:name">getHighlightedNode</strong>
(
)
</code>
<div class="description" property="yui:description">
When in singleNodeHighlight it returns the node highlighted
or null if none. Returns null if singleNodeHighlight is false.
</div>
<div class="description">
<dl>
<dt>Returns:
<code property="yui:return">
YAHOO.widget.Node
</code></dt>
<dd property="yui:returnInfo">a node reference or null</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getNodeByElement">
<h4>
<a name="method_getNodeByElement">getNodeByElement</a></h4>
<div class="detail" >
<code>
YAHOO.widget.Node
<strong property="yui:name">getNodeByElement</strong>
(
el
)
</code>
<div class="description" property="yui:description">
Returns the treeview node reference for an ancestor element
of the node, or null if it is not contained within any node
in this tree.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">el</span>
&lt;<span property="yui:type">HTMLElement</span>&gt;
</code>
<span property="yui:description"> the element to test</span>
</dd>
</dl>
<dl>
<dt>Returns:
<code property="yui:return">
YAHOO.widget.Node
</code></dt>
<dd property="yui:returnInfo">a node reference or null</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getNodeByIndex">
<h4>
<a name="method_getNodeByIndex">getNodeByIndex</a></h4>
<div class="detail" >
<code>
Node
<strong property="yui:name">getNodeByIndex</strong>
(
nodeIndex
)
</code>
<div class="description" property="yui:description">
Returns a node in the tree that has the specified index (this index
is created internally, so this function probably will only be used
in html generated for a given node.)
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">nodeIndex</span>
&lt;<span property="yui:type">int</span>&gt;
</code>
<span property="yui:description"> the index of the node wanted</span>
</dd>
</dl>
<dl>
<dt>Returns:
<code property="yui:return">
Node
</code></dt>
<dd property="yui:returnInfo">the node with index=nodeIndex, null if no match</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getNodeByProperty">
<h4>
<a name="method_getNodeByProperty">getNodeByProperty</a></h4>
<div class="detail" >
<code>
Node
<strong property="yui:name">getNodeByProperty</strong>
(
property
,
value
)
</code>
<div class="description" property="yui:description">
Returns a node that has a matching property and value in the data
object that was passed into its constructor.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">property</span>
&lt;<span property="yui:type">object</span>&gt;
</code>
<span property="yui:description"> the property to search (usually a string)</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">value</span>
&lt;<span property="yui:type">object</span>&gt;
</code>
<span property="yui:description"> the value we want to find (usuall an int or string)</span>
</dd>
</dl>
<dl>
<dt>Returns:
<code property="yui:return">
Node
</code></dt>
<dd property="yui:returnInfo">the matching node, null if no match</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getNodeCount">
<h4>
<a name="method_getNodeCount">getNodeCount</a></h4>
<div class="detail" >
<code>
int
<strong property="yui:name">getNodeCount</strong>
(
)
</code>
<div class="description" property="yui:description">
Count of nodes in tree
</div>
<div class="description">
<dl>
<dt>Returns:
<code property="yui:return">
int
</code></dt>
<dd property="yui:returnInfo">number of nodes in the tree</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getNodesBy">
<h4>
<a name="method_getNodesBy">getNodesBy</a></h4>
<div class="detail" >
<code>
Array
<strong property="yui:name">getNodesBy</strong>
(
a
)
</code>
<div class="description" property="yui:description">
Returns a collection of nodes that have passed the test function
passed as its only argument.
The function will receive a reference to each node to be tested.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">a</span>
&lt;<span property="yui:type">function</span>&gt;
</code>
<span property="yui:description"> boolean function that receives a Node instance and returns true to add the node to the results list</span>
</dd>
</dl>
<dl>
<dt>Returns:
<code property="yui:return">
Array
</code></dt>
<dd property="yui:returnInfo">the matching collection of nodes, null if no match</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getNodesByProperty">
<h4>
<a name="method_getNodesByProperty">getNodesByProperty</a></h4>
<div class="detail" >
<code>
Array
<strong property="yui:name">getNodesByProperty</strong>
(
property
,
value
)
</code>
<div class="description" property="yui:description">
Returns a collection of nodes that have a matching property
and value in the data object that was passed into its constructor.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">property</span>
&lt;<span property="yui:type">object</span>&gt;
</code>
<span property="yui:description"> the property to search (usually a string)</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">value</span>
&lt;<span property="yui:type">object</span>&gt;
</code>
<span property="yui:description"> the value we want to find (usuall an int or string)</span>
</dd>
</dl>
<dl>
<dt>Returns:
<code property="yui:return">
Array
</code></dt>
<dd property="yui:returnInfo">the matching collection of nodes, null if no match</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getRoot">
<h4>
<a name="method_getRoot">getRoot</a></h4>
<div class="detail" >
<code>
Node
<strong property="yui:name">getRoot</strong>
(
)
</code>
<div class="description" property="yui:description">
Returns the root node of this tree
</div>
<div class="description">
<dl>
<dt>Returns:
<code property="yui:return">
Node
</code></dt>
<dd property="yui:returnInfo">the root node</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_getTreeDefinition">
<h4>
<a name="method_getTreeDefinition">getTreeDefinition</a></h4>
<div class="detail" >
<code>
Object | false
<strong property="yui:name">getTreeDefinition</strong>
(
)
</code>
<div class="description" property="yui:description">
Returns an object which could be used to rebuild the tree.
It can be passed to the tree constructor to reproduce the same tree.
It will return false if any node loads dynamically, regardless of whether it is loaded or not.
</div>
<div class="description">
<dl>
<dt>Returns:
<code property="yui:return">
Object | false
</code></dt>
<dd property="yui:returnInfo">definition of the tree or false if any node is defined as dynamic</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method_init">
<h4>
<a name="method_init">init</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">init</strong>
(
)
</code>
<div class="description" property="yui:description">
Initializes the tree
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class=" deprecated" rel="yui:method" resource="#method_onCollapse">
<h4>
<a name="method_onCollapse">onCollapse</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">onCollapse</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Abstract method that is executed when a node is collapsed.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">Node</span>&gt;
</code>
<span property="yui:description"> the node that was collapsed.</span>
</dd>
</dl>
<div class="deprecated">
<strong>Deprecated</strong> use treeobj.subscribe("collapse") instead
</div>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_onEventEditNode">
<h4>
<a name="method_onEventEditNode">onEventEditNode</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">onEventEditNode</strong>
(
oArgs
)
</code>
<div class="description" property="yui:description">
Method to be associated with an event (clickEvent, dblClickEvent or enterKeyPressed) to pop up the contents editor
It calls the corresponding node editNode method.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs</span>
&lt;<span property="yui:type">object</span>&gt;
</code>
<span property="yui:description"> Object passed as arguments to TreeView event listeners</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_onEventToggleHighlight">
<h4>
<a name="method_onEventToggleHighlight">onEventToggleHighlight</a></h4>
<div class="detail" >
<code>
false
<strong property="yui:name">onEventToggleHighlight</strong>
(
oArgs
)
</code>
<div class="description" property="yui:description">
Event listener to toggle node highlight.
Can be assigned as listener to clickEvent, dblClickEvent and enterKeyPressed.
It returns false to prevent the default action.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs</span>
&lt;<span property="yui:type">any</span>&gt;
</code>
<span property="yui:description"> it takes the arguments of any of the events mentioned above</span>
</dd>
</dl>
<dl>
<dt>Returns:
<code property="yui:return">
false
</code></dt>
<dd property="yui:returnInfo">Always cancels the default action for the event</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class=" deprecated" rel="yui:method" resource="#method_onExpand">
<h4>
<a name="method_onExpand">onExpand</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">onExpand</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Abstract method that is executed when a node is expanded
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">Node</span>&gt;
</code>
<span property="yui:description"> the node that was expanded</span>
</dd>
</dl>
<div class="deprecated">
<strong>Deprecated</strong> use treeobj.subscribe("expand") instead
</div>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_popNode">
<h4>
<a name="method_popNode">popNode</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">popNode</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Removes the node from the tree, preserving the child collection
to make it possible to insert the branch into another part of the
tree, or another tree.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">Node</span>&gt;
</code>
<span property="yui:description"> to remove</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="private" rel="yui:method" resource="#method_regNode">
<h4>
<a name="method_regNode">regNode</a></h4>
<div class="detail" >
<code>
private
void
<strong property="yui:name">regNode</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Nodes register themselves with the tree instance when they are created.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">Node</span>&gt;
</code>
<span property="yui:description"> the node to register</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_removeChildren">
<h4>
<a name="method_removeChildren">removeChildren</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">removeChildren</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Deletes this nodes child collection, recursively. Also collapses
the node, and resets the dynamic load flag. The primary use for
this method is to purge a node and allow it to fetch its data
dynamically again.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">Node</span>&gt;
</code>
<span property="yui:description"> the node to purge</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_removeNode">
<h4>
<a name="method_removeNode">removeNode</a></h4>
<div class="detail" >
<code>
boolean
<strong property="yui:name">removeNode</strong>
(
node
,
autoRefresh
)
</code>
<div class="description" property="yui:description">
Removes the node and its children, and optionally refreshes the
branch of the tree that was affected.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">Node</span>&gt;
</code>
<span property="yui:description"> to remove</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">autoRefresh</span>
&lt;<span property="yui:type">boolean</span>&gt;
</code>
<span property="yui:description"> automatically refreshes branch if true</span>
</dd>
</dl>
<dl>
<dt>Returns:
<code property="yui:return">
boolean
</code></dt>
<dd property="yui:returnInfo">False is there was a problem, true otherwise.</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_render">
<h4>
<a name="method_render">render</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">render</strong>
(
)
</code>
<div class="description" property="yui:description">
Renders the tree boilerplate and visible nodes
</div>
<div class="description">
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_setCollapseAnim">
<h4>
<a name="method_setCollapseAnim">setCollapseAnim</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">setCollapseAnim</strong>
(
type
)
</code>
<div class="description" property="yui:description">
Sets up the animation for collapsing children
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">type</span>
&lt;<span property="yui:type">string</span>&gt;
</code>
<span property="yui:description"> of animation (acceptable values defined in
YAHOO.widget.TVAnim)</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_setDynamicLoad">
<h4>
<a name="method_setDynamicLoad">setDynamicLoad</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">setDynamicLoad</strong>
(
fnDataLoader
,
iconMode
)
</code>
<div class="description" property="yui:description">
Configures this tree to dynamically load all child data
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">fnDataLoader</span>
&lt;<span property="yui:type">function</span>&gt;
</code>
<span property="yui:description"> the function that will be called to get the data</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">iconMode</span>
&lt;<span property="yui:type">int</span>&gt;
</code>
<span property="yui:description"> configures the icon that is displayed when a dynamic
load node is expanded the first time without children. By default, the
"collapse" icon will be used. If set to 1, the leaf node icon will be
displayed.</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_setExpandAnim">
<h4>
<a name="method_setExpandAnim">setExpandAnim</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">setExpandAnim</strong>
(
type
)
</code>
<div class="description" property="yui:description">
Sets up the animation for expanding children
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">type</span>
&lt;<span property="yui:type">string</span>&gt;
</code>
<span property="yui:description"> the type of animation (acceptable values defined
in YAHOO.widget.TVAnim)</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_setNodesProperty">
<h4>
<a name="method_setNodesProperty">setNodesProperty</a></h4>
<div class="detail" >
<code>
void
<strong property="yui:name">setNodesProperty</strong>
(
name
,
value
,
refresh
)
</code>
<div class="description" property="yui:description">
Sets the value of a property for all loaded nodes in the tree.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">name</span>
&lt;<span property="yui:type">string</span>&gt;
</code>
<span property="yui:description"> Name of the property to be set</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">value</span>
&lt;<span property="yui:type">any</span>&gt;
</code>
<span property="yui:description"> value to be set</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">refresh</span>
&lt;<span property="yui:type">boolean</span>&gt;
</code>
<span property="yui:description"> if present and true, it does a refresh</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_toString">
<h4>
<a name="method_toString">toString</a></h4>
<div class="detail" >
<code>
string
<strong property="yui:name">toString</strong>
(
)
</code>
<div class="description" property="yui:description">
TreeView instance toString
</div>
<div class="description">
<dl>
<dt>Returns:
<code property="yui:return">
string
</code></dt>
<dd property="yui:returnInfo">string representation of the tree</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_YAHOO.widget.TreeView.getNode">
<h4>
<a name="method_YAHOO.widget.TreeView.getNode">YAHOO.widget.TreeView.getNode</a></h4>
<div class="detail" >
<code>
static
Node
<strong property="yui:name">YAHOO.widget.TreeView.getNode</strong>
(
treeId
,
nodeIndex
)
</code>
<div class="description" property="yui:description">
Global method for getting a node by its id. Used in the generated
tree html.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">treeId</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> the id of the tree instance</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">nodeIndex</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> the index of the node to return</span>
</dd>
</dl>
<dl>
<dt>Returns:
<code property="yui:return">
Node
</code></dt>
<dd property="yui:returnInfo">the node instance requested, null if not found</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:method" resource="#method_YAHOO.widget.TreeView.getTree">
<h4>
<a name="method_YAHOO.widget.TreeView.getTree">YAHOO.widget.TreeView.getTree</a></h4>
<div class="detail" >
<code>
static
TreeView
<strong property="yui:name">YAHOO.widget.TreeView.getTree</strong>
(
treeId
)
</code>
<div class="description" property="yui:description">
Global method for getting a tree by its id. Used in the generated
tree html.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">treeId</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> the id of the tree instance</span>
</dd>
</dl>
<dl>
<dt>Returns:
<code property="yui:return">
TreeView
</code></dt>
<dd property="yui:returnInfo">the tree instance requested, null if not found.</dd>
</dl>
</div>
</div>
<hr />
</div>
</div>
</div>
<div rel="yui:inheritance">
<div class="section field inheritance" rel="yui:superclass" resource="YAHOO.util.EventProvider.html">
<h4>Methods inherited from <a href="YAHOO.util.EventProvider.html" property="yui:name" title="YAHOO.util.EventProvider">YAHOO.util.EventProvider</a>:</h4>
<div class="content" rel="yui:methods">
<code>
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_createEvent">
<a class="" href="YAHOO.util.EventProvider.html#method_createEvent" property="yui:name" title="createEvent">createEvent</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_fireEvent">
<a class="" href="YAHOO.util.EventProvider.html#method_fireEvent" property="yui:name" title="fireEvent">fireEvent</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_hasEvent">
<a class="" href="YAHOO.util.EventProvider.html#method_hasEvent" property="yui:name" title="hasEvent">hasEvent</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_subscribe">
<a class="" href="YAHOO.util.EventProvider.html#method_subscribe" property="yui:name" title="subscribe">subscribe</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_unsubscribe">
<a class="" href="YAHOO.util.EventProvider.html#method_unsubscribe" property="yui:name" title="unsubscribe">unsubscribe</a><span class="">,</span>
</span>
<span rel="yui:method" resource="YAHOO.util.EventProvider.html#method_unsubscribeAll">
<a class="" href="YAHOO.util.EventProvider.html#method_unsubscribeAll" property="yui:name" title="unsubscribeAll">unsubscribeAll</a>
</span>
</code>
</div>
</div>
</div>
</div>
<div rel="yui:events" resource="#events">
<div class="section method details">
<h3 id="events">Events</h3>
<div class="content">
<div class="" rel="yui:event" resource="#event_animComplete">
<h4>
<a name="event_animComplete">animComplete</a></h4>
<div class="detail">
<code>
<strong property="yui:name">animComplete</strong>
(
oArgs.node
,
oArgs.type
)
</code>
<div class="description" property="yui:description">
When animation is enabled, this event fires when the animation
completes
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> the node that is expanding/collapsing</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.type</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> the type of animation ("expand" or "collapse")</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_animStart">
<h4>
<a name="event_animStart">animStart</a></h4>
<div class="detail">
<code>
<strong property="yui:name">animStart</strong>
(
oArgs.node
,
oArgs.type
)
</code>
<div class="description" property="yui:description">
When animation is enabled, this event fires when the animation
starts
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> the node that is expanding/collapsing</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.type</span>
&lt;<span property="yui:type">String</span>&gt;
</code>
<span property="yui:description"> the type of animation ("expand" or "collapse")</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_clickEvent">
<h4>
<a name="event_clickEvent">clickEvent</a></h4>
<div class="detail">
<code>
<strong property="yui:name">clickEvent</strong>
(
oArgs.event
,
oArgs.node
)
</code>
<div class="description" property="yui:description">
Fires when the label in a TextNode or MenuNode or content in an HTMLNode receives a Click.
The listener may return false to cancel toggling and focusing on the node.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.event</span>
&lt;<span property="yui:type">HTMLEvent</span>&gt;
</code>
<span property="yui:description"> The event object</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> node the node that was clicked</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_collapse">
<h4>
<a name="event_collapse">collapse</a></h4>
<div class="detail">
<code>
<strong property="yui:name">collapse</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Fires when a node is going to be collapsed. Return false to stop
the collapse.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> the node that is collapsing</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_collapseComplete">
<h4>
<a name="event_collapseComplete">collapseComplete</a></h4>
<div class="detail">
<code>
<strong property="yui:name">collapseComplete</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Fires after a node is successfully collapsed. This event will not fire
if the "collapse" event was cancelled.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> the node that was collapsed</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_dblClickEvent">
<h4>
<a name="event_dblClickEvent">dblClickEvent</a></h4>
<div class="detail">
<code>
<strong property="yui:name">dblClickEvent</strong>
(
oArgs.event
,
oArgs.node
)
</code>
<div class="description" property="yui:description">
Fires when the label in a TextNode or MenuNode or content in an HTMLNode receives a double Click
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.event</span>
&lt;<span property="yui:type">HTMLEvent</span>&gt;
</code>
<span property="yui:description"> The event object</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> node the node that was clicked</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_editorCancelEvent">
<h4>
<a name="event_editorCancelEvent">editorCancelEvent</a></h4>
<div class="detail">
<code>
<strong property="yui:name">editorCancelEvent</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Fires when the user clicks on the cancel button of a node editor
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> the node that has the focus</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_editorSaveEvent">
<h4>
<a name="event_editorSaveEvent">editorSaveEvent</a></h4>
<div class="detail">
<code>
<strong property="yui:name">editorSaveEvent</strong>
(
oArgs.newValue
,
oArgs.oldValue
,
oArgs.node
)
</code>
<div class="description" property="yui:description">
Fires when the user clicks on the ok button of a node editor
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.newValue</span>
&lt;<span property="yui:type">mixed</span>&gt;
</code>
<span property="yui:description"> the new value just entered</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.oldValue</span>
&lt;<span property="yui:type">mixed</span>&gt;
</code>
<span property="yui:description"> the value originally in the tree</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> the node that has the focus</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_enterKeyPressed">
<h4>
<a name="event_enterKeyPressed">enterKeyPressed</a></h4>
<div class="detail">
<code>
<strong property="yui:name">enterKeyPressed</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Fires when the Enter key is pressed on a node that has the focus
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> the node that has the focus</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_expand">
<h4>
<a name="event_expand">expand</a></h4>
<div class="detail">
<code>
<strong property="yui:name">expand</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Fires when a node is going to be expanded. Return false to stop
the collapse.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> the node that is expanding</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_expandComplete">
<h4>
<a name="event_expandComplete">expandComplete</a></h4>
<div class="detail">
<code>
<strong property="yui:name">expandComplete</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Fires after a node is successfully expanded. This event will not fire
if the "expand" event was cancelled.
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> the node that was expanded</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_focusChanged">
<h4>
<a name="event_focusChanged">focusChanged</a></h4>
<div class="detail">
<code>
<strong property="yui:name">focusChanged</strong>
(
oArgs.oldNode
,
oArgs.newNode
)
</code>
<div class="description" property="yui:description">
Fires when the focus receives the focus, when it changes from a Node
to another Node or when it is completely lost (blurred)
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.oldNode</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> Node that had the focus or null if none</span>
</dd>
<dd rel="yui:parameter">
<code><span property="yui:name">oArgs.newNode</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> Node that receives the focus or null if none</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class="" rel="yui:event" resource="#event_highlightEvent">
<h4>
<a name="event_highlightEvent">highlightEvent</a></h4>
<div class="detail">
<code>
<strong property="yui:name">highlightEvent</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Custom event fired when the highlight of a node changes.
The node that triggered the change is provided as an argument:
The status of the highlight can be checked in
<a href="YAHOO.widget.Node.html#property_highlightState">nodeRef.highlightState</a>.
Depending on <a href="YAHOO.widget.Node.html#property_propagateHighlight">nodeRef.propagateHighlight</a>, other nodes might have changed
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> the node that started the change in highlighting state</span>
</dd>
</dl>
</div>
</div>
<hr />
</div>
<div class=" deprecated" rel="yui:event" resource="#event_labelClick">
<h4>
<a name="event_labelClick">labelClick</a></h4>
<div class="detail">
<code>
<strong property="yui:name">labelClick</strong>
(
node
)
</code>
<div class="description" property="yui:description">
Custom event that is fired when the text node label is clicked.
The node clicked is provided as an argument
</div>
<div class="description">
<dl rel="yui:parameters">
<dt>Parameters:</dt>
<dd rel="yui:parameter">
<code><span property="yui:name">node</span>
&lt;<span property="yui:type">YAHOO.widget.Node</span>&gt;
</code>
<span property="yui:description"> the node clicked</span>
</dd>
</dl>
<div class="deprecated">
<strong>Deprecated</strong> use clickEvent or dblClickEvent
</div>
</div>
</div>
<hr />
</div>
</div>
</div>
</div>
<div rel="yui:attributes" resource="#configattributes">
</div>
</div>
</div>
<div class="yui-b">
<div class="nav">
<div id="moduleList" class="module">
<h4>Modules</h4>
<ul class="content">
<li class=""><a href="module_animation.html" title="animation">animation</a></li>
<li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
<li class=""><a href="module_button.html" title="button">button</a></li>
<li class=""><a href="module_calendar.html" title="calendar">calendar</a></li>
<li class=""><a href="module_carousel.html" title="carousel">carousel</a></li>
<li class=""><a href="module_charts.html" title="charts">charts</a></li>
<li class=""><a href="module_colorpicker.html" title="colorpicker">colorpicker</a></li>
<li class=""><a href="module_connection.html" title="connection">connection</a></li>
<li class=""><a href="module_container.html" title="container">container</a></li>
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
<li class=""><a href="module_datatable.html" title="datatable">datatable</a></li>
<li class=""><a href="module_datemath.html" title="datemath">datemath</a></li>
<li class=""><a href="module_dom.html" title="dom">dom</a></li>
<li class=""><a href="module_dragdrop.html" title="dragdrop">dragdrop</a></li>
<li class=""><a href="module_editor.html" title="editor">editor</a></li>
<li class=""><a href="module_element.html" title="element">element</a></li>
<li class=""><a href="module_element-delegate.html" title="element-delegate">element-delegate</a></li>
<li class=""><a href="module_event.html" title="event">event</a></li>
<li class=""><a href="module_event-delegate.html" title="event-delegate">event-delegate</a></li>
<li class=""><a href="module_event-mouseenter.html" title="event-mouseenter">event-mouseenter</a></li>
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
<li class=""><a href="module_get.html" title="get">get</a></li>
<li class=""><a href="module_history.html" title="history">history</a></li>
<li class=""><a href="module_imagecropper.html" title="imagecropper">imagecropper</a></li>
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
<li class=""><a href="module_json.html" title="json">json</a></li>
<li class=""><a href="module_layout.html" title="layout">layout</a></li>
<li class=""><a href="module_logger.html" title="logger">logger</a></li>
<li class=""><a href="module_menu.html" title="menu">menu</a></li>
<li class=""><a href="module_paginator.html" title="paginator">paginator</a></li>
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
<li class=""><a href="module_profilerviewer.html" title="profilerviewer">profilerviewer</a></li>
<li class=""><a href="module_progressbar.html" title="progressbar">progressbar</a></li>
<li class=""><a href="module_resize.html" title="resize">resize</a></li>
<li class=""><a href="module_selector.html" title="selector">selector</a></li>
<li class=""><a href="module_slider.html" title="slider">slider</a></li>
<li class=""><a href="module_storage.html" title="Storage">Storage</a></li>
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
<li class=""><a href="module_swf.html" title="swf">swf</a></li>
<li class=""><a href="module_swfdetect.html" title="swfdetect">swfdetect</a></li>
<li class=""><a href="module_swfstore.html" title="swfstore">swfstore</a></li>
<li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
<li class="selected"><a href="module_treeview.html" title="treeview">treeview</a></li>
<li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
<li class=""><a href="module_yahoo.html" title="yahoo">yahoo</a></li>
<li class=""><a href="module_yuiloader.html" title="yuiloader">yuiloader</a></li>
<li class=""><a href="module_yuitest.html" title="yuitest">yuitest</a></li>
</ul>
</div>
<div id="classList" class="module">
<h4>Classes</h4>
<ul class="content">
<li class=""><a href="YAHOO.widget.DateNode.html" title="YAHOO.widget.DateNode">YAHOO.widget.DateNode</a></li>
<li class=""><a href="YAHOO.widget.HTMLNode.html" title="YAHOO.widget.HTMLNode">YAHOO.widget.HTMLNode</a></li>
<li class=""><a href="YAHOO.widget.MenuNode.html" title="YAHOO.widget.MenuNode">YAHOO.widget.MenuNode</a></li>
<li class=""><a href="YAHOO.widget.Node.html" title="YAHOO.widget.Node">YAHOO.widget.Node</a></li>
<li class=""><a href="YAHOO.widget.RootNode.html" title="YAHOO.widget.RootNode">YAHOO.widget.RootNode</a></li>
<li class=""><a href="YAHOO.widget.TextNode.html" title="YAHOO.widget.TextNode">YAHOO.widget.TextNode</a></li>
<li class="selected"><a href="YAHOO.widget.TreeView.html" title="YAHOO.widget.TreeView">YAHOO.widget.TreeView</a></li>
<li class=""><a href="YAHOO.widget.TVAnim.html" title="YAHOO.widget.TVAnim">YAHOO.widget.TVAnim</a></li>
<li class=""><a href="YAHOO.widget.TVFadeIn.html" title="YAHOO.widget.TVFadeIn">YAHOO.widget.TVFadeIn</a></li>
<li class=""><a href="YAHOO.widget.TVFadeOut.html" title="YAHOO.widget.TVFadeOut">YAHOO.widget.TVFadeOut</a></li>
</ul>
</div>
<div id="fileList" class="module">
<h4>Files</h4>
<ul class="content">
<li class=""><a href="DateNode.js.html" title="DateNode.js">DateNode.js</a></li>
<li class=""><a href="HTMLNode.js.html" title="HTMLNode.js">HTMLNode.js</a></li>
<li class=""><a href="MenuNode.js.html" title="MenuNode.js">MenuNode.js</a></li>
<li class=""><a href="Node.js.html" title="Node.js">Node.js</a></li>
<li class=""><a href="RootNode.js.html" title="RootNode.js">RootNode.js</a></li>
<li class=""><a href="TextNode.js.html" title="TextNode.js">TextNode.js</a></li>
<li class=""><a href="TreeView.js.html" title="TreeView.js">TreeView.js</a></li>
<li class=""><a href="TreeViewEd.js.html" title="TreeViewEd.js">TreeViewEd.js</a></li>
<li class=""><a href="TVAnim.js.html" title="TVAnim.js">TVAnim.js</a></li>
<li class=""><a href="TVFadeIn.js.html" title="TVFadeIn.js">TVFadeIn.js</a></li>
<li class=""><a href="TVFadeOut.js.html" title="TVFadeOut.js">TVFadeOut.js</a></li>
</ul>
</div>
<div id="propertyList" class="module">
<h4>Properties</h4>
<ul class="content">
<li class="private"><a href="#property__animCount" title="_animCount">_animCount</a></li>
<li class="private"><a href="#property__collapseAnim" title="_collapseAnim">_collapseAnim</a></li>
<li class="private"><a href="#property__currentlyHighlighted" title="_currentlyHighlighted">_currentlyHighlighted</a></li>
<li class="private"><a href="#property__dblClickTimer" title="_dblClickTimer">_dblClickTimer</a></li>
<li class="private"><a href="#property__el" title="_el">_el</a></li>
<li class="private"><a href="#property__expandAnim" title="_expandAnim">_expandAnim</a></li>
<li class="private"><a href="#property__hasDblClickSubscriber" title="_hasDblClickSubscriber">_hasDblClickSubscriber</a></li>
<li class="private"><a href="#property__nodes" title="_nodes">_nodes</a></li>
<li class=""><a href="#property_currentFocus" title="currentFocus">currentFocus</a></li>
<li class=""><a href="#property_editorData" title="editorData">editorData</a></li>
<li class=""><a href="#property_id" title="id">id</a></li>
<li class=""><a href="#property_locked" title="locked">locked</a></li>
<li class=""><a href="#property_maxAnim" title="maxAnim">maxAnim</a></li>
<li class=""><a href="#property_singleNodeHighlight" title="singleNodeHighlight">singleNodeHighlight</a></li>
<li class=""><a href="#property_TreeView.FOCUS_CLASS_NAME" title="TreeView.FOCUS_CLASS_NAME">TreeView.FOCUS_CLASS_NAME</a></li>
<li class=""><a href="#property_validator" title="validator">validator</a></li>
<li class=""><a href="#property_YAHOO.widget.TreeView.nodeCount" title="YAHOO.widget.TreeView.nodeCount">YAHOO.widget.TreeView.nodeCount</a></li>
<li class="private"><a href="#property_YAHOO.widget.TreeView.trees" title="YAHOO.widget.TreeView.trees">YAHOO.widget.TreeView.trees</a></li>
</ul>
</div>
<div id="methodsList" class="module">
<h4>Methods</h4>
<ul class="content">
<li class="private"><a href="#method__closeEditor" title="_closeEditor">_closeEditor</a></li>
<li class="private"><a href="#method__deleteNode" title="_deleteNode">_deleteNode</a></li>
<li class="private"><a href="#method__destroyEditor" title="_destroyEditor">_destroyEditor</a></li>
<li class="private"><a href="#method__getEventTargetTdEl" title="_getEventTargetTdEl">_getEventTargetTdEl</a></li>
<li class="private"><a href="#method__initEditor" title="_initEditor">_initEditor</a></li>
<li class="private"><a href="#method__nodeEditing" title="_nodeEditing">_nodeEditing</a></li>
<li class="private"><a href="#method__onClickEvent" title="_onClickEvent">_onClickEvent</a></li>
<li class="private"><a href="#method__onDblClickEvent" title="_onDblClickEvent">_onDblClickEvent</a></li>
<li class="private"><a href="#method__onKeyDownEvent" title="_onKeyDownEvent">_onKeyDownEvent</a></li>
<li class="private"><a href="#method__onMouseOutEvent" title="_onMouseOutEvent">_onMouseOutEvent</a></li>
<li class="private"><a href="#method__onMouseOverEvent" title="_onMouseOverEvent">_onMouseOverEvent</a></li>
<li class="private"><a href="#method__removeChildren_animComplete" title="_removeChildren_animComplete">_removeChildren_animComplete</a></li>
<li class=""><a href="#method_animateCollapse" title="animateCollapse">animateCollapse</a></li>
<li class=""><a href="#method_animateExpand" title="animateExpand">animateExpand</a></li>
<li class=""><a href="#method_buildTreeFromMarkup" title="buildTreeFromMarkup">buildTreeFromMarkup</a></li>
<li class=""><a href="#method_buildTreeFromObject" title="buildTreeFromObject">buildTreeFromObject</a></li>
<li class=""><a href="#method_collapseAll" title="collapseAll">collapseAll</a></li>
<li class=""><a href="#method_collapseComplete" title="collapseComplete">collapseComplete</a></li>
<li class=""><a href="#method_destroy" title="destroy">destroy</a></li>
<li class=" deprecated"><a href="#method_draw" title="draw">draw</a></li>
<li class=""><a href="#method_expandAll" title="expandAll">expandAll</a></li>
<li class=""><a href="#method_expandComplete" title="expandComplete">expandComplete</a></li>
<li class=""><a href="#method_getEl" title="getEl">getEl</a></li>
<li class=""><a href="#method_getHighlightedNode" title="getHighlightedNode">getHighlightedNode</a></li>
<li class=""><a href="#method_getNodeByElement" title="getNodeByElement">getNodeByElement</a></li>
<li class=""><a href="#method_getNodeByIndex" title="getNodeByIndex">getNodeByIndex</a></li>
<li class=""><a href="#method_getNodeByProperty" title="getNodeByProperty">getNodeByProperty</a></li>
<li class=""><a href="#method_getNodeCount" title="getNodeCount">getNodeCount</a></li>
<li class=""><a href="#method_getNodesBy" title="getNodesBy">getNodesBy</a></li>
<li class=""><a href="#method_getNodesByProperty" title="getNodesByProperty">getNodesByProperty</a></li>
<li class=""><a href="#method_getRoot" title="getRoot">getRoot</a></li>
<li class=""><a href="#method_getTreeDefinition" title="getTreeDefinition">getTreeDefinition</a></li>
<li class="private"><a href="#method_init" title="init">init</a></li>
<li class=" deprecated"><a href="#method_onCollapse" title="onCollapse">onCollapse</a></li>
<li class=""><a href="#method_onEventEditNode" title="onEventEditNode">onEventEditNode</a></li>
<li class=""><a href="#method_onEventToggleHighlight" title="onEventToggleHighlight">onEventToggleHighlight</a></li>
<li class=" deprecated"><a href="#method_onExpand" title="onExpand">onExpand</a></li>
<li class=""><a href="#method_popNode" title="popNode">popNode</a></li>
<li class="private"><a href="#method_regNode" title="regNode">regNode</a></li>
<li class=""><a href="#method_removeChildren" title="removeChildren">removeChildren</a></li>
<li class=""><a href="#method_removeNode" title="removeNode">removeNode</a></li>
<li class=""><a href="#method_render" title="render">render</a></li>
<li class=""><a href="#method_setCollapseAnim" title="setCollapseAnim">setCollapseAnim</a></li>
<li class=""><a href="#method_setDynamicLoad" title="setDynamicLoad">setDynamicLoad</a></li>
<li class=""><a href="#method_setExpandAnim" title="setExpandAnim">setExpandAnim</a></li>
<li class=""><a href="#method_setNodesProperty" title="setNodesProperty">setNodesProperty</a></li>
<li class=""><a href="#method_toString" title="toString">toString</a></li>
<li class=""><a href="#method_YAHOO.widget.TreeView.getNode" title="YAHOO.widget.TreeView.getNode">YAHOO.widget.TreeView.getNode</a></li>
<li class=""><a href="#method_YAHOO.widget.TreeView.getTree" title="YAHOO.widget.TreeView.getTree">YAHOO.widget.TreeView.getTree</a></li>
</ul>
</div>
<div id="eventsList" class="module">
<h4>Events</h4>
<ul class="content">
<li class=""><a href="#event_animComplete" title="animComplete">animComplete</a></li>
<li class=""><a href="#event_animStart" title="animStart">animStart</a></li>
<li class=""><a href="#event_clickEvent" title="clickEvent">clickEvent</a></li>
<li class=""><a href="#event_collapse" title="collapse">collapse</a></li>
<li class=""><a href="#event_collapseComplete" title="collapseComplete">collapseComplete</a></li>
<li class=""><a href="#event_dblClickEvent" title="dblClickEvent">dblClickEvent</a></li>
<li class=""><a href="#event_editorCancelEvent" title="editorCancelEvent">editorCancelEvent</a></li>
<li class=""><a href="#event_editorSaveEvent" title="editorSaveEvent">editorSaveEvent</a></li>
<li class=""><a href="#event_enterKeyPressed" title="enterKeyPressed">enterKeyPressed</a></li>
<li class=""><a href="#event_expand" title="expand">expand</a></li>
<li class=""><a href="#event_expandComplete" title="expandComplete">expandComplete</a></li>
<li class=""><a href="#event_focusChanged" title="focusChanged">focusChanged</a></li>
<li class=""><a href="#event_highlightEvent" title="highlightEvent">highlightEvent</a></li>
<li class=" deprecated"><a href="#event_labelClick" title="labelClick">labelClick</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="ft">
<hr />
Copyright &copy; 2010 Yahoo! Inc. All rights reserved.
</div>
</div>
<script type="text/javascript">
var ALL_YUI_PROPS = [{"access": "", "host": "YAHOO.widget.TreeView", "name": "animateCollapse", "url": "YAHOO.widget.TreeView.html#method_animateCollapse", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "animateExpand", "url": "YAHOO.widget.TreeView.html#method_animateExpand", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "animComplete", "url": "YAHOO.widget.TreeView.html#event_animComplete", "type": "event"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_animCount", "url": "YAHOO.widget.TreeView.html#property__animCount", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "animStart", "url": "YAHOO.widget.TreeView.html#event_animStart", "type": "event"}, {"access": "private", "host": "YAHOO.widget.Node", "name": "appendChild", "url": "YAHOO.widget.Node.html#method_appendChild", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "appendTo", "url": "YAHOO.widget.Node.html#method_appendTo", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "applyParent", "url": "YAHOO.widget.Node.html#method_applyParent", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "buildTreeFromMarkup", "url": "YAHOO.widget.TreeView.html#method_buildTreeFromMarkup", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "buildTreeFromObject", "url": "YAHOO.widget.TreeView.html#method_buildTreeFromObject", "type": "method"}, {"access": "", "host": "YAHOO.widget.DateNode", "name": "calendarConfig", "url": "YAHOO.widget.DateNode.html#property_calendarConfig", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Node", "name": "_canHaveFocus", "url": "YAHOO.widget.Node.html#method__canHaveFocus", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "children", "url": "YAHOO.widget.Node.html#property_children", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Node", "name": "_childrenHighlighted", "url": "YAHOO.widget.Node.html#method__childrenHighlighted", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "childrenRendered", "url": "YAHOO.widget.Node.html#property_childrenRendered", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "className", "url": "YAHOO.widget.Node.html#property_className", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "clickEvent", "url": "YAHOO.widget.TreeView.html#event_clickEvent", "type": "event"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_closeEditor", "url": "YAHOO.widget.TreeView.html#method__closeEditor", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "collapse", "url": "YAHOO.widget.Node.html#method_collapse", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "collapse", "url": "YAHOO.widget.TreeView.html#event_collapse", "type": "event"}, {"access": "", "host": "YAHOO.widget.Node", "name": "collapseAll", "url": "YAHOO.widget.Node.html#method_collapseAll", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "collapseAll", "url": "YAHOO.widget.TreeView.html#method_collapseAll", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_collapseAnim", "url": "YAHOO.widget.TreeView.html#property__collapseAnim", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "collapseComplete", "url": "YAHOO.widget.TreeView.html#method_collapseComplete", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "collapseComplete", "url": "YAHOO.widget.TreeView.html#event_collapseComplete", "type": "event"}, {"access": "", "host": "YAHOO.widget.Node", "name": "completeRender", "url": "YAHOO.widget.Node.html#method_completeRender", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "contentElId", "url": "YAHOO.widget.Node.html#property_contentElId", "type": "property"}, {"access": "", "host": "YAHOO.widget.HTMLNode", "name": "contentStyle", "url": "YAHOO.widget.HTMLNode.html#property_contentStyle", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "contentStyle", "url": "YAHOO.widget.Node.html#property_contentStyle", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "currentFocus", "url": "YAHOO.widget.TreeView.html#property_currentFocus", "type": "property"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_currentlyHighlighted", "url": "YAHOO.widget.TreeView.html#property__currentlyHighlighted", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "data", "url": "YAHOO.widget.Node.html#property_data", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "dataLoader", "url": "YAHOO.widget.Node.html#property_dataLoader", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "dblClickEvent", "url": "YAHOO.widget.TreeView.html#event_dblClickEvent", "type": "event"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_dblClickTimer", "url": "YAHOO.widget.TreeView.html#property__dblClickTimer", "type": "property"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_deleteNode", "url": "YAHOO.widget.TreeView.html#method__deleteNode", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "depth", "url": "YAHOO.widget.Node.html#property_depth", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "destroy", "url": "YAHOO.widget.TreeView.html#method_destroy", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_destroyEditor", "url": "YAHOO.widget.TreeView.html#method__destroyEditor", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "destroyEditorContents", "url": "YAHOO.widget.Node.html#method_destroyEditorContents", "type": "method"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "destroyEditorContents", "url": "YAHOO.widget.TextNode.html#method_destroyEditorContents", "type": "method"}, {"access": "", "host": "YAHOO.widget.DateNode", "name": "displayEditedValue", "url": "YAHOO.widget.DateNode.html#method_displayEditedValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "displayEditedValue", "url": "YAHOO.widget.Node.html#method_displayEditedValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "displayEditedValue", "url": "YAHOO.widget.TextNode.html#method_displayEditedValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "draw", "url": "YAHOO.widget.TreeView.html#method_draw", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "dynamicLoadComplete", "url": "YAHOO.widget.Node.html#property_dynamicLoadComplete", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Node", "name": "_dynLoad", "url": "YAHOO.widget.Node.html#property__dynLoad", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "editable", "url": "YAHOO.widget.Node.html#property_editable", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "editNode", "url": "YAHOO.widget.Node.html#method_editNode", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "editorCancelEvent", "url": "YAHOO.widget.TreeView.html#event_editorCancelEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "editorData", "url": "YAHOO.widget.TreeView.html#property_editorData", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "editorSaveEvent", "url": "YAHOO.widget.TreeView.html#event_editorSaveEvent", "type": "event"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_el", "url": "YAHOO.widget.TreeView.html#property__el", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "enableHighlight", "url": "YAHOO.widget.Node.html#property_enableHighlight", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "enterKeyPressed", "url": "YAHOO.widget.TreeView.html#event_enterKeyPressed", "type": "event"}, {"access": "", "host": "YAHOO.widget.Node", "name": "expand", "url": "YAHOO.widget.Node.html#method_expand", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "expand", "url": "YAHOO.widget.TreeView.html#event_expand", "type": "event"}, {"access": "", "host": "YAHOO.widget.Node", "name": "expandAll", "url": "YAHOO.widget.Node.html#method_expandAll", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "expandAll", "url": "YAHOO.widget.TreeView.html#method_expandAll", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_expandAnim", "url": "YAHOO.widget.TreeView.html#property__expandAnim", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "expandComplete", "url": "YAHOO.widget.TreeView.html#method_expandComplete", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "expandComplete", "url": "YAHOO.widget.TreeView.html#event_expandComplete", "type": "event"}, {"access": "", "host": "YAHOO.widget.Node", "name": "expanded", "url": "YAHOO.widget.Node.html#property_expanded", "type": "property"}, {"access": "", "host": "YAHOO.widget.DateNode", "name": "fillEditorContainer", "url": "YAHOO.widget.DateNode.html#method_fillEditorContainer", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "fillEditorContainer", "url": "YAHOO.widget.Node.html#method_fillEditorContainer", "type": "method"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "fillEditorContainer", "url": "YAHOO.widget.TextNode.html#method_fillEditorContainer", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "focus", "url": "YAHOO.widget.Node.html#method_focus", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "focusChanged", "url": "YAHOO.widget.TreeView.html#event_focusChanged", "type": "event"}, {"access": "private", "host": "YAHOO.widget.Node", "name": "_focusedItem", "url": "YAHOO.widget.Node.html#property__focusedItem", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Node", "name": "_focusHighlightedItems", "url": "YAHOO.widget.Node.html#property__focusHighlightedItems", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getAncestor", "url": "YAHOO.widget.Node.html#method_getAncestor", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getChildrenEl", "url": "YAHOO.widget.Node.html#method_getChildrenEl", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getChildrenElId", "url": "YAHOO.widget.Node.html#method_getChildrenElId", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Node", "name": "getChildrenHtml", "url": "YAHOO.widget.Node.html#method_getChildrenHtml", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getContentEl", "url": "YAHOO.widget.Node.html#method_getContentEl", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getContentHtml", "url": "YAHOO.widget.Node.html#method_getContentHtml", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getDepthStyle", "url": "YAHOO.widget.Node.html#method_getDepthStyle", "type": "method"}, {"access": "", "host": "YAHOO.widget.DateNode", "name": "getEditorValue", "url": "YAHOO.widget.DateNode.html#method_getEditorValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getEditorValue", "url": "YAHOO.widget.Node.html#method_getEditorValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "getEditorValue", "url": "YAHOO.widget.TextNode.html#method_getEditorValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getEl", "url": "YAHOO.widget.Node.html#method_getEl", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "getEl", "url": "YAHOO.widget.TreeView.html#method_getEl", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getElId", "url": "YAHOO.widget.Node.html#method_getElId", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_getEventTargetTdEl", "url": "YAHOO.widget.TreeView.html#method__getEventTargetTdEl", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "getHighlightedNode", "url": "YAHOO.widget.TreeView.html#method_getHighlightedNode", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getHoverStyle", "url": "YAHOO.widget.Node.html#method_getHoverStyle", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getHtml", "url": "YAHOO.widget.Node.html#method_getHtml", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getIconMode", "url": "YAHOO.widget.Node.html#method_getIconMode", "type": "method"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "getLabelEl", "url": "YAHOO.widget.TextNode.html#method_getLabelEl", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "getNodeByElement", "url": "YAHOO.widget.TreeView.html#method_getNodeByElement", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "getNodeByIndex", "url": "YAHOO.widget.TreeView.html#method_getNodeByIndex", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "getNodeByProperty", "url": "YAHOO.widget.TreeView.html#method_getNodeByProperty", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getNodeCount", "url": "YAHOO.widget.Node.html#method_getNodeCount", "type": "method"}, {"access": "", "host": "YAHOO.widget.RootNode", "name": "getNodeCount", "url": "YAHOO.widget.RootNode.html#method_getNodeCount", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "getNodeCount", "url": "YAHOO.widget.TreeView.html#method_getNodeCount", "type": "method"}, {"access": "", "host": "YAHOO.widget.DateNode", "name": "getNodeDefinition", "url": "YAHOO.widget.DateNode.html#method_getNodeDefinition", "type": "method"}, {"access": "", "host": "YAHOO.widget.HTMLNode", "name": "getNodeDefinition", "url": "YAHOO.widget.HTMLNode.html#method_getNodeDefinition", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getNodeDefinition", "url": "YAHOO.widget.Node.html#method_getNodeDefinition", "type": "method"}, {"access": "", "host": "YAHOO.widget.RootNode", "name": "getNodeDefinition", "url": "YAHOO.widget.RootNode.html#method_getNodeDefinition", "type": "method"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "getNodeDefinition", "url": "YAHOO.widget.TextNode.html#method_getNodeDefinition", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getNodeHtml", "url": "YAHOO.widget.Node.html#method_getNodeHtml", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "getNodesBy", "url": "YAHOO.widget.TreeView.html#method_getNodesBy", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "getNodesByProperty", "url": "YAHOO.widget.TreeView.html#method_getNodesByProperty", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "getRoot", "url": "YAHOO.widget.TreeView.html#method_getRoot", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getSiblings", "url": "YAHOO.widget.Node.html#method_getSiblings", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getStyle", "url": "YAHOO.widget.Node.html#method_getStyle", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getToggleEl", "url": "YAHOO.widget.Node.html#method_getToggleEl", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getToggleElId", "url": "YAHOO.widget.Node.html#method_getToggleElId", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getToggleLink", "url": "YAHOO.widget.Node.html#method_getToggleLink", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "getTreeDefinition", "url": "YAHOO.widget.TreeView.html#method_getTreeDefinition", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "hasChildren", "url": "YAHOO.widget.Node.html#method_hasChildren", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_hasDblClickSubscriber", "url": "YAHOO.widget.TreeView.html#property__hasDblClickSubscriber", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "hasIcon", "url": "YAHOO.widget.Node.html#property_hasIcon", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "hideChildren", "url": "YAHOO.widget.Node.html#method_hideChildren", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "highlight", "url": "YAHOO.widget.Node.html#method_highlight", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "highlightEvent", "url": "YAHOO.widget.TreeView.html#event_highlightEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.Node", "name": "highlightState", "url": "YAHOO.widget.Node.html#property_highlightState", "type": "property"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "href", "url": "YAHOO.widget.TextNode.html#property_href", "type": "property"}, {"access": "", "host": "YAHOO.widget.HTMLNode", "name": "html", "url": "YAHOO.widget.HTMLNode.html#property_html", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "iconMode", "url": "YAHOO.widget.Node.html#property_iconMode", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "id", "url": "YAHOO.widget.TreeView.html#property_id", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "index", "url": "YAHOO.widget.Node.html#property_index", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "init", "url": "YAHOO.widget.Node.html#method_init", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "init", "url": "YAHOO.widget.TreeView.html#method_init", "type": "method"}, {"access": "", "host": "YAHOO.widget.HTMLNode", "name": "initContent", "url": "YAHOO.widget.HTMLNode.html#property_initContent", "type": "property"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_initEditor", "url": "YAHOO.widget.TreeView.html#method__initEditor", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "insertAfter", "url": "YAHOO.widget.Node.html#method_insertAfter", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "insertBefore", "url": "YAHOO.widget.Node.html#method_insertBefore", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Node", "name": "isChildOf", "url": "YAHOO.widget.Node.html#method_isChildOf", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "isDynamic", "url": "YAHOO.widget.Node.html#method_isDynamic", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "isLeaf", "url": "YAHOO.widget.Node.html#property_isLeaf", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "isLoading", "url": "YAHOO.widget.Node.html#property_isLoading", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "isRoot", "url": "YAHOO.widget.Node.html#method_isRoot", "type": "method"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "label", "url": "YAHOO.widget.TextNode.html#property_label", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "labelClick", "url": "YAHOO.widget.TreeView.html#event_labelClick", "type": "event"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "labelElId", "url": "YAHOO.widget.TextNode.html#property_labelElId", "type": "property"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "labelStyle", "url": "YAHOO.widget.TextNode.html#property_labelStyle", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "loadComplete", "url": "YAHOO.widget.Node.html#method_loadComplete", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "locked", "url": "YAHOO.widget.TreeView.html#property_locked", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "maxAnim", "url": "YAHOO.widget.TreeView.html#property_maxAnim", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "multiExpand", "url": "YAHOO.widget.Node.html#property_multiExpand", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "nextSibling", "url": "YAHOO.widget.Node.html#property_nextSibling", "type": "property"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_nodeEditing", "url": "YAHOO.widget.TreeView.html#method__nodeEditing", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_nodes", "url": "YAHOO.widget.TreeView.html#property__nodes", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "nowrap", "url": "YAHOO.widget.Node.html#property_nowrap", "type": "property"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_onClickEvent", "url": "YAHOO.widget.TreeView.html#method__onClickEvent", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "onCollapse", "url": "YAHOO.widget.TreeView.html#method_onCollapse", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_onDblClickEvent", "url": "YAHOO.widget.TreeView.html#method__onDblClickEvent", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "onEventEditNode", "url": "YAHOO.widget.TreeView.html#method_onEventEditNode", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "onEventToggleHighlight", "url": "YAHOO.widget.TreeView.html#method_onEventToggleHighlight", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "onExpand", "url": "YAHOO.widget.TreeView.html#method_onExpand", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_onKeyDownEvent", "url": "YAHOO.widget.TreeView.html#method__onKeyDownEvent", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_onMouseOutEvent", "url": "YAHOO.widget.TreeView.html#method__onMouseOutEvent", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_onMouseOverEvent", "url": "YAHOO.widget.TreeView.html#method__onMouseOverEvent", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "parent", "url": "YAHOO.widget.Node.html#property_parent", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "parentChange", "url": "YAHOO.widget.Node.html#event_parentChange", "type": "event"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "popNode", "url": "YAHOO.widget.TreeView.html#method_popNode", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "previousSibling", "url": "YAHOO.widget.Node.html#property_previousSibling", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "propagateHighlightDown", "url": "YAHOO.widget.Node.html#property_propagateHighlightDown", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "propagateHighlightUp", "url": "YAHOO.widget.Node.html#property_propagateHighlightUp", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "refresh", "url": "YAHOO.widget.Node.html#method_refresh", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "regNode", "url": "YAHOO.widget.TreeView.html#method_regNode", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "removeChildren", "url": "YAHOO.widget.TreeView.html#method_removeChildren", "type": "method"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "_removeChildren_animComplete", "url": "YAHOO.widget.TreeView.html#method__removeChildren_animComplete", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Node", "name": "_removeFocus", "url": "YAHOO.widget.Node.html#method__removeFocus", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "removeNode", "url": "YAHOO.widget.TreeView.html#method_removeNode", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "render", "url": "YAHOO.widget.TreeView.html#method_render", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Node", "name": "renderChildren", "url": "YAHOO.widget.Node.html#method_renderChildren", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "renderHidden", "url": "YAHOO.widget.Node.html#property_renderHidden", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "saveEditorValue", "url": "YAHOO.widget.Node.html#method_saveEditorValue", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "setCollapseAnim", "url": "YAHOO.widget.TreeView.html#method_setCollapseAnim", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "setDynamicLoad", "url": "YAHOO.widget.Node.html#method_setDynamicLoad", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "setDynamicLoad", "url": "YAHOO.widget.TreeView.html#method_setDynamicLoad", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "setExpandAnim", "url": "YAHOO.widget.TreeView.html#method_setExpandAnim", "type": "method"}, {"access": "private", "host": "YAHOO.widget.Node", "name": "_setHighlightClassName", "url": "YAHOO.widget.Node.html#method__setHighlightClassName", "type": "method"}, {"access": "", "host": "YAHOO.widget.HTMLNode", "name": "setHtml", "url": "YAHOO.widget.HTMLNode.html#property_setHtml", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "setNodesProperty", "url": "YAHOO.widget.Node.html#method_setNodesProperty", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "setNodesProperty", "url": "YAHOO.widget.TreeView.html#method_setNodesProperty", "type": "method"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "setUpLabel", "url": "YAHOO.widget.TextNode.html#method_setUpLabel", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "showChildren", "url": "YAHOO.widget.Node.html#method_showChildren", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "singleNodeHighlight", "url": "YAHOO.widget.TreeView.html#property_singleNodeHighlight", "type": "property"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "target", "url": "YAHOO.widget.TextNode.html#property_target", "type": "property"}, {"access": "", "host": "YAHOO.widget.TextNode", "name": "title", "url": "YAHOO.widget.TextNode.html#property_title", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "toggle", "url": "YAHOO.widget.Node.html#method_toggle", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "toggleHighlight", "url": "YAHOO.widget.Node.html#method_toggleHighlight", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "toString", "url": "YAHOO.widget.Node.html#method_toString", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "toString", "url": "YAHOO.widget.TreeView.html#method_toString", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "tree", "url": "YAHOO.widget.Node.html#property_tree", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "TreeView.FOCUS_CLASS_NAME", "url": "YAHOO.widget.TreeView.html#property_TreeView.FOCUS_CLASS_NAME", "type": "property"}, {"access": "private", "host": "YAHOO.widget.DateNode", "name": "_type", "url": "YAHOO.widget.DateNode.html#property__type", "type": "property"}, {"access": "private", "host": "YAHOO.widget.HTMLNode", "name": "_type", "url": "YAHOO.widget.HTMLNode.html#property__type", "type": "property"}, {"access": "private", "host": "YAHOO.widget.MenuNode", "name": "_type", "url": "YAHOO.widget.MenuNode.html#property__type", "type": "property"}, {"access": "private", "host": "YAHOO.widget.Node", "name": "_type", "url": "YAHOO.widget.Node.html#property__type", "type": "property"}, {"access": "private", "host": "YAHOO.widget.RootNode", "name": "_type", "url": "YAHOO.widget.RootNode.html#property__type", "type": "property"}, {"access": "private", "host": "YAHOO.widget.TextNode", "name": "_type", "url": "YAHOO.widget.TextNode.html#property__type", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "unhighlight", "url": "YAHOO.widget.Node.html#method_unhighlight", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "validator", "url": "YAHOO.widget.TreeView.html#property_validator", "type": "property"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "YAHOO.widget.TreeView.getNode", "url": "YAHOO.widget.TreeView.html#method_YAHOO.widget.TreeView.getNode", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "YAHOO.widget.TreeView.getTree", "url": "YAHOO.widget.TreeView.html#method_YAHOO.widget.TreeView.getTree", "type": "method"}, {"access": "", "host": "YAHOO.widget.TreeView", "name": "YAHOO.widget.TreeView.nodeCount", "url": "YAHOO.widget.TreeView.html#property_YAHOO.widget.TreeView.nodeCount", "type": "property"}, {"access": "private", "host": "YAHOO.widget.TreeView", "name": "YAHOO.widget.TreeView.trees", "url": "YAHOO.widget.TreeView.html#property_YAHOO.widget.TreeView.trees", "type": "property"}];
</script>
</body>
</html>