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