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