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