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