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