mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
3350 lines
193 KiB
HTML
3350 lines
193 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.Node (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 <span class="subtitle">2.8.2r1</span></h3>
|
|
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a>
|
|
> <a href="./module_treeview.html" title="treeview">treeview</a>
|
|
> YAHOO.widget.Node
|
|
|
|
<form onsubmit="return false">
|
|
<div id="propertysearch">
|
|
Search: <input autocomplete="off" id="searchinput" />
|
|
<div id="searchresults">
|
|
|
|
</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.Node</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 -->
|
|
|
|
<dl class="subclasses" rel="yui:subclasses">
|
|
<dt>Known Subclasses:</dt>
|
|
<dd>
|
|
<span rel="yui:subclass" resource="YAHOO.widget.TextNode.html">
|
|
<a href="YAHOO.widget.TextNode.html" property="yui:name" title="YAHOO.widget.TextNode">YAHOO.widget.TextNode</a>
|
|
</span>
|
|
<span rel="yui:subclass" resource="YAHOO.widget.HTMLNode.html">
|
|
<a href="YAHOO.widget.HTMLNode.html" property="yui:name" title="YAHOO.widget.HTMLNode">YAHOO.widget.HTMLNode</a>
|
|
</span>
|
|
<span rel="yui:subclass" resource="YAHOO.widget.RootNode.html">
|
|
<a href="YAHOO.widget.RootNode.html" property="yui:name" title="YAHOO.widget.RootNode">YAHOO.widget.RootNode</a>
|
|
</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<div class="summary description" property="yui:description">
|
|
The base class for all tree nodes. The node's presentation and behavior in
|
|
response to mouse events is handled in Node subclasses.
|
|
</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.Node</strong>
|
|
<code>
|
|
(
|
|
|
|
|
|
|
|
oData
|
|
|
|
,
|
|
oParent
|
|
|
|
,
|
|
expanded
|
|
)
|
|
</code>
|
|
<div class="description">
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">oData</span>
|
|
<<span property="yui:type">object</span>>
|
|
</code>
|
|
<span property="yui:description"> a string or object containing the data that will
|
|
be used to render this node, and any custom attributes that should be
|
|
stored with the node (which is available in noderef.data).
|
|
All values in oData will be used to set equally named properties in the node
|
|
as long as the node does have such properties, they are not undefined, private or functions,
|
|
the rest of the values will be stored in noderef.data</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">oParent</span>
|
|
<<span property="yui:type">Node</span>>
|
|
</code>
|
|
<span property="yui:description"> this node's parent node</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">expanded</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> the initial expanded/collapsed state (deprecated, use oData.expanded)</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__dynLoad">
|
|
<h4><a name="property__dynLoad" property="yui:name">_dynLoad</a>
|
|
- <code>private <span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
We can set the node up to call an external method to get the child
|
|
data dynamically.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property__focusedItem">
|
|
<h4><a name="property__focusedItem" property="yui:name">_focusedItem</a>
|
|
- <code>private <span property="yui:type">DOM element</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
DOM element that actually got the browser focus
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property__focusHighlightedItems">
|
|
<h4><a name="property__focusHighlightedItems" property="yui:name">_focusHighlightedItems</a>
|
|
- <code>private <span property="yui:type">Array of DOM elements</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
array of items that had the focus set on them
|
|
so that they can be cleaned when focus is lost
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:property" resource="#property__type">
|
|
<h4><a name="property__type" property="yui:name">_type</a>
|
|
- <code>private <span property="yui:type">string</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The node type
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: "Node"
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_children">
|
|
<h4><a name="property_children" property="yui:name">children</a>
|
|
- <code><span property="yui:type">Node[]</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
This node's child node collection.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_childrenRendered">
|
|
<h4><a name="property_childrenRendered" property="yui:name">childrenRendered</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
This flag is set to true when the html is generated for this node's
|
|
children, and set to false when new children are added.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_className">
|
|
<h4><a name="property_className" property="yui:name">className</a>
|
|
- <code><span property="yui:type">string</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
User-defined className to be added to the Node
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: null
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_contentElId">
|
|
<h4><a name="property_contentElId" property="yui:name">contentElId</a>
|
|
- <code><span property="yui:type">string</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The generated id that will contain the data passed in by the implementer.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_contentStyle">
|
|
<h4><a name="property_contentStyle" property="yui:name">contentStyle</a>
|
|
- <code><span property="yui:type">string</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The CSS class for the html content container. Defaults to ygtvhtml, but
|
|
can be overridden to provide a custom presentation for a specific node.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_data">
|
|
<h4><a name="property_data" property="yui:name">data</a>
|
|
- <code><span property="yui:type">object</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The data linked to this node. This can be any object or primitive
|
|
value, and the data can be used in getNodeHtml().
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_dataLoader">
|
|
<h4><a name="property_dataLoader" property="yui:name">dataLoader</a>
|
|
- <code><span property="yui:type">function</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Function to execute when we need to get this node's child data.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_depth">
|
|
<h4><a name="property_depth" property="yui:name">depth</a>
|
|
- <code><span property="yui:type">int</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The depth of this node. We start at -1 for the root node.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_dynamicLoadComplete">
|
|
<h4><a name="property_dynamicLoadComplete" property="yui:name">dynamicLoadComplete</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Dynamically loaded nodes only fetch the data the first time they are
|
|
expanded. This flag is set to true once the data has been fetched.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_editable">
|
|
<h4><a name="property_editable" property="yui:name">editable</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Signals if the label is editable. (Ignored on TextNodes with href set.)
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_enableHighlight">
|
|
<h4><a name="property_enableHighlight" property="yui:name">enableHighlight</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Enables node highlighting. If true, the node can be highlighted and/or propagate highlighting
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: true
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_expanded">
|
|
<h4><a name="property_expanded" property="yui:name">expanded</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The node's expanded/collapsed state
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_hasIcon">
|
|
<h4><a name="property_hasIcon" property="yui:name">hasIcon</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The toggle/branch icon will not show if this is set to false. This
|
|
could be useful if the implementer wants to have the child contain
|
|
extra info about the parent, rather than an actual node.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_highlightState">
|
|
<h4><a name="property_highlightState" property="yui:name">highlightState</a>
|
|
- <code><span property="yui:type">integer</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Stores the highlight state. Can be any of:
|
|
<ul>
|
|
<li>0 - not highlighted</li>
|
|
<li>1 - highlighted</li>
|
|
<li>2 - some children highlighted</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: 0
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_iconMode">
|
|
<h4><a name="property_iconMode" property="yui:name">iconMode</a>
|
|
- <code><span property="yui:type">int</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Used to configure what happens when a dynamic load node is expanded
|
|
and we discover that it does not have children. By default, it is
|
|
treated as if it still could have children (plus/minus icon). Set
|
|
iconMode to have it display like a leaf node instead.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_index">
|
|
<h4><a name="property_index" property="yui:name">index</a>
|
|
- <code><span property="yui:type">int</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
The index for this instance obtained from global counter in YAHOO.widget.TreeView.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_isLeaf">
|
|
<h4><a name="property_isLeaf" property="yui:name">isLeaf</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
If true, the node will alway be rendered as a leaf node. This can be
|
|
used to override the presentation when dynamically loading the entire
|
|
tree. Setting this to true also disables the dynamic load call for the
|
|
node.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: false
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_isLoading">
|
|
<h4><a name="property_isLoading" property="yui:name">isLoading</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
This is true for dynamically loading nodes while waiting for the
|
|
callback to return.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_multiExpand">
|
|
<h4><a name="property_multiExpand" property="yui:name">multiExpand</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Can multiple children be expanded at once?
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_nextSibling">
|
|
<h4><a name="property_nextSibling" property="yui:name">nextSibling</a>
|
|
- <code><span property="yui:type">Node</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
This node's next sibling
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_nowrap">
|
|
<h4><a name="property_nowrap" property="yui:name">nowrap</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Specifies whether or not the content area of the node should be allowed
|
|
to wrap.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: false
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_parent">
|
|
<h4><a name="property_parent" property="yui:name">parent</a>
|
|
- <code><span property="yui:type">Node</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Parent node
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_previousSibling">
|
|
<h4><a name="property_previousSibling" property="yui:name">previousSibling</a>
|
|
- <code><span property="yui:type">Node</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
This node's previous sibling
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_propagateHighlightDown">
|
|
<h4><a name="property_propagateHighlightDown" property="yui:name">propagateHighlightDown</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Tells whether highlighting will be propagated down to the children of the clicked node
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: false
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_propagateHighlightUp">
|
|
<h4><a name="property_propagateHighlightUp" property="yui:name">propagateHighlightUp</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Tells whether highlighting will be propagated up to the parents of the clicked node
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="default" property="yui:defaultValue">
|
|
Default Value: false
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_renderHidden">
|
|
<h4><a name="property_renderHidden" property="yui:name">renderHidden</a>
|
|
- <code><span property="yui:type">boolean</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Should we render children for a collapsed node? It is possible that the
|
|
implementer will want to render the hidden data... @todo verify that we
|
|
need this, and implement it if we do.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:property" resource="#property_tree">
|
|
<h4><a name="property_tree" property="yui:name">tree</a>
|
|
- <code><span property="yui:type">TreeView</span></code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description" property="yui:description">
|
|
Tree instance this node is part of
|
|
</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__canHaveFocus">
|
|
<h4>
|
|
<a name="method__canHaveFocus">_canHaveFocus</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
boolean
|
|
<strong property="yui:name">_canHaveFocus</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns true if there are any elements in the node that can
|
|
accept the real actual browser focus
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
boolean
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">success</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__childrenHighlighted">
|
|
<h4>
|
|
<a name="method__childrenHighlighted">_childrenHighlighted</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_childrenHighlighted</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Checks whether all or part of the children of a node are highlighted and
|
|
sets the node highlight to full, none or partial highlight.
|
|
If set to propagate it will further call the parent
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__removeFocus">
|
|
<h4>
|
|
<a name="method__removeFocus">_removeFocus</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_removeFocus</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Removes the focus of previously selected Node
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method__setHighlightClassName">
|
|
<h4>
|
|
<a name="method__setHighlightClassName">_setHighlightClassName</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
void
|
|
<strong property="yui:name">_setHighlightClassName</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Changes the classNames on the toggle and content containers to reflect the current highlighting
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_appendChild">
|
|
<h4>
|
|
<a name="method_appendChild">appendChild</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
Node
|
|
<strong property="yui:name">appendChild</strong>
|
|
(
|
|
|
|
|
|
childNode
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Appends a node to the child collection.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">childNode</span>
|
|
<<span property="yui:type">Node</span>>
|
|
</code>
|
|
<span property="yui:description"> the new node</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
Node
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the child node</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_appendTo">
|
|
<h4>
|
|
<a name="method_appendTo">appendTo</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
Node
|
|
<strong property="yui:name">appendTo</strong>
|
|
(
|
|
|
|
|
|
parentNode
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Appends this node to the supplied node's child collection
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">parentNode</span>
|
|
<<span property="yui:type">Node</span>>
|
|
</code>
|
|
<span property="yui:description"> the node to append to.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
Node
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">The appended node</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_applyParent">
|
|
<h4>
|
|
<a name="method_applyParent">applyParent</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
boolean
|
|
<strong property="yui:name">applyParent</strong>
|
|
(
|
|
|
|
|
|
parentNode
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Certain properties for the node cannot be set until the parent
|
|
is known. This is called after the node is inserted into a tree.
|
|
the parent is also applied to this node's children in order to
|
|
make it possible to move a branch from one tree to another.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">parentNode</span>
|
|
<<span property="yui:type">Node</span>>
|
|
</code>
|
|
<span property="yui:description"> this node's parent node</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
boolean
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">true if the application was successful</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_collapse">
|
|
<h4>
|
|
<a name="method_collapse">collapse</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">collapse</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Hides this nodes children (creating them if necessary), changes the toggle style.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</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">
|
|
Recursively collapses all of this node's children.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_completeRender">
|
|
<h4>
|
|
<a name="method_completeRender">completeRender</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
string
|
|
<strong property="yui:name">completeRender</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Called when we know we have all the child data.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">children html</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_destroyEditorContents">
|
|
<h4>
|
|
<a name="method_destroyEditorContents">destroyEditorContents</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">destroyEditorContents</strong>
|
|
(
|
|
|
|
|
|
editorData
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Node-specific destroy function to empty the contents of the inline editor panel.
|
|
This function is the worst case alternative that will purge all possible events and remove the editor contents.
|
|
Method Event.purgeElement is somewhat costly so if it can be replaced by specifc Event.removeListeners, it is better to do so.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">editorData</span>
|
|
<<span property="yui:type">YAHOO.widget.TreeView.editorData</span>>
|
|
</code>
|
|
<span property="yui:description"> a shortcut to the static object holding editing information</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_displayEditedValue">
|
|
<h4>
|
|
<a name="method_displayEditedValue">displayEditedValue</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">displayEditedValue</strong>
|
|
(
|
|
|
|
|
|
value
|
|
|
|
|
|
,
|
|
editorData
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Finally displays the newly edited value(s) in the tree.
|
|
Should be overridden by each node type.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">value</span>
|
|
<<span property="yui:type">any</span>>
|
|
</code>
|
|
<span property="yui:description"> value to be displayed and stored in the node</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">editorData</span>
|
|
<<span property="yui:type">YAHOO.widget.TreeView.editorData</span>>
|
|
</code>
|
|
<span property="yui:description"> a shortcut to the static object holding editing information</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_editNode">
|
|
<h4>
|
|
<a name="method_editNode">editNode</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">editNode</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
pops up the contents editor, if there is one and the node is declared editable
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_expand">
|
|
<h4>
|
|
<a name="method_expand">expand</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">expand</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Shows this nodes children (creating them if necessary), changes the
|
|
toggle style, and collapses its siblings if multiExpand is not set.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</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">
|
|
Recursively expands all of this node's children.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_fillEditorContainer">
|
|
<h4>
|
|
<a name="method_fillEditorContainer">fillEditorContainer</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
|
|
<strong property="yui:name">fillEditorContainer</strong>
|
|
(
|
|
|
|
|
|
editorData
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Placeholder for a function that should provide the inline node label editor.
|
|
Leaving it set to null will indicate that this node type is not editable.
|
|
It should be overridden by nodes that provide inline editing.
|
|
The Node-specific editing element (input box, textarea or whatever) should be inserted into editorData.inputContainer.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">editorData</span>
|
|
<<span property="yui:type">YAHOO.widget.TreeView.editorData</span>>
|
|
</code>
|
|
<span property="yui:description"> a shortcut to the static object holding editing information</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">void</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_focus">
|
|
<h4>
|
|
<a name="method_focus">focus</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
boolean
|
|
<strong property="yui:name">focus</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Sets the focus on the node element.
|
|
It will only be able to set the focus on nodes that have anchor elements in it.
|
|
Toggle or branch icons have anchors and can be focused on.
|
|
If will fail in nodes that have no anchor
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
boolean
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">success</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getAncestor">
|
|
<h4>
|
|
<a name="method_getAncestor">getAncestor</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
Node
|
|
<strong property="yui:name">getAncestor</strong>
|
|
(
|
|
|
|
|
|
depth
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns this node's ancestor at the specified depth.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">depth</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the depth of the ancestor.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
Node
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the ancestor</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getChildrenEl">
|
|
<h4>
|
|
<a name="method_getChildrenEl">getChildrenEl</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
HTMLElement
|
|
<strong property="yui:name">getChildrenEl</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the div that was generated for this node's children
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
HTMLElement
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">this node's children div</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getChildrenElId">
|
|
<h4>
|
|
<a name="method_getChildrenElId">getChildrenElId</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
string
|
|
<strong property="yui:name">getChildrenElId</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the id for this node's children div
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the element id for this node's children div</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_getChildrenHtml">
|
|
<h4>
|
|
<a name="method_getChildrenHtml">getChildrenHtml</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
string
|
|
<strong property="yui:name">getChildrenHtml</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Called when first rendering the tree. We always build the div that will
|
|
contain this nodes children, but we don't render the children themselves
|
|
unless this node is expanded.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the children container div html and any expanded children</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getContentEl">
|
|
<h4>
|
|
<a name="method_getContentEl">getContentEl</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
HTMLElement
|
|
<strong property="yui:name">getContentEl</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the outer html element for this node's content
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
HTMLElement
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the element</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getContentHtml">
|
|
<h4>
|
|
<a name="method_getContentHtml">getContentHtml</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
string
|
|
<strong property="yui:name">getContentHtml</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Get the markup for the contents of the node. This is designed to be overrided so that we can
|
|
support different types of nodes.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">The HTML that will render the content of this node.</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getDepthStyle">
|
|
<h4>
|
|
<a name="method_getDepthStyle">getDepthStyle</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
string
|
|
<strong property="yui:name">getDepthStyle</strong>
|
|
(
|
|
|
|
|
|
depth
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the css class for the spacer at the specified depth for
|
|
this node. If this node's ancestor at the specified depth
|
|
has a next sibling the presentation is different than if it
|
|
does not have a next sibling
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">depth</span>
|
|
<<span property="yui:type">int</span>>
|
|
</code>
|
|
<span property="yui:description"> the depth of the ancestor.</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the css class for the spacer</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getEditorValue">
|
|
<h4>
|
|
<a name="method_getEditorValue">getEditorValue</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
any
|
|
<strong property="yui:name">getEditorValue</strong>
|
|
(
|
|
|
|
|
|
editorData
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the value(s) from the input element(s) .
|
|
Should be overridden by each node type.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">editorData</span>
|
|
<<span property="yui:type">YAHOO.widget.TreeView.editorData</span>>
|
|
</code>
|
|
<span property="yui:description"> a shortcut to the static object holding editing information</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
any
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">value entered</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</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 this node's container html element
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
HTMLElement
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the container html element</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getElId">
|
|
<h4>
|
|
<a name="method_getElId">getElId</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
string
|
|
<strong property="yui:name">getElId</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the id for this node's container div
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the element id</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getHoverStyle">
|
|
<h4>
|
|
<a name="method_getHoverStyle">getHoverStyle</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
string
|
|
<strong property="yui:name">getHoverStyle</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the hover style for the icon
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the css class hover state</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getHtml">
|
|
<h4>
|
|
<a name="method_getHtml">getHtml</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
string
|
|
<strong property="yui:name">getHtml</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the markup for this node and its children.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the markup for this node and its expanded children.</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getIconMode">
|
|
<h4>
|
|
<a name="method_getIconMode">getIconMode</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
int
|
|
<strong property="yui:name">getIconMode</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the current icon mode. This refers to the way childless dynamic
|
|
load nodes appear (this comes into play only after the initial dynamic
|
|
load request produced no children).
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
int
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">0 for collapse style, 1 for leaf node style</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 a branch
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
int
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">number of nodes in the branch</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getNodeDefinition">
|
|
<h4>
|
|
<a name="method_getNodeDefinition">getNodeDefinition</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
Object | false
|
|
<strong property="yui:name">getNodeDefinition</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns an object which could be used to build a tree out of this node and its children.
|
|
It can be passed to the tree constructor to reproduce this node as a tree.
|
|
It will return false if the node or any children 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 the node or any children is defined as dynamic</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getNodeHtml">
|
|
<h4>
|
|
<a name="method_getNodeHtml">getNodeHtml</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
string
|
|
<strong property="yui:name">getNodeHtml</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Get the markup for the node. This may be overrided so that we can
|
|
support different types of nodes.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">The HTML that will render this node.</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getSiblings">
|
|
<h4>
|
|
<a name="method_getSiblings">getSiblings</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
|
|
<strong property="yui:name">getSiblings</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns a node array of this node's siblings, null if none.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">Node[]</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getStyle">
|
|
<h4>
|
|
<a name="method_getStyle">getStyle</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
string
|
|
<strong property="yui:name">getStyle</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the css style name for the toggle
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the css class for this node's toggle</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getToggleEl">
|
|
<h4>
|
|
<a name="method_getToggleEl">getToggleEl</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
HTMLElement
|
|
<strong property="yui:name">getToggleEl</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the element that is being used for this node's toggle.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
HTMLElement
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">this node's toggle html element</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getToggleElId">
|
|
<h4>
|
|
<a name="method_getToggleElId">getToggleElId</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
string
|
|
<strong property="yui:name">getToggleElId</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns the id for this node's toggle element
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the toggel element id</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_getToggleLink">
|
|
<h4>
|
|
<a name="method_getToggleLink">getToggleLink</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
string
|
|
<strong property="yui:name">getToggleLink</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Generates the link that will invoke this node's toggle method
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the javascript url for toggling this node</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_hasChildren">
|
|
<h4>
|
|
<a name="method_hasChildren">hasChildren</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
boolean
|
|
<strong property="yui:name">hasChildren</strong>
|
|
(
|
|
|
|
|
|
checkForLazyLoad
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Checks if this node has children. If this node is lazy-loading and the
|
|
children have not been rendered, we do not know whether or not there
|
|
are actual children. In most cases, we need to assume that there are
|
|
children (for instance, the toggle needs to show the expandable
|
|
presentation state). In other times we want to know if there are rendered
|
|
children. For the latter, "checkForLazyLoad" should be false.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">checkForLazyLoad</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> should we check for unloaded children?</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
boolean
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">true if this has children or if it might and we are
|
|
checking for this condition.</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_hideChildren">
|
|
<h4>
|
|
<a name="method_hideChildren">hideChildren</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">hideChildren</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Hides this node's children
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_highlight">
|
|
<h4>
|
|
<a name="method_highlight">highlight</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">highlight</strong>
|
|
(
|
|
|
|
|
|
_silent
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Turns highlighting on node.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">_silent</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> optional, don't fire the highlightEvent</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_init">
|
|
<h4>
|
|
<a name="method_init">init</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">init</strong>
|
|
(
|
|
|
|
|
|
oData
|
|
|
|
|
|
,
|
|
oParent
|
|
|
|
|
|
,
|
|
expanded
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Initializes this node, gets some of the properties from the parent
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">oData</span>
|
|
<<span property="yui:type">object</span>>
|
|
</code>
|
|
<span property="yui:description"> a string or object containing the data that will
|
|
be used to render this node</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">oParent</span>
|
|
<<span property="yui:type">Node</span>>
|
|
</code>
|
|
<span property="yui:description"> this node's parent node</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">expanded</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> the initial expanded/collapsed state</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_insertAfter">
|
|
<h4>
|
|
<a name="method_insertAfter">insertAfter</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
Node
|
|
<strong property="yui:name">insertAfter</strong>
|
|
(
|
|
|
|
|
|
node
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Inserts this node after the supplied node
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">node</span>
|
|
<<span property="yui:type">Node</span>>
|
|
</code>
|
|
<span property="yui:description"> the node to insert after</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
Node
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the inserted node</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_insertBefore">
|
|
<h4>
|
|
<a name="method_insertBefore">insertBefore</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
Node
|
|
<strong property="yui:name">insertBefore</strong>
|
|
(
|
|
|
|
|
|
node
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Inserts this node before this supplied node
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">node</span>
|
|
<<span property="yui:type">Node</span>>
|
|
</code>
|
|
<span property="yui:description"> the node to insert this node before</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
Node
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the inserted node</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_isChildOf">
|
|
<h4>
|
|
<a name="method_isChildOf">isChildOf</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
boolean
|
|
<strong property="yui:name">isChildOf</strong>
|
|
(
|
|
|
|
|
|
parentNode
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Returns true if the Node is a child of supplied Node
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">parentNode</span>
|
|
<<span property="yui:type">Node</span>>
|
|
</code>
|
|
<span property="yui:description"> the Node to check</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
boolean
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">The node index if this Node is a child of
|
|
supplied Node, else -1.</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_isDynamic">
|
|
<h4>
|
|
<a name="method_isDynamic">isDynamic</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
boolean
|
|
<strong property="yui:name">isDynamic</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Evaluates if this node's children should be loaded dynamically. Looks for
|
|
the property both in this instance and the root node. If the tree is
|
|
defined to load all children dynamically, the data callback function is
|
|
defined in the root node
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
boolean
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">true if this node's children are to be loaded dynamically</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_isRoot">
|
|
<h4>
|
|
<a name="method_isRoot">isRoot</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
boolean
|
|
<strong property="yui:name">isRoot</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Evaluates if this node is the root node of the tree
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
boolean
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">true if this is the root node</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_loadComplete">
|
|
<h4>
|
|
<a name="method_loadComplete">loadComplete</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">loadComplete</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Load complete is the callback function we pass to the data provider
|
|
in dynamic load situations.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_refresh">
|
|
<h4>
|
|
<a name="method_refresh">refresh</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">refresh</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Regenerates the html for this node and its children. To be used when the
|
|
node is expanded and new children have been added.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private" rel="yui:method" resource="#method_renderChildren">
|
|
<h4>
|
|
<a name="method_renderChildren">renderChildren</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
private
|
|
|
|
|
|
string
|
|
<strong property="yui:name">renderChildren</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Generates the markup for the child nodes. This is not done until the node
|
|
is expanded.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">the html for this node's children</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_saveEditorValue">
|
|
<h4>
|
|
<a name="method_saveEditorValue">saveEditorValue</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
false or none
|
|
<strong property="yui:name">saveEditorValue</strong>
|
|
(
|
|
|
|
|
|
editorData
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Saves the value entered into the editor.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">editorData</span>
|
|
<<span property="yui:type">YAHOO.widget.TreeView.editorData</span>>
|
|
</code>
|
|
<span property="yui:description"> a shortcut to the static object holding editing information</span>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
false or none
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">a return of exactly false will prevent the editor from closing</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>
|
|
(
|
|
|
|
|
|
fmDataLoader
|
|
|
|
|
|
,
|
|
iconMode
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Configures this node for dynamically obtaining the child data
|
|
when the node is first expanded. Calling it without the callback
|
|
will turn off dynamic load for the node.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">fmDataLoader</span>
|
|
<<span property="yui:type">function</span>>
|
|
</code>
|
|
<span property="yui:description"> the function that will be used to get the data.</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">iconMode</span>
|
|
<<span property="yui:type">int</span>>
|
|
</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_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 property for this node and all loaded descendants.
|
|
Only public and defined properties can be set, not methods.
|
|
Values for unknown properties will be assigned to the refNode.data object
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">name</span>
|
|
<<span property="yui:type">string</span>>
|
|
</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>
|
|
<<span property="yui:type">any</span>>
|
|
</code>
|
|
<span property="yui:description"> value to be set</span>
|
|
</dd>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">refresh</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</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_showChildren">
|
|
<h4>
|
|
<a name="method_showChildren">showChildren</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">showChildren</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Shows this node's children
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_toggle">
|
|
<h4>
|
|
<a name="method_toggle">toggle</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">toggle</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Expands if node is collapsed, collapses otherwise.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_toggleHighlight">
|
|
<h4>
|
|
<a name="method_toggleHighlight">toggleHighlight</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">toggleHighlight</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Toggles the highlighted state of a Node
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</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">
|
|
Node toString
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code property="yui:return">
|
|
string
|
|
</code></dt>
|
|
<dd property="yui:returnInfo">string representation of the node</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="" rel="yui:method" resource="#method_unhighlight">
|
|
<h4>
|
|
<a name="method_unhighlight">unhighlight</a></h4>
|
|
<div class="detail" >
|
|
<code>
|
|
|
|
|
|
|
|
void
|
|
<strong property="yui:name">unhighlight</strong>
|
|
(
|
|
|
|
|
|
_silent
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
Turns highlighting off a node.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl rel="yui:parameters">
|
|
<dt>Parameters:</dt>
|
|
<dd rel="yui:parameter">
|
|
<code><span property="yui:name">_silent</span>
|
|
<<span property="yui:type">boolean</span>>
|
|
</code>
|
|
<span property="yui:description"> optional, don't fire the highlightEvent</span>
|
|
</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_parentChange">
|
|
<h4>
|
|
<a name="event_parentChange">parentChange</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
|
|
|
|
<strong property="yui:name">parentChange</strong>
|
|
|
|
(
|
|
)
|
|
|
|
</code>
|
|
|
|
<div class="description" property="yui:description">
|
|
The parentChange event is fired when a parent element is applied
|
|
to the node. This is useful if you need to apply tree-level
|
|
properties to a tree that need to happen if a node is moved from
|
|
one tree to another.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
|
|
|
|
</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="selected"><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=""><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__dynLoad" title="_dynLoad">_dynLoad</a></li>
|
|
<li class="private"><a href="#property__focusedItem" title="_focusedItem">_focusedItem</a></li>
|
|
<li class="private"><a href="#property__focusHighlightedItems" title="_focusHighlightedItems">_focusHighlightedItems</a></li>
|
|
<li class="private"><a href="#property__type" title="_type">_type</a></li>
|
|
<li class=""><a href="#property_children" title="children">children</a></li>
|
|
<li class=""><a href="#property_childrenRendered" title="childrenRendered">childrenRendered</a></li>
|
|
<li class=""><a href="#property_className" title="className">className</a></li>
|
|
<li class=""><a href="#property_contentElId" title="contentElId">contentElId</a></li>
|
|
<li class=""><a href="#property_contentStyle" title="contentStyle">contentStyle</a></li>
|
|
<li class=""><a href="#property_data" title="data">data</a></li>
|
|
<li class=""><a href="#property_dataLoader" title="dataLoader">dataLoader</a></li>
|
|
<li class=""><a href="#property_depth" title="depth">depth</a></li>
|
|
<li class=""><a href="#property_dynamicLoadComplete" title="dynamicLoadComplete">dynamicLoadComplete</a></li>
|
|
<li class=""><a href="#property_editable" title="editable">editable</a></li>
|
|
<li class=""><a href="#property_enableHighlight" title="enableHighlight">enableHighlight</a></li>
|
|
<li class=""><a href="#property_expanded" title="expanded">expanded</a></li>
|
|
<li class=""><a href="#property_hasIcon" title="hasIcon">hasIcon</a></li>
|
|
<li class=""><a href="#property_highlightState" title="highlightState">highlightState</a></li>
|
|
<li class=""><a href="#property_iconMode" title="iconMode">iconMode</a></li>
|
|
<li class=""><a href="#property_index" title="index">index</a></li>
|
|
<li class=""><a href="#property_isLeaf" title="isLeaf">isLeaf</a></li>
|
|
<li class=""><a href="#property_isLoading" title="isLoading">isLoading</a></li>
|
|
<li class=""><a href="#property_multiExpand" title="multiExpand">multiExpand</a></li>
|
|
<li class=""><a href="#property_nextSibling" title="nextSibling">nextSibling</a></li>
|
|
<li class=""><a href="#property_nowrap" title="nowrap">nowrap</a></li>
|
|
<li class=""><a href="#property_parent" title="parent">parent</a></li>
|
|
<li class=""><a href="#property_previousSibling" title="previousSibling">previousSibling</a></li>
|
|
<li class=""><a href="#property_propagateHighlightDown" title="propagateHighlightDown">propagateHighlightDown</a></li>
|
|
<li class=""><a href="#property_propagateHighlightUp" title="propagateHighlightUp">propagateHighlightUp</a></li>
|
|
<li class=""><a href="#property_renderHidden" title="renderHidden">renderHidden</a></li>
|
|
<li class=""><a href="#property_tree" title="tree">tree</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="methodsList" class="module">
|
|
<h4>Methods</h4>
|
|
<ul class="content">
|
|
<li class="private"><a href="#method__canHaveFocus" title="_canHaveFocus">_canHaveFocus</a></li>
|
|
<li class="private"><a href="#method__childrenHighlighted" title="_childrenHighlighted">_childrenHighlighted</a></li>
|
|
<li class="private"><a href="#method__removeFocus" title="_removeFocus">_removeFocus</a></li>
|
|
<li class="private"><a href="#method__setHighlightClassName" title="_setHighlightClassName">_setHighlightClassName</a></li>
|
|
<li class="private"><a href="#method_appendChild" title="appendChild">appendChild</a></li>
|
|
<li class=""><a href="#method_appendTo" title="appendTo">appendTo</a></li>
|
|
<li class=""><a href="#method_applyParent" title="applyParent">applyParent</a></li>
|
|
<li class=""><a href="#method_collapse" title="collapse">collapse</a></li>
|
|
<li class=""><a href="#method_collapseAll" title="collapseAll">collapseAll</a></li>
|
|
<li class=""><a href="#method_completeRender" title="completeRender">completeRender</a></li>
|
|
<li class=""><a href="#method_destroyEditorContents" title="destroyEditorContents">destroyEditorContents</a></li>
|
|
<li class=""><a href="#method_displayEditedValue" title="displayEditedValue">displayEditedValue</a></li>
|
|
<li class=""><a href="#method_editNode" title="editNode">editNode</a></li>
|
|
<li class=""><a href="#method_expand" title="expand">expand</a></li>
|
|
<li class=""><a href="#method_expandAll" title="expandAll">expandAll</a></li>
|
|
<li class=""><a href="#method_fillEditorContainer" title="fillEditorContainer">fillEditorContainer</a></li>
|
|
<li class=""><a href="#method_focus" title="focus">focus</a></li>
|
|
<li class=""><a href="#method_getAncestor" title="getAncestor">getAncestor</a></li>
|
|
<li class=""><a href="#method_getChildrenEl" title="getChildrenEl">getChildrenEl</a></li>
|
|
<li class=""><a href="#method_getChildrenElId" title="getChildrenElId">getChildrenElId</a></li>
|
|
<li class="private"><a href="#method_getChildrenHtml" title="getChildrenHtml">getChildrenHtml</a></li>
|
|
<li class=""><a href="#method_getContentEl" title="getContentEl">getContentEl</a></li>
|
|
<li class=""><a href="#method_getContentHtml" title="getContentHtml">getContentHtml</a></li>
|
|
<li class=""><a href="#method_getDepthStyle" title="getDepthStyle">getDepthStyle</a></li>
|
|
<li class=""><a href="#method_getEditorValue" title="getEditorValue">getEditorValue</a></li>
|
|
<li class=""><a href="#method_getEl" title="getEl">getEl</a></li>
|
|
<li class=""><a href="#method_getElId" title="getElId">getElId</a></li>
|
|
<li class=""><a href="#method_getHoverStyle" title="getHoverStyle">getHoverStyle</a></li>
|
|
<li class=""><a href="#method_getHtml" title="getHtml">getHtml</a></li>
|
|
<li class=""><a href="#method_getIconMode" title="getIconMode">getIconMode</a></li>
|
|
<li class=""><a href="#method_getNodeCount" title="getNodeCount">getNodeCount</a></li>
|
|
<li class=""><a href="#method_getNodeDefinition" title="getNodeDefinition">getNodeDefinition</a></li>
|
|
<li class=""><a href="#method_getNodeHtml" title="getNodeHtml">getNodeHtml</a></li>
|
|
<li class=""><a href="#method_getSiblings" title="getSiblings">getSiblings</a></li>
|
|
<li class=""><a href="#method_getStyle" title="getStyle">getStyle</a></li>
|
|
<li class=""><a href="#method_getToggleEl" title="getToggleEl">getToggleEl</a></li>
|
|
<li class=""><a href="#method_getToggleElId" title="getToggleElId">getToggleElId</a></li>
|
|
<li class=""><a href="#method_getToggleLink" title="getToggleLink">getToggleLink</a></li>
|
|
<li class=""><a href="#method_hasChildren" title="hasChildren">hasChildren</a></li>
|
|
<li class=""><a href="#method_hideChildren" title="hideChildren">hideChildren</a></li>
|
|
<li class=""><a href="#method_highlight" title="highlight">highlight</a></li>
|
|
<li class=""><a href="#method_init" title="init">init</a></li>
|
|
<li class=""><a href="#method_insertAfter" title="insertAfter">insertAfter</a></li>
|
|
<li class=""><a href="#method_insertBefore" title="insertBefore">insertBefore</a></li>
|
|
<li class="private"><a href="#method_isChildOf" title="isChildOf">isChildOf</a></li>
|
|
<li class=""><a href="#method_isDynamic" title="isDynamic">isDynamic</a></li>
|
|
<li class=""><a href="#method_isRoot" title="isRoot">isRoot</a></li>
|
|
<li class=""><a href="#method_loadComplete" title="loadComplete">loadComplete</a></li>
|
|
<li class=""><a href="#method_refresh" title="refresh">refresh</a></li>
|
|
<li class="private"><a href="#method_renderChildren" title="renderChildren">renderChildren</a></li>
|
|
<li class=""><a href="#method_saveEditorValue" title="saveEditorValue">saveEditorValue</a></li>
|
|
<li class=""><a href="#method_setDynamicLoad" title="setDynamicLoad">setDynamicLoad</a></li>
|
|
<li class=""><a href="#method_setNodesProperty" title="setNodesProperty">setNodesProperty</a></li>
|
|
<li class=""><a href="#method_showChildren" title="showChildren">showChildren</a></li>
|
|
<li class=""><a href="#method_toggle" title="toggle">toggle</a></li>
|
|
<li class=""><a href="#method_toggleHighlight" title="toggleHighlight">toggleHighlight</a></li>
|
|
<li class=""><a href="#method_toString" title="toString">toString</a></li>
|
|
<li class=""><a href="#method_unhighlight" title="unhighlight">unhighlight</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="eventsList" class="module">
|
|
<h4>Events</h4>
|
|
<ul class="content">
|
|
<li class=""><a href="#event_parentChange" title="parentChange">parentChange</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="ft">
|
|
<hr />
|
|
Copyright © 2010 Yahoo! Inc. All rights reserved.
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
|
|
var ALL_YUI_PROPS = [{"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.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.Node", "name": "collapse", "url": "YAHOO.widget.Node.html#method_collapse", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "collapseAll", "url": "YAHOO.widget.Node.html#method_collapseAll", "type": "method"}, {"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.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.Node", "name": "depth", "url": "YAHOO.widget.Node.html#property_depth", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "destroyEditorContents", "url": "YAHOO.widget.Node.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.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.Node", "name": "enableHighlight", "url": "YAHOO.widget.Node.html#property_enableHighlight", "type": "property"}, {"access": "", "host": "YAHOO.widget.Node", "name": "expand", "url": "YAHOO.widget.Node.html#method_expand", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "expandAll", "url": "YAHOO.widget.Node.html#method_expandAll", "type": "method"}, {"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.Node", "name": "focus", "url": "YAHOO.widget.Node.html#method_focus", "type": "method"}, {"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.Node", "name": "getEl", "url": "YAHOO.widget.Node.html#method_getEl", "type": "method"}, {"access": "", "host": "YAHOO.widget.Node", "name": "getElId", "url": "YAHOO.widget.Node.html#method_getElId", "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.Node", "name": "getNodeCount", "url": "YAHOO.widget.Node.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.Node", "name": "getNodeHtml", "url": "YAHOO.widget.Node.html#method_getNodeHtml", "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.Node", "name": "hasChildren", "url": "YAHOO.widget.Node.html#method_hasChildren", "type": "method"}, {"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.Node", "name": "highlightState", "url": "YAHOO.widget.Node.html#property_highlightState", "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.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": "", "host": "YAHOO.widget.HTMLNode", "name": "initContent", "url": "YAHOO.widget.HTMLNode.html#property_initContent", "type": "property"}, {"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.Node", "name": "loadComplete", "url": "YAHOO.widget.Node.html#method_loadComplete", "type": "method"}, {"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": "", "host": "YAHOO.widget.Node", "name": "nowrap", "url": "YAHOO.widget.Node.html#property_nowrap", "type": "property"}, {"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.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.Node", "name": "_removeFocus", "url": "YAHOO.widget.Node.html#method__removeFocus", "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.Node", "name": "setDynamicLoad", "url": "YAHOO.widget.Node.html#method_setDynamicLoad", "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.Node", "name": "showChildren", "url": "YAHOO.widget.Node.html#method_showChildren", "type": "method"}, {"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.Node", "name": "tree", "url": "YAHOO.widget.Node.html#property_tree", "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": "", "host": "YAHOO.widget.Node", "name": "unhighlight", "url": "YAHOO.widget.Node.html#method_unhighlight", "type": "method"}];
|
|
</script>
|
|
</body>
|
|
</html>
|