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