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