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