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