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