sync
[roojs1] / docs / symbols / Roo.form.FieldSet.json
1 {
2   "name" : "Roo.form.FieldSet",
3   "augments" : [
4     "Roo.form.Layout",
5     "Roo.Component",
6     "Roo.util.Observable"
7   ],
8   "desc" : "Creates a fieldset container for layout and rendering of fields in an {@link Roo.form.Form}.",
9   "isSingleton" : false,
10   "isStatic" : false,
11   "isBuiltin" : false,
12   "memberOf" : "FieldSet",
13   "example" : "",
14   "deprecated" : "",
15   "since" : "",
16   "see" : "",
17   "params" : [
18     {
19       "name" : "config",
20       "type" : "Object",
21       "desc" : "Configuration options",
22       "isOptional" : false
23     }
24   ],
25   "returns" : [
26   ],
27   "config" : [
28     {
29       "name" : "labelAlign",
30       "type" : "String",
31       "desc" : "Valid values are \"left,\" \"top\" and \"right\" (defaults to \"left\")",
32       "memberOf" : "Roo.form.Layout",
33       "values" : [
34       ]
35     },
36     {
37       "name" : "listeners",
38       "type" : "Object",
39       "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>",
40       "memberOf" : "Roo.util.Observable",
41       "values" : [
42       ]
43     },
44     {
45       "name" : "hideLabels",
46       "type" : "Boolean",
47       "desc" : "True to suppress the display of field labels in this layout (defaults to false)",
48       "memberOf" : "Roo.form.Layout",
49       "values" : [
50       ]
51     },
52     {
53       "name" : "hideMode",
54       "type" : "String",
55       "desc" : "How this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
56       "memberOf" : "Roo.Component",
57       "values" : [
58         "(display",
59         "visibility)"
60       ]
61     },
62     {
63       "name" : "legend",
64       "type" : "String",
65       "desc" : "The text to display as the legend for the FieldSet (defaults to '')",
66       "memberOf" : "Roo.form.FieldSet",
67       "values" : [
68       ]
69     },
70     {
71       "name" : "style",
72       "type" : "String/Object/Function",
73       "desc" : "A style specification string, e.g. \"width:100px\", or object in the form {width:\"100px\"}, or\na function which returns such a specification.",
74       "memberOf" : "Roo.form.Layout",
75       "values" : [
76       ]
77     },
78     {
79       "name" : "allowDomMove",
80       "type" : "Boolean",
81       "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
82       "memberOf" : "Roo.Component",
83       "values" : [
84       ]
85     },
86     {
87       "name" : "labelWidth",
88       "type" : "Number",
89       "desc" : "Fixed width in pixels of all field labels (defaults to undefined)",
90       "memberOf" : "Roo.form.Layout",
91       "values" : [
92       ]
93     },
94     {
95       "name" : "labelSeparator",
96       "type" : "String",
97       "desc" : "The separator to use after field labels (defaults to ':')",
98       "memberOf" : "Roo.form.Layout",
99       "values" : [
100       ]
101     },
102     {
103       "name" : "autoCreate",
104       "type" : "String/Object",
105       "desc" : "A DomHelper element spec used to autocreate the fieldset (defaults to {tag: 'fieldset', cn: {tag:'legend'}})",
106       "memberOf" : "Roo.form.FieldSet",
107       "values" : [
108       ]
109     },
110     {
111       "name" : "clear",
112       "type" : "Boolean",
113       "desc" : "True to add a clearing element at the end of this layout, equivalent to CSS clear: both (defaults to true)",
114       "memberOf" : "Roo.form.Layout",
115       "values" : [
116       ]
117     },
118     {
119       "name" : "actionMode",
120       "type" : "String",
121       "desc" : "which property holds the element that used for  hide() / show() / disable() / enable()\ndefault is 'el'",
122       "memberOf" : "Roo.Component",
123       "values" : [
124       ]
125     },
126     {
127       "name" : "disableClass",
128       "type" : "String",
129       "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
130       "memberOf" : "Roo.Component",
131       "values" : [
132       ]
133     }
134   ],
135   "methods" : [
136     {
137       "name" : "addxtype",
138       "desc" : "Adds a object form elements (using the xtype property as the factory method.)\nValid xtypes are:  TextField, TextArea .... Button, Layout, FieldSet, Column",
139       "isStatic" : false,
140       "isConstructor" : false,
141       "isPrivate" : false,
142       "memberOf" : "Roo.form.Layout",
143       "example" : "",
144       "deprecated" : "",
145       "since" : "",
146       "see" : "",
147       "params" : [
148         {
149           "name" : "config",
150           "type" : "Object",
151           "desc" : "",
152           "isOptional" : false
153         }
154       ],
155       "returns" : [
156       ]
157     },
158     {
159       "name" : "getId",
160       "desc" : "Returns the id of this component.",
161       "isStatic" : false,
162       "isConstructor" : false,
163       "isPrivate" : false,
164       "memberOf" : "Roo.Component",
165       "example" : "",
166       "deprecated" : "",
167       "since" : "",
168       "see" : "",
169       "params" : [
170       ],
171       "returns" : [
172         {
173           "name" : "",
174           "type" : "String",
175           "desc" : ""
176         }
177       ]
178     },
179     {
180       "name" : "render",
181       "desc" : "If this is a lazy rendering component, render it to its container element.",
182       "isStatic" : false,
183       "isConstructor" : false,
184       "isPrivate" : false,
185       "memberOf" : "Roo.Component",
186       "example" : "",
187       "deprecated" : "",
188       "since" : "",
189       "see" : "",
190       "params" : [
191         {
192           "name" : "container",
193           "type" : "String/HTMLElement/Element",
194           "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
195           "isOptional" : false
196         }
197       ],
198       "returns" : [
199       ]
200     },
201     {
202       "name" : "destroy",
203       "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}.",
204       "isStatic" : false,
205       "isConstructor" : false,
206       "isPrivate" : false,
207       "memberOf" : "Roo.Component",
208       "example" : "",
209       "deprecated" : "",
210       "since" : "",
211       "see" : "",
212       "params" : [
213       ],
214       "returns" : [
215       ]
216     },
217     {
218       "name" : "isVisible",
219       "desc" : "Returns true if this component is visible.",
220       "isStatic" : false,
221       "isConstructor" : false,
222       "isPrivate" : false,
223       "memberOf" : "Roo.Component",
224       "example" : "",
225       "deprecated" : "",
226       "since" : "",
227       "see" : "",
228       "params" : [
229       ],
230       "returns" : [
231       ]
232     },
233     {
234       "name" : "setDisabled",
235       "desc" : "Convenience function for setting disabled/enabled by boolean.",
236       "isStatic" : false,
237       "isConstructor" : false,
238       "isPrivate" : false,
239       "memberOf" : "Roo.Component",
240       "example" : "",
241       "deprecated" : "",
242       "since" : "",
243       "see" : "",
244       "params" : [
245         {
246           "name" : "disabled",
247           "type" : "Boolean",
248           "desc" : "",
249           "isOptional" : false
250         }
251       ],
252       "returns" : [
253       ]
254     },
255     {
256       "name" : "hide",
257       "desc" : "Hide this component.",
258       "isStatic" : false,
259       "isConstructor" : false,
260       "isPrivate" : false,
261       "memberOf" : "Roo.Component",
262       "example" : "",
263       "deprecated" : "",
264       "since" : "",
265       "see" : "",
266       "params" : [
267       ],
268       "returns" : [
269         {
270           "name" : "",
271           "type" : "Roo.Component",
272           "desc" : "this"
273         }
274       ]
275     },
276     {
277       "name" : "focus",
278       "desc" : "Try to focus this component.",
279       "isStatic" : false,
280       "isConstructor" : false,
281       "isPrivate" : false,
282       "memberOf" : "Roo.Component",
283       "example" : "",
284       "deprecated" : "",
285       "since" : "",
286       "see" : "",
287       "params" : [
288         {
289           "name" : "selectText",
290           "type" : "Boolean",
291           "desc" : "True to also select the text in this component (if applicable)",
292           "isOptional" : false
293         }
294       ],
295       "returns" : [
296         {
297           "name" : "",
298           "type" : "Roo.Component",
299           "desc" : "this"
300         }
301       ]
302     },
303     {
304       "name" : "show",
305       "desc" : "Show this component.",
306       "isStatic" : false,
307       "isConstructor" : false,
308       "isPrivate" : false,
309       "memberOf" : "Roo.Component",
310       "example" : "",
311       "deprecated" : "",
312       "since" : "",
313       "see" : "",
314       "params" : [
315       ],
316       "returns" : [
317         {
318           "name" : "",
319           "type" : "Roo.Component",
320           "desc" : "this"
321         }
322       ]
323     },
324     {
325       "name" : "enable",
326       "desc" : "Enable this component.",
327       "isStatic" : false,
328       "isConstructor" : false,
329       "isPrivate" : false,
330       "memberOf" : "Roo.Component",
331       "example" : "",
332       "deprecated" : "",
333       "since" : "",
334       "see" : "",
335       "params" : [
336       ],
337       "returns" : [
338         {
339           "name" : "",
340           "type" : "Roo.Component",
341           "desc" : "this"
342         }
343       ]
344     },
345     {
346       "name" : "setVisible",
347       "desc" : "Convenience function to hide or show this component by boolean.",
348       "isStatic" : false,
349       "isConstructor" : false,
350       "isPrivate" : false,
351       "memberOf" : "Roo.Component",
352       "example" : "",
353       "deprecated" : "",
354       "since" : "",
355       "see" : "",
356       "params" : [
357         {
358           "name" : "visible",
359           "type" : "Boolean",
360           "desc" : "True to show, false to hide",
361           "isOptional" : false
362         }
363       ],
364       "returns" : [
365         {
366           "name" : "",
367           "type" : "Roo.Component",
368           "desc" : "this"
369         }
370       ]
371     },
372     {
373       "name" : "disable",
374       "desc" : "Disable this component.",
375       "isStatic" : false,
376       "isConstructor" : false,
377       "isPrivate" : false,
378       "memberOf" : "Roo.Component",
379       "example" : "",
380       "deprecated" : "",
381       "since" : "",
382       "see" : "",
383       "params" : [
384       ],
385       "returns" : [
386         {
387           "name" : "",
388           "type" : "Roo.Component",
389           "desc" : "this"
390         }
391       ]
392     },
393     {
394       "name" : "getEl",
395       "desc" : "Returns the underlying {@link Roo.Element}.",
396       "isStatic" : false,
397       "isConstructor" : false,
398       "isPrivate" : false,
399       "memberOf" : "Roo.Component",
400       "example" : "",
401       "deprecated" : "",
402       "since" : "",
403       "see" : "",
404       "params" : [
405       ],
406       "returns" : [
407         {
408           "name" : "",
409           "type" : "Roo.Element",
410           "desc" : "The element"
411         }
412       ]
413     },
414     {
415       "name" : "purgeListeners",
416       "desc" : "Removes all listeners for this object",
417       "isStatic" : false,
418       "isConstructor" : false,
419       "isPrivate" : false,
420       "memberOf" : "Roo.util.Observable",
421       "example" : "",
422       "deprecated" : "",
423       "since" : "",
424       "see" : "",
425       "params" : [
426       ],
427       "returns" : [
428       ]
429     },
430     {
431       "name" : "on",
432       "desc" : "Appends an event handler to this element (shorthand for addListener)",
433       "isStatic" : false,
434       "isConstructor" : false,
435       "isPrivate" : false,
436       "memberOf" : "Roo.util.Observable",
437       "example" : "",
438       "deprecated" : "",
439       "since" : "",
440       "see" : "",
441       "params" : [
442         {
443           "name" : "eventName",
444           "type" : "String",
445           "desc" : "The type of event to listen for",
446           "isOptional" : false
447         },
448         {
449           "name" : "handler",
450           "type" : "Function",
451           "desc" : "The method the event invokes",
452           "isOptional" : false
453         },
454         {
455           "name" : "scope",
456           "type" : "Object",
457           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
458           "isOptional" : false
459         },
460         {
461           "name" : "options",
462           "type" : "Object",
463           "desc" : "(optional)",
464           "isOptional" : false
465         }
466       ],
467       "returns" : [
468       ]
469     },
470     {
471       "name" : "un",
472       "desc" : "Removes a listener (shorthand for removeListener)",
473       "isStatic" : false,
474       "isConstructor" : false,
475       "isPrivate" : false,
476       "memberOf" : "Roo.util.Observable",
477       "example" : "",
478       "deprecated" : "",
479       "since" : "",
480       "see" : "",
481       "params" : [
482         {
483           "name" : "eventName",
484           "type" : "String",
485           "desc" : "The type of event to listen for",
486           "isOptional" : false
487         },
488         {
489           "name" : "handler",
490           "type" : "Function",
491           "desc" : "The handler to remove",
492           "isOptional" : false
493         },
494         {
495           "name" : "scope",
496           "type" : "Object",
497           "desc" : "(optional) The scope (this object) for the handler",
498           "isOptional" : false
499         }
500       ],
501       "returns" : [
502       ]
503     },
504     {
505       "name" : "addEvents",
506       "desc" : "Used to define events on this Observable",
507       "isStatic" : false,
508       "isConstructor" : false,
509       "isPrivate" : false,
510       "memberOf" : "Roo.util.Observable",
511       "example" : "",
512       "deprecated" : "",
513       "since" : "",
514       "see" : "",
515       "params" : [
516         {
517           "name" : "object",
518           "type" : "Object",
519           "desc" : "The object with the events defined",
520           "isOptional" : false
521         }
522       ],
523       "returns" : [
524       ]
525     },
526     {
527       "name" : "releaseCapture",
528       "desc" : "Removes <b>all</b> added captures from the Observable.",
529       "isStatic" : true,
530       "isConstructor" : false,
531       "isPrivate" : false,
532       "memberOf" : "Roo.util.Observable",
533       "example" : "",
534       "deprecated" : "",
535       "since" : "",
536       "see" : "",
537       "params" : [
538         {
539           "name" : "o",
540           "type" : "Observable",
541           "desc" : "The Observable to release",
542           "isOptional" : false
543         }
544       ],
545       "returns" : [
546       ]
547     },
548     {
549       "name" : "removeListener",
550       "desc" : "Removes a listener",
551       "isStatic" : false,
552       "isConstructor" : false,
553       "isPrivate" : false,
554       "memberOf" : "Roo.util.Observable",
555       "example" : "",
556       "deprecated" : "",
557       "since" : "",
558       "see" : "",
559       "params" : [
560         {
561           "name" : "eventName",
562           "type" : "String",
563           "desc" : "The type of event to listen for",
564           "isOptional" : false
565         },
566         {
567           "name" : "handler",
568           "type" : "Function",
569           "desc" : "The handler to remove",
570           "isOptional" : false
571         },
572         {
573           "name" : "scope",
574           "type" : "Object",
575           "desc" : "(optional) The scope (this object) for the handler",
576           "isOptional" : false
577         }
578       ],
579       "returns" : [
580       ]
581     },
582     {
583       "name" : "fireEvent",
584       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
585       "isStatic" : false,
586       "isConstructor" : false,
587       "isPrivate" : false,
588       "memberOf" : "Roo.util.Observable",
589       "example" : "",
590       "deprecated" : "",
591       "since" : "",
592       "see" : "",
593       "params" : [
594         {
595           "name" : "eventName",
596           "type" : "String",
597           "desc" : "",
598           "isOptional" : false
599         },
600         {
601           "name" : "args",
602           "type" : "Object...",
603           "desc" : "Variable number of parameters are passed to handlers",
604           "isOptional" : false
605         }
606       ],
607       "returns" : [
608         {
609           "name" : "",
610           "type" : "Boolean",
611           "desc" : "returns false if any of the handlers return false otherwise it returns true"
612         }
613       ]
614     },
615     {
616       "name" : "hasListener",
617       "desc" : "Checks to see if this object has any listeners for a specified event",
618       "isStatic" : false,
619       "isConstructor" : false,
620       "isPrivate" : false,
621       "memberOf" : "Roo.util.Observable",
622       "example" : "",
623       "deprecated" : "",
624       "since" : "",
625       "see" : "",
626       "params" : [
627         {
628           "name" : "eventName",
629           "type" : "String",
630           "desc" : "The name of the event to check for",
631           "isOptional" : false
632         }
633       ],
634       "returns" : [
635         {
636           "name" : "",
637           "type" : "Boolean",
638           "desc" : "True if the event is being listened for, else false"
639         }
640       ]
641     },
642     {
643       "name" : "capture",
644       "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.",
645       "isStatic" : true,
646       "isConstructor" : false,
647       "isPrivate" : false,
648       "memberOf" : "Roo.util.Observable",
649       "example" : "",
650       "deprecated" : "",
651       "since" : "",
652       "see" : "",
653       "params" : [
654         {
655           "name" : "o",
656           "type" : "Observable",
657           "desc" : "The Observable to capture",
658           "isOptional" : false
659         },
660         {
661           "name" : "fn",
662           "type" : "Function",
663           "desc" : "The function to call",
664           "isOptional" : false
665         },
666         {
667           "name" : "scope",
668           "type" : "Object",
669           "desc" : "(optional) The scope (this object) for the fn",
670           "isOptional" : false
671         }
672       ],
673       "returns" : [
674       ]
675     },
676     {
677       "name" : "addListener",
678       "desc" : "Appends an event handler to this component",
679       "isStatic" : false,
680       "isConstructor" : false,
681       "isPrivate" : false,
682       "memberOf" : "Roo.util.Observable",
683       "example" : "",
684       "deprecated" : "",
685       "since" : "",
686       "see" : "",
687       "params" : [
688         {
689           "name" : "eventName",
690           "type" : "String",
691           "desc" : "The type of event to listen for",
692           "isOptional" : false
693         },
694         {
695           "name" : "handler",
696           "type" : "Function",
697           "desc" : "The method the event invokes",
698           "isOptional" : false
699         },
700         {
701           "name" : "scope",
702           "type" : "Object",
703           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
704           "isOptional" : false
705         },
706         {
707           "name" : "options",
708           "type" : "Object",
709           "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>",
710           "isOptional" : false
711         }
712       ],
713       "returns" : [
714       ]
715     }
716   ],
717   "events" : [
718     {
719       "name" : "beforerender",
720       "desc" : "Fires before the component is rendered. Return false to stop the render.",
721       "memberOf" : "Roo.Component",
722       "example" : "",
723       "deprecated" : "",
724       "since" : "",
725       "see" : "",
726       "params" : [
727         {
728           "name" : "this",
729           "type" : "Roo.Component",
730           "desc" : "",
731           "isOptional" : false
732         }
733       ],
734       "returns" : [
735       ]
736     },
737     {
738       "name" : "disable",
739       "desc" : "Fires after the component is disabled.",
740       "memberOf" : "Roo.Component",
741       "example" : "",
742       "deprecated" : "",
743       "since" : "",
744       "see" : "",
745       "params" : [
746         {
747           "name" : "this",
748           "type" : "Roo.Component",
749           "desc" : "",
750           "isOptional" : false
751         }
752       ],
753       "returns" : [
754       ]
755     },
756     {
757       "name" : "render",
758       "desc" : "Fires after the component is rendered.",
759       "memberOf" : "Roo.Component",
760       "example" : "",
761       "deprecated" : "",
762       "since" : "",
763       "see" : "",
764       "params" : [
765         {
766           "name" : "this",
767           "type" : "Roo.Component",
768           "desc" : "",
769           "isOptional" : false
770         }
771       ],
772       "returns" : [
773       ]
774     },
775     {
776       "name" : "destroy",
777       "desc" : "Fires after the component is destroyed.",
778       "memberOf" : "Roo.Component",
779       "example" : "",
780       "deprecated" : "",
781       "since" : "",
782       "see" : "",
783       "params" : [
784         {
785           "name" : "this",
786           "type" : "Roo.Component",
787           "desc" : "",
788           "isOptional" : false
789         }
790       ],
791       "returns" : [
792       ]
793     },
794     {
795       "name" : "hide",
796       "desc" : "Fires after the component is hidden.",
797       "memberOf" : "Roo.Component",
798       "example" : "",
799       "deprecated" : "",
800       "since" : "",
801       "see" : "",
802       "params" : [
803         {
804           "name" : "this",
805           "type" : "Roo.Component",
806           "desc" : "",
807           "isOptional" : false
808         }
809       ],
810       "returns" : [
811       ]
812     },
813     {
814       "name" : "beforehide",
815       "desc" : "Fires before the component is hidden. Return false to stop the hide.",
816       "memberOf" : "Roo.Component",
817       "example" : "",
818       "deprecated" : "",
819       "since" : "",
820       "see" : "",
821       "params" : [
822         {
823           "name" : "this",
824           "type" : "Roo.Component",
825           "desc" : "",
826           "isOptional" : false
827         }
828       ],
829       "returns" : [
830       ]
831     },
832     {
833       "name" : "show",
834       "desc" : "Fires after the component is shown.",
835       "memberOf" : "Roo.Component",
836       "example" : "",
837       "deprecated" : "",
838       "since" : "",
839       "see" : "",
840       "params" : [
841         {
842           "name" : "this",
843           "type" : "Roo.Component",
844           "desc" : "",
845           "isOptional" : false
846         }
847       ],
848       "returns" : [
849       ]
850     },
851     {
852       "name" : "beforeshow",
853       "desc" : "Fires before the component is shown.  Return false to stop the show.",
854       "memberOf" : "Roo.Component",
855       "example" : "",
856       "deprecated" : "",
857       "since" : "",
858       "see" : "",
859       "params" : [
860         {
861           "name" : "this",
862           "type" : "Roo.Component",
863           "desc" : "",
864           "isOptional" : false
865         }
866       ],
867       "returns" : [
868       ]
869     },
870     {
871       "name" : "enable",
872       "desc" : "Fires after the component is enabled.",
873       "memberOf" : "Roo.Component",
874       "example" : "",
875       "deprecated" : "",
876       "since" : "",
877       "see" : "",
878       "params" : [
879         {
880           "name" : "this",
881           "type" : "Roo.Component",
882           "desc" : "",
883           "isOptional" : false
884         }
885       ],
886       "returns" : [
887       ]
888     },
889     {
890       "name" : "beforedestroy",
891       "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
892       "memberOf" : "Roo.Component",
893       "example" : "",
894       "deprecated" : "",
895       "since" : "",
896       "see" : "",
897       "params" : [
898         {
899           "name" : "this",
900           "type" : "Roo.Component",
901           "desc" : "",
902           "isOptional" : false
903         }
904       ],
905       "returns" : [
906       ]
907     }
908   ]
909 }