1 | <div class="body-wrap"> |
---|
2 | <div class="top-tools"> |
---|
3 | <a class="inner-link" href="#Ext.tree.AsyncTreeNode-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> |
---|
4 | <a class="inner-link" href="#Ext.tree.AsyncTreeNode-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a> |
---|
5 | <a class="inner-link" href="#Ext.tree.AsyncTreeNode-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a> |
---|
6 | <a class="inner-link" href="#Ext.tree.AsyncTreeNode-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a> |
---|
7 | <a class="bookmark" href="../docs/?class=Ext.tree.AsyncTreeNode"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> |
---|
8 | </div> |
---|
9 | <div class="inheritance res-block"> |
---|
10 | <pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a> |
---|
11 | <img src="resources/elbow-end.gif"/><a ext:cls="Ext.data.Node" ext:member="" href="output/Ext.data.Node.html">Node</a> |
---|
12 | <img src="resources/elbow-end.gif"/><a ext:cls="Ext.tree.TreeNode" ext:member="" href="output/Ext.tree.TreeNode.html">TreeNode</a> |
---|
13 | <img src="resources/elbow-end.gif"/>AsyncTreeNode</pre></div> |
---|
14 | <h1>Class Ext.tree.AsyncTreeNode</h1> |
---|
15 | <table cellspacing="0"> |
---|
16 | <tr><td class="label">Package:</td><td class="hd-info">Ext.tree</td></tr> |
---|
17 | <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/AsyncTreeNode.js" target="_blank">AsyncTreeNode.js</a></td></tr> |
---|
18 | <tr><td class="label">Class:</td><td class="hd-info">AsyncTreeNode</td></tr> |
---|
19 | <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.tree.TreeNode" ext:member="" href="output/Ext.tree.TreeNode.html">TreeNode</a></td></tr> |
---|
20 | </table> |
---|
21 | <div class="description"> |
---|
22 | * </div> |
---|
23 | |
---|
24 | <div class="hr"></div> |
---|
25 | <a id="Ext.tree.AsyncTreeNode-configs"></a> |
---|
26 | <h2>Config Options</h2> |
---|
27 | <table cellspacing="0" class="member-table"> |
---|
28 | <tr> |
---|
29 | <th class="sig-header" colspan="2">Config Options</th> |
---|
30 | <th class="msource-header">Defined By</th> |
---|
31 | </tr> |
---|
32 | <tr class="config-row inherited"> |
---|
33 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
34 | <td class="sig"> |
---|
35 | <a id="Ext.tree.AsyncTreeNode-allowChildren"></a> |
---|
36 | <b>allowChildren</b> : Boolean <div class="mdesc"> |
---|
37 | False to not allow this node to have child nodes (defaults to true) </div> |
---|
38 | </td> |
---|
39 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#allowChildren" href="output/Ext.tree.TreeNode.html#allowChildren">TreeNode</a></td> |
---|
40 | </tr> |
---|
41 | <tr class="config-row inherited alt"> |
---|
42 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
43 | <td class="sig"> |
---|
44 | <a id="Ext.tree.AsyncTreeNode-allowDrag"></a> |
---|
45 | <b>allowDrag</b> : Boolean <div class="mdesc"> |
---|
46 | False to make this node undraggable if <a ext:cls="Ext.tree.TreeNode" ext:member="draggable" href="output/Ext.tree.TreeNode.html#draggable">draggable</a> = true (defaults to true) </div> |
---|
47 | </td> |
---|
48 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#allowDrag" href="output/Ext.tree.TreeNode.html#allowDrag">TreeNode</a></td> |
---|
49 | </tr> |
---|
50 | <tr class="config-row inherited"> |
---|
51 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
52 | <td class="sig"> |
---|
53 | <a id="Ext.tree.AsyncTreeNode-allowDrop"></a> |
---|
54 | <b>allowDrop</b> : Boolean <div class="mdesc"> |
---|
55 | False if this node cannot have child nodes dropped on it (defaults to true) </div> |
---|
56 | </td> |
---|
57 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#allowDrop" href="output/Ext.tree.TreeNode.html#allowDrop">TreeNode</a></td> |
---|
58 | </tr> |
---|
59 | <tr class="config-row inherited alt expandable"> |
---|
60 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
61 | <td class="sig"> |
---|
62 | <a id="Ext.tree.AsyncTreeNode-checked"></a> |
---|
63 | <b>checked</b> : Boolean <div class="mdesc"> |
---|
64 | <div class="short">True to render a checked checkbox for this node, false to render an unchecked checkbox (defaults to undefined with no...</div> |
---|
65 | <div class="long"> |
---|
66 | True to render a checked checkbox for this node, false to render an unchecked checkbox (defaults to undefined with no checkbox rendered) </div> |
---|
67 | </div> |
---|
68 | </td> |
---|
69 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#checked" href="output/Ext.tree.TreeNode.html#checked">TreeNode</a></td> |
---|
70 | </tr> |
---|
71 | <tr class="config-row inherited"> |
---|
72 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
73 | <td class="sig"> |
---|
74 | <a id="Ext.tree.AsyncTreeNode-cls"></a> |
---|
75 | <b>cls</b> : String <div class="mdesc"> |
---|
76 | A css class to be added to the node </div> |
---|
77 | </td> |
---|
78 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#cls" href="output/Ext.tree.TreeNode.html#cls">TreeNode</a></td> |
---|
79 | </tr> |
---|
80 | <tr class="config-row inherited alt"> |
---|
81 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
82 | <td class="sig"> |
---|
83 | <a id="Ext.tree.AsyncTreeNode-disabled"></a> |
---|
84 | <b>disabled</b> : Boolean <div class="mdesc"> |
---|
85 | true to start the node disabled </div> |
---|
86 | </td> |
---|
87 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#disabled" href="output/Ext.tree.TreeNode.html#disabled">TreeNode</a></td> |
---|
88 | </tr> |
---|
89 | <tr class="config-row inherited"> |
---|
90 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
91 | <td class="sig"> |
---|
92 | <a id="Ext.tree.AsyncTreeNode-draggable"></a> |
---|
93 | <b>draggable</b> : Boolean <div class="mdesc"> |
---|
94 | True to make this node draggable (defaults to false) </div> |
---|
95 | </td> |
---|
96 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#draggable" href="output/Ext.tree.TreeNode.html#draggable">TreeNode</a></td> |
---|
97 | </tr> |
---|
98 | <tr class="config-row inherited alt"> |
---|
99 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
100 | <td class="sig"> |
---|
101 | <a id="Ext.tree.AsyncTreeNode-expandable"></a> |
---|
102 | <b>expandable</b> : Boolean <div class="mdesc"> |
---|
103 | If set to true, the node will always show a plus/minus icon, even when empty </div> |
---|
104 | </td> |
---|
105 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#expandable" href="output/Ext.tree.TreeNode.html#expandable">TreeNode</a></td> |
---|
106 | </tr> |
---|
107 | <tr class="config-row inherited"> |
---|
108 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
109 | <td class="sig"> |
---|
110 | <a id="Ext.tree.AsyncTreeNode-expanded"></a> |
---|
111 | <b>expanded</b> : Boolean <div class="mdesc"> |
---|
112 | true to start the node expanded </div> |
---|
113 | </td> |
---|
114 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#expanded" href="output/Ext.tree.TreeNode.html#expanded">TreeNode</a></td> |
---|
115 | </tr> |
---|
116 | <tr class="config-row inherited alt"> |
---|
117 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
118 | <td class="sig"> |
---|
119 | <a id="Ext.tree.AsyncTreeNode-href"></a> |
---|
120 | <b>href</b> : String <div class="mdesc"> |
---|
121 | URL of the link used for the node (defaults to #) </div> |
---|
122 | </td> |
---|
123 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#href" href="output/Ext.tree.TreeNode.html#href">TreeNode</a></td> |
---|
124 | </tr> |
---|
125 | <tr class="config-row inherited"> |
---|
126 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
127 | <td class="sig"> |
---|
128 | <a id="Ext.tree.AsyncTreeNode-hrefTarget"></a> |
---|
129 | <b>hrefTarget</b> : String <div class="mdesc"> |
---|
130 | target frame for the link </div> |
---|
131 | </td> |
---|
132 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#hrefTarget" href="output/Ext.tree.TreeNode.html#hrefTarget">TreeNode</a></td> |
---|
133 | </tr> |
---|
134 | <tr class="config-row inherited alt expandable"> |
---|
135 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
136 | <td class="sig"> |
---|
137 | <a id="Ext.tree.AsyncTreeNode-icon"></a> |
---|
138 | <b>icon</b> : String <div class="mdesc"> |
---|
139 | <div class="short">The path to an icon for the node. The preferred way to do this is to use the cls or iconCls attributes and add the ic...</div> |
---|
140 | <div class="long"> |
---|
141 | The path to an icon for the node. The preferred way to do this is to use the cls or iconCls attributes and add the icon via a CSS background image. </div> |
---|
142 | </div> |
---|
143 | </td> |
---|
144 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#icon" href="output/Ext.tree.TreeNode.html#icon">TreeNode</a></td> |
---|
145 | </tr> |
---|
146 | <tr class="config-row inherited"> |
---|
147 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
148 | <td class="sig"> |
---|
149 | <a id="Ext.tree.AsyncTreeNode-iconCls"></a> |
---|
150 | <b>iconCls</b> : String <div class="mdesc"> |
---|
151 | A css class to be added to the nodes icon element for applying css background images </div> |
---|
152 | </td> |
---|
153 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#iconCls" href="output/Ext.tree.TreeNode.html#iconCls">TreeNode</a></td> |
---|
154 | </tr> |
---|
155 | <tr class="config-row inherited alt"> |
---|
156 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
157 | <td class="sig"> |
---|
158 | <a id="Ext.tree.AsyncTreeNode-id"></a> |
---|
159 | <b>id</b> : String <div class="mdesc"> |
---|
160 | The id for this node. If one is not specified, one is generated. </div> |
---|
161 | </td> |
---|
162 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#id" href="output/Ext.data.Node.html#id">Node</a></td> |
---|
163 | </tr> |
---|
164 | <tr class="config-row inherited"> |
---|
165 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
166 | <td class="sig"> |
---|
167 | <a id="Ext.tree.AsyncTreeNode-isTarget"></a> |
---|
168 | <b>isTarget</b> : Boolean <div class="mdesc"> |
---|
169 | False to not allow this node to act as a drop target (defaults to true) </div> |
---|
170 | </td> |
---|
171 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#isTarget" href="output/Ext.tree.TreeNode.html#isTarget">TreeNode</a></td> |
---|
172 | </tr> |
---|
173 | <tr class="config-row inherited alt"> |
---|
174 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
175 | <td class="sig"> |
---|
176 | <a id="Ext.tree.AsyncTreeNode-leaf"></a> |
---|
177 | <b>leaf</b> : Boolean <div class="mdesc"> |
---|
178 | true if this node is a leaf and does not have children </div> |
---|
179 | </td> |
---|
180 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#leaf" href="output/Ext.data.Node.html#leaf">Node</a></td> |
---|
181 | </tr> |
---|
182 | <tr class="config-row inherited expandable"> |
---|
183 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
184 | <td class="sig"> |
---|
185 | <a id="Ext.tree.AsyncTreeNode-listeners"></a> |
---|
186 | <b>listeners</b> : Object <div class="mdesc"> |
---|
187 | <div class="short">(optional) A config object containing one or more event handlers to be added to this object during initialization. Th...</div> |
---|
188 | <div class="long"> |
---|
189 | (optional) A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once. </div> |
---|
190 | </div> |
---|
191 | </td> |
---|
192 | <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td> |
---|
193 | </tr> |
---|
194 | <tr class="config-row alt"> |
---|
195 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
196 | <td class="sig"> |
---|
197 | <a id="Ext.tree.AsyncTreeNode-loader"></a> |
---|
198 | <b>loader</b> : TreeLoader <div class="mdesc"> |
---|
199 | A TreeLoader to be used by this node (defaults to the loader defined on the tree) </div> |
---|
200 | </td> |
---|
201 | <td class="msource">AsyncTreeNode</td> |
---|
202 | </tr> |
---|
203 | <tr class="config-row inherited"> |
---|
204 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
205 | <td class="sig"> |
---|
206 | <a id="Ext.tree.AsyncTreeNode-qtip"></a> |
---|
207 | <b>qtip</b> : String <div class="mdesc"> |
---|
208 | An Ext QuickTip for the node </div> |
---|
209 | </td> |
---|
210 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#qtip" href="output/Ext.tree.TreeNode.html#qtip">TreeNode</a></td> |
---|
211 | </tr> |
---|
212 | <tr class="config-row inherited alt"> |
---|
213 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
214 | <td class="sig"> |
---|
215 | <a id="Ext.tree.AsyncTreeNode-qtipCfg"></a> |
---|
216 | <b>qtipCfg</b> : String <div class="mdesc"> |
---|
217 | An Ext QuickTip config for the node (used instead of qtip) </div> |
---|
218 | </td> |
---|
219 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#qtipCfg" href="output/Ext.tree.TreeNode.html#qtipCfg">TreeNode</a></td> |
---|
220 | </tr> |
---|
221 | <tr class="config-row inherited"> |
---|
222 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
223 | <td class="sig"> |
---|
224 | <a id="Ext.tree.AsyncTreeNode-singleClickExpand"></a> |
---|
225 | <b>singleClickExpand</b> : Boolean <div class="mdesc"> |
---|
226 | True for single click expand on this node </div> |
---|
227 | </td> |
---|
228 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#singleClickExpand" href="output/Ext.tree.TreeNode.html#singleClickExpand">TreeNode</a></td> |
---|
229 | </tr> |
---|
230 | <tr class="config-row inherited alt"> |
---|
231 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
232 | <td class="sig"> |
---|
233 | <a id="Ext.tree.AsyncTreeNode-text"></a> |
---|
234 | <b>text</b> : String <div class="mdesc"> |
---|
235 | The text for this node </div> |
---|
236 | </td> |
---|
237 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#text" href="output/Ext.tree.TreeNode.html#text">TreeNode</a></td> |
---|
238 | </tr> |
---|
239 | <tr class="config-row inherited"> |
---|
240 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
241 | <td class="sig"> |
---|
242 | <a id="Ext.tree.AsyncTreeNode-uiProvider"></a> |
---|
243 | <b>uiProvider</b> : Function <div class="mdesc"> |
---|
244 | A UI <b>class</b> to use for this node (defaults to Ext.tree.TreeNodeUI) </div> |
---|
245 | </td> |
---|
246 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#uiProvider" href="output/Ext.tree.TreeNode.html#uiProvider">TreeNode</a></td> |
---|
247 | </tr> |
---|
248 | </table> |
---|
249 | <a id="Ext.tree.AsyncTreeNode-props"></a> |
---|
250 | <h2>Public Properties</h2> |
---|
251 | <table cellspacing="0" class="member-table"> |
---|
252 | <tr> |
---|
253 | <th class="sig-header" colspan="2">Property</th> |
---|
254 | <th class="msource-header">Defined By</th> |
---|
255 | </tr> |
---|
256 | <tr class="property-row inherited"> |
---|
257 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
258 | <td class="sig"> |
---|
259 | <a id="Ext.tree.AsyncTreeNode-attributes"></a> |
---|
260 | <b>attributes</b> : Object <div class="mdesc"> |
---|
261 | The attributes supplied for the node. You can use this property to access any custom attributes you supplied. </div> |
---|
262 | </td> |
---|
263 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#attributes" href="output/Ext.data.Node.html#attributes">Node</a></td> |
---|
264 | </tr> |
---|
265 | <tr class="property-row inherited alt"> |
---|
266 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
267 | <td class="sig"> |
---|
268 | <a id="Ext.tree.AsyncTreeNode-childNodes"></a> |
---|
269 | <b>childNodes</b> : Array <div class="mdesc"> |
---|
270 | All child nodes of this node. </div> |
---|
271 | </td> |
---|
272 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#childNodes" href="output/Ext.data.Node.html#childNodes">Node</a></td> |
---|
273 | </tr> |
---|
274 | <tr class="property-row inherited"> |
---|
275 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
276 | <td class="sig"> |
---|
277 | <a id="Ext.tree.AsyncTreeNode-disabled"></a> |
---|
278 | <b>disabled</b> : Boolean <div class="mdesc"> |
---|
279 | True if this node is disabled. </div> |
---|
280 | </td> |
---|
281 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#disabled" href="output/Ext.tree.TreeNode.html#disabled">TreeNode</a></td> |
---|
282 | </tr> |
---|
283 | <tr class="property-row inherited alt"> |
---|
284 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
285 | <td class="sig"> |
---|
286 | <a id="Ext.tree.AsyncTreeNode-firstChild"></a> |
---|
287 | <b>firstChild</b> : Node <div class="mdesc"> |
---|
288 | The first direct child node of this node, or null if this node has no child nodes. </div> |
---|
289 | </td> |
---|
290 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#firstChild" href="output/Ext.data.Node.html#firstChild">Node</a></td> |
---|
291 | </tr> |
---|
292 | <tr class="property-row inherited"> |
---|
293 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
294 | <td class="sig"> |
---|
295 | <a id="Ext.tree.AsyncTreeNode-id"></a> |
---|
296 | <b>id</b> : String <div class="mdesc"> |
---|
297 | The node id. </div> |
---|
298 | </td> |
---|
299 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#id" href="output/Ext.data.Node.html#id">Node</a></td> |
---|
300 | </tr> |
---|
301 | <tr class="property-row inherited alt"> |
---|
302 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
303 | <td class="sig"> |
---|
304 | <a id="Ext.tree.AsyncTreeNode-lastChild"></a> |
---|
305 | <b>lastChild</b> : Node <div class="mdesc"> |
---|
306 | The last direct child node of this node, or null if this node has no child nodes. </div> |
---|
307 | </td> |
---|
308 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#lastChild" href="output/Ext.data.Node.html#lastChild">Node</a></td> |
---|
309 | </tr> |
---|
310 | <tr class="property-row"> |
---|
311 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
312 | <td class="sig"> |
---|
313 | <a id="Ext.tree.AsyncTreeNode-loader"></a> |
---|
314 | <b>loader</b> : TreeLoader <div class="mdesc"> |
---|
315 | |
---|
316 | The loader used by this node (defaults to using the tree's defined loader) </div> |
---|
317 | </td> |
---|
318 | <td class="msource">AsyncTreeNode</td> |
---|
319 | </tr> |
---|
320 | <tr class="property-row inherited alt"> |
---|
321 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
322 | <td class="sig"> |
---|
323 | <a id="Ext.tree.AsyncTreeNode-nextSibling"></a> |
---|
324 | <b>nextSibling</b> : Node <div class="mdesc"> |
---|
325 | The node immediately following this node in the tree, or null if there is no sibling node. </div> |
---|
326 | </td> |
---|
327 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#nextSibling" href="output/Ext.data.Node.html#nextSibling">Node</a></td> |
---|
328 | </tr> |
---|
329 | <tr class="property-row inherited"> |
---|
330 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
331 | <td class="sig"> |
---|
332 | <a id="Ext.tree.AsyncTreeNode-parentNode"></a> |
---|
333 | <b>parentNode</b> : Node <div class="mdesc"> |
---|
334 | The parent node for this node. </div> |
---|
335 | </td> |
---|
336 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#parentNode" href="output/Ext.data.Node.html#parentNode">Node</a></td> |
---|
337 | </tr> |
---|
338 | <tr class="property-row inherited alt"> |
---|
339 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
340 | <td class="sig"> |
---|
341 | <a id="Ext.tree.AsyncTreeNode-previousSibling"></a> |
---|
342 | <b>previousSibling</b> : Node <div class="mdesc"> |
---|
343 | The node immediately preceding this node in the tree, or null if there is no sibling node. </div> |
---|
344 | </td> |
---|
345 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#previousSibling" href="output/Ext.data.Node.html#previousSibling">Node</a></td> |
---|
346 | </tr> |
---|
347 | <tr class="property-row inherited"> |
---|
348 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
349 | <td class="sig"> |
---|
350 | <a id="Ext.tree.AsyncTreeNode-text"></a> |
---|
351 | <b>text</b> : String <div class="mdesc"> |
---|
352 | Read-only. The text for this node. To change it use setText(). </div> |
---|
353 | </td> |
---|
354 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#text" href="output/Ext.tree.TreeNode.html#text">TreeNode</a></td> |
---|
355 | </tr> |
---|
356 | <tr class="property-row inherited alt"> |
---|
357 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
358 | <td class="sig"> |
---|
359 | <a id="Ext.tree.AsyncTreeNode-ui"></a> |
---|
360 | <b>ui</b> : TreeNodeUI <div class="mdesc"> |
---|
361 | Read-only. The UI for this node </div> |
---|
362 | </td> |
---|
363 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#ui" href="output/Ext.tree.TreeNode.html#ui">TreeNode</a></td> |
---|
364 | </tr> |
---|
365 | </table> |
---|
366 | <a id="Ext.tree.AsyncTreeNode-methods"></a> |
---|
367 | <h2>Public Methods</h2> |
---|
368 | <table cellspacing="0" class="member-table"> |
---|
369 | <tr> |
---|
370 | <th class="sig-header" colspan="2">Method</th> |
---|
371 | <th class="msource-header">Defined By</th> |
---|
372 | </tr> |
---|
373 | <tr class="method-row expandable"> |
---|
374 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
375 | <td class="sig"> |
---|
376 | <a id="Ext.tree.AsyncTreeNode-AsyncTreeNode"></a> |
---|
377 | <b>AsyncTreeNode</b>( <code>Object/String attributes</code> ) <div class="mdesc"> |
---|
378 | <div class="short"></div> |
---|
379 | <div class="long"> |
---|
380 | <div class="mdetail-params"> |
---|
381 | <strong>Parameters:</strong> |
---|
382 | <ul><li><code>attributes</code> : Object/String<div class="sub-desc">The attributes/config for the node or just a string with the text for the node</div></li> </ul> |
---|
383 | <strong>Returns:</strong> |
---|
384 | <ul> |
---|
385 | <li><code></code></li> |
---|
386 | </ul> |
---|
387 | </div> |
---|
388 | </div> |
---|
389 | </div> |
---|
390 | </td> |
---|
391 | <td class="msource">AsyncTreeNode</td> |
---|
392 | </tr> |
---|
393 | <tr class="method-row inherited alt expandable"> |
---|
394 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
395 | <td class="sig"> |
---|
396 | <a id="Ext.tree.AsyncTreeNode-addEvents"></a> |
---|
397 | <b>addEvents</b>( <code>Object object</code> ) : void <div class="mdesc"> |
---|
398 | <div class="short">Used to define events on this Observable</div> |
---|
399 | <div class="long"> |
---|
400 | Used to define events on this Observable <div class="mdetail-params"> |
---|
401 | <strong>Parameters:</strong> |
---|
402 | <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li> </ul> |
---|
403 | <strong>Returns:</strong> |
---|
404 | <ul> |
---|
405 | <li><code>void</code></li> |
---|
406 | </ul> |
---|
407 | </div> |
---|
408 | </div> |
---|
409 | </div> |
---|
410 | </td> |
---|
411 | <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td> |
---|
412 | </tr> |
---|
413 | <tr class="method-row inherited expandable"> |
---|
414 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
415 | <td class="sig"> |
---|
416 | <a id="Ext.tree.AsyncTreeNode-addListener"></a> |
---|
417 | <b>addListener</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span> ) : void <div class="mdesc"> |
---|
418 | <div class="short">Appends an event handler to this component</div> |
---|
419 | <div class="long"> |
---|
420 | Appends an event handler to this component <div class="mdetail-params"> |
---|
421 | <strong>Parameters:</strong> |
---|
422 | <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler |
---|
423 | function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration |
---|
424 | properties. This may contain any of the following properties:<ul> |
---|
425 | <li><b>scope</b> : Object<p class="sub-desc">The scope in which to execute the handler function. The handler function's "this" context.</p></li> |
---|
426 | <li><b>delay</b> : Number<p class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</p></li> |
---|
427 | <li><b>single</b> : Boolean<p class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</p></li> |
---|
428 | <li><b>buffer</b> : Number<p class="sub-desc">Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed |
---|
429 | by the specified number of milliseconds. If the event fires again within that time, the original |
---|
430 | handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li> |
---|
431 | </ul><br> |
---|
432 | <p> |
---|
433 | <b>Combining Options</b><br> |
---|
434 | Using the options argument, it is possible to combine different types of listeners:<br> |
---|
435 | <br> |
---|
436 | A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId) |
---|
437 | <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, { |
---|
438 | single: true, |
---|
439 | delay: 100, |
---|
440 | forumId: 4 |
---|
441 | });</code></pre> |
---|
442 | <p> |
---|
443 | <b>Attaching multiple handlers in 1 call</b><br> |
---|
444 | The method also allows for a single argument to be passed which is a config object containing properties |
---|
445 | which specify multiple handlers. |
---|
446 | <p> |
---|
447 | <pre><code>foo.on({ |
---|
448 | <em>'click'</em> : { |
---|
449 | fn: <b>this</b>.onClick, |
---|
450 | scope: <b>this</b>, |
---|
451 | delay: 100 |
---|
452 | }, |
---|
453 | <em>'mouseover'</em> : { |
---|
454 | fn: <b>this</b>.onMouseOver, |
---|
455 | scope: <b>this</b> |
---|
456 | }, |
---|
457 | <em>'mouseout'</em> : { |
---|
458 | fn: <b>this</b>.onMouseOut, |
---|
459 | scope: <b>this</b> |
---|
460 | } |
---|
461 | });</code></pre> |
---|
462 | <p> |
---|
463 | Or a shorthand syntax:<br> |
---|
464 | <pre><code>foo.on({ |
---|
465 | <em>'click'</em> : <b>this</b>.onClick, |
---|
466 | <em>'mouseover'</em> : <b>this</b>.onMouseOver, |
---|
467 | <em>'mouseout'</em> : <b>this</b>.onMouseOut, |
---|
468 | scope: <b>this</b> |
---|
469 | });</code></pre></div></li> </ul> |
---|
470 | <strong>Returns:</strong> |
---|
471 | <ul> |
---|
472 | <li><code>void</code></li> |
---|
473 | </ul> |
---|
474 | </div> |
---|
475 | </div> |
---|
476 | </div> |
---|
477 | </td> |
---|
478 | <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td> |
---|
479 | </tr> |
---|
480 | <tr class="method-row inherited alt expandable"> |
---|
481 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
482 | <td class="sig"> |
---|
483 | <a id="Ext.tree.AsyncTreeNode-appendChild"></a> |
---|
484 | <b>appendChild</b>( <code>Node/Array node</code> ) : Node <div class="mdesc"> |
---|
485 | <div class="short">Insert node(s) as the last child node of this node.</div> |
---|
486 | <div class="long"> |
---|
487 | Insert node(s) as the last child node of this node. <div class="mdetail-params"> |
---|
488 | <strong>Parameters:</strong> |
---|
489 | <ul><li><code>node</code> : Node/Array<div class="sub-desc">The node or Array of nodes to append</div></li> </ul> |
---|
490 | <strong>Returns:</strong> |
---|
491 | <ul> |
---|
492 | <li><code>Node</code><div class="sub-desc">The appended node if single append, or null if an array was passed</div></li> |
---|
493 | </ul> |
---|
494 | </div> |
---|
495 | </div> |
---|
496 | </div> |
---|
497 | </td> |
---|
498 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#appendChild" href="output/Ext.data.Node.html#appendChild">Node</a></td> |
---|
499 | </tr> |
---|
500 | <tr class="method-row inherited expandable"> |
---|
501 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
502 | <td class="sig"> |
---|
503 | <a id="Ext.tree.AsyncTreeNode-bubble"></a> |
---|
504 | <b>bubble</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span> ) : void <div class="mdesc"> |
---|
505 | <div class="short">Bubbles up the tree from this node, calling the specified function with each node. The scope (this) of |
---|
506 | function call ...</div> |
---|
507 | <div class="long"> |
---|
508 | Bubbles up the tree from this node, calling the specified function with each node. The scope (<i>this</i>) of |
---|
509 | function call will be the scope provided or the current node. The arguments to the function |
---|
510 | will be the args provided or the current node. If the function returns false at any point, |
---|
511 | the bubble is stopped. <div class="mdetail-params"> |
---|
512 | <strong>Parameters:</strong> |
---|
513 | <ul><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to current node)</div></li><li><code>args</code> : Array<div class="sub-desc">(optional) The args to call the function with (default to passing the current node)</div></li> </ul> |
---|
514 | <strong>Returns:</strong> |
---|
515 | <ul> |
---|
516 | <li><code>void</code></li> |
---|
517 | </ul> |
---|
518 | </div> |
---|
519 | </div> |
---|
520 | </div> |
---|
521 | </td> |
---|
522 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#bubble" href="output/Ext.data.Node.html#bubble">Node</a></td> |
---|
523 | </tr> |
---|
524 | <tr class="method-row inherited alt expandable"> |
---|
525 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
526 | <td class="sig"> |
---|
527 | <a id="Ext.tree.AsyncTreeNode-cascade"></a> |
---|
528 | <b>cascade</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span> ) : void <div class="mdesc"> |
---|
529 | <div class="short">Cascades down the tree from this node, calling the specified function with each node. The scope (this) of |
---|
530 | function ca...</div> |
---|
531 | <div class="long"> |
---|
532 | Cascades down the tree from this node, calling the specified function with each node. The scope (<i>this</i>) of |
---|
533 | function call will be the scope provided or the current node. The arguments to the function |
---|
534 | will be the args provided or the current node. If the function returns false at any point, |
---|
535 | the cascade is stopped on that branch. <div class="mdetail-params"> |
---|
536 | <strong>Parameters:</strong> |
---|
537 | <ul><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to current node)</div></li><li><code>args</code> : Array<div class="sub-desc">(optional) The args to call the function with (default to passing the current node)</div></li> </ul> |
---|
538 | <strong>Returns:</strong> |
---|
539 | <ul> |
---|
540 | <li><code>void</code></li> |
---|
541 | </ul> |
---|
542 | </div> |
---|
543 | </div> |
---|
544 | </div> |
---|
545 | </td> |
---|
546 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#cascade" href="output/Ext.data.Node.html#cascade">Node</a></td> |
---|
547 | </tr> |
---|
548 | <tr class="method-row inherited expandable"> |
---|
549 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
550 | <td class="sig"> |
---|
551 | <a id="Ext.tree.AsyncTreeNode-collapse"></a> |
---|
552 | <b>collapse</b>( <span class="optional" title="Optional">[<code>Boolean deep</code>]</span>, <span class="optional" title="Optional">[<code>Boolean anim</code>]</span> ) : void <div class="mdesc"> |
---|
553 | <div class="short">Collapse this node.</div> |
---|
554 | <div class="long"> |
---|
555 | Collapse this node. <div class="mdetail-params"> |
---|
556 | <strong>Parameters:</strong> |
---|
557 | <ul><li><code>deep</code> : Boolean<div class="sub-desc">(optional) True to collapse all children as well</div></li><li><code>anim</code> : Boolean<div class="sub-desc">(optional) false to cancel the default animation</div></li> </ul> |
---|
558 | <strong>Returns:</strong> |
---|
559 | <ul> |
---|
560 | <li><code>void</code></li> |
---|
561 | </ul> |
---|
562 | </div> |
---|
563 | </div> |
---|
564 | </div> |
---|
565 | </td> |
---|
566 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#collapse" href="output/Ext.tree.TreeNode.html#collapse">TreeNode</a></td> |
---|
567 | </tr> |
---|
568 | <tr class="method-row inherited alt expandable"> |
---|
569 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
570 | <td class="sig"> |
---|
571 | <a id="Ext.tree.AsyncTreeNode-collapseChildNodes"></a> |
---|
572 | <b>collapseChildNodes</b>( <span class="optional" title="Optional">[<code>Boolean deep</code>]</span> ) : void <div class="mdesc"> |
---|
573 | <div class="short">Collapse all child nodes</div> |
---|
574 | <div class="long"> |
---|
575 | Collapse all child nodes <div class="mdetail-params"> |
---|
576 | <strong>Parameters:</strong> |
---|
577 | <ul><li><code>deep</code> : Boolean<div class="sub-desc">(optional) true if the child nodes should also collapse their child nodes</div></li> </ul> |
---|
578 | <strong>Returns:</strong> |
---|
579 | <ul> |
---|
580 | <li><code>void</code></li> |
---|
581 | </ul> |
---|
582 | </div> |
---|
583 | </div> |
---|
584 | </div> |
---|
585 | </td> |
---|
586 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#collapseChildNodes" href="output/Ext.tree.TreeNode.html#collapseChildNodes">TreeNode</a></td> |
---|
587 | </tr> |
---|
588 | <tr class="method-row inherited expandable"> |
---|
589 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
590 | <td class="sig"> |
---|
591 | <a id="Ext.tree.AsyncTreeNode-contains"></a> |
---|
592 | <b>contains</b>( <code>Node node</code> ) : Boolean <div class="mdesc"> |
---|
593 | <div class="short">Returns true if this node is an ancestor (at any point) of the passed node.</div> |
---|
594 | <div class="long"> |
---|
595 | Returns true if this node is an ancestor (at any point) of the passed node. <div class="mdetail-params"> |
---|
596 | <strong>Parameters:</strong> |
---|
597 | <ul><li><code>node</code> : Node<div class="sub-desc"></div></li> </ul> |
---|
598 | <strong>Returns:</strong> |
---|
599 | <ul> |
---|
600 | <li><code>Boolean</code></li> |
---|
601 | </ul> |
---|
602 | </div> |
---|
603 | </div> |
---|
604 | </div> |
---|
605 | </td> |
---|
606 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#contains" href="output/Ext.data.Node.html#contains">Node</a></td> |
---|
607 | </tr> |
---|
608 | <tr class="method-row inherited alt expandable"> |
---|
609 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
610 | <td class="sig"> |
---|
611 | <a id="Ext.tree.AsyncTreeNode-disable"></a> |
---|
612 | <b>disable</b>() : void <div class="mdesc"> |
---|
613 | <div class="short">Disables this node</div> |
---|
614 | <div class="long"> |
---|
615 | Disables this node <div class="mdetail-params"> |
---|
616 | <strong>Parameters:</strong> |
---|
617 | <ul><li>None.</li> </ul> |
---|
618 | <strong>Returns:</strong> |
---|
619 | <ul> |
---|
620 | <li><code>void</code></li> |
---|
621 | </ul> |
---|
622 | </div> |
---|
623 | </div> |
---|
624 | </div> |
---|
625 | </td> |
---|
626 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#disable" href="output/Ext.tree.TreeNode.html#disable">TreeNode</a></td> |
---|
627 | </tr> |
---|
628 | <tr class="method-row inherited expandable"> |
---|
629 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
630 | <td class="sig"> |
---|
631 | <a id="Ext.tree.AsyncTreeNode-eachChild"></a> |
---|
632 | <b>eachChild</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span> ) : void <div class="mdesc"> |
---|
633 | <div class="short">Iterates the child nodes of this node, calling the specified function with each node. The scope (this) of |
---|
634 | function ca...</div> |
---|
635 | <div class="long"> |
---|
636 | Iterates the child nodes of this node, calling the specified function with each node. The scope (<i>this</i>) of |
---|
637 | function call will be the scope provided or the current node. The arguments to the function |
---|
638 | will be the args provided or the current node. If the function returns false at any point, |
---|
639 | the iteration stops. <div class="mdetail-params"> |
---|
640 | <strong>Parameters:</strong> |
---|
641 | <ul><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to current node)</div></li><li><code>args</code> : Array<div class="sub-desc">(optional) The args to call the function with (default to passing the current node)</div></li> </ul> |
---|
642 | <strong>Returns:</strong> |
---|
643 | <ul> |
---|
644 | <li><code>void</code></li> |
---|
645 | </ul> |
---|
646 | </div> |
---|
647 | </div> |
---|
648 | </div> |
---|
649 | </td> |
---|
650 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#eachChild" href="output/Ext.data.Node.html#eachChild">Node</a></td> |
---|
651 | </tr> |
---|
652 | <tr class="method-row inherited alt expandable"> |
---|
653 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
654 | <td class="sig"> |
---|
655 | <a id="Ext.tree.AsyncTreeNode-enable"></a> |
---|
656 | <b>enable</b>() : void <div class="mdesc"> |
---|
657 | <div class="short">Enables this node</div> |
---|
658 | <div class="long"> |
---|
659 | Enables this node <div class="mdetail-params"> |
---|
660 | <strong>Parameters:</strong> |
---|
661 | <ul><li>None.</li> </ul> |
---|
662 | <strong>Returns:</strong> |
---|
663 | <ul> |
---|
664 | <li><code>void</code></li> |
---|
665 | </ul> |
---|
666 | </div> |
---|
667 | </div> |
---|
668 | </div> |
---|
669 | </td> |
---|
670 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#enable" href="output/Ext.tree.TreeNode.html#enable">TreeNode</a></td> |
---|
671 | </tr> |
---|
672 | <tr class="method-row inherited expandable"> |
---|
673 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
674 | <td class="sig"> |
---|
675 | <a id="Ext.tree.AsyncTreeNode-ensureVisible"></a> |
---|
676 | <b>ensureVisible</b>( <span class="optional" title="Optional">[<code>Function callback</code>]</span> ) : void <div class="mdesc"> |
---|
677 | <div class="short">Ensures all parent nodes are expanded, and if necessary, scrolls |
---|
678 | the node into view.</div> |
---|
679 | <div class="long"> |
---|
680 | Ensures all parent nodes are expanded, and if necessary, scrolls |
---|
681 | the node into view. <div class="mdetail-params"> |
---|
682 | <strong>Parameters:</strong> |
---|
683 | <ul><li><code>callback</code> : Function<div class="sub-desc">(optional) A function to call when the node has been made visible.</div></li> </ul> |
---|
684 | <strong>Returns:</strong> |
---|
685 | <ul> |
---|
686 | <li><code>void</code></li> |
---|
687 | </ul> |
---|
688 | </div> |
---|
689 | </div> |
---|
690 | </div> |
---|
691 | </td> |
---|
692 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#ensureVisible" href="output/Ext.tree.TreeNode.html#ensureVisible">TreeNode</a></td> |
---|
693 | </tr> |
---|
694 | <tr class="method-row inherited alt expandable"> |
---|
695 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
696 | <td class="sig"> |
---|
697 | <a id="Ext.tree.AsyncTreeNode-expand"></a> |
---|
698 | <b>expand</b>( <span class="optional" title="Optional">[<code>Boolean deep</code>]</span>, <span class="optional" title="Optional">[<code>Boolean anim</code>]</span>, <span class="optional" title="Optional">[<code>Function callback</code>]</span> ) : void <div class="mdesc"> |
---|
699 | <div class="short">Expand this node.</div> |
---|
700 | <div class="long"> |
---|
701 | Expand this node. <div class="mdetail-params"> |
---|
702 | <strong>Parameters:</strong> |
---|
703 | <ul><li><code>deep</code> : Boolean<div class="sub-desc">(optional) True to expand all children as well</div></li><li><code>anim</code> : Boolean<div class="sub-desc">(optional) false to cancel the default animation</div></li><li><code>callback</code> : Function<div class="sub-desc">(optional) A callback to be called when |
---|
704 | expanding this node completes (does not wait for deep expand to complete). |
---|
705 | Called with 1 parameter, this node.</div></li> </ul> |
---|
706 | <strong>Returns:</strong> |
---|
707 | <ul> |
---|
708 | <li><code>void</code></li> |
---|
709 | </ul> |
---|
710 | </div> |
---|
711 | </div> |
---|
712 | </div> |
---|
713 | </td> |
---|
714 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#expand" href="output/Ext.tree.TreeNode.html#expand">TreeNode</a></td> |
---|
715 | </tr> |
---|
716 | <tr class="method-row inherited expandable"> |
---|
717 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
718 | <td class="sig"> |
---|
719 | <a id="Ext.tree.AsyncTreeNode-expandChildNodes"></a> |
---|
720 | <b>expandChildNodes</b>( <span class="optional" title="Optional">[<code>Boolean deep</code>]</span> ) : void <div class="mdesc"> |
---|
721 | <div class="short">Expand all child nodes</div> |
---|
722 | <div class="long"> |
---|
723 | Expand all child nodes <div class="mdetail-params"> |
---|
724 | <strong>Parameters:</strong> |
---|
725 | <ul><li><code>deep</code> : Boolean<div class="sub-desc">(optional) true if the child nodes should also expand their child nodes</div></li> </ul> |
---|
726 | <strong>Returns:</strong> |
---|
727 | <ul> |
---|
728 | <li><code>void</code></li> |
---|
729 | </ul> |
---|
730 | </div> |
---|
731 | </div> |
---|
732 | </div> |
---|
733 | </td> |
---|
734 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#expandChildNodes" href="output/Ext.tree.TreeNode.html#expandChildNodes">TreeNode</a></td> |
---|
735 | </tr> |
---|
736 | <tr class="method-row inherited alt expandable"> |
---|
737 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
738 | <td class="sig"> |
---|
739 | <a id="Ext.tree.AsyncTreeNode-findChild"></a> |
---|
740 | <b>findChild</b>( <code>String attribute</code>, <code>Mixed value</code> ) : Node <div class="mdesc"> |
---|
741 | <div class="short">Finds the first child that has the attribute with the specified value.</div> |
---|
742 | <div class="long"> |
---|
743 | Finds the first child that has the attribute with the specified value. <div class="mdetail-params"> |
---|
744 | <strong>Parameters:</strong> |
---|
745 | <ul><li><code>attribute</code> : String<div class="sub-desc">The attribute name</div></li><li><code>value</code> : Mixed<div class="sub-desc">The value to search for</div></li> </ul> |
---|
746 | <strong>Returns:</strong> |
---|
747 | <ul> |
---|
748 | <li><code>Node</code><div class="sub-desc">The found child or null if none was found</div></li> |
---|
749 | </ul> |
---|
750 | </div> |
---|
751 | </div> |
---|
752 | </div> |
---|
753 | </td> |
---|
754 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#findChild" href="output/Ext.data.Node.html#findChild">Node</a></td> |
---|
755 | </tr> |
---|
756 | <tr class="method-row inherited expandable"> |
---|
757 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
758 | <td class="sig"> |
---|
759 | <a id="Ext.tree.AsyncTreeNode-findChildBy"></a> |
---|
760 | <b>findChildBy</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : Node <div class="mdesc"> |
---|
761 | <div class="short">Finds the first child by a custom function. The child matches if the function passed |
---|
762 | returns true.</div> |
---|
763 | <div class="long"> |
---|
764 | Finds the first child by a custom function. The child matches if the function passed |
---|
765 | returns true. <div class="mdetail-params"> |
---|
766 | <strong>Parameters:</strong> |
---|
767 | <ul><li><code>fn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li> </ul> |
---|
768 | <strong>Returns:</strong> |
---|
769 | <ul> |
---|
770 | <li><code>Node</code><div class="sub-desc">The found child or null if none was found</div></li> |
---|
771 | </ul> |
---|
772 | </div> |
---|
773 | </div> |
---|
774 | </div> |
---|
775 | </td> |
---|
776 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#findChildBy" href="output/Ext.data.Node.html#findChildBy">Node</a></td> |
---|
777 | </tr> |
---|
778 | <tr class="method-row inherited alt expandable"> |
---|
779 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
780 | <td class="sig"> |
---|
781 | <a id="Ext.tree.AsyncTreeNode-fireEvent"></a> |
---|
782 | <b>fireEvent</b>( <code>String eventName</code>, <code>Object... args</code> ) : Boolean <div class="mdesc"> |
---|
783 | <div class="short">Fires the specified event with the passed parameters (minus the event name).</div> |
---|
784 | <div class="long"> |
---|
785 | Fires the specified event with the passed parameters (minus the event name). <div class="mdetail-params"> |
---|
786 | <strong>Parameters:</strong> |
---|
787 | <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li> </ul> |
---|
788 | <strong>Returns:</strong> |
---|
789 | <ul> |
---|
790 | <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li> |
---|
791 | </ul> |
---|
792 | </div> |
---|
793 | </div> |
---|
794 | </div> |
---|
795 | </td> |
---|
796 | <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td> |
---|
797 | </tr> |
---|
798 | <tr class="method-row inherited expandable"> |
---|
799 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
800 | <td class="sig"> |
---|
801 | <a id="Ext.tree.AsyncTreeNode-getDepth"></a> |
---|
802 | <b>getDepth</b>() : Number <div class="mdesc"> |
---|
803 | <div class="short">Returns depth of this node (the root node has a depth of 0)</div> |
---|
804 | <div class="long"> |
---|
805 | Returns depth of this node (the root node has a depth of 0) <div class="mdetail-params"> |
---|
806 | <strong>Parameters:</strong> |
---|
807 | <ul><li>None.</li> </ul> |
---|
808 | <strong>Returns:</strong> |
---|
809 | <ul> |
---|
810 | <li><code>Number</code></li> |
---|
811 | </ul> |
---|
812 | </div> |
---|
813 | </div> |
---|
814 | </div> |
---|
815 | </td> |
---|
816 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#getDepth" href="output/Ext.data.Node.html#getDepth">Node</a></td> |
---|
817 | </tr> |
---|
818 | <tr class="method-row inherited alt expandable"> |
---|
819 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
820 | <td class="sig"> |
---|
821 | <a id="Ext.tree.AsyncTreeNode-getOwnerTree"></a> |
---|
822 | <b>getOwnerTree</b>() : Tree <div class="mdesc"> |
---|
823 | <div class="short">Returns the tree this node is in.</div> |
---|
824 | <div class="long"> |
---|
825 | Returns the tree this node is in. <div class="mdetail-params"> |
---|
826 | <strong>Parameters:</strong> |
---|
827 | <ul><li>None.</li> </ul> |
---|
828 | <strong>Returns:</strong> |
---|
829 | <ul> |
---|
830 | <li><code>Tree</code></li> |
---|
831 | </ul> |
---|
832 | </div> |
---|
833 | </div> |
---|
834 | </div> |
---|
835 | </td> |
---|
836 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#getOwnerTree" href="output/Ext.data.Node.html#getOwnerTree">Node</a></td> |
---|
837 | </tr> |
---|
838 | <tr class="method-row inherited expandable"> |
---|
839 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
840 | <td class="sig"> |
---|
841 | <a id="Ext.tree.AsyncTreeNode-getPath"></a> |
---|
842 | <b>getPath</b>( <span class="optional" title="Optional">[<code>String attr</code>]</span> ) : String <div class="mdesc"> |
---|
843 | <div class="short">Returns the path for this node. The path can be used to expand or select this node programmatically.</div> |
---|
844 | <div class="long"> |
---|
845 | Returns the path for this node. The path can be used to expand or select this node programmatically. <div class="mdetail-params"> |
---|
846 | <strong>Parameters:</strong> |
---|
847 | <ul><li><code>attr</code> : String<div class="sub-desc">(optional) The attr to use for the path (defaults to the node's id)</div></li> </ul> |
---|
848 | <strong>Returns:</strong> |
---|
849 | <ul> |
---|
850 | <li><code>String</code><div class="sub-desc">The path</div></li> |
---|
851 | </ul> |
---|
852 | </div> |
---|
853 | </div> |
---|
854 | </div> |
---|
855 | </td> |
---|
856 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#getPath" href="output/Ext.data.Node.html#getPath">Node</a></td> |
---|
857 | </tr> |
---|
858 | <tr class="method-row inherited alt expandable"> |
---|
859 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
860 | <td class="sig"> |
---|
861 | <a id="Ext.tree.AsyncTreeNode-getUI"></a> |
---|
862 | <b>getUI</b>() : TreeNodeUI <div class="mdesc"> |
---|
863 | <div class="short">Returns the UI object for this node.</div> |
---|
864 | <div class="long"> |
---|
865 | Returns the UI object for this node. <div class="mdetail-params"> |
---|
866 | <strong>Parameters:</strong> |
---|
867 | <ul><li>None.</li> </ul> |
---|
868 | <strong>Returns:</strong> |
---|
869 | <ul> |
---|
870 | <li><code>TreeNodeUI</code><div class="sub-desc">The object which is providing the user interface for this tree node. Unless otherwise specified in the {@link #uiProvider}, this will be an instance of {@link Ext.tree.TreeNodeUI}</div></li> |
---|
871 | </ul> |
---|
872 | </div> |
---|
873 | </div> |
---|
874 | </div> |
---|
875 | </td> |
---|
876 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#getUI" href="output/Ext.tree.TreeNode.html#getUI">TreeNode</a></td> |
---|
877 | </tr> |
---|
878 | <tr class="method-row inherited expandable"> |
---|
879 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
880 | <td class="sig"> |
---|
881 | <a id="Ext.tree.AsyncTreeNode-hasChildNodes"></a> |
---|
882 | <b>hasChildNodes</b>() : Boolean <div class="mdesc"> |
---|
883 | <div class="short">Returns true if this node has one or more child nodes, else false.</div> |
---|
884 | <div class="long"> |
---|
885 | Returns true if this node has one or more child nodes, else false. <div class="mdetail-params"> |
---|
886 | <strong>Parameters:</strong> |
---|
887 | <ul><li>None.</li> </ul> |
---|
888 | <strong>Returns:</strong> |
---|
889 | <ul> |
---|
890 | <li><code>Boolean</code></li> |
---|
891 | </ul> |
---|
892 | </div> |
---|
893 | </div> |
---|
894 | </div> |
---|
895 | </td> |
---|
896 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#hasChildNodes" href="output/Ext.data.Node.html#hasChildNodes">Node</a></td> |
---|
897 | </tr> |
---|
898 | <tr class="method-row inherited alt expandable"> |
---|
899 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
900 | <td class="sig"> |
---|
901 | <a id="Ext.tree.AsyncTreeNode-hasListener"></a> |
---|
902 | <b>hasListener</b>( <code>String eventName</code> ) : Boolean <div class="mdesc"> |
---|
903 | <div class="short">Checks to see if this object has any listeners for a specified event</div> |
---|
904 | <div class="long"> |
---|
905 | Checks to see if this object has any listeners for a specified event <div class="mdetail-params"> |
---|
906 | <strong>Parameters:</strong> |
---|
907 | <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li> </ul> |
---|
908 | <strong>Returns:</strong> |
---|
909 | <ul> |
---|
910 | <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li> |
---|
911 | </ul> |
---|
912 | </div> |
---|
913 | </div> |
---|
914 | </div> |
---|
915 | </td> |
---|
916 | <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td> |
---|
917 | </tr> |
---|
918 | <tr class="method-row inherited expandable"> |
---|
919 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
920 | <td class="sig"> |
---|
921 | <a id="Ext.tree.AsyncTreeNode-indexOf"></a> |
---|
922 | <b>indexOf</b>( <code>Node node</code> ) : Number <div class="mdesc"> |
---|
923 | <div class="short">Returns the index of a child node</div> |
---|
924 | <div class="long"> |
---|
925 | Returns the index of a child node <div class="mdetail-params"> |
---|
926 | <strong>Parameters:</strong> |
---|
927 | <ul><li><code>node</code> : Node<div class="sub-desc"></div></li> </ul> |
---|
928 | <strong>Returns:</strong> |
---|
929 | <ul> |
---|
930 | <li><code>Number</code><div class="sub-desc">The index of the node or -1 if it was not found</div></li> |
---|
931 | </ul> |
---|
932 | </div> |
---|
933 | </div> |
---|
934 | </div> |
---|
935 | </td> |
---|
936 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#indexOf" href="output/Ext.data.Node.html#indexOf">Node</a></td> |
---|
937 | </tr> |
---|
938 | <tr class="method-row inherited alt expandable"> |
---|
939 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
940 | <td class="sig"> |
---|
941 | <a id="Ext.tree.AsyncTreeNode-insertBefore"></a> |
---|
942 | <b>insertBefore</b>( <code>Node node</code>, <code>Node refNode</code> ) : Node <div class="mdesc"> |
---|
943 | <div class="short">Inserts the first node before the second node in this nodes childNodes collection.</div> |
---|
944 | <div class="long"> |
---|
945 | Inserts the first node before the second node in this nodes childNodes collection. <div class="mdetail-params"> |
---|
946 | <strong>Parameters:</strong> |
---|
947 | <ul><li><code>node</code> : Node<div class="sub-desc">The node to insert</div></li><li><code>refNode</code> : Node<div class="sub-desc">The node to insert before (if null the node is appended)</div></li> </ul> |
---|
948 | <strong>Returns:</strong> |
---|
949 | <ul> |
---|
950 | <li><code>Node</code><div class="sub-desc">The inserted node</div></li> |
---|
951 | </ul> |
---|
952 | </div> |
---|
953 | </div> |
---|
954 | </div> |
---|
955 | </td> |
---|
956 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#insertBefore" href="output/Ext.data.Node.html#insertBefore">Node</a></td> |
---|
957 | </tr> |
---|
958 | <tr class="method-row inherited expandable"> |
---|
959 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
960 | <td class="sig"> |
---|
961 | <a id="Ext.tree.AsyncTreeNode-isAncestor"></a> |
---|
962 | <b>isAncestor</b>( <code>Node node</code> ) : Boolean <div class="mdesc"> |
---|
963 | <div class="short">Returns true if the passed node is an ancestor (at any point) of this node.</div> |
---|
964 | <div class="long"> |
---|
965 | Returns true if the passed node is an ancestor (at any point) of this node. <div class="mdetail-params"> |
---|
966 | <strong>Parameters:</strong> |
---|
967 | <ul><li><code>node</code> : Node<div class="sub-desc"></div></li> </ul> |
---|
968 | <strong>Returns:</strong> |
---|
969 | <ul> |
---|
970 | <li><code>Boolean</code></li> |
---|
971 | </ul> |
---|
972 | </div> |
---|
973 | </div> |
---|
974 | </div> |
---|
975 | </td> |
---|
976 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#isAncestor" href="output/Ext.data.Node.html#isAncestor">Node</a></td> |
---|
977 | </tr> |
---|
978 | <tr class="method-row inherited alt expandable"> |
---|
979 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
980 | <td class="sig"> |
---|
981 | <a id="Ext.tree.AsyncTreeNode-isExpandable"></a> |
---|
982 | <b>isExpandable</b>() : Boolean <div class="mdesc"> |
---|
983 | <div class="short">Returns true if this node has one or more child nodes, or if the expandable |
---|
984 | node attribute is explicitly specified as...</div> |
---|
985 | <div class="long"> |
---|
986 | Returns true if this node has one or more child nodes, or if the <tt>expandable</tt> |
---|
987 | node attribute is explicitly specified as true (see <a ext:cls="Ext.data.Node" ext:member="attributes" href="output/Ext.data.Node.html#attributes">attributes</a>), otherwise returns false. <div class="mdetail-params"> |
---|
988 | <strong>Parameters:</strong> |
---|
989 | <ul><li>None.</li> </ul> |
---|
990 | <strong>Returns:</strong> |
---|
991 | <ul> |
---|
992 | <li><code>Boolean</code></li> |
---|
993 | </ul> |
---|
994 | </div> |
---|
995 | </div> |
---|
996 | </div> |
---|
997 | </td> |
---|
998 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#isExpandable" href="output/Ext.data.Node.html#isExpandable">Node</a></td> |
---|
999 | </tr> |
---|
1000 | <tr class="method-row inherited expandable"> |
---|
1001 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1002 | <td class="sig"> |
---|
1003 | <a id="Ext.tree.AsyncTreeNode-isExpanded"></a> |
---|
1004 | <b>isExpanded</b>() : Boolean <div class="mdesc"> |
---|
1005 | <div class="short">Returns true if this node is expanded</div> |
---|
1006 | <div class="long"> |
---|
1007 | Returns true if this node is expanded <div class="mdetail-params"> |
---|
1008 | <strong>Parameters:</strong> |
---|
1009 | <ul><li>None.</li> </ul> |
---|
1010 | <strong>Returns:</strong> |
---|
1011 | <ul> |
---|
1012 | <li><code>Boolean</code></li> |
---|
1013 | </ul> |
---|
1014 | </div> |
---|
1015 | </div> |
---|
1016 | </div> |
---|
1017 | </td> |
---|
1018 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#isExpanded" href="output/Ext.tree.TreeNode.html#isExpanded">TreeNode</a></td> |
---|
1019 | </tr> |
---|
1020 | <tr class="method-row inherited alt expandable"> |
---|
1021 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1022 | <td class="sig"> |
---|
1023 | <a id="Ext.tree.AsyncTreeNode-isFirst"></a> |
---|
1024 | <b>isFirst</b>() : Boolean <div class="mdesc"> |
---|
1025 | <div class="short">Returns true if this node is the first child of its parent</div> |
---|
1026 | <div class="long"> |
---|
1027 | Returns true if this node is the first child of its parent <div class="mdetail-params"> |
---|
1028 | <strong>Parameters:</strong> |
---|
1029 | <ul><li>None.</li> </ul> |
---|
1030 | <strong>Returns:</strong> |
---|
1031 | <ul> |
---|
1032 | <li><code>Boolean</code></li> |
---|
1033 | </ul> |
---|
1034 | </div> |
---|
1035 | </div> |
---|
1036 | </div> |
---|
1037 | </td> |
---|
1038 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#isFirst" href="output/Ext.data.Node.html#isFirst">Node</a></td> |
---|
1039 | </tr> |
---|
1040 | <tr class="method-row inherited expandable"> |
---|
1041 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1042 | <td class="sig"> |
---|
1043 | <a id="Ext.tree.AsyncTreeNode-isLast"></a> |
---|
1044 | <b>isLast</b>() : Boolean <div class="mdesc"> |
---|
1045 | <div class="short">Returns true if this node is the last child of its parent</div> |
---|
1046 | <div class="long"> |
---|
1047 | Returns true if this node is the last child of its parent <div class="mdetail-params"> |
---|
1048 | <strong>Parameters:</strong> |
---|
1049 | <ul><li>None.</li> </ul> |
---|
1050 | <strong>Returns:</strong> |
---|
1051 | <ul> |
---|
1052 | <li><code>Boolean</code></li> |
---|
1053 | </ul> |
---|
1054 | </div> |
---|
1055 | </div> |
---|
1056 | </div> |
---|
1057 | </td> |
---|
1058 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#isLast" href="output/Ext.data.Node.html#isLast">Node</a></td> |
---|
1059 | </tr> |
---|
1060 | <tr class="method-row inherited alt expandable"> |
---|
1061 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1062 | <td class="sig"> |
---|
1063 | <a id="Ext.tree.AsyncTreeNode-isLeaf"></a> |
---|
1064 | <b>isLeaf</b>() : Boolean <div class="mdesc"> |
---|
1065 | <div class="short">Returns true if this node is a leaf</div> |
---|
1066 | <div class="long"> |
---|
1067 | Returns true if this node is a leaf <div class="mdetail-params"> |
---|
1068 | <strong>Parameters:</strong> |
---|
1069 | <ul><li>None.</li> </ul> |
---|
1070 | <strong>Returns:</strong> |
---|
1071 | <ul> |
---|
1072 | <li><code>Boolean</code></li> |
---|
1073 | </ul> |
---|
1074 | </div> |
---|
1075 | </div> |
---|
1076 | </div> |
---|
1077 | </td> |
---|
1078 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#isLeaf" href="output/Ext.data.Node.html#isLeaf">Node</a></td> |
---|
1079 | </tr> |
---|
1080 | <tr class="method-row expandable"> |
---|
1081 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1082 | <td class="sig"> |
---|
1083 | <a id="Ext.tree.AsyncTreeNode-isLoaded"></a> |
---|
1084 | <b>isLoaded</b>() : Boolean <div class="mdesc"> |
---|
1085 | <div class="short">Returns true if this node has been loaded</div> |
---|
1086 | <div class="long"> |
---|
1087 | Returns true if this node has been loaded <div class="mdetail-params"> |
---|
1088 | <strong>Parameters:</strong> |
---|
1089 | <ul><li>None.</li> </ul> |
---|
1090 | <strong>Returns:</strong> |
---|
1091 | <ul> |
---|
1092 | <li><code>Boolean</code></li> |
---|
1093 | </ul> |
---|
1094 | </div> |
---|
1095 | </div> |
---|
1096 | </div> |
---|
1097 | </td> |
---|
1098 | <td class="msource">AsyncTreeNode</td> |
---|
1099 | </tr> |
---|
1100 | <tr class="method-row alt expandable"> |
---|
1101 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1102 | <td class="sig"> |
---|
1103 | <a id="Ext.tree.AsyncTreeNode-isLoading"></a> |
---|
1104 | <b>isLoading</b>() : Boolean <div class="mdesc"> |
---|
1105 | <div class="short">Returns true if this node is currently loading</div> |
---|
1106 | <div class="long"> |
---|
1107 | Returns true if this node is currently loading <div class="mdetail-params"> |
---|
1108 | <strong>Parameters:</strong> |
---|
1109 | <ul><li>None.</li> </ul> |
---|
1110 | <strong>Returns:</strong> |
---|
1111 | <ul> |
---|
1112 | <li><code>Boolean</code></li> |
---|
1113 | </ul> |
---|
1114 | </div> |
---|
1115 | </div> |
---|
1116 | </div> |
---|
1117 | </td> |
---|
1118 | <td class="msource">AsyncTreeNode</td> |
---|
1119 | </tr> |
---|
1120 | <tr class="method-row inherited expandable"> |
---|
1121 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1122 | <td class="sig"> |
---|
1123 | <a id="Ext.tree.AsyncTreeNode-isSelected"></a> |
---|
1124 | <b>isSelected</b>() : Boolean <div class="mdesc"> |
---|
1125 | <div class="short">Returns true if this node is selected</div> |
---|
1126 | <div class="long"> |
---|
1127 | Returns true if this node is selected <div class="mdetail-params"> |
---|
1128 | <strong>Parameters:</strong> |
---|
1129 | <ul><li>None.</li> </ul> |
---|
1130 | <strong>Returns:</strong> |
---|
1131 | <ul> |
---|
1132 | <li><code>Boolean</code></li> |
---|
1133 | </ul> |
---|
1134 | </div> |
---|
1135 | </div> |
---|
1136 | </div> |
---|
1137 | </td> |
---|
1138 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#isSelected" href="output/Ext.tree.TreeNode.html#isSelected">TreeNode</a></td> |
---|
1139 | </tr> |
---|
1140 | <tr class="method-row inherited alt expandable"> |
---|
1141 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1142 | <td class="sig"> |
---|
1143 | <a id="Ext.tree.AsyncTreeNode-item"></a> |
---|
1144 | <b>item</b>( <code>Number index</code> ) : Node <div class="mdesc"> |
---|
1145 | <div class="short">Returns the child node at the specified index.</div> |
---|
1146 | <div class="long"> |
---|
1147 | Returns the child node at the specified index. <div class="mdetail-params"> |
---|
1148 | <strong>Parameters:</strong> |
---|
1149 | <ul><li><code>index</code> : Number<div class="sub-desc"></div></li> </ul> |
---|
1150 | <strong>Returns:</strong> |
---|
1151 | <ul> |
---|
1152 | <li><code>Node</code></li> |
---|
1153 | </ul> |
---|
1154 | </div> |
---|
1155 | </div> |
---|
1156 | </div> |
---|
1157 | </td> |
---|
1158 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#item" href="output/Ext.data.Node.html#item">Node</a></td> |
---|
1159 | </tr> |
---|
1160 | <tr class="method-row inherited expandable"> |
---|
1161 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1162 | <td class="sig"> |
---|
1163 | <a id="Ext.tree.AsyncTreeNode-on"></a> |
---|
1164 | <b>on</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span> ) : void <div class="mdesc"> |
---|
1165 | <div class="short">Appends an event handler to this element (shorthand for addListener)</div> |
---|
1166 | <div class="long"> |
---|
1167 | Appends an event handler to this element (shorthand for addListener) <div class="mdetail-params"> |
---|
1168 | <strong>Parameters:</strong> |
---|
1169 | <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler |
---|
1170 | function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li> </ul> |
---|
1171 | <strong>Returns:</strong> |
---|
1172 | <ul> |
---|
1173 | <li><code>void</code></li> |
---|
1174 | </ul> |
---|
1175 | </div> |
---|
1176 | </div> |
---|
1177 | </div> |
---|
1178 | </td> |
---|
1179 | <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td> |
---|
1180 | </tr> |
---|
1181 | <tr class="method-row inherited alt expandable"> |
---|
1182 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1183 | <td class="sig"> |
---|
1184 | <a id="Ext.tree.AsyncTreeNode-purgeListeners"></a> |
---|
1185 | <b>purgeListeners</b>() : void <div class="mdesc"> |
---|
1186 | <div class="short">Removes all listeners for this object</div> |
---|
1187 | <div class="long"> |
---|
1188 | Removes all listeners for this object <div class="mdetail-params"> |
---|
1189 | <strong>Parameters:</strong> |
---|
1190 | <ul><li>None.</li> </ul> |
---|
1191 | <strong>Returns:</strong> |
---|
1192 | <ul> |
---|
1193 | <li><code>void</code></li> |
---|
1194 | </ul> |
---|
1195 | </div> |
---|
1196 | </div> |
---|
1197 | </div> |
---|
1198 | </td> |
---|
1199 | <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td> |
---|
1200 | </tr> |
---|
1201 | <tr class="method-row inherited expandable"> |
---|
1202 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1203 | <td class="sig"> |
---|
1204 | <a id="Ext.tree.AsyncTreeNode-relayEvents"></a> |
---|
1205 | <b>relayEvents</b>( <code>Object o</code>, <code>Array events</code> ) : void <div class="mdesc"> |
---|
1206 | <div class="short">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.</div> |
---|
1207 | <div class="long"> |
---|
1208 | Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>. <div class="mdetail-params"> |
---|
1209 | <strong>Parameters:</strong> |
---|
1210 | <ul><li><code>o</code> : Object<div class="sub-desc">The Observable whose events this object is to relay.</div></li><li><code>events</code> : Array<div class="sub-desc">Array of event names to relay.</div></li> </ul> |
---|
1211 | <strong>Returns:</strong> |
---|
1212 | <ul> |
---|
1213 | <li><code>void</code></li> |
---|
1214 | </ul> |
---|
1215 | </div> |
---|
1216 | </div> |
---|
1217 | </div> |
---|
1218 | </td> |
---|
1219 | <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#relayEvents" href="output/Ext.util.Observable.html#relayEvents">Observable</a></td> |
---|
1220 | </tr> |
---|
1221 | <tr class="method-row alt expandable"> |
---|
1222 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1223 | <td class="sig"> |
---|
1224 | <a id="Ext.tree.AsyncTreeNode-reload"></a> |
---|
1225 | <b>reload</b>( <code>Function callback</code> ) : void <div class="mdesc"> |
---|
1226 | <div class="short">Trigger a reload for this node</div> |
---|
1227 | <div class="long"> |
---|
1228 | Trigger a reload for this node <div class="mdetail-params"> |
---|
1229 | <strong>Parameters:</strong> |
---|
1230 | <ul><li><code>callback</code> : Function<div class="sub-desc"></div></li> </ul> |
---|
1231 | <strong>Returns:</strong> |
---|
1232 | <ul> |
---|
1233 | <li><code>void</code></li> |
---|
1234 | </ul> |
---|
1235 | </div> |
---|
1236 | </div> |
---|
1237 | </div> |
---|
1238 | </td> |
---|
1239 | <td class="msource">AsyncTreeNode</td> |
---|
1240 | </tr> |
---|
1241 | <tr class="method-row inherited expandable"> |
---|
1242 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1243 | <td class="sig"> |
---|
1244 | <a id="Ext.tree.AsyncTreeNode-remove"></a> |
---|
1245 | <b>remove</b>() : Node <div class="mdesc"> |
---|
1246 | <div class="short">Removes this node from it's parent</div> |
---|
1247 | <div class="long"> |
---|
1248 | Removes this node from it's parent <div class="mdetail-params"> |
---|
1249 | <strong>Parameters:</strong> |
---|
1250 | <ul><li>None.</li> </ul> |
---|
1251 | <strong>Returns:</strong> |
---|
1252 | <ul> |
---|
1253 | <li><code>Node</code><div class="sub-desc">this</div></li> |
---|
1254 | </ul> |
---|
1255 | </div> |
---|
1256 | </div> |
---|
1257 | </div> |
---|
1258 | </td> |
---|
1259 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#remove" href="output/Ext.data.Node.html#remove">Node</a></td> |
---|
1260 | </tr> |
---|
1261 | <tr class="method-row inherited alt expandable"> |
---|
1262 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1263 | <td class="sig"> |
---|
1264 | <a id="Ext.tree.AsyncTreeNode-removeChild"></a> |
---|
1265 | <b>removeChild</b>( <code>Node node</code> ) : Node <div class="mdesc"> |
---|
1266 | <div class="short">Removes a child node from this node.</div> |
---|
1267 | <div class="long"> |
---|
1268 | Removes a child node from this node. <div class="mdetail-params"> |
---|
1269 | <strong>Parameters:</strong> |
---|
1270 | <ul><li><code>node</code> : Node<div class="sub-desc">The node to remove</div></li> </ul> |
---|
1271 | <strong>Returns:</strong> |
---|
1272 | <ul> |
---|
1273 | <li><code>Node</code><div class="sub-desc">The removed node</div></li> |
---|
1274 | </ul> |
---|
1275 | </div> |
---|
1276 | </div> |
---|
1277 | </div> |
---|
1278 | </td> |
---|
1279 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#removeChild" href="output/Ext.data.Node.html#removeChild">Node</a></td> |
---|
1280 | </tr> |
---|
1281 | <tr class="method-row inherited expandable"> |
---|
1282 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1283 | <td class="sig"> |
---|
1284 | <a id="Ext.tree.AsyncTreeNode-removeListener"></a> |
---|
1285 | <b>removeListener</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc"> |
---|
1286 | <div class="short">Removes a listener</div> |
---|
1287 | <div class="long"> |
---|
1288 | Removes a listener <div class="mdetail-params"> |
---|
1289 | <strong>Parameters:</strong> |
---|
1290 | <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul> |
---|
1291 | <strong>Returns:</strong> |
---|
1292 | <ul> |
---|
1293 | <li><code>void</code></li> |
---|
1294 | </ul> |
---|
1295 | </div> |
---|
1296 | </div> |
---|
1297 | </div> |
---|
1298 | </td> |
---|
1299 | <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td> |
---|
1300 | </tr> |
---|
1301 | <tr class="method-row inherited alt expandable"> |
---|
1302 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1303 | <td class="sig"> |
---|
1304 | <a id="Ext.tree.AsyncTreeNode-replaceChild"></a> |
---|
1305 | <b>replaceChild</b>( <code>Node newChild</code>, <code>Node oldChild</code> ) : Node <div class="mdesc"> |
---|
1306 | <div class="short">Replaces one child node in this node with another.</div> |
---|
1307 | <div class="long"> |
---|
1308 | Replaces one child node in this node with another. <div class="mdetail-params"> |
---|
1309 | <strong>Parameters:</strong> |
---|
1310 | <ul><li><code>newChild</code> : Node<div class="sub-desc">The replacement node</div></li><li><code>oldChild</code> : Node<div class="sub-desc">The node to replace</div></li> </ul> |
---|
1311 | <strong>Returns:</strong> |
---|
1312 | <ul> |
---|
1313 | <li><code>Node</code><div class="sub-desc">The replaced node</div></li> |
---|
1314 | </ul> |
---|
1315 | </div> |
---|
1316 | </div> |
---|
1317 | </div> |
---|
1318 | </td> |
---|
1319 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#replaceChild" href="output/Ext.data.Node.html#replaceChild">Node</a></td> |
---|
1320 | </tr> |
---|
1321 | <tr class="method-row inherited expandable"> |
---|
1322 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1323 | <td class="sig"> |
---|
1324 | <a id="Ext.tree.AsyncTreeNode-resumeEvents"></a> |
---|
1325 | <b>resumeEvents</b>() : void <div class="mdesc"> |
---|
1326 | <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div> |
---|
1327 | <div class="long"> |
---|
1328 | Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>) <div class="mdetail-params"> |
---|
1329 | <strong>Parameters:</strong> |
---|
1330 | <ul><li>None.</li> </ul> |
---|
1331 | <strong>Returns:</strong> |
---|
1332 | <ul> |
---|
1333 | <li><code>void</code></li> |
---|
1334 | </ul> |
---|
1335 | </div> |
---|
1336 | </div> |
---|
1337 | </div> |
---|
1338 | </td> |
---|
1339 | <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td> |
---|
1340 | </tr> |
---|
1341 | <tr class="method-row inherited alt expandable"> |
---|
1342 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1343 | <td class="sig"> |
---|
1344 | <a id="Ext.tree.AsyncTreeNode-select"></a> |
---|
1345 | <b>select</b>() : void <div class="mdesc"> |
---|
1346 | <div class="short">Triggers selection of this node</div> |
---|
1347 | <div class="long"> |
---|
1348 | Triggers selection of this node <div class="mdetail-params"> |
---|
1349 | <strong>Parameters:</strong> |
---|
1350 | <ul><li>None.</li> </ul> |
---|
1351 | <strong>Returns:</strong> |
---|
1352 | <ul> |
---|
1353 | <li><code>void</code></li> |
---|
1354 | </ul> |
---|
1355 | </div> |
---|
1356 | </div> |
---|
1357 | </div> |
---|
1358 | </td> |
---|
1359 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#select" href="output/Ext.tree.TreeNode.html#select">TreeNode</a></td> |
---|
1360 | </tr> |
---|
1361 | <tr class="method-row inherited expandable"> |
---|
1362 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1363 | <td class="sig"> |
---|
1364 | <a id="Ext.tree.AsyncTreeNode-setText"></a> |
---|
1365 | <b>setText</b>( <code>String text</code> ) : void <div class="mdesc"> |
---|
1366 | <div class="short">Sets the text for this node</div> |
---|
1367 | <div class="long"> |
---|
1368 | Sets the text for this node <div class="mdetail-params"> |
---|
1369 | <strong>Parameters:</strong> |
---|
1370 | <ul><li><code>text</code> : String<div class="sub-desc"></div></li> </ul> |
---|
1371 | <strong>Returns:</strong> |
---|
1372 | <ul> |
---|
1373 | <li><code>void</code></li> |
---|
1374 | </ul> |
---|
1375 | </div> |
---|
1376 | </div> |
---|
1377 | </div> |
---|
1378 | </td> |
---|
1379 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#setText" href="output/Ext.tree.TreeNode.html#setText">TreeNode</a></td> |
---|
1380 | </tr> |
---|
1381 | <tr class="method-row inherited alt expandable"> |
---|
1382 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1383 | <td class="sig"> |
---|
1384 | <a id="Ext.tree.AsyncTreeNode-sort"></a> |
---|
1385 | <b>sort</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc"> |
---|
1386 | <div class="short">Sorts this nodes children using the supplied sort function</div> |
---|
1387 | <div class="long"> |
---|
1388 | Sorts this nodes children using the supplied sort function <div class="mdetail-params"> |
---|
1389 | <strong>Parameters:</strong> |
---|
1390 | <ul><li><code>fn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li> </ul> |
---|
1391 | <strong>Returns:</strong> |
---|
1392 | <ul> |
---|
1393 | <li><code>void</code></li> |
---|
1394 | </ul> |
---|
1395 | </div> |
---|
1396 | </div> |
---|
1397 | </div> |
---|
1398 | </td> |
---|
1399 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#sort" href="output/Ext.data.Node.html#sort">Node</a></td> |
---|
1400 | </tr> |
---|
1401 | <tr class="method-row inherited expandable"> |
---|
1402 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1403 | <td class="sig"> |
---|
1404 | <a id="Ext.tree.AsyncTreeNode-suspendEvents"></a> |
---|
1405 | <b>suspendEvents</b>() : void <div class="mdesc"> |
---|
1406 | <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div> |
---|
1407 | <div class="long"> |
---|
1408 | Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>) <div class="mdetail-params"> |
---|
1409 | <strong>Parameters:</strong> |
---|
1410 | <ul><li>None.</li> </ul> |
---|
1411 | <strong>Returns:</strong> |
---|
1412 | <ul> |
---|
1413 | <li><code>void</code></li> |
---|
1414 | </ul> |
---|
1415 | </div> |
---|
1416 | </div> |
---|
1417 | </div> |
---|
1418 | </td> |
---|
1419 | <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td> |
---|
1420 | </tr> |
---|
1421 | <tr class="method-row inherited alt expandable"> |
---|
1422 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1423 | <td class="sig"> |
---|
1424 | <a id="Ext.tree.AsyncTreeNode-toggle"></a> |
---|
1425 | <b>toggle</b>() : void <div class="mdesc"> |
---|
1426 | <div class="short">Toggles expanded/collapsed state of the node</div> |
---|
1427 | <div class="long"> |
---|
1428 | Toggles expanded/collapsed state of the node <div class="mdetail-params"> |
---|
1429 | <strong>Parameters:</strong> |
---|
1430 | <ul><li>None.</li> </ul> |
---|
1431 | <strong>Returns:</strong> |
---|
1432 | <ul> |
---|
1433 | <li><code>void</code></li> |
---|
1434 | </ul> |
---|
1435 | </div> |
---|
1436 | </div> |
---|
1437 | </div> |
---|
1438 | </td> |
---|
1439 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#toggle" href="output/Ext.tree.TreeNode.html#toggle">TreeNode</a></td> |
---|
1440 | </tr> |
---|
1441 | <tr class="method-row inherited expandable"> |
---|
1442 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1443 | <td class="sig"> |
---|
1444 | <a id="Ext.tree.AsyncTreeNode-un"></a> |
---|
1445 | <b>un</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc"> |
---|
1446 | <div class="short">Removes a listener (shorthand for removeListener)</div> |
---|
1447 | <div class="long"> |
---|
1448 | Removes a listener (shorthand for removeListener) <div class="mdetail-params"> |
---|
1449 | <strong>Parameters:</strong> |
---|
1450 | <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul> |
---|
1451 | <strong>Returns:</strong> |
---|
1452 | <ul> |
---|
1453 | <li><code>void</code></li> |
---|
1454 | </ul> |
---|
1455 | </div> |
---|
1456 | </div> |
---|
1457 | </div> |
---|
1458 | </td> |
---|
1459 | <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td> |
---|
1460 | </tr> |
---|
1461 | <tr class="method-row inherited alt expandable"> |
---|
1462 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1463 | <td class="sig"> |
---|
1464 | <a id="Ext.tree.AsyncTreeNode-unselect"></a> |
---|
1465 | <b>unselect</b>() : void <div class="mdesc"> |
---|
1466 | <div class="short">Triggers deselection of this node</div> |
---|
1467 | <div class="long"> |
---|
1468 | Triggers deselection of this node <div class="mdetail-params"> |
---|
1469 | <strong>Parameters:</strong> |
---|
1470 | <ul><li>None.</li> </ul> |
---|
1471 | <strong>Returns:</strong> |
---|
1472 | <ul> |
---|
1473 | <li><code>void</code></li> |
---|
1474 | </ul> |
---|
1475 | </div> |
---|
1476 | </div> |
---|
1477 | </div> |
---|
1478 | </td> |
---|
1479 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#unselect" href="output/Ext.tree.TreeNode.html#unselect">TreeNode</a></td> |
---|
1480 | </tr> |
---|
1481 | </table> |
---|
1482 | <a id="Ext.tree.AsyncTreeNode-events"></a> |
---|
1483 | <h2>Public Events</h2> |
---|
1484 | <table cellspacing="0" class="member-table"> |
---|
1485 | <tr> |
---|
1486 | <th class="sig-header" colspan="2">Event</th> |
---|
1487 | <th class="msource-header">Defined By</th> |
---|
1488 | </tr> |
---|
1489 | <tr class="event-row inherited expandable"> |
---|
1490 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1491 | <td class="sig"> |
---|
1492 | <a id="Ext.tree.AsyncTreeNode-append"></a> |
---|
1493 | <b>append</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node node</code>, <code>Number index</code> ) <div class="mdesc"> |
---|
1494 | <div class="short">Fires when a new child node is appended</div> |
---|
1495 | <div class="long"> |
---|
1496 | Fires when a new child node is appended <div class="mdetail-params"> |
---|
1497 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1498 | <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>node</code> : Node<div class="sub-desc">The newly appended node</div></li><li><code>index</code> : Number<div class="sub-desc">The index of the newly appended node</div></li> </ul> |
---|
1499 | </div> |
---|
1500 | </div> |
---|
1501 | </div> |
---|
1502 | </td> |
---|
1503 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-append" href="output/Ext.data.Node.html#event-append">Node</a></td> |
---|
1504 | </tr> |
---|
1505 | <tr class="event-row inherited alt expandable"> |
---|
1506 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1507 | <td class="sig"> |
---|
1508 | <a id="Ext.tree.AsyncTreeNode-beforeappend"></a> |
---|
1509 | <b>beforeappend</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node node</code> ) <div class="mdesc"> |
---|
1510 | <div class="short">Fires before a new child is appended, return false to cancel the append.</div> |
---|
1511 | <div class="long"> |
---|
1512 | Fires before a new child is appended, return false to cancel the append. <div class="mdetail-params"> |
---|
1513 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1514 | <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>node</code> : Node<div class="sub-desc">The child node to be appended</div></li> </ul> |
---|
1515 | </div> |
---|
1516 | </div> |
---|
1517 | </div> |
---|
1518 | </td> |
---|
1519 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-beforeappend" href="output/Ext.data.Node.html#event-beforeappend">Node</a></td> |
---|
1520 | </tr> |
---|
1521 | <tr class="event-row inherited expandable"> |
---|
1522 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1523 | <td class="sig"> |
---|
1524 | <a id="Ext.tree.AsyncTreeNode-beforechildrenrendered"></a> |
---|
1525 | <b>beforechildrenrendered</b> : ( <code>Node this</code> ) <div class="mdesc"> |
---|
1526 | <div class="short">Fires right before the child nodes for this node are rendered</div> |
---|
1527 | <div class="long"> |
---|
1528 | Fires right before the child nodes for this node are rendered <div class="mdetail-params"> |
---|
1529 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1530 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li> </ul> |
---|
1531 | </div> |
---|
1532 | </div> |
---|
1533 | </div> |
---|
1534 | </td> |
---|
1535 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-beforechildrenrendered" href="output/Ext.tree.TreeNode.html#event-beforechildrenrendered">TreeNode</a></td> |
---|
1536 | </tr> |
---|
1537 | <tr class="event-row inherited alt expandable"> |
---|
1538 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1539 | <td class="sig"> |
---|
1540 | <a id="Ext.tree.AsyncTreeNode-beforeclick"></a> |
---|
1541 | <b>beforeclick</b> : ( <code>Node this</code>, <code>Ext.EventObject e</code> ) <div class="mdesc"> |
---|
1542 | <div class="short">Fires before click processing. Return false to cancel the default action.</div> |
---|
1543 | <div class="long"> |
---|
1544 | Fires before click processing. Return false to cancel the default action. <div class="mdetail-params"> |
---|
1545 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1546 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The event object</div></li> </ul> |
---|
1547 | </div> |
---|
1548 | </div> |
---|
1549 | </div> |
---|
1550 | </td> |
---|
1551 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-beforeclick" href="output/Ext.tree.TreeNode.html#event-beforeclick">TreeNode</a></td> |
---|
1552 | </tr> |
---|
1553 | <tr class="event-row inherited expandable"> |
---|
1554 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1555 | <td class="sig"> |
---|
1556 | <a id="Ext.tree.AsyncTreeNode-beforecollapse"></a> |
---|
1557 | <b>beforecollapse</b> : ( <code>Node this</code>, <code>Boolean deep</code>, <code>Boolean anim</code> ) <div class="mdesc"> |
---|
1558 | <div class="short">Fires before this node is collapsed, return false to cancel.</div> |
---|
1559 | <div class="long"> |
---|
1560 | Fires before this node is collapsed, return false to cancel. <div class="mdetail-params"> |
---|
1561 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1562 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>deep</code> : Boolean<div class="sub-desc"></div></li><li><code>anim</code> : Boolean<div class="sub-desc"></div></li> </ul> |
---|
1563 | </div> |
---|
1564 | </div> |
---|
1565 | </div> |
---|
1566 | </td> |
---|
1567 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-beforecollapse" href="output/Ext.tree.TreeNode.html#event-beforecollapse">TreeNode</a></td> |
---|
1568 | </tr> |
---|
1569 | <tr class="event-row inherited alt expandable"> |
---|
1570 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1571 | <td class="sig"> |
---|
1572 | <a id="Ext.tree.AsyncTreeNode-beforeexpand"></a> |
---|
1573 | <b>beforeexpand</b> : ( <code>Node this</code>, <code>Boolean deep</code>, <code>Boolean anim</code> ) <div class="mdesc"> |
---|
1574 | <div class="short">Fires before this node is expanded, return false to cancel.</div> |
---|
1575 | <div class="long"> |
---|
1576 | Fires before this node is expanded, return false to cancel. <div class="mdetail-params"> |
---|
1577 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1578 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>deep</code> : Boolean<div class="sub-desc"></div></li><li><code>anim</code> : Boolean<div class="sub-desc"></div></li> </ul> |
---|
1579 | </div> |
---|
1580 | </div> |
---|
1581 | </div> |
---|
1582 | </td> |
---|
1583 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-beforeexpand" href="output/Ext.tree.TreeNode.html#event-beforeexpand">TreeNode</a></td> |
---|
1584 | </tr> |
---|
1585 | <tr class="event-row inherited expandable"> |
---|
1586 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1587 | <td class="sig"> |
---|
1588 | <a id="Ext.tree.AsyncTreeNode-beforeinsert"></a> |
---|
1589 | <b>beforeinsert</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node node</code>, <code>Node refNode</code> ) <div class="mdesc"> |
---|
1590 | <div class="short">Fires before a new child is inserted, return false to cancel the insert.</div> |
---|
1591 | <div class="long"> |
---|
1592 | Fires before a new child is inserted, return false to cancel the insert. <div class="mdetail-params"> |
---|
1593 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1594 | <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>node</code> : Node<div class="sub-desc">The child node to be inserted</div></li><li><code>refNode</code> : Node<div class="sub-desc">The child node the node is being inserted before</div></li> </ul> |
---|
1595 | </div> |
---|
1596 | </div> |
---|
1597 | </div> |
---|
1598 | </td> |
---|
1599 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-beforeinsert" href="output/Ext.data.Node.html#event-beforeinsert">Node</a></td> |
---|
1600 | </tr> |
---|
1601 | <tr class="event-row alt expandable"> |
---|
1602 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1603 | <td class="sig"> |
---|
1604 | <a id="Ext.tree.AsyncTreeNode-beforeload"></a> |
---|
1605 | <b>beforeload</b> : ( <code>Node this</code> ) <div class="mdesc"> |
---|
1606 | <div class="short">Fires before this node is loaded, return false to cancel</div> |
---|
1607 | <div class="long"> |
---|
1608 | Fires before this node is loaded, return false to cancel <div class="mdetail-params"> |
---|
1609 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1610 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li> </ul> |
---|
1611 | </div> |
---|
1612 | </div> |
---|
1613 | </div> |
---|
1614 | </td> |
---|
1615 | <td class="msource">AsyncTreeNode</td> |
---|
1616 | </tr> |
---|
1617 | <tr class="event-row inherited expandable"> |
---|
1618 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1619 | <td class="sig"> |
---|
1620 | <a id="Ext.tree.AsyncTreeNode-beforemove"></a> |
---|
1621 | <b>beforemove</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node oldParent</code>, <code>Node newParent</code>, <code>Number index</code> ) <div class="mdesc"> |
---|
1622 | <div class="short">Fires before this node is moved to a new location in the tree. Return false to cancel the move.</div> |
---|
1623 | <div class="long"> |
---|
1624 | Fires before this node is moved to a new location in the tree. Return false to cancel the move. <div class="mdetail-params"> |
---|
1625 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1626 | <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>oldParent</code> : Node<div class="sub-desc">The parent of this node</div></li><li><code>newParent</code> : Node<div class="sub-desc">The new parent this node is moving to</div></li><li><code>index</code> : Number<div class="sub-desc">The index it is being moved to</div></li> </ul> |
---|
1627 | </div> |
---|
1628 | </div> |
---|
1629 | </div> |
---|
1630 | </td> |
---|
1631 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-beforemove" href="output/Ext.data.Node.html#event-beforemove">Node</a></td> |
---|
1632 | </tr> |
---|
1633 | <tr class="event-row inherited alt expandable"> |
---|
1634 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1635 | <td class="sig"> |
---|
1636 | <a id="Ext.tree.AsyncTreeNode-beforeremove"></a> |
---|
1637 | <b>beforeremove</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node node</code> ) <div class="mdesc"> |
---|
1638 | <div class="short">Fires before a child is removed, return false to cancel the remove.</div> |
---|
1639 | <div class="long"> |
---|
1640 | Fires before a child is removed, return false to cancel the remove. <div class="mdetail-params"> |
---|
1641 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1642 | <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>node</code> : Node<div class="sub-desc">The child node to be removed</div></li> </ul> |
---|
1643 | </div> |
---|
1644 | </div> |
---|
1645 | </div> |
---|
1646 | </td> |
---|
1647 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-beforeremove" href="output/Ext.data.Node.html#event-beforeremove">Node</a></td> |
---|
1648 | </tr> |
---|
1649 | <tr class="event-row inherited expandable"> |
---|
1650 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1651 | <td class="sig"> |
---|
1652 | <a id="Ext.tree.AsyncTreeNode-checkchange"></a> |
---|
1653 | <b>checkchange</b> : ( <code>Node this</code>, <code>Boolean checked</code> ) <div class="mdesc"> |
---|
1654 | <div class="short">Fires when a node with a checkbox's checked property changes</div> |
---|
1655 | <div class="long"> |
---|
1656 | Fires when a node with a checkbox's checked property changes <div class="mdetail-params"> |
---|
1657 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1658 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>checked</code> : Boolean<div class="sub-desc"></div></li> </ul> |
---|
1659 | </div> |
---|
1660 | </div> |
---|
1661 | </div> |
---|
1662 | </td> |
---|
1663 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-checkchange" href="output/Ext.tree.TreeNode.html#event-checkchange">TreeNode</a></td> |
---|
1664 | </tr> |
---|
1665 | <tr class="event-row inherited alt expandable"> |
---|
1666 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1667 | <td class="sig"> |
---|
1668 | <a id="Ext.tree.AsyncTreeNode-click"></a> |
---|
1669 | <b>click</b> : ( <code>Node this</code>, <code>Ext.EventObject e</code> ) <div class="mdesc"> |
---|
1670 | <div class="short">Fires when this node is clicked</div> |
---|
1671 | <div class="long"> |
---|
1672 | Fires when this node is clicked <div class="mdetail-params"> |
---|
1673 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1674 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The event object</div></li> </ul> |
---|
1675 | </div> |
---|
1676 | </div> |
---|
1677 | </div> |
---|
1678 | </td> |
---|
1679 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-click" href="output/Ext.tree.TreeNode.html#event-click">TreeNode</a></td> |
---|
1680 | </tr> |
---|
1681 | <tr class="event-row inherited expandable"> |
---|
1682 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1683 | <td class="sig"> |
---|
1684 | <a id="Ext.tree.AsyncTreeNode-collapse"></a> |
---|
1685 | <b>collapse</b> : ( <code>Node this</code> ) <div class="mdesc"> |
---|
1686 | <div class="short">Fires when this node is collapsed</div> |
---|
1687 | <div class="long"> |
---|
1688 | Fires when this node is collapsed <div class="mdetail-params"> |
---|
1689 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1690 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li> </ul> |
---|
1691 | </div> |
---|
1692 | </div> |
---|
1693 | </div> |
---|
1694 | </td> |
---|
1695 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-collapse" href="output/Ext.tree.TreeNode.html#event-collapse">TreeNode</a></td> |
---|
1696 | </tr> |
---|
1697 | <tr class="event-row inherited alt expandable"> |
---|
1698 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1699 | <td class="sig"> |
---|
1700 | <a id="Ext.tree.AsyncTreeNode-contextmenu"></a> |
---|
1701 | <b>contextmenu</b> : ( <code>Node this</code>, <code>Ext.EventObject e</code> ) <div class="mdesc"> |
---|
1702 | <div class="short">Fires when this node is right clicked</div> |
---|
1703 | <div class="long"> |
---|
1704 | Fires when this node is right clicked <div class="mdetail-params"> |
---|
1705 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1706 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The event object</div></li> </ul> |
---|
1707 | </div> |
---|
1708 | </div> |
---|
1709 | </div> |
---|
1710 | </td> |
---|
1711 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-contextmenu" href="output/Ext.tree.TreeNode.html#event-contextmenu">TreeNode</a></td> |
---|
1712 | </tr> |
---|
1713 | <tr class="event-row inherited expandable"> |
---|
1714 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1715 | <td class="sig"> |
---|
1716 | <a id="Ext.tree.AsyncTreeNode-dblclick"></a> |
---|
1717 | <b>dblclick</b> : ( <code>Node this</code>, <code>Ext.EventObject e</code> ) <div class="mdesc"> |
---|
1718 | <div class="short">Fires when this node is double clicked</div> |
---|
1719 | <div class="long"> |
---|
1720 | Fires when this node is double clicked <div class="mdetail-params"> |
---|
1721 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1722 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc">The event object</div></li> </ul> |
---|
1723 | </div> |
---|
1724 | </div> |
---|
1725 | </div> |
---|
1726 | </td> |
---|
1727 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-dblclick" href="output/Ext.tree.TreeNode.html#event-dblclick">TreeNode</a></td> |
---|
1728 | </tr> |
---|
1729 | <tr class="event-row inherited alt expandable"> |
---|
1730 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1731 | <td class="sig"> |
---|
1732 | <a id="Ext.tree.AsyncTreeNode-disabledchange"></a> |
---|
1733 | <b>disabledchange</b> : ( <code>Node this</code>, <code>Boolean disabled</code> ) <div class="mdesc"> |
---|
1734 | <div class="short">Fires when the disabled status of this node changes</div> |
---|
1735 | <div class="long"> |
---|
1736 | Fires when the disabled status of this node changes <div class="mdetail-params"> |
---|
1737 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1738 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li> </ul> |
---|
1739 | </div> |
---|
1740 | </div> |
---|
1741 | </div> |
---|
1742 | </td> |
---|
1743 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-disabledchange" href="output/Ext.tree.TreeNode.html#event-disabledchange">TreeNode</a></td> |
---|
1744 | </tr> |
---|
1745 | <tr class="event-row inherited expandable"> |
---|
1746 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1747 | <td class="sig"> |
---|
1748 | <a id="Ext.tree.AsyncTreeNode-expand"></a> |
---|
1749 | <b>expand</b> : ( <code>Node this</code> ) <div class="mdesc"> |
---|
1750 | <div class="short">Fires when this node is expanded</div> |
---|
1751 | <div class="long"> |
---|
1752 | Fires when this node is expanded <div class="mdetail-params"> |
---|
1753 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1754 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li> </ul> |
---|
1755 | </div> |
---|
1756 | </div> |
---|
1757 | </div> |
---|
1758 | </td> |
---|
1759 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-expand" href="output/Ext.tree.TreeNode.html#event-expand">TreeNode</a></td> |
---|
1760 | </tr> |
---|
1761 | <tr class="event-row inherited alt expandable"> |
---|
1762 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1763 | <td class="sig"> |
---|
1764 | <a id="Ext.tree.AsyncTreeNode-insert"></a> |
---|
1765 | <b>insert</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node node</code>, <code>Node refNode</code> ) <div class="mdesc"> |
---|
1766 | <div class="short">Fires when a new child node is inserted.</div> |
---|
1767 | <div class="long"> |
---|
1768 | Fires when a new child node is inserted. <div class="mdetail-params"> |
---|
1769 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1770 | <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>node</code> : Node<div class="sub-desc">The child node inserted</div></li><li><code>refNode</code> : Node<div class="sub-desc">The child node the node was inserted before</div></li> </ul> |
---|
1771 | </div> |
---|
1772 | </div> |
---|
1773 | </div> |
---|
1774 | </td> |
---|
1775 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-insert" href="output/Ext.data.Node.html#event-insert">Node</a></td> |
---|
1776 | </tr> |
---|
1777 | <tr class="event-row expandable"> |
---|
1778 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1779 | <td class="sig"> |
---|
1780 | <a id="Ext.tree.AsyncTreeNode-load"></a> |
---|
1781 | <b>load</b> : ( <code>Node this</code> ) <div class="mdesc"> |
---|
1782 | <div class="short">Fires when this node is loaded</div> |
---|
1783 | <div class="long"> |
---|
1784 | Fires when this node is loaded <div class="mdetail-params"> |
---|
1785 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1786 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li> </ul> |
---|
1787 | </div> |
---|
1788 | </div> |
---|
1789 | </div> |
---|
1790 | </td> |
---|
1791 | <td class="msource">AsyncTreeNode</td> |
---|
1792 | </tr> |
---|
1793 | <tr class="event-row inherited alt expandable"> |
---|
1794 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1795 | <td class="sig"> |
---|
1796 | <a id="Ext.tree.AsyncTreeNode-move"></a> |
---|
1797 | <b>move</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node oldParent</code>, <code>Node newParent</code>, <code>Number index</code> ) <div class="mdesc"> |
---|
1798 | <div class="short">Fires when this node is moved to a new location in the tree</div> |
---|
1799 | <div class="long"> |
---|
1800 | Fires when this node is moved to a new location in the tree <div class="mdetail-params"> |
---|
1801 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1802 | <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>oldParent</code> : Node<div class="sub-desc">The old parent of this node</div></li><li><code>newParent</code> : Node<div class="sub-desc">The new parent of this node</div></li><li><code>index</code> : Number<div class="sub-desc">The index it was moved to</div></li> </ul> |
---|
1803 | </div> |
---|
1804 | </div> |
---|
1805 | </div> |
---|
1806 | </td> |
---|
1807 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-move" href="output/Ext.data.Node.html#event-move">Node</a></td> |
---|
1808 | </tr> |
---|
1809 | <tr class="event-row inherited expandable"> |
---|
1810 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1811 | <td class="sig"> |
---|
1812 | <a id="Ext.tree.AsyncTreeNode-remove"></a> |
---|
1813 | <b>remove</b> : ( <code>Tree tree</code>, <code>Node this</code>, <code>Node node</code> ) <div class="mdesc"> |
---|
1814 | <div class="short">Fires when a child node is removed</div> |
---|
1815 | <div class="long"> |
---|
1816 | Fires when a child node is removed <div class="mdetail-params"> |
---|
1817 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1818 | <ul><li><code>tree</code> : Tree<div class="sub-desc">The owner tree</div></li><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>node</code> : Node<div class="sub-desc">The removed node</div></li> </ul> |
---|
1819 | </div> |
---|
1820 | </div> |
---|
1821 | </div> |
---|
1822 | </td> |
---|
1823 | <td class="msource"><a ext:cls="Ext.data.Node" ext:member="#event-remove" href="output/Ext.data.Node.html#event-remove">Node</a></td> |
---|
1824 | </tr> |
---|
1825 | <tr class="event-row inherited alt expandable"> |
---|
1826 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
1827 | <td class="sig"> |
---|
1828 | <a id="Ext.tree.AsyncTreeNode-textchange"></a> |
---|
1829 | <b>textchange</b> : ( <code>Node this</code>, <code>String text</code>, <code>String oldText</code> ) <div class="mdesc"> |
---|
1830 | <div class="short">Fires when the text for this node is changed</div> |
---|
1831 | <div class="long"> |
---|
1832 | Fires when the text for this node is changed <div class="mdetail-params"> |
---|
1833 | <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong> |
---|
1834 | <ul><li><code>this</code> : Node<div class="sub-desc">This node</div></li><li><code>text</code> : String<div class="sub-desc">The new text</div></li><li><code>oldText</code> : String<div class="sub-desc">The old text</div></li> </ul> |
---|
1835 | </div> |
---|
1836 | </div> |
---|
1837 | </div> |
---|
1838 | </td> |
---|
1839 | <td class="msource"><a ext:cls="Ext.tree.TreeNode" ext:member="#event-textchange" href="output/Ext.tree.TreeNode.html#event-textchange">TreeNode</a></td> |
---|
1840 | </tr> |
---|
1841 | </table> |
---|
1842 | |
---|
1843 | </div> |
---|