sync
[roojs1] / docs / symbols / Roo.data.Node.json
1 {
2   "name" : "Roo.data.Node",
3   "augments" : [
4     "Roo.util.Observable"
5   ],
6   "childClasses" : [
7     "Roo.tree.TreeNode",
8     "Roo.tree.AsyncTreeNode"
9   ],
10   "desc" : "",
11   "isSingleton" : false,
12   "isStatic" : false,
13   "isBuiltin" : false,
14   "memberOf" : "Node",
15   "example" : "",
16   "deprecated" : "",
17   "since" : "",
18   "see" : "",
19   "params" : [
20     {
21       "name" : "attributes",
22       "type" : "Object",
23       "desc" : "The attributes/config for the node",
24       "isOptional" : false
25     }
26   ],
27   "returns" : [],
28   "throws" : "",
29   "requires" : "",
30   "config" : [
31     {
32       "name" : "listeners",
33       "type" : "Object",
34       "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n    listeners :  { \n       'click' : function(e) {\n           ..... \n        } ,\n        .... \n    } \n  </code></pre>",
35       "memberOf" : "Roo.util.Observable"
36     },
37     {
38       "name" : "id",
39       "type" : "String",
40       "desc" : "The id for this node. If one is not specified, one is generated.",
41       "memberOf" : ""
42     },
43     {
44       "name" : "leaf",
45       "type" : "Boolean",
46       "desc" : "true if this node is a leaf and does not have children",
47       "memberOf" : ""
48     }
49   ],
50   "methods" : [
51     {
52       "name" : "sort",
53       "type" : "function",
54       "desc" : "Sorts this nodes children using the supplied sort function",
55       "sig" : "(fn, scope)",
56       "static" : false,
57       "memberOf" : "",
58       "isStatic" : false,
59       "isConstructor" : false,
60       "isPrivate" : false,
61       "example" : "",
62       "deprecated" : "",
63       "since" : "",
64       "see" : "",
65       "exceptions" : "",
66       "requires" : "",
67       "params" : [
68         {
69           "name" : "fn",
70           "type" : "Function",
71           "desc" : "",
72           "isOptional" : false
73         },
74         {
75           "name" : "scope",
76           "type" : "Object",
77           "desc" : "(optional)",
78           "isOptional" : false
79         }
80       ],
81       "returns" : []
82     },
83     {
84       "name" : "removeChild",
85       "type" : "function",
86       "desc" : "Removes a child node from this node.",
87       "sig" : "(node)",
88       "static" : false,
89       "memberOf" : "",
90       "isStatic" : false,
91       "isConstructor" : false,
92       "isPrivate" : false,
93       "example" : "",
94       "deprecated" : "",
95       "since" : "",
96       "see" : "",
97       "exceptions" : "",
98       "requires" : "",
99       "params" : [
100         {
101           "name" : "node",
102           "type" : "Node",
103           "desc" : "The node to remove",
104           "isOptional" : false
105         }
106       ],
107       "returns" : [
108         {
109           "name" : "",
110           "type" : "Node",
111           "desc" : "The removed node"
112         }
113       ]
114     },
115     {
116       "name" : "isAncestor",
117       "type" : "function",
118       "desc" : "Returns true if the passed node is an ancestor (at any point) of this node.",
119       "sig" : "(node)",
120       "static" : false,
121       "memberOf" : "",
122       "isStatic" : false,
123       "isConstructor" : false,
124       "isPrivate" : false,
125       "example" : "",
126       "deprecated" : "",
127       "since" : "",
128       "see" : "",
129       "exceptions" : "",
130       "requires" : "",
131       "params" : [
132         {
133           "name" : "node",
134           "type" : "Node",
135           "desc" : "",
136           "isOptional" : false
137         }
138       ],
139       "returns" : [
140         {
141           "name" : "",
142           "type" : "Boolean",
143           "desc" : ""
144         }
145       ]
146     },
147     {
148       "name" : "contains",
149       "type" : "function",
150       "desc" : "Returns true if this node is an ancestor (at any point) of the passed node.",
151       "sig" : "(node)",
152       "static" : false,
153       "memberOf" : "",
154       "isStatic" : false,
155       "isConstructor" : false,
156       "isPrivate" : false,
157       "example" : "",
158       "deprecated" : "",
159       "since" : "",
160       "see" : "",
161       "exceptions" : "",
162       "requires" : "",
163       "params" : [
164         {
165           "name" : "node",
166           "type" : "Node",
167           "desc" : "",
168           "isOptional" : false
169         }
170       ],
171       "returns" : [
172         {
173           "name" : "",
174           "type" : "Boolean",
175           "desc" : ""
176         }
177       ]
178     },
179     {
180       "name" : "cascade",
181       "type" : "function",
182       "desc" : "Cascades down the tree from this node, calling the specified function with each node. The scope (<i>this</i>) of\nfunction call will be the scope provided or the current node. The arguments to the function\nwill be the args provided or the current node. If the function returns false at any point,\nthe cascade is stopped on that branch.",
183       "sig" : "(fn, scope, args)",
184       "static" : false,
185       "memberOf" : "",
186       "isStatic" : false,
187       "isConstructor" : false,
188       "isPrivate" : false,
189       "example" : "",
190       "deprecated" : "",
191       "since" : "",
192       "see" : "",
193       "exceptions" : "",
194       "requires" : "",
195       "params" : [
196         {
197           "name" : "fn",
198           "type" : "Function",
199           "desc" : "The function to call",
200           "isOptional" : false
201         },
202         {
203           "name" : "scope",
204           "type" : "Object",
205           "desc" : "(optional) The scope of the function (defaults to current node)",
206           "isOptional" : false
207         },
208         {
209           "name" : "args",
210           "type" : "Array",
211           "desc" : "(optional) The args to call the function with (default to passing the current node)",
212           "isOptional" : false
213         }
214       ],
215       "returns" : []
216     },
217     {
218       "name" : "getDepth",
219       "type" : "function",
220       "desc" : "Returns depth of this node (the root node has a depth of 0)",
221       "sig" : "()\n{\n\n}",
222       "static" : false,
223       "memberOf" : "",
224       "isStatic" : false,
225       "isConstructor" : false,
226       "isPrivate" : false,
227       "example" : "",
228       "deprecated" : "",
229       "since" : "",
230       "see" : "",
231       "exceptions" : "",
232       "requires" : "",
233       "params" : [],
234       "returns" : [
235         {
236           "name" : "",
237           "type" : "Number",
238           "desc" : ""
239         }
240       ]
241     },
242     {
243       "name" : "getPath",
244       "type" : "function",
245       "desc" : "Returns the path for this node. The path can be used to expand or select this node programmatically.",
246       "sig" : "(attr)",
247       "static" : false,
248       "memberOf" : "",
249       "isStatic" : false,
250       "isConstructor" : false,
251       "isPrivate" : false,
252       "example" : "",
253       "deprecated" : "",
254       "since" : "",
255       "see" : "",
256       "exceptions" : "",
257       "requires" : "",
258       "params" : [
259         {
260           "name" : "attr",
261           "type" : "String",
262           "desc" : "(optional) The attr to use for the path (defaults to the node's id)",
263           "isOptional" : false
264         }
265       ],
266       "returns" : [
267         {
268           "name" : "",
269           "type" : "String",
270           "desc" : "The path"
271         }
272       ]
273     },
274     {
275       "name" : "indexOf",
276       "type" : "function",
277       "desc" : "Returns the index of a child node",
278       "sig" : "(node)",
279       "static" : false,
280       "memberOf" : "",
281       "isStatic" : false,
282       "isConstructor" : false,
283       "isPrivate" : false,
284       "example" : "",
285       "deprecated" : "",
286       "since" : "",
287       "see" : "",
288       "exceptions" : "",
289       "requires" : "",
290       "params" : [
291         {
292           "name" : "node",
293           "type" : "Node",
294           "desc" : "",
295           "isOptional" : false
296         }
297       ],
298       "returns" : [
299         {
300           "name" : "",
301           "type" : "Number",
302           "desc" : "The index of the node or -1 if it was not found"
303         }
304       ]
305     },
306     {
307       "name" : "isFirst",
308       "type" : "function",
309       "desc" : "Returns true if this node is the first child of its parent",
310       "sig" : "()\n{\n\n}",
311       "static" : false,
312       "memberOf" : "",
313       "isStatic" : false,
314       "isConstructor" : false,
315       "isPrivate" : false,
316       "example" : "",
317       "deprecated" : "",
318       "since" : "",
319       "see" : "",
320       "exceptions" : "",
321       "requires" : "",
322       "params" : [],
323       "returns" : [
324         {
325           "name" : "",
326           "type" : "Boolean",
327           "desc" : ""
328         }
329       ]
330     },
331     {
332       "name" : "isLast",
333       "type" : "function",
334       "desc" : "Returns true if this node is the last child of its parent",
335       "sig" : "()\n{\n\n}",
336       "static" : false,
337       "memberOf" : "",
338       "isStatic" : false,
339       "isConstructor" : false,
340       "isPrivate" : false,
341       "example" : "",
342       "deprecated" : "",
343       "since" : "",
344       "see" : "",
345       "exceptions" : "",
346       "requires" : "",
347       "params" : [],
348       "returns" : [
349         {
350           "name" : "",
351           "type" : "Boolean",
352           "desc" : ""
353         }
354       ]
355     },
356     {
357       "name" : "isLeaf",
358       "type" : "function",
359       "desc" : "Returns true if this node is a leaf",
360       "sig" : "()\n{\n\n}",
361       "static" : false,
362       "memberOf" : "",
363       "isStatic" : false,
364       "isConstructor" : false,
365       "isPrivate" : false,
366       "example" : "",
367       "deprecated" : "",
368       "since" : "",
369       "see" : "",
370       "exceptions" : "",
371       "requires" : "",
372       "params" : [],
373       "returns" : [
374         {
375           "name" : "",
376           "type" : "Boolean",
377           "desc" : ""
378         }
379       ]
380     },
381     {
382       "name" : "insertBefore",
383       "type" : "function",
384       "desc" : "Inserts the first node before the second node in this nodes childNodes collection.",
385       "sig" : "(node, refNode)",
386       "static" : false,
387       "memberOf" : "",
388       "isStatic" : false,
389       "isConstructor" : false,
390       "isPrivate" : false,
391       "example" : "",
392       "deprecated" : "",
393       "since" : "",
394       "see" : "",
395       "exceptions" : "",
396       "requires" : "",
397       "params" : [
398         {
399           "name" : "node",
400           "type" : "Node",
401           "desc" : "The node to insert",
402           "isOptional" : false
403         },
404         {
405           "name" : "refNode",
406           "type" : "Node",
407           "desc" : "The node to insert before (if null the node is appended)",
408           "isOptional" : false
409         }
410       ],
411       "returns" : [
412         {
413           "name" : "",
414           "type" : "Node",
415           "desc" : "The inserted node"
416         }
417       ]
418     },
419     {
420       "name" : "item",
421       "type" : "function",
422       "desc" : "Returns the child node at the specified index.",
423       "sig" : "(index)",
424       "static" : false,
425       "memberOf" : "",
426       "isStatic" : false,
427       "isConstructor" : false,
428       "isPrivate" : false,
429       "example" : "",
430       "deprecated" : "",
431       "since" : "",
432       "see" : "",
433       "exceptions" : "",
434       "requires" : "",
435       "params" : [
436         {
437           "name" : "index",
438           "type" : "Number",
439           "desc" : "",
440           "isOptional" : false
441         }
442       ],
443       "returns" : [
444         {
445           "name" : "",
446           "type" : "Node",
447           "desc" : ""
448         }
449       ]
450     },
451     {
452       "name" : "getOwnerTree",
453       "type" : "function",
454       "desc" : "Returns the tree this node is in.",
455       "sig" : "()\n{\n\n}",
456       "static" : false,
457       "memberOf" : "",
458       "isStatic" : false,
459       "isConstructor" : false,
460       "isPrivate" : false,
461       "example" : "",
462       "deprecated" : "",
463       "since" : "",
464       "see" : "",
465       "exceptions" : "",
466       "requires" : "",
467       "params" : [],
468       "returns" : [
469         {
470           "name" : "",
471           "type" : "Tree",
472           "desc" : ""
473         }
474       ]
475     },
476     {
477       "name" : "appendChild",
478       "type" : "function",
479       "desc" : "Insert node(s) as the last child node of this node.",
480       "sig" : "(node)",
481       "static" : false,
482       "memberOf" : "",
483       "isStatic" : false,
484       "isConstructor" : false,
485       "isPrivate" : false,
486       "example" : "",
487       "deprecated" : "",
488       "since" : "",
489       "see" : "",
490       "exceptions" : "",
491       "requires" : "",
492       "params" : [
493         {
494           "name" : "node",
495           "type" : "Node/Array",
496           "desc" : "The node or Array of nodes to append",
497           "isOptional" : false
498         }
499       ],
500       "returns" : [
501         {
502           "name" : "",
503           "type" : "Node",
504           "desc" : "The appended node if single append, or null if an array was passed"
505         }
506       ]
507     },
508     {
509       "name" : "findChildBy",
510       "type" : "function",
511       "desc" : "Finds the first child by a custom function. The child matches if the function passed\nreturns true.",
512       "sig" : "(fn, scope)",
513       "static" : false,
514       "memberOf" : "",
515       "isStatic" : false,
516       "isConstructor" : false,
517       "isPrivate" : false,
518       "example" : "",
519       "deprecated" : "",
520       "since" : "",
521       "see" : "",
522       "exceptions" : "",
523       "requires" : "",
524       "params" : [
525         {
526           "name" : "fn",
527           "type" : "Function",
528           "desc" : "",
529           "isOptional" : false
530         },
531         {
532           "name" : "scope",
533           "type" : "Object",
534           "desc" : "(optional)",
535           "isOptional" : false
536         }
537       ],
538       "returns" : [
539         {
540           "name" : "",
541           "type" : "Node",
542           "desc" : "The found child or null if none was found"
543         }
544       ]
545     },
546     {
547       "name" : "replaceChild",
548       "type" : "function",
549       "desc" : "Replaces one child node in this node with another.",
550       "sig" : "(newChild, oldChild)",
551       "static" : false,
552       "memberOf" : "",
553       "isStatic" : false,
554       "isConstructor" : false,
555       "isPrivate" : false,
556       "example" : "",
557       "deprecated" : "",
558       "since" : "",
559       "see" : "",
560       "exceptions" : "",
561       "requires" : "",
562       "params" : [
563         {
564           "name" : "newChild",
565           "type" : "Node",
566           "desc" : "The replacement node",
567           "isOptional" : false
568         },
569         {
570           "name" : "oldChild",
571           "type" : "Node",
572           "desc" : "The node to replace",
573           "isOptional" : false
574         }
575       ],
576       "returns" : [
577         {
578           "name" : "",
579           "type" : "Node",
580           "desc" : "The replaced node"
581         }
582       ]
583     },
584     {
585       "name" : "bubble",
586       "type" : "function",
587       "desc" : "Bubbles up the tree from this node, calling the specified function with each node. The scope (<i>this</i>) of\nfunction call will be the scope provided or the current node. The arguments to the function\nwill be the args provided or the current node. If the function returns false at any point,\nthe bubble is stopped.",
588       "sig" : "(fn, scope, args)",
589       "static" : false,
590       "memberOf" : "",
591       "isStatic" : false,
592       "isConstructor" : false,
593       "isPrivate" : false,
594       "example" : "",
595       "deprecated" : "",
596       "since" : "",
597       "see" : "",
598       "exceptions" : "",
599       "requires" : "",
600       "params" : [
601         {
602           "name" : "fn",
603           "type" : "Function",
604           "desc" : "The function to call",
605           "isOptional" : false
606         },
607         {
608           "name" : "scope",
609           "type" : "Object",
610           "desc" : "(optional) The scope of the function (defaults to current node)",
611           "isOptional" : false
612         },
613         {
614           "name" : "args",
615           "type" : "Array",
616           "desc" : "(optional) The args to call the function with (default to passing the current node)",
617           "isOptional" : false
618         }
619       ],
620       "returns" : []
621     },
622     {
623       "name" : "eachChild",
624       "type" : "function",
625       "desc" : "Interates the child nodes of this node, calling the specified function with each node. The scope (<i>this</i>) of\nfunction call will be the scope provided or the current node. The arguments to the function\nwill be the args provided or the current node. If the function returns false at any point,\nthe iteration stops.",
626       "sig" : "(fn, scope, args)",
627       "static" : false,
628       "memberOf" : "",
629       "isStatic" : false,
630       "isConstructor" : false,
631       "isPrivate" : false,
632       "example" : "",
633       "deprecated" : "",
634       "since" : "",
635       "see" : "",
636       "exceptions" : "",
637       "requires" : "",
638       "params" : [
639         {
640           "name" : "fn",
641           "type" : "Function",
642           "desc" : "The function to call",
643           "isOptional" : false
644         },
645         {
646           "name" : "scope",
647           "type" : "Object",
648           "desc" : "(optional) The scope of the function (defaults to current node)",
649           "isOptional" : false
650         },
651         {
652           "name" : "args",
653           "type" : "Array",
654           "desc" : "(optional) The args to call the function with (default to passing the current node)",
655           "isOptional" : false
656         }
657       ],
658       "returns" : []
659     },
660     {
661       "name" : "findChild",
662       "type" : "function",
663       "desc" : "Finds the first child that has the attribute with the specified value.",
664       "sig" : "(attribute, value)",
665       "static" : false,
666       "memberOf" : "",
667       "isStatic" : false,
668       "isConstructor" : false,
669       "isPrivate" : false,
670       "example" : "",
671       "deprecated" : "",
672       "since" : "",
673       "see" : "",
674       "exceptions" : "",
675       "requires" : "",
676       "params" : [
677         {
678           "name" : "attribute",
679           "type" : "String",
680           "desc" : "The attribute name",
681           "isOptional" : false
682         },
683         {
684           "name" : "value",
685           "type" : "Mixed",
686           "desc" : "The value to search for",
687           "isOptional" : false
688         }
689       ],
690       "returns" : [
691         {
692           "name" : "",
693           "type" : "Node",
694           "desc" : "The found child or null if none was found"
695         }
696       ]
697     },
698     {
699       "name" : "purgeListeners",
700       "type" : "function",
701       "desc" : "Removes all listeners for this object",
702       "sig" : "()\n{\n\n}",
703       "static" : false,
704       "memberOf" : "Roo.util.Observable",
705       "isStatic" : false,
706       "isConstructor" : false,
707       "isPrivate" : false,
708       "example" : "",
709       "deprecated" : "",
710       "since" : "",
711       "see" : "",
712       "exceptions" : "",
713       "requires" : "",
714       "params" : [],
715       "returns" : []
716     },
717     {
718       "name" : "on",
719       "type" : "function",
720       "desc" : "Appends an event handler to this element (shorthand for addListener)",
721       "sig" : "(eventName, handler, scope, options)",
722       "static" : false,
723       "memberOf" : "Roo.util.Observable",
724       "isStatic" : false,
725       "isConstructor" : false,
726       "isPrivate" : false,
727       "example" : "",
728       "deprecated" : "",
729       "since" : "",
730       "see" : "",
731       "exceptions" : "",
732       "requires" : "",
733       "params" : [
734         {
735           "name" : "eventName",
736           "type" : "String",
737           "desc" : "The type of event to listen for",
738           "isOptional" : false
739         },
740         {
741           "name" : "handler",
742           "type" : "Function",
743           "desc" : "The method the event invokes",
744           "isOptional" : false
745         },
746         {
747           "name" : "scope",
748           "type" : "Object",
749           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
750           "isOptional" : false
751         },
752         {
753           "name" : "options",
754           "type" : "Object",
755           "desc" : "(optional)",
756           "isOptional" : false
757         }
758       ],
759       "returns" : []
760     },
761     {
762       "name" : "un",
763       "type" : "function",
764       "desc" : "Removes a listener (shorthand for removeListener)",
765       "sig" : "(eventName, handler, scope)",
766       "static" : false,
767       "memberOf" : "Roo.util.Observable",
768       "isStatic" : false,
769       "isConstructor" : false,
770       "isPrivate" : false,
771       "example" : "",
772       "deprecated" : "",
773       "since" : "",
774       "see" : "",
775       "exceptions" : "",
776       "requires" : "",
777       "params" : [
778         {
779           "name" : "eventName",
780           "type" : "String",
781           "desc" : "The type of event to listen for",
782           "isOptional" : false
783         },
784         {
785           "name" : "handler",
786           "type" : "Function",
787           "desc" : "The handler to remove",
788           "isOptional" : false
789         },
790         {
791           "name" : "scope",
792           "type" : "Object",
793           "desc" : "(optional) The scope (this object) for the handler",
794           "isOptional" : false
795         }
796       ],
797       "returns" : []
798     },
799     {
800       "name" : "addEvents",
801       "type" : "function",
802       "desc" : "Used to define events on this Observable",
803       "sig" : "(object)",
804       "static" : false,
805       "memberOf" : "Roo.util.Observable",
806       "isStatic" : false,
807       "isConstructor" : false,
808       "isPrivate" : false,
809       "example" : "",
810       "deprecated" : "",
811       "since" : "",
812       "see" : "",
813       "exceptions" : "",
814       "requires" : "",
815       "params" : [
816         {
817           "name" : "object",
818           "type" : "Object",
819           "desc" : "The object with the events defined",
820           "isOptional" : false
821         }
822       ],
823       "returns" : []
824     },
825     {
826       "name" : "releaseCapture",
827       "type" : "function",
828       "desc" : "Removes <b>all</b> added captures from the Observable.",
829       "sig" : "(o)",
830       "static" : true,
831       "memberOf" : "Roo.util.Observable",
832       "isStatic" : true,
833       "isConstructor" : false,
834       "isPrivate" : false,
835       "example" : "",
836       "deprecated" : "",
837       "since" : "",
838       "see" : "",
839       "exceptions" : "",
840       "requires" : "",
841       "params" : [
842         {
843           "name" : "o",
844           "type" : "Observable",
845           "desc" : "The Observable to release",
846           "isOptional" : false
847         }
848       ],
849       "returns" : []
850     },
851     {
852       "name" : "removeListener",
853       "type" : "function",
854       "desc" : "Removes a listener",
855       "sig" : "(eventName, handler, scope)",
856       "static" : false,
857       "memberOf" : "Roo.util.Observable",
858       "isStatic" : false,
859       "isConstructor" : false,
860       "isPrivate" : false,
861       "example" : "",
862       "deprecated" : "",
863       "since" : "",
864       "see" : "",
865       "exceptions" : "",
866       "requires" : "",
867       "params" : [
868         {
869           "name" : "eventName",
870           "type" : "String",
871           "desc" : "The type of event to listen for",
872           "isOptional" : false
873         },
874         {
875           "name" : "handler",
876           "type" : "Function",
877           "desc" : "The handler to remove",
878           "isOptional" : false
879         },
880         {
881           "name" : "scope",
882           "type" : "Object",
883           "desc" : "(optional) The scope (this object) for the handler",
884           "isOptional" : false
885         }
886       ],
887       "returns" : []
888     },
889     {
890       "name" : "fireEvent",
891       "type" : "function",
892       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
893       "sig" : "(eventName, args)",
894       "static" : false,
895       "memberOf" : "Roo.util.Observable",
896       "isStatic" : false,
897       "isConstructor" : false,
898       "isPrivate" : false,
899       "example" : "",
900       "deprecated" : "",
901       "since" : "",
902       "see" : "",
903       "exceptions" : "",
904       "requires" : "",
905       "params" : [
906         {
907           "name" : "eventName",
908           "type" : "String",
909           "desc" : "",
910           "isOptional" : false
911         },
912         {
913           "name" : "args",
914           "type" : "Object...",
915           "desc" : "Variable number of parameters are passed to handlers",
916           "isOptional" : false
917         }
918       ],
919       "returns" : [
920         {
921           "name" : "",
922           "type" : "Boolean",
923           "desc" : "returns false if any of the handlers return false otherwise it returns true"
924         }
925       ]
926     },
927     {
928       "name" : "hasListener",
929       "type" : "function",
930       "desc" : "Checks to see if this object has any listeners for a specified event",
931       "sig" : "(eventName)",
932       "static" : false,
933       "memberOf" : "Roo.util.Observable",
934       "isStatic" : false,
935       "isConstructor" : false,
936       "isPrivate" : false,
937       "example" : "",
938       "deprecated" : "",
939       "since" : "",
940       "see" : "",
941       "exceptions" : "",
942       "requires" : "",
943       "params" : [
944         {
945           "name" : "eventName",
946           "type" : "String",
947           "desc" : "The name of the event to check for",
948           "isOptional" : false
949         }
950       ],
951       "returns" : [
952         {
953           "name" : "",
954           "type" : "Boolean",
955           "desc" : "True if the event is being listened for, else false"
956         }
957       ]
958     },
959     {
960       "name" : "capture",
961       "type" : "function",
962       "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
963       "sig" : "(o, fn, scope)",
964       "static" : true,
965       "memberOf" : "Roo.util.Observable",
966       "isStatic" : true,
967       "isConstructor" : false,
968       "isPrivate" : false,
969       "example" : "",
970       "deprecated" : "",
971       "since" : "",
972       "see" : "",
973       "exceptions" : "",
974       "requires" : "",
975       "params" : [
976         {
977           "name" : "o",
978           "type" : "Observable",
979           "desc" : "The Observable to capture",
980           "isOptional" : false
981         },
982         {
983           "name" : "fn",
984           "type" : "Function",
985           "desc" : "The function to call",
986           "isOptional" : false
987         },
988         {
989           "name" : "scope",
990           "type" : "Object",
991           "desc" : "(optional) The scope (this object) for the fn",
992           "isOptional" : false
993         }
994       ],
995       "returns" : []
996     },
997     {
998       "name" : "addListener",
999       "type" : "function",
1000       "desc" : "Appends an event handler to this component",
1001       "sig" : "(eventName, handler, scope, options)",
1002       "static" : false,
1003       "memberOf" : "Roo.util.Observable",
1004       "isStatic" : false,
1005       "isConstructor" : false,
1006       "isPrivate" : false,
1007       "example" : "",
1008       "deprecated" : "",
1009       "since" : "",
1010       "see" : "",
1011       "exceptions" : "",
1012       "requires" : "",
1013       "params" : [
1014         {
1015           "name" : "eventName",
1016           "type" : "String",
1017           "desc" : "The type of event to listen for",
1018           "isOptional" : false
1019         },
1020         {
1021           "name" : "handler",
1022           "type" : "Function",
1023           "desc" : "The method the event invokes",
1024           "isOptional" : false
1025         },
1026         {
1027           "name" : "scope",
1028           "type" : "Object",
1029           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1030           "isOptional" : false
1031         },
1032         {
1033           "name" : "options",
1034           "type" : "Object",
1035           "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n    \t\tdelay: 100,\n    \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n        \t\tfn: this.onClick,\n        \t\tscope: this,\n        \t\tdelay: 100\n    \t\t}, \n    \t\t'mouseover': {\n        \t\tfn: this.onMouseOver,\n        \t\tscope: this\n    \t\t},\n    \t\t'mouseout': {\n        \t\tfn: this.onMouseOut,\n        \t\tscope: this\n    \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n     \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n    \t\t'mouseover': this.onMouseOver,\n    \t\t'mouseout': this.onMouseOut,\n    \t\tscope: this\n\t\t});\n\t\t</code></pre>",
1036           "isOptional" : false
1037         }
1038       ],
1039       "returns" : []
1040     }
1041   ],
1042   "events" : [
1043     {
1044       "name" : "beforeappend",
1045       "type" : "function",
1046       "desc" : "Fires before a new child is appended, return false to cancel the append.",
1047       "sig" : "function (tree, _self, node)\n{\n\n}",
1048       "memberOf" : "",
1049       "example" : "",
1050       "deprecated" : "",
1051       "since" : "",
1052       "see" : "",
1053       "params" : [
1054         {
1055           "name" : "tree",
1056           "type" : "Tree",
1057           "desc" : "The owner tree",
1058           "isOptional" : false
1059         },
1060         {
1061           "name" : "this",
1062           "type" : "Node",
1063           "desc" : "This node",
1064           "isOptional" : false
1065         },
1066         {
1067           "name" : "node",
1068           "type" : "Node",
1069           "desc" : "The child node to be appended",
1070           "isOptional" : false
1071         }
1072       ],
1073       "returns" : []
1074     },
1075     {
1076       "name" : "move",
1077       "type" : "function",
1078       "desc" : "Fires when this node is moved to a new location in the tree",
1079       "sig" : "function (tree, _self, oldParent, newParent, index)\n{\n\n}",
1080       "memberOf" : "",
1081       "example" : "",
1082       "deprecated" : "",
1083       "since" : "",
1084       "see" : "",
1085       "params" : [
1086         {
1087           "name" : "tree",
1088           "type" : "Tree",
1089           "desc" : "The owner tree",
1090           "isOptional" : false
1091         },
1092         {
1093           "name" : "this",
1094           "type" : "Node",
1095           "desc" : "This node",
1096           "isOptional" : false
1097         },
1098         {
1099           "name" : "oldParent",
1100           "type" : "Node",
1101           "desc" : "The old parent of this node",
1102           "isOptional" : false
1103         },
1104         {
1105           "name" : "newParent",
1106           "type" : "Node",
1107           "desc" : "The new parent of this node",
1108           "isOptional" : false
1109         },
1110         {
1111           "name" : "index",
1112           "type" : "Number",
1113           "desc" : "The index it was moved to",
1114           "isOptional" : false
1115         }
1116       ],
1117       "returns" : []
1118     },
1119     {
1120       "name" : "append",
1121       "type" : "function",
1122       "desc" : "Fires when a new child node is appended",
1123       "sig" : "function (tree, _self, node, index)\n{\n\n}",
1124       "memberOf" : "",
1125       "example" : "",
1126       "deprecated" : "",
1127       "since" : "",
1128       "see" : "",
1129       "params" : [
1130         {
1131           "name" : "tree",
1132           "type" : "Tree",
1133           "desc" : "The owner tree",
1134           "isOptional" : false
1135         },
1136         {
1137           "name" : "this",
1138           "type" : "Node",
1139           "desc" : "This node",
1140           "isOptional" : false
1141         },
1142         {
1143           "name" : "node",
1144           "type" : "Node",
1145           "desc" : "The newly appended node",
1146           "isOptional" : false
1147         },
1148         {
1149           "name" : "index",
1150           "type" : "Number",
1151           "desc" : "The index of the newly appended node",
1152           "isOptional" : false
1153         }
1154       ],
1155       "returns" : []
1156     },
1157     {
1158       "name" : "beforeremove",
1159       "type" : "function",
1160       "desc" : "Fires before a child is removed, return false to cancel the remove.",
1161       "sig" : "function (tree, _self, node)\n{\n\n}",
1162       "memberOf" : "",
1163       "example" : "",
1164       "deprecated" : "",
1165       "since" : "",
1166       "see" : "",
1167       "params" : [
1168         {
1169           "name" : "tree",
1170           "type" : "Tree",
1171           "desc" : "The owner tree",
1172           "isOptional" : false
1173         },
1174         {
1175           "name" : "this",
1176           "type" : "Node",
1177           "desc" : "This node",
1178           "isOptional" : false
1179         },
1180         {
1181           "name" : "node",
1182           "type" : "Node",
1183           "desc" : "The child node to be removed",
1184           "isOptional" : false
1185         }
1186       ],
1187       "returns" : []
1188     },
1189     {
1190       "name" : "remove",
1191       "type" : "function",
1192       "desc" : "Fires when a child node is removed",
1193       "sig" : "function (tree, _self, node)\n{\n\n}",
1194       "memberOf" : "",
1195       "example" : "",
1196       "deprecated" : "",
1197       "since" : "",
1198       "see" : "",
1199       "params" : [
1200         {
1201           "name" : "tree",
1202           "type" : "Tree",
1203           "desc" : "The owner tree",
1204           "isOptional" : false
1205         },
1206         {
1207           "name" : "this",
1208           "type" : "Node",
1209           "desc" : "This node",
1210           "isOptional" : false
1211         },
1212         {
1213           "name" : "node",
1214           "type" : "Node",
1215           "desc" : "The removed node",
1216           "isOptional" : false
1217         }
1218       ],
1219       "returns" : []
1220     },
1221     {
1222       "name" : "beforeinsert",
1223       "type" : "function",
1224       "desc" : "Fires before a new child is inserted, return false to cancel the insert.",
1225       "sig" : "function (tree, _self, node, refNode)\n{\n\n}",
1226       "memberOf" : "",
1227       "example" : "",
1228       "deprecated" : "",
1229       "since" : "",
1230       "see" : "",
1231       "params" : [
1232         {
1233           "name" : "tree",
1234           "type" : "Tree",
1235           "desc" : "The owner tree",
1236           "isOptional" : false
1237         },
1238         {
1239           "name" : "this",
1240           "type" : "Node",
1241           "desc" : "This node",
1242           "isOptional" : false
1243         },
1244         {
1245           "name" : "node",
1246           "type" : "Node",
1247           "desc" : "The child node to be inserted",
1248           "isOptional" : false
1249         },
1250         {
1251           "name" : "refNode",
1252           "type" : "Node",
1253           "desc" : "The child node the node is being inserted before",
1254           "isOptional" : false
1255         }
1256       ],
1257       "returns" : []
1258     },
1259     {
1260       "name" : "insert",
1261       "type" : "function",
1262       "desc" : "Fires when a new child node is inserted.",
1263       "sig" : "function (tree, _self, node, refNode)\n{\n\n}",
1264       "memberOf" : "",
1265       "example" : "",
1266       "deprecated" : "",
1267       "since" : "",
1268       "see" : "",
1269       "params" : [
1270         {
1271           "name" : "tree",
1272           "type" : "Tree",
1273           "desc" : "The owner tree",
1274           "isOptional" : false
1275         },
1276         {
1277           "name" : "this",
1278           "type" : "Node",
1279           "desc" : "This node",
1280           "isOptional" : false
1281         },
1282         {
1283           "name" : "node",
1284           "type" : "Node",
1285           "desc" : "The child node inserted",
1286           "isOptional" : false
1287         },
1288         {
1289           "name" : "refNode",
1290           "type" : "Node",
1291           "desc" : "The child node the node was inserted before",
1292           "isOptional" : false
1293         }
1294       ],
1295       "returns" : []
1296     },
1297     {
1298       "name" : "beforemove",
1299       "type" : "function",
1300       "desc" : "Fires before this node is moved to a new location in the tree. Return false to cancel the move.",
1301       "sig" : "function (tree, _self, oldParent, newParent, index)\n{\n\n}",
1302       "memberOf" : "",
1303       "example" : "",
1304       "deprecated" : "",
1305       "since" : "",
1306       "see" : "",
1307       "params" : [
1308         {
1309           "name" : "tree",
1310           "type" : "Tree",
1311           "desc" : "The owner tree",
1312           "isOptional" : false
1313         },
1314         {
1315           "name" : "this",
1316           "type" : "Node",
1317           "desc" : "This node",
1318           "isOptional" : false
1319         },
1320         {
1321           "name" : "oldParent",
1322           "type" : "Node",
1323           "desc" : "The parent of this node",
1324           "isOptional" : false
1325         },
1326         {
1327           "name" : "newParent",
1328           "type" : "Node",
1329           "desc" : "The new parent this node is moving to",
1330           "isOptional" : false
1331         },
1332         {
1333           "name" : "index",
1334           "type" : "Number",
1335           "desc" : "The index it is being moved to",
1336           "isOptional" : false
1337         }
1338       ],
1339       "returns" : []
1340     }
1341   ]
1342 }