Partial Fix #5654 - roojspacker - get it working as a doc tool...
[roojs1] / docs / symbols / Roo.tree.TreeLoader.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
6         <head>
7                 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8                 <meta name="generator" content="JsDoc Toolkit" />
9                 
10                 
11                 <title>JsDoc Reference - Roo.tree.TreeLoader</title>
12                 
13                 
14         <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />            
15         <link rel="stylesheet" type="text/css" href="../default.css" />
16         
17         
18         <script type="text/javascript" src="../page.js">
19         
20         </script>
21          
22                 
23         </head>
24
25         <body onload="RooDocsPage.onload();">
26          
27         
28 <div class="body-wrap">
29
30     <!-- ============================== links to methods. ================================= --> 
31
32     <div class="top-tools">
33     <!--
34         <a class="inner-link" href="#Roo.tree.TreeLoader-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.tree.TreeLoader-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.tree.TreeLoader-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.tree.TreeLoader-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38         <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
39         -->
40     </div>
41
42     
43 <!-- ============================== inheritance Block. ================================= -->    
44         
45                 <div class="inheritance res-block">
46                    <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1"  width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.tree.TreeLoader 
48
49                    </pre>
50                 </div>
51        
52 <!-- ============================== class title / details ============================ -->
53     
54     
55     <h1 class="classTitle">
56                                 
57                                 Class Roo.tree.TreeLoader
58                         </h1>
59                         
60     <table cellspacing="0" class="class-summary-table">
61         
62                 <tr><td class="label">Package:</td><td class="hd-info">Roo.tree</td></tr>
63         
64         <tr><td class="label">Defined In:</td><td class="hd-info">
65                         
66                                         <a href="./src/Roo_tree_TreeLoader.js.html">Roo/tree/TreeLoader.js</a>.
67                         
68         </td></tr>
69         <tr><td class="label">Class:</td><td class="hd-info">TreeLoader</td></tr>
70         
71         
72         
73         
74                 <tr><td class="label">Extends:</td><td class="hd-info">
75                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
76         
77                 </td></tr>    
78         
79         
80     </table>
81
82     
83 <!-- ============================== class summary ========================== -->                        
84     <div class="description">
85         A TreeLoader provides for lazy loading of an {<b>link</b> Roo.tree.TreeNode}'s child<br/>nodes from a specified URL. The response must be a javascript Array definition<br/>who's elements are node definition objects. eg:<br/><pre><code><br/>{  success : true,<br/>   data :      [<br/>   <br/>    { 'id': 1, 'text': 'A folder Node', 'leaf': false },<br/>    { 'id': 2, 'text': 'A leaf Node', 'leaf': true }<br/>    ]<br/>}<br/><br/><br/></code></pre><br/><br><br><br/>The old style respose with just an array is still supported, but not recommended.<br/><br><br><br/><br/>A server request is sent, and child nodes are loaded only when a node is expanded.<br/>The loading node's id is passed to the server under the parameter name "node" to<br/>enable the server to produce the correct child nodes.<br/><br><br><br/>To pass extra parameters, an event handler may be attached to the "beforeload"<br/>event, and the parameters specified in the TreeLoader's baseParams property:<br/><pre><code><br/>    myTreeLoader.on("beforeload", function(treeLoader, node) {<br/>        this.baseParams.category = node.attributes.category;<br/>    }, this);<br/></code></pre><<br/>This would pass an HTTP parameter called "category" to the server containing<br/>the value of the Node's "category" attribute.
86     </div>
87
88         
89 <!-- ============================== Class comment block... ========================== -->                                       
90
91 <div class="comments">
92         <b>Class Comments / Notes</B> =>  
93         <u onclick="parent.CommentDialog.showCommentId = 'Roo.tree.TreeLoader';">[Add Your comment/notes about this class]</u>
94         <br/>
95         <iframe frameborder="0"  id="comments-Roo.tree" style="border: none;width:100%;" 
96                 src="/blog.php/GtkDjsComments/Roo.tree.TreeLoader.html"></iframe>
97 </div>
98         
99
100                 
101 <!-- ============================== config options ========================== -->                                               
102                  
103     
104     
105                 
106     <div class="hr"></div>
107     <a id="Roo.tree.TreeLoader-configs"></a>
108                 
109     
110      
111     
112         
113       <table cellspacing="0" class="member-table">   
114       <caption>Config Options (Usually are also Properties)</caption>
115     
116         
117         <tr>
118             <th class="sig-header" colspan="2">Options</th>
119             
120             <th class="msource-header">Defined By</th>
121         </tr>
122         
123         
124         
125         
126         
127                 <tr class="config-row expandable config-row-alt0 notInherited">
128                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
129                     <td class="sig">
130
131                         <a id="Roo.tree.TreeLoader-cfg-baseAttrs" name=".baseAttrs"></a>
132                         <div class="fixedFont">
133                                 <b  class="itemname">baseAttrs</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
134                                 
135                                 
136                         </div>
137                   
138                         <div class="mdesc">
139                             <div class="short">(optional) An object containing attributes to be added to all nodes<br/>created by this loader.</div> 
140                         </div>
141                         
142                         <div class="mdesc">
143                             <div class="long">
144                     (optional) An object containing attributes to be added to all nodes<br/>created by this loader. If the attributes sent by the server have an attribute in this object,<br/>they take priority.
145                     
146                 </div> 
147                         </div>
148                         
149                         
150
151                     </td>
152                     <td class="msource">
153                         
154                         Roo.tree.TreeLoader
155                                 
156                     </td>
157                 </tr>
158         
159         
160                 <tr class="config-row expandable config-row-alt1 notInherited">
161                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
162                     <td class="sig">
163
164                         <a id="Roo.tree.TreeLoader-cfg-baseParams" name=".baseParams"></a>
165                         <div class="fixedFont">
166                                 <b  class="itemname">baseParams</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
167                                 
168                                 
169                         </div>
170                   
171                         <div class="mdesc">
172                             <div class="short">(optional) An object containing properties which<br/>specify HTTP parameters to be passed to each request for child nodes.</div> 
173                         </div>
174                         
175                         <div class="mdesc">
176                             <div class="long">
177                     (optional) An object containing properties which<br/>specify HTTP parameters to be passed to each request for child nodes.
178                     
179                 </div> 
180                         </div>
181                         
182                         
183
184                     </td>
185                     <td class="msource">
186                         
187                         Roo.tree.TreeLoader
188                                 
189                     </td>
190                 </tr>
191         
192         
193                 <tr class="config-row expandable config-row-alt0 notInherited">
194                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
195                     <td class="sig">
196
197                         <a id="Roo.tree.TreeLoader-cfg-clearOnLoad" name=".clearOnLoad"></a>
198                         <div class="fixedFont">
199                                 <b  class="itemname">clearOnLoad</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
200                                 
201                                 
202                         </div>
203                   
204                         <div class="mdesc">
205                             <div class="short">(optional) Default to true.</div> 
206                         </div>
207                         
208                         <div class="mdesc">
209                             <div class="long">
210                     (optional) Default to true. Remove previously existing<br/>child nodes before loading.
211                     
212                 </div> 
213                         </div>
214                         
215                         
216
217                     </td>
218                     <td class="msource">
219                         
220                         Roo.tree.TreeLoader
221                                 
222                     </td>
223                 </tr>
224         
225         
226                 <tr class="config-row expandable config-row-alt1 notInherited">
227                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
228                     <td class="sig">
229
230                         <a id="Roo.tree.TreeLoader-cfg-dataUrl" name=".dataUrl"></a>
231                         <div class="fixedFont">
232                                 <b  class="itemname">dataUrl</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
233                                 
234                                 
235                         </div>
236                   
237                         <div class="mdesc">
238                             <div class="short">The URL from which to request a Json string which<br/>specifies an array of node definition object representing the child nodes<br/>to be loaded.</div> 
239                         </div>
240                         
241                         <div class="mdesc">
242                             <div class="long">
243                     The URL from which to request a Json string which<br/>specifies an array of node definition object representing the child nodes<br/>to be loaded.
244                     
245                 </div> 
246                         </div>
247                         
248                         
249
250                     </td>
251                     <td class="msource">
252                         
253                         Roo.tree.TreeLoader
254                                 
255                     </td>
256                 </tr>
257         
258         
259                 <tr class="config-row expandable config-row-alt0">
260                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
261                     <td class="sig">
262
263                         <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
264                         <div class="fixedFont">
265                                 <b  class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
266                                 
267                                 
268                         </div>
269                   
270                         <div class="mdesc">
271                             <div class="short">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/>    listeners :  { <br/>       'click' : function(e) {<br/>           .</div> 
272                         </div>
273                         
274                         <div class="mdesc">
275                             <div class="long">
276                     list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/>    listeners :  { <br/>       'click' : function(e) {<br/>           ..... <br/>        } ,<br/>        .... <br/>    } <br/>  </code></pre>
277                     
278                 </div> 
279                         </div>
280                         
281                         
282
283                     </td>
284                     <td class="msource">
285                         
286                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
287                                 
288                     </td>
289                 </tr>
290         
291         
292                 <tr class="config-row expandable config-row-alt1 notInherited">
293                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
294                     <td class="sig">
295
296                         <a id="Roo.tree.TreeLoader-cfg-queryParam" name=".queryParam"></a>
297                         <div class="fixedFont">
298                                 <b  class="itemname">queryParam</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
299                                 
300                                 
301                         </div>
302                   
303                         <div class="mdesc">
304                             <div class="short">(optional) <br/>Name of the query as it will be passed on the querystring (defaults to 'node')<br/>eg.</div> 
305                         </div>
306                         
307                         <div class="mdesc">
308                             <div class="long">
309                     (optional) <br/>Name of the query as it will be passed on the querystring (defaults to 'node')<br/>eg. the request will be ?node=[id]
310                     
311                 </div> 
312                         </div>
313                         
314                         
315
316                     </td>
317                     <td class="msource">
318                         
319                         Roo.tree.TreeLoader
320                                 
321                     </td>
322                 </tr>
323         
324         
325                 <tr class="config-row expandable config-row-alt0 notInherited">
326                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
327                     <td class="sig">
328
329                         <a id="Roo.tree.TreeLoader-cfg-requestMethod" name=".requestMethod"></a>
330                         <div class="fixedFont">
331                                 <b  class="itemname">requestMethod</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
332                                 
333                                 
334                         </div>
335                   
336                         <div class="mdesc">
337                             <div class="short">either GET or POST<br/>defaults to POST (due to BC)<br/>to be loaded.</div> 
338                         </div>
339                         
340                         <div class="mdesc">
341                             <div class="long">
342                     either GET or POST<br/>defaults to POST (due to BC)<br/>to be loaded.
343                     
344                 </div> 
345                         </div>
346                         
347                         
348
349                     </td>
350                     <td class="msource">
351                         
352                         Roo.tree.TreeLoader
353                                 
354                     </td>
355                 </tr>
356         
357         
358                 <tr class="config-row expandable config-row-alt1 notInherited">
359                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
360                     <td class="sig">
361
362                         <a id="Roo.tree.TreeLoader-cfg-root" name=".root"></a>
363                         <div class="fixedFont">
364                                 <b  class="itemname">root</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
365                                 
366                                 
367                         </div>
368                   
369                         <div class="mdesc">
370                             <div class="short">(optional) Default to false.</div> 
371                         </div>
372                         
373                         <div class="mdesc">
374                             <div class="long">
375                     (optional) Default to false. Use this to read data from an object <br/>property on loading, rather than expecting an array. (eg. more compatible to a standard<br/>Grid query { data : [ .....] }
376                     
377                 </div> 
378                         </div>
379                         
380                         
381
382                     </td>
383                     <td class="msource">
384                         
385                         Roo.tree.TreeLoader
386                                 
387                     </td>
388                 </tr>
389         
390         
391                 <tr class="config-row expandable config-row-alt0 notInherited">
392                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
393                     <td class="sig">
394
395                         <a id="Roo.tree.TreeLoader-cfg-uiProviders" name=".uiProviders"></a>
396                         <div class="fixedFont">
397                                 <b  class="itemname">uiProviders</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
398                                 
399                                 
400                         </div>
401                   
402                         <div class="mdesc">
403                             <div class="short">(optional) An object containing properties which<br/><br/>DEPRECATED - use 'create' event handler to modify attributes - which affect creation.</div> 
404                         </div>
405                         
406                         <div class="mdesc">
407                             <div class="long">
408                     (optional) An object containing properties which<br/><br/>DEPRECATED - use 'create' event handler to modify attributes - which affect creation.<br/>specify custom {<b>link</b> Roo.tree.TreeNodeUI} implementations. If the optional<br/><i>uiProvider</i> attribute of a returned child node is a string rather<br/>than a reference to a TreeNodeUI implementation, this that string value<br/>is used as a property name in the uiProviders object. You can define the provider named<br/>'default' , and this will be used for all nodes (if no uiProvider is delivered by the node data)
409                     
410                 </div> 
411                         </div>
412                         
413                         
414
415                     </td>
416                     <td class="msource">
417                         
418                         Roo.tree.TreeLoader
419                                 
420                     </td>
421                 </tr>
422         
423         
424     </table>
425                 
426   
427   
428   
429   
430   
431   
432   
433   
434   <!-- ============================== public properties ==================== -->        
435   
436   
437   
438     <a id="Roo.tree.TreeLoader-props"></a>      
439     
440     
441
442     
443     
444      <table cellspacing="0" class="member-table">
445       <caption class="Empty">Public Properties - Has None</caption>
446      </table>
447     
448     
449      
450     
451   <!-- ============================== methods summary / details ======================== -->
452   
453   
454   <a id="Roo.tree.TreeLoader-methods"></a>
455         <!-- constructor?? -->
456         
457         <!-- static's first 
458         
459         
460         -->
461         
462         <!-- then dynamics first -->
463         
464   
465   
466     
467     
468     
469       <table cellspacing="0" class="member-table">
470       <caption>Public Methods</caption>
471         <tr>
472             <th class="sig-header" colspan="2">Method</th>            
473             <th class="msource-header">Defined By</th>
474
475         </tr>
476         
477         
478         
479          
480         
481         
482           
483           <tr class="method-row config-row-alt0 expandable notInherited">
484             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
485            
486            
487             <td class="sig">
488                 <a id="Roo.tree-method-TreeLoader"   name=".TreeLoader"></a>
489                 <div class="fixedFont">
490                         <span class="attributes">new <B>Roo.tree.</B></span><b class="itemname">TreeLoader</b>
491                                 
492                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
493                         
494                                 
495                         
496                 </div>
497                 <div class="mdesc">
498                 
499                  
500                         <div class="short">Create a new Roo.tree.TreeLoader</div> 
501                  
502                  
503                     <div class="long">
504                         
505                         
506                         
507                                 Create a new Roo.tree.TreeLoader
508                         
509                         
510                                 <dl class="detailList">
511                                 <dt class="heading">Parameters:</dt>
512                                 
513                                         <dt>
514                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>config</b>
515                                                 
516                                         </dt>
517                                         <dd>A config object containing config properties.</dd>
518                                 
519                                 </dl>
520                         
521                         
522                         
523                         
524                         
525                         
526                         
527
528                     
529                     
530                      
531                     </div>                    
532                 </div>
533
534             </td>
535             <td class="msource">
536                 &nbsp;
537             </td>
538         </tr>
539         
540           
541           <tr class="method-row config-row-alt1 expandable">
542             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
543            
544            
545             <td class="sig">
546                 <a id="Roo.util.Observable-method-addEvents"   name=".addEvents"></a>
547                 <div class="fixedFont">
548                         <span class="attributes"></span><b class="itemname">addEvents</b>
549                                 
550                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>) 
551                         
552                                 
553                         
554                 </div>
555                 <div class="mdesc">
556                 
557                    <div class="short">Used to define events on this Observable</div> 
558                  
559                  
560                  
561                     <div class="long">
562                         
563                                 Used to define events on this Observable
564                     
565                                 
566                         
567                         
568                         
569                         
570                                 <dl class="detailList">
571                                 <dt class="heading">Parameters:</dt>
572                                 
573                                         <dt>
574                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>object</b>
575                                                 
576                                         </dt>
577                                         <dd>The object with the events defined</dd>
578                                 
579                                 </dl>
580                         
581                         
582                         
583                         
584                         
585                         
586                         
587
588                     
589                     
590                      
591                     </div>                    
592                 </div>
593
594             </td>
595             <td class="msource">
596                 
597                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
598                 &nbsp;
599             </td>
600         </tr>
601         
602           
603           <tr class="method-row config-row-alt0 expandable">
604             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
605            
606            
607             <td class="sig">
608                 <a id="Roo.util.Observable-method-addListener"   name=".addListener"></a>
609                 <div class="fixedFont">
610                         <span class="attributes"></span><b class="itemname">addListener</b>
611                                 
612                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
613                         
614                                 
615                         
616                 </div>
617                 <div class="mdesc">
618                 
619                    <div class="short">Appends an event handler to this component</div> 
620                  
621                  
622                  
623                     <div class="long">
624                         
625                                 Appends an event handler to this component
626                     
627                                 
628                         
629                         
630                         
631                         
632                                 <dl class="detailList">
633                                 <dt class="heading">Parameters:</dt>
634                                 
635                                         <dt>
636                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
637                                                 
638                                         </dt>
639                                         <dd>The type of event to listen for</dd>
640                                 
641                                         <dt>
642                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
643                                                 
644                                         </dt>
645                                         <dd>The method the event invokes</dd>
646                                 
647                                         <dt>
648                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
649                                                 
650                                         </dt>
651                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
652                                 
653                                         <dt>
654                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
655                                                 
656                                         </dt>
657                                         <dd>(optional) An object containing handler configuration<br/>properties. This may contain any of the following properties:<ul><br/><li>scope {Object} The scope in which to execute the handler function. The handler function's "this" context.</li><br/><li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li><br/><li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li><br/><li>buffer {Number} Causes the handler to be scheduled to run in an {<b>link</b> Roo.util.DelayedTask} delayed<br/>by the specified number of milliseconds. If the event fires again within that time, the original<br/>handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li><br/></ul><br><br/><p><br/><b>Combining Options</b><br><br/>Using the options argument, it is possible to combine different types of listeners:<br><br/><br><br/>A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)<br/>             <pre><code><br/>                el.on('click', this.onClick, this, {<br/>                       single: true,<br/>              delay: 100,<br/>                forumId: 4<br/>         });<br/>                </code></pre><br/><p><br/><b>Attaching multiple handlers in 1 call</b><br><br/>The method also allows for a single argument to be passed which is a config object containing properties<br/>which specify multiple handlers.<br/><pre><code><br/>               el.on({<br/>                    'click': {<br/>                 fn: this.onClick,<br/>                  scope: this,<br/>                       delay: 100<br/>                 }, <br/>                'mouseover': {<br/>                     fn: this.onMouseOver,<br/>                      scope: this<br/>                },<br/>                 'mouseout': {<br/>                      fn: this.onMouseOut,<br/>                       scope: this<br/>                }<br/>          });<br/>                </code></pre><br/><p><br/>Or a shorthand syntax which passes the same scope object to all handlers:<br/>        <pre><code><br/>                el.on({<br/>                    'click': this.onClick,<br/>             'mouseover': this.onMouseOver,<br/>             'mouseout': this.onMouseOut,<br/>               scope: this<br/>                });<br/>                </code></pre></dd>
658                                 
659                                 </dl>
660                         
661                         
662                         
663                         
664                         
665                         
666                         
667
668                     
669                     
670                      
671                     </div>                    
672                 </div>
673
674             </td>
675             <td class="msource">
676                 
677                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
678                 &nbsp;
679             </td>
680         </tr>
681         
682           
683           <tr class="method-row config-row-alt1 expandable">
684             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
685            
686            
687             <td class="sig">
688                 <a id="Roo.util.Observable-method-fireEvent"   name=".fireEvent"></a>
689                 <div class="fixedFont">
690                         <span class="attributes"></span><b class="itemname">fireEvent</b>
691                                 
692                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a> <B><i>args</i></B>) 
693                         
694                                 
695                                          : 
696                                         
697                                                 
698                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
699                                         
700                                         
701                                         
702                                 
703                         
704                 </div>
705                 <div class="mdesc">
706                 
707                    <div class="short">Fires the specified event with the passed parameters (minus the event name).</div> 
708                  
709                  
710                  
711                     <div class="long">
712                         
713                                 Fires the specified event with the passed parameters (minus the event name).
714                     
715                                 
716                         
717                         
718                         
719                         
720                                 <dl class="detailList">
721                                 <dt class="heading">Parameters:</dt>
722                                 
723                                         <dt>
724                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
725                                                 
726                                         </dt>
727                                         <dd></dd>
728                                 
729                                         <dt>
730                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a></span>  <b>args</b>
731                                                 
732                                         </dt>
733                                         <dd>Variable number of parameters are passed to handlers</dd>
734                                 
735                                 </dl>
736                         
737                         
738                         
739                         
740                         
741                                 <dl class="detailList">
742                                 <dt class="heading">Returns:</dt>
743                                 
744                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  returns false if any of the handlers return false otherwise it returns true</dd>
745                                 
746                                 </dl>
747                         
748                         
749                         
750
751                     
752                     
753                      
754                     </div>                    
755                 </div>
756
757             </td>
758             <td class="msource">
759                 
760                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
761                 &nbsp;
762             </td>
763         </tr>
764         
765           
766           <tr class="method-row config-row-alt0 expandable">
767             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
768            
769            
770             <td class="sig">
771                 <a id="Roo.util.Observable-method-hasListener"   name=".hasListener"></a>
772                 <div class="fixedFont">
773                         <span class="attributes"></span><b class="itemname">hasListener</b>
774                                 
775                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>) 
776                         
777                                 
778                                          : 
779                                         
780                                                 
781                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
782                                         
783                                         
784                                         
785                                 
786                         
787                 </div>
788                 <div class="mdesc">
789                 
790                    <div class="short">Checks to see if this object has any listeners for a specified event</div> 
791                  
792                  
793                  
794                     <div class="long">
795                         
796                                 Checks to see if this object has any listeners for a specified event
797                     
798                                 
799                         
800                         
801                         
802                         
803                                 <dl class="detailList">
804                                 <dt class="heading">Parameters:</dt>
805                                 
806                                         <dt>
807                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
808                                                 
809                                         </dt>
810                                         <dd>The name of the event to check for</dd>
811                                 
812                                 </dl>
813                         
814                         
815                         
816                         
817                         
818                                 <dl class="detailList">
819                                 <dt class="heading">Returns:</dt>
820                                 
821                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  True if the event is being listened for, else false</dd>
822                                 
823                                 </dl>
824                         
825                         
826                         
827
828                     
829                     
830                      
831                     </div>                    
832                 </div>
833
834             </td>
835             <td class="msource">
836                 
837                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
838                 &nbsp;
839             </td>
840         </tr>
841         
842           
843           <tr class="method-row config-row-alt1 expandable notInherited">
844             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
845            
846            
847             <td class="sig">
848                 <a id="Roo.tree.TreeLoader-method-load"   name=".load"></a>
849                 <div class="fixedFont">
850                         <span class="attributes"></span><b class="itemname">load</b>
851                                 
852                                  (<a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a> <B><i>node</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>) 
853                         
854                                 
855                         
856                 </div>
857                 <div class="mdesc">
858                 
859                    <div class="short">Load an {<b>link</b> Roo.tree.TreeNode} from the URL specified in the constructor.</div> 
860                  
861                  
862                  
863                     <div class="long">
864                         
865                                 Load an {<b>link</b> Roo.tree.TreeNode} from the URL specified in the constructor.<br/>This is called automatically when a node is expanded, but may be used to reload<br/>a node (or append new children if the {<b>link</b> <b>clearOnLoad</b>} option is false.)
866                     
867                                 
868                         
869                         
870                         
871                         
872                                 <dl class="detailList">
873                                 <dt class="heading">Parameters:</dt>
874                                 
875                                         <dt>
876                                                 <span class="fixedFont"><a href="./Roo.tree.TreeNode.html#constructor" roo:cls="Roo.tree.TreeNode.html#constructor">Roo.tree.TreeNode</a></span>  <b>node</b>
877                                                 
878                                         </dt>
879                                         <dd></dd>
880                                 
881                                         <dt>
882                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>callback</b>
883                                                 
884                                         </dt>
885                                         <dd></dd>
886                                 
887                                 </dl>
888                         
889                         
890                         
891                         
892                         
893                         
894                         
895
896                     
897                     
898                      
899                     </div>                    
900                 </div>
901
902             </td>
903             <td class="msource">
904                 
905                         Roo.tree.TreeLoader
906                 &nbsp;
907             </td>
908         </tr>
909         
910           
911           <tr class="method-row config-row-alt0 expandable">
912             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
913            
914            
915             <td class="sig">
916                 <a id="Roo.util.Observable-method-on"   name=".on"></a>
917                 <div class="fixedFont">
918                         <span class="attributes"></span><b class="itemname">on</b>
919                                 
920                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
921                         
922                                 
923                         
924                 </div>
925                 <div class="mdesc">
926                 
927                    <div class="short">Appends an event handler to this element (shorthand for addListener)</div> 
928                  
929                  
930                  
931                     <div class="long">
932                         
933                                 Appends an event handler to this element (shorthand for addListener)
934                     
935                                 
936                         
937                         
938                         
939                         
940                                 <dl class="detailList">
941                                 <dt class="heading">Parameters:</dt>
942                                 
943                                         <dt>
944                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
945                                                 
946                                         </dt>
947                                         <dd>The type of event to listen for</dd>
948                                 
949                                         <dt>
950                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
951                                                 
952                                         </dt>
953                                         <dd>The method the event invokes</dd>
954                                 
955                                         <dt>
956                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
957                                                 
958                                         </dt>
959                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
960                                 
961                                         <dt>
962                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
963                                                 
964                                         </dt>
965                                         <dd>(optional)</dd>
966                                 
967                                 </dl>
968                         
969                         
970                         
971                         
972                         
973                         
974                         
975
976                     
977                     
978                      
979                     </div>                    
980                 </div>
981
982             </td>
983             <td class="msource">
984                 
985                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
986                 &nbsp;
987             </td>
988         </tr>
989         
990           
991           <tr class="method-row config-row-alt1 expandable">
992             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
993            
994            
995             <td class="sig">
996                 <a id="Roo.util.Observable-method-purgeListeners"   name=".purgeListeners"></a>
997                 <div class="fixedFont">
998                         <span class="attributes"></span><b class="itemname">purgeListeners</b>
999                                 
1000                                  () 
1001                         
1002                                 
1003                         
1004                 </div>
1005                 <div class="mdesc">
1006                 
1007                    <div class="short">Removes all listeners for this object</div> 
1008                  
1009                  
1010                  
1011                     <div class="long">
1012                         
1013                                 Removes all listeners for this object
1014                     
1015                                 
1016                         
1017                         
1018                         
1019                         
1020                         
1021                         
1022                         
1023                         
1024                         
1025                         
1026
1027                     
1028                     
1029                      
1030                     </div>                    
1031                 </div>
1032
1033             </td>
1034             <td class="msource">
1035                 
1036                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1037                 &nbsp;
1038             </td>
1039         </tr>
1040         
1041           
1042           <tr class="method-row config-row-alt0 expandable">
1043             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1044            
1045            
1046             <td class="sig">
1047                 <a id="Roo.util.Observable-method-removeListener"   name=".removeListener"></a>
1048                 <div class="fixedFont">
1049                         <span class="attributes"></span><b class="itemname">removeListener</b>
1050                                 
1051                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>) 
1052                         
1053                                 
1054                         
1055                 </div>
1056                 <div class="mdesc">
1057                 
1058                    <div class="short">Removes a listener</div> 
1059                  
1060                  
1061                  
1062                     <div class="long">
1063                         
1064                                 Removes a listener
1065                     
1066                                 
1067                         
1068                         
1069                         
1070                         
1071                                 <dl class="detailList">
1072                                 <dt class="heading">Parameters:</dt>
1073                                 
1074                                         <dt>
1075                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1076                                                 
1077                                         </dt>
1078                                         <dd>The type of event to listen for</dd>
1079                                 
1080                                         <dt>
1081                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1082                                                 
1083                                         </dt>
1084                                         <dd>The handler to remove</dd>
1085                                 
1086                                         <dt>
1087                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
1088                                                 
1089                                         </dt>
1090                                         <dd>(optional) The scope (this object) for the handler</dd>
1091                                 
1092                                 </dl>
1093                         
1094                         
1095                         
1096                         
1097                         
1098                         
1099                         
1100
1101                     
1102                     
1103                      
1104                     </div>                    
1105                 </div>
1106
1107             </td>
1108             <td class="msource">
1109                 
1110                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1111                 &nbsp;
1112             </td>
1113         </tr>
1114         
1115           
1116           <tr class="method-row config-row-alt1 expandable">
1117             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1118            
1119            
1120             <td class="sig">
1121                 <a id="Roo.util.Observable-method-un"   name=".un"></a>
1122                 <div class="fixedFont">
1123                         <span class="attributes"></span><b class="itemname">un</b>
1124                                 
1125                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>) 
1126                         
1127                                 
1128                         
1129                 </div>
1130                 <div class="mdesc">
1131                 
1132                    <div class="short">Removes a listener (shorthand for removeListener)</div> 
1133                  
1134                  
1135                  
1136                     <div class="long">
1137                         
1138                                 Removes a listener (shorthand for removeListener)
1139                     
1140                                 
1141                         
1142                         
1143                         
1144                         
1145                                 <dl class="detailList">
1146                                 <dt class="heading">Parameters:</dt>
1147                                 
1148                                         <dt>
1149                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1150                                                 
1151                                         </dt>
1152                                         <dd>The type of event to listen for</dd>
1153                                 
1154                                         <dt>
1155                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1156                                                 
1157                                         </dt>
1158                                         <dd>The handler to remove</dd>
1159                                 
1160                                         <dt>
1161                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
1162                                                 
1163                                         </dt>
1164                                         <dd>(optional) The scope (this object) for the handler</dd>
1165                                 
1166                                 </dl>
1167                         
1168                         
1169                         
1170                         
1171                         
1172                         
1173                         
1174
1175                     
1176                     
1177                      
1178                     </div>                    
1179                 </div>
1180
1181             </td>
1182             <td class="msource">
1183                 
1184                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1185                 &nbsp;
1186             </td>
1187         </tr>
1188         
1189                                                        
1190     </table>
1191
1192   
1193   <!-- ============================== events summary / details ======================== -->
1194   
1195   
1196   <a id="Roo.tree.TreeLoader-events"></a>
1197     
1198   
1199         
1200    
1201   
1202     
1203     
1204     
1205       <table cellspacing="0" class="member-table">
1206                 <caption>Events</caption>
1207               <thead>
1208                 <tr>
1209                     <th class="sig-header" colspan="2">Event</th>            
1210                     <th class="msource-header">Defined By</th>
1211
1212                 </tr>
1213               </thead>  
1214         
1215         
1216          
1217         
1218         
1219           <tr class="method-row expandable config-row-alt0 notInherited">
1220             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1221             
1222             <td class="sig">
1223                 <a id="Roo.tree.TreeLoader-event-*beforeload"></a>
1224                 
1225                <div class="fixedFont">
1226                 <b class="itemname">beforeload</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>This</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>node</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>callback</i></B>) 
1227                 
1228                 </div>
1229
1230                 <div class="mdesc">
1231
1232                    <div class="short">Fires before a network request is made to retrieve the Json text which specifies a node's children.
1233                    
1234                 </div> 
1235                     
1236                     <div class="long">
1237                     
1238                         Fires before a network request is made to retrieve the Json text which specifies a node's children.
1239                     
1240                         
1241                         
1242                 
1243                         
1244                                 <dl class="detailList">
1245                                 <dt class="heading">Parameters:</dt>
1246                                 
1247                                         <dt>
1248                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>This</b>
1249                                                 
1250                                         </dt>
1251                                         <dd>TreeLoader object.</dd>
1252                                 
1253                                         <dt>
1254                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>node</b>
1255                                                 
1256                                         </dt>
1257                                         <dd>The {<b>link</b> Roo.tree.TreeNode} object being loaded.</dd>
1258                                 
1259                                         <dt>
1260                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>callback</b>
1261                                                 
1262                                         </dt>
1263                                         <dd>The callback function specified in the {<b>link</b> <b>load</b>} call.</dd>
1264                                 
1265                                 </dl>
1266                         
1267                         
1268                         
1269                         
1270                         
1271                         
1272                         
1273
1274                     
1275                     
1276                      
1277                     </div>                    
1278                 </div>
1279
1280             </td>
1281             <td class="msource">
1282                 Roo.tree.TreeLoader
1283             </td>
1284         </tr>
1285         
1286           <tr class="method-row expandable config-row-alt1 notInherited">
1287             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1288             
1289             <td class="sig">
1290                 <a id="Roo.tree.TreeLoader-event-*create"></a>
1291                 
1292                <div class="fixedFont">
1293                 <b class="itemname">create</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>This</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>attr</i></B>) 
1294                 
1295                 </div>
1296
1297                 <div class="mdesc">
1298
1299                    <div class="short">Fires before a node is created, enabling you to return custom Node types
1300                    
1301                 </div> 
1302                     
1303                     <div class="long">
1304                     
1305                         Fires before a node is created, enabling you to return custom Node types
1306                     
1307                         
1308                         
1309                 
1310                         
1311                                 <dl class="detailList">
1312                                 <dt class="heading">Parameters:</dt>
1313                                 
1314                                         <dt>
1315                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>This</b>
1316                                                 
1317                                         </dt>
1318                                         <dd>TreeLoader object.</dd>
1319                                 
1320                                         <dt>
1321                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>attr</b>
1322                                                 
1323                                         </dt>
1324                                         <dd>- the data returned from the AJAX call (modify it to suit)</dd>
1325                                 
1326                                 </dl>
1327                         
1328                         
1329                         
1330                         
1331                         
1332                         
1333                         
1334
1335                     
1336                     
1337                      
1338                     </div>                    
1339                 </div>
1340
1341             </td>
1342             <td class="msource">
1343                 Roo.tree.TreeLoader
1344             </td>
1345         </tr>
1346         
1347           <tr class="method-row expandable config-row-alt0 notInherited">
1348             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1349             
1350             <td class="sig">
1351                 <a id="Roo.tree.TreeLoader-event-*load"></a>
1352                 
1353                <div class="fixedFont">
1354                 <b class="itemname">load</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>This</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>node</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>response</i></B>) 
1355                 
1356                 </div>
1357
1358                 <div class="mdesc">
1359
1360                    <div class="short">Fires when the node has been successfuly loaded.
1361                    
1362                 </div> 
1363                     
1364                     <div class="long">
1365                     
1366                         Fires when the node has been successfuly loaded.
1367                     
1368                         
1369                         
1370                 
1371                         
1372                                 <dl class="detailList">
1373                                 <dt class="heading">Parameters:</dt>
1374                                 
1375                                         <dt>
1376                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>This</b>
1377                                                 
1378                                         </dt>
1379                                         <dd>TreeLoader object.</dd>
1380                                 
1381                                         <dt>
1382                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>node</b>
1383                                                 
1384                                         </dt>
1385                                         <dd>The {<b>link</b> Roo.tree.TreeNode} object being loaded.</dd>
1386                                 
1387                                         <dt>
1388                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>response</b>
1389                                                 
1390                                         </dt>
1391                                         <dd>The response object containing the data from the server.</dd>
1392                                 
1393                                 </dl>
1394                         
1395                         
1396                         
1397                         
1398                         
1399                         
1400                         
1401
1402                     
1403                     
1404                      
1405                     </div>                    
1406                 </div>
1407
1408             </td>
1409             <td class="msource">
1410                 Roo.tree.TreeLoader
1411             </td>
1412         </tr>
1413         
1414           <tr class="method-row expandable config-row-alt1 notInherited">
1415             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1416             
1417             <td class="sig">
1418                 <a id="Roo.tree.TreeLoader-event-*loadexception"></a>
1419                 
1420                <div class="fixedFont">
1421                 <b class="itemname">loadexception</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>This</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>node</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>response</i></B>) 
1422                 
1423                 </div>
1424
1425                 <div class="mdesc">
1426
1427                    <div class="short">Fires if the network request failed.
1428                    
1429                 </div> 
1430                     
1431                     <div class="long">
1432                     
1433                         Fires if the network request failed.
1434                     
1435                         
1436                         
1437                 
1438                         
1439                                 <dl class="detailList">
1440                                 <dt class="heading">Parameters:</dt>
1441                                 
1442                                         <dt>
1443                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>This</b>
1444                                                 
1445                                         </dt>
1446                                         <dd>TreeLoader object.</dd>
1447                                 
1448                                         <dt>
1449                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>node</b>
1450                                                 
1451                                         </dt>
1452                                         <dd>The {<b>link</b> Roo.tree.TreeNode} object being loaded.</dd>
1453                                 
1454                                         <dt>
1455                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>response</b>
1456                                                 
1457                                         </dt>
1458                                         <dd>The response object containing the data from the server.</dd>
1459                                 
1460                                 </dl>
1461                         
1462                         
1463                         
1464                         
1465                         
1466                         
1467                         
1468
1469                     
1470                     
1471                      
1472                     </div>                    
1473                 </div>
1474
1475             </td>
1476             <td class="msource">
1477                 Roo.tree.TreeLoader
1478             </td>
1479         </tr>
1480         
1481                                                        
1482     </table>
1483
1484   
1485   
1486   
1487  
1488 <!-- ============================== footer ================================= -->
1489                 <div class="fineprint" style="clear:both">
1490                         
1491                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Fri Jul 13 2018 14:10:55 GMT+0800 (HKT)
1492                         Based on 
1493                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
1494                 </div>
1495         </body>
1496 </html>