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