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