Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 aperonnet 1
        <div class="body-wrap">
2
        <div class="top-tools">
3
            <a class="inner-link" href="#Ext.Toolbar.Button-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4
            <a class="inner-link" href="#Ext.Toolbar.Button-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5
            <a class="inner-link" href="#Ext.Toolbar.Button-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6
                            <a class="inner-link" href="#Ext.Toolbar.Button-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7
                        <a class="bookmark" href="../docs/?class=Ext.Toolbar.Button"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
8
        </div>
9
                <div class="inheritance res-block">
10
<pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a>
11
  <img src="resources/elbow-end.gif"/><a ext:cls="Ext.Component" ext:member="" href="output/Ext.Component.html">Component</a>
12
    <img src="resources/elbow-end.gif"/><a ext:cls="Ext.Button" ext:member="" href="output/Ext.Button.html">Button</a>
13
      <img src="resources/elbow-end.gif"/>Toolbar.Button</pre></div>
14
                <h1>Class Ext.Toolbar.Button</h1>
15
        <table cellspacing="0">
16
            <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
17
            <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../source/widgets/Toolbar.js" target="_blank">Toolbar.js</a></td></tr>
18
            <tr><td class="label">Class:</td><td class="hd-info">Toolbar.Button</td></tr>
19
                                    <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.Button" ext:member="" href="output/Ext.Button.html">Button</a></td></tr>
20
                    </table>
21
        <div class="description">
22
            A button that renders into a toolbar. Use the <tt>handler</tt> config to specify a callback function
23
to handle the button's click event.
24
<pre><code>new Ext.Panel({
25
	tbar : [
26
		{text: <em>'OK'</em>, handler: okHandler} <i>// tbbutton is the <b>default</b> xtype <b>if</b> not specified</i>
27
	]
28
});</code></pre>        </div>
29
 
30
        <div class="hr"></div>
31
                <a id="Ext.Toolbar.Button-configs"></a>
32
        <h2>Config Options</h2>
33
        <table cellspacing="0" class="member-table">
34
            <tr>
35
                <th class="sig-header" colspan="2">Config Options</th>
36
                <th class="msource-header">Defined By</th>
37
            </tr>
38
                <tr class="config-row inherited">
39
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
40
        <td class="sig">
41
        <a id="Ext.Toolbar.Button-allowDomMove"></a>
42
            <b>allowDomMove</b> : Boolean            <div class="mdesc">
43
                            Whether the component can move the Dom node when rendering (defaults to true).                        </div>
44
        </td>
45
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>
46
    </tr>
47
        <tr class="config-row inherited alt expandable">
48
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
49
        <td class="sig">
50
        <a id="Ext.Toolbar.Button-applyTo"></a>
51
            <b>applyTo</b> : Mixed            <div class="mdesc">
52
                        <div class="short">The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document ...</div>
53
            <div class="long">
54
                The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component. When applyTo is used, constituent parts of the component can also be specified by id or CSS class name within the main element, and the component being created may attempt to create its subcomponents from that markup if applicable. Using this config, a call to render() is not required. If applyTo is specified, any value passed for <a ext:cls="Ext.Component" ext:member="renderTo" href="output/Ext.Component.html#renderTo">renderTo</a> will be ignored and the target element's parent node will automatically be used as the component's container.            </div>
55
                        </div>
56
        </td>
57
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>
58
    </tr>
59
        <tr class="config-row inherited expandable">
60
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
61
        <td class="sig">
62
        <a id="Ext.Toolbar.Button-autoShow"></a>
63
            <b>autoShow</b> : Boolean            <div class="mdesc">
64
                        <div class="short">True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render...</div>
65
            <div class="long">
66
                True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render (defaults to false).            </div>
67
                        </div>
68
        </td>
69
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
70
    </tr>
71
        <tr class="config-row inherited alt">
72
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
73
        <td class="sig">
74
        <a id="Ext.Toolbar.Button-clickEvent"></a>
75
            <b>clickEvent</b> : String            <div class="mdesc">
76
                            The type of event to map to the button's event handler (defaults to 'click')                        </div>
77
        </td>
78
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#clickEvent" href="output/Ext.Button.html#clickEvent">Button</a></td>
79
    </tr>
80
        <tr class="config-row inherited expandable">
81
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
82
        <td class="sig">
83
        <a id="Ext.Toolbar.Button-cls"></a>
84
            <b>cls</b> : String            <div class="mdesc">
85
                        <div class="short">An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for a...</div>
86
            <div class="long">
87
                An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for adding customized styles to the component or any of its children using standard CSS rules.            </div>
88
                        </div>
89
        </td>
90
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
91
    </tr>
92
        <tr class="config-row inherited alt expandable">
93
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
94
        <td class="sig">
95
        <a id="Ext.Toolbar.Button-ctCls"></a>
96
            <b>ctCls</b> : String            <div class="mdesc">
97
                        <div class="short">An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for...</div>
98
            <div class="long">
99
                An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules.            </div>
100
                        </div>
101
        </td>
102
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
103
    </tr>
104
        <tr class="config-row inherited">
105
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
106
        <td class="sig">
107
        <a id="Ext.Toolbar.Button-disabled"></a>
108
            <b>disabled</b> : Boolean            <div class="mdesc">
109
                            True to start disabled (defaults to false)                        </div>
110
        </td>
111
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#disabled" href="output/Ext.Button.html#disabled">Button</a></td>
112
    </tr>
113
        <tr class="config-row inherited alt">
114
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
115
        <td class="sig">
116
        <a id="Ext.Toolbar.Button-disabledClass"></a>
117
            <b>disabledClass</b> : String            <div class="mdesc">
118
                            CSS class added to the component when it is disabled (defaults to "x-item-disabled").                        </div>
119
        </td>
120
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
121
    </tr>
122
        <tr class="config-row inherited">
123
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
124
        <td class="sig">
125
        <a id="Ext.Toolbar.Button-enableToggle"></a>
126
            <b>enableToggle</b> : Boolean            <div class="mdesc">
127
                            True to enable pressed/not pressed toggling (defaults to false)                        </div>
128
        </td>
129
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#enableToggle" href="output/Ext.Button.html#enableToggle">Button</a></td>
130
    </tr>
131
        <tr class="config-row inherited alt">
132
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
133
        <td class="sig">
134
        <a id="Ext.Toolbar.Button-handleMouseEvents"></a>
135
            <b>handleMouseEvents</b> : Boolean            <div class="mdesc">
136
                            False to disable visual cues on mouseover, mouseout and mousedown (defaults to true)                        </div>
137
        </td>
138
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#handleMouseEvents" href="output/Ext.Button.html#handleMouseEvents">Button</a></td>
139
    </tr>
140
        <tr class="config-row inherited">
141
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
142
        <td class="sig">
143
        <a id="Ext.Toolbar.Button-handler"></a>
144
            <b>handler</b> : Function            <div class="mdesc">
145
                            A function called when the button is clicked (can be used instead of click event)                        </div>
146
        </td>
147
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#handler" href="output/Ext.Button.html#handler">Button</a></td>
148
    </tr>
149
        <tr class="config-row inherited alt">
150
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
151
        <td class="sig">
152
        <a id="Ext.Toolbar.Button-hidden"></a>
153
            <b>hidden</b> : Boolean            <div class="mdesc">
154
                            True to start hidden (defaults to false)                        </div>
155
        </td>
156
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#hidden" href="output/Ext.Button.html#hidden">Button</a></td>
157
    </tr>
158
        <tr class="config-row inherited expandable">
159
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
160
        <td class="sig">
161
        <a id="Ext.Toolbar.Button-hideMode"></a>
162
            <b>hideMode</b> : String            <div class="mdesc">
163
                        <div class="short">How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset posi...</div>
164
            <div class="long">
165
                How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display".            </div>
166
                        </div>
167
        </td>
168
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>
169
    </tr>
170
        <tr class="config-row inherited alt expandable">
171
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
172
        <td class="sig">
173
        <a id="Ext.Toolbar.Button-hideParent"></a>
174
            <b>hideParent</b> : Boolean            <div class="mdesc">
175
                        <div class="short">True to hide and show the component's container when hide/show is called on the component, false to hide and show the...</div>
176
            <div class="long">
177
                True to hide and show the component's container when hide/show is called on the component, false to hide and show the component itself (defaults to false). For example, this can be used as a shortcut for a hide button on a window by setting hide:true on the button when adding it to its parent container.            </div>
178
                        </div>
179
        </td>
180
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>
181
    </tr>
182
        <tr class="config-row inherited expandable">
183
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
184
        <td class="sig">
185
        <a id="Ext.Toolbar.Button-icon"></a>
186
            <b>icon</b> : String            <div class="mdesc">
187
                        <div class="short">The path to an image to display in the button (the image will be set as the background-image CSS property of the butt...</div>
188
            <div class="long">
189
                The path to an image to display in the button (the image will be set as the background-image CSS property of the button by default, so if you want a mixed icon/text button, set cls:"x-btn-text-icon")            </div>
190
                        </div>
191
        </td>
192
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#icon" href="output/Ext.Button.html#icon">Button</a></td>
193
    </tr>
194
        <tr class="config-row inherited alt">
195
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
196
        <td class="sig">
197
        <a id="Ext.Toolbar.Button-iconCls"></a>
198
            <b>iconCls</b> : String            <div class="mdesc">
199
                            A css class which sets a background image to be used as the icon for this button                        </div>
200
        </td>
201
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#iconCls" href="output/Ext.Button.html#iconCls">Button</a></td>
202
    </tr>
203
        <tr class="config-row inherited">
204
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
205
        <td class="sig">
206
        <a id="Ext.Toolbar.Button-id"></a>
207
            <b>id</b> : String            <div class="mdesc">
208
                            The unique id of this component (defaults to an auto-assigned id).                        </div>
209
        </td>
210
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>
211
    </tr>
212
        <tr class="config-row inherited alt expandable">
213
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
214
        <td class="sig">
215
        <a id="Ext.Toolbar.Button-listeners"></a>
216
            <b>listeners</b> : Object            <div class="mdesc">
217
                        <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
218
            <div class="long">
219
                A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once.            </div>
220
                        </div>
221
        </td>
222
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
223
    </tr>
224
        <tr class="config-row inherited expandable">
225
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
226
        <td class="sig">
227
        <a id="Ext.Toolbar.Button-menu"></a>
228
            <b>menu</b> : Mixed            <div class="mdesc">
229
                        <div class="short">Standard menu attribute consisting of a reference to a menu object, a menu id or a menu config blob (defaults to unde...</div>
230
            <div class="long">
231
                Standard menu attribute consisting of a reference to a menu object, a menu id or a menu config blob (defaults to undefined).            </div>
232
                        </div>
233
        </td>
234
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#menu" href="output/Ext.Button.html#menu">Button</a></td>
235
    </tr>
236
        <tr class="config-row inherited alt">
237
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
238
        <td class="sig">
239
        <a id="Ext.Toolbar.Button-menuAlign"></a>
240
            <b>menuAlign</b> : String            <div class="mdesc">
241
                            The position to align the menu to (see <a ext:cls="Ext.Element" ext:member="alignTo" href="output/Ext.Element.html#alignTo">Ext.Element.alignTo</a> for more details, defaults to 'tl-bl?').                        </div>
242
        </td>
243
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#menuAlign" href="output/Ext.Button.html#menuAlign">Button</a></td>
244
    </tr>
245
        <tr class="config-row inherited">
246
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
247
        <td class="sig">
248
        <a id="Ext.Toolbar.Button-minWidth"></a>
249
            <b>minWidth</b> : Number            <div class="mdesc">
250
                            The minimum width for this button (used to give a set of buttons a common width)                        </div>
251
        </td>
252
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#minWidth" href="output/Ext.Button.html#minWidth">Button</a></td>
253
    </tr>
254
        <tr class="config-row inherited alt expandable">
255
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
256
        <td class="sig">
257
        <a id="Ext.Toolbar.Button-plugins"></a>
258
            <b>plugins</b> : Object/Array            <div class="mdesc">
259
                        <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>
260
            <div class="long">
261
                An object or array of objects that will provide custom functionality for this component. The only requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component is created, if any plugins are available, the component will call the init method on each plugin, passing a reference to itself. Each plugin can then call methods or respond to events on the component as needed to provide its functionality.            </div>
262
                        </div>
263
        </td>
264
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
265
    </tr>
266
        <tr class="config-row inherited">
267
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
268
        <td class="sig">
269
        <a id="Ext.Toolbar.Button-pressed"></a>
270
            <b>pressed</b> : Boolean            <div class="mdesc">
271
                            True to start pressed (only if enableToggle = true)                        </div>
272
        </td>
273
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#pressed" href="output/Ext.Button.html#pressed">Button</a></td>
274
    </tr>
275
        <tr class="config-row inherited alt expandable">
276
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
277
        <td class="sig">
278
        <a id="Ext.Toolbar.Button-renderTo"></a>
279
            <b>renderTo</b> : Mixed            <div class="mdesc">
280
                        <div class="short">The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using...</div>
281
            <div class="long">
282
                The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using this config, a call to render() is not required.            </div>
283
                        </div>
284
        </td>
285
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
286
    </tr>
287
        <tr class="config-row inherited expandable">
288
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
289
        <td class="sig">
290
        <a id="Ext.Toolbar.Button-repeat"></a>
291
            <b>repeat</b> : Boolean/Object            <div class="mdesc">
292
                        <div class="short">True to repeat fire the click event while the mouse is down. This can also be an Ext.util.ClickRepeater config object...</div>
293
            <div class="long">
294
                True to repeat fire the click event while the mouse is down. This can also be an <a ext:cls="Ext.util.ClickRepeater" href="output/Ext.util.ClickRepeater.html">Ext.util.ClickRepeater</a> config object (defaults to false).            </div>
295
                        </div>
296
        </td>
297
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#repeat" href="output/Ext.Button.html#repeat">Button</a></td>
298
    </tr>
299
        <tr class="config-row inherited alt">
300
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
301
        <td class="sig">
302
        <a id="Ext.Toolbar.Button-scope"></a>
303
            <b>scope</b> : Object            <div class="mdesc">
304
                            The scope of the handler                        </div>
305
        </td>
306
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#scope" href="output/Ext.Button.html#scope">Button</a></td>
307
    </tr>
308
        <tr class="config-row inherited expandable">
309
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
310
        <td class="sig">
311
        <a id="Ext.Toolbar.Button-stateEvents"></a>
312
            <b>stateEvents</b> : Array            <div class="mdesc">
313
                        <div class="short">An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be...</div>
314
            <div class="long">
315
                An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p>            </div>
316
                        </div>
317
        </td>
318
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
319
    </tr>
320
        <tr class="config-row inherited alt expandable">
321
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
322
        <td class="sig">
323
        <a id="Ext.Toolbar.Button-stateId"></a>
324
            <b>stateId</b> : String            <div class="mdesc">
325
                        <div class="short">The unique id for this component to use for state management purposes (defaults to the component id). See stateful fo...</div>
326
            <div class="long">
327
                The unique id for this component to use for state management purposes (defaults to the component id). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p>            </div>
328
                        </div>
329
        </td>
330
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
331
    </tr>
332
        <tr class="config-row inherited expandable">
333
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
334
        <td class="sig">
335
        <a id="Ext.Toolbar.Button-stateful"></a>
336
            <b>stateful</b> : Boolean            <div class="mdesc">
337
                        <div class="short">A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startu...</div>
338
            <div class="long">
339
                A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startup.<p> For state saving to work, the state manager's provider must have been set to an implementation of <a ext:cls="Ext.state.Provider" href="output/Ext.state.Provider.html">Ext.state.Provider</a> which overrides the <a ext:cls="Ext.state.Provider" ext:member="set" href="output/Ext.state.Provider.html#set">set</a> and <a ext:cls="Ext.state.Provider" ext:member="get" href="output/Ext.state.Provider.html#get">get</a> methods to save and recall name/value pairs. A built-in implementation, <a ext:cls="Ext.state.CookieProvider" href="output/Ext.state.CookieProvider.html">Ext.state.CookieProvider</a> is available.</p> <p>To set the state provider for the current page:</p> <pre><code>Ext.state.Manager.setProvider(<b>new</b> Ext.state.CookieProvider());</code></pre> <p>Components attempt to save state when one of the events listed in the <a ext:cls="Ext.Component" ext:member="stateEvents" href="output/Ext.Component.html#stateEvents">stateEvents</a> configuration fires.</p> <p>You can perform extra processing on state save and restore by attaching handlers to the <a ext:cls="Ext.Component" ext:member="beforestaterestore" href="output/Ext.Component.html#beforestaterestore">beforestaterestore</a>, <a ext:cls="staterestore" href="output/staterestore.html">staterestore</a>, <a ext:cls="beforestatesave" href="output/beforestatesave.html">beforestatesave</a> and <a ext:cls="statesave" href="output/statesave.html">statesave</a> events</p>            </div>
340
                        </div>
341
        </td>
342
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>
343
    </tr>
344
        <tr class="config-row inherited alt expandable">
345
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
346
        <td class="sig">
347
        <a id="Ext.Toolbar.Button-style"></a>
348
            <b>style</b> : String            <div class="mdesc">
349
                        <div class="short">A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.app...</div>
350
            <div class="long">
351
                A custom style specification to be applied to this component's Element. Should be a valid argument to <a ext:cls="Ext.Element" ext:member="applyStyles" href="output/Ext.Element.html#applyStyles">Ext.Element.applyStyles</a>.            </div>
352
                        </div>
353
        </td>
354
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
355
    </tr>
356
        <tr class="config-row inherited">
357
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
358
        <td class="sig">
359
        <a id="Ext.Toolbar.Button-tabIndex"></a>
360
            <b>tabIndex</b> : Number            <div class="mdesc">
361
                            Set a DOM tabIndex for this button (defaults to undefined)                        </div>
362
        </td>
363
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#tabIndex" href="output/Ext.Button.html#tabIndex">Button</a></td>
364
    </tr>
365
        <tr class="config-row inherited alt">
366
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
367
        <td class="sig">
368
        <a id="Ext.Toolbar.Button-text"></a>
369
            <b>text</b> : String            <div class="mdesc">
370
                            The button text                        </div>
371
        </td>
372
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#text" href="output/Ext.Button.html#text">Button</a></td>
373
    </tr>
374
        <tr class="config-row inherited">
375
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
376
        <td class="sig">
377
        <a id="Ext.Toolbar.Button-toggleGroup"></a>
378
            <b>toggleGroup</b> : String            <div class="mdesc">
379
                            The group this toggle button is a member of (only 1 per group can be pressed, only applies if enableToggle = true)                        </div>
380
        </td>
381
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#toggleGroup" href="output/Ext.Button.html#toggleGroup">Button</a></td>
382
    </tr>
383
        <tr class="config-row inherited alt">
384
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
385
        <td class="sig">
386
        <a id="Ext.Toolbar.Button-tooltip"></a>
387
            <b>tooltip</b> : String/Object            <div class="mdesc">
388
                            The tooltip for the button - can be a string or QuickTips config object                        </div>
389
        </td>
390
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#tooltip" href="output/Ext.Button.html#tooltip">Button</a></td>
391
    </tr>
392
        <tr class="config-row inherited">
393
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
394
        <td class="sig">
395
        <a id="Ext.Toolbar.Button-tooltipType"></a>
396
            <b>tooltipType</b> : String            <div class="mdesc">
397
                            The type of tooltip to use. Either "qtip" (default) for QuickTips or "title" for title attribute.                        </div>
398
        </td>
399
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#tooltipType" href="output/Ext.Button.html#tooltipType">Button</a></td>
400
    </tr>
401
        <tr class="config-row inherited alt">
402
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
403
        <td class="sig">
404
        <a id="Ext.Toolbar.Button-type"></a>
405
            <b>type</b> : String            <div class="mdesc">
406
                            submit, reset or button - defaults to 'button'                        </div>
407
        </td>
408
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#type" href="output/Ext.Button.html#type">Button</a></td>
409
    </tr>
410
        <tr class="config-row inherited expandable">
411
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
412
        <td class="sig">
413
        <a id="Ext.Toolbar.Button-xtype"></a>
414
            <b>xtype</b> : String            <div class="mdesc">
415
                        <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
416
            <div class="long">
417
                The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child item of a Container is being specified not as a fully instantiated Component, but as a <i>Component config object</i>. The xtype will be looked up at render time up to determine what type of child Component to create.<br><br> The predefined xtypes are listed <a ext:cls="Ext.Component" href="output/Ext.Component.html">here</a>. <br><br> If you subclass Components to create your own Components, you may register them using <a ext:cls="Ext.ComponentMgr" ext:member="registerType" href="output/Ext.ComponentMgr.html#registerType">Ext.ComponentMgr.registerType</a> in order to be able to take advantage of lazy instantiation and rendering.            </div>
418
                        </div>
419
        </td>
420
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
421
    </tr>
422
            </table>
423
                <a id="Ext.Toolbar.Button-props"></a>
424
        <h2>Public Properties</h2>
425
                <table cellspacing="0" class="member-table">
426
            <tr>
427
                <th class="sig-header" colspan="2">Property</th>
428
                <th class="msource-header">Defined By</th>
429
            </tr>
430
                <tr class="property-row inherited">
431
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
432
        <td class="sig">
433
        <a id="Ext.Toolbar.Button-disabled"></a>
434
            <b>disabled</b> : Boolean            <div class="mdesc">
435
                            True if this component is disabled. Read-only.                        </div>
436
        </td>
437
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
438
    </tr>
439
        <tr class="property-row inherited alt">
440
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
441
        <td class="sig">
442
        <a id="Ext.Toolbar.Button-hidden"></a>
443
            <b>hidden</b> : Boolean            <div class="mdesc">
444
 
445
True if this component is hidden. Read-only.                        </div>
446
        </td>
447
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
448
    </tr>
449
        <tr class="property-row inherited">
450
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
451
        <td class="sig">
452
        <a id="Ext.Toolbar.Button-initialConfig"></a>
453
            <b>initialConfig</b> : Object            <div class="mdesc">
454
                            This Component's initial configuration specification. Read-only.                        </div>
455
        </td>
456
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
457
    </tr>
458
        <tr class="property-row inherited alt expandable">
459
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
460
        <td class="sig">
461
        <a id="Ext.Toolbar.Button-ownerCt"></a>
462
            <b>ownerCt</b> : Ext.Container            <div class="mdesc">
463
                        <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
464
the component is added to a...</div>
465
            <div class="long">
466
                The component's owner <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (defaults to undefined, and is set automatically when
467
the component is added to a container).  Read-only.            </div>
468
                        </div>
469
        </td>
470
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
471
    </tr>
472
        <tr class="property-row inherited">
473
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
474
        <td class="sig">
475
        <a id="Ext.Toolbar.Button-pressed"></a>
476
            <b>pressed</b> : Boolean            <div class="mdesc">
477
                            Read-only. True if this button is pressed (only if enableToggle = true)                        </div>
478
        </td>
479
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#pressed" href="output/Ext.Button.html#pressed">Button</a></td>
480
    </tr>
481
        <tr class="property-row inherited alt">
482
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
483
        <td class="sig">
484
        <a id="Ext.Toolbar.Button-rendered"></a>
485
            <b>rendered</b> : Boolean            <div class="mdesc">
486
                            True if this component has been rendered. Read-only.                        </div>
487
        </td>
488
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
489
    </tr>
490
            </table>
491
                <a id="Ext.Toolbar.Button-methods"></a>
492
        <h2>Public Methods</h2>
493
                <table cellspacing="0" class="member-table">
494
            <tr>
495
                <th class="sig-header" colspan="2">Method</th>
496
                <th class="msource-header">Defined By</th>
497
            </tr>
498
                <tr class="method-row expandable">
499
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
500
        <td class="sig">
501
        <a id="Ext.Toolbar.Button-Toolbar.Button"></a>
502
            <b>Toolbar.Button</b>(&nbsp;<code>Object config</code>&nbsp;)            <div class="mdesc">
503
                        <div class="short">Creates a new Button</div>
504
            <div class="long">
505
                Creates a new Button    <div class="mdetail-params">
506
        <strong>Parameters:</strong>
507
        <ul><li><code>config</code> : Object<div class="sub-desc">A standard <a ext:cls="Ext.Button" href="output/Ext.Button.html">Ext.Button</a> config object</div></li>        </ul>
508
        <strong>Returns:</strong>
509
        <ul>
510
            <li><code></code></li>
511
        </ul>
512
    </div>
513
                </div>
514
                        </div>
515
        </td>
516
        <td class="msource">Toolbar.Button</td>
517
    </tr>
518
        <tr class="method-row inherited alt expandable">
519
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
520
        <td class="sig">
521
        <a id="Ext.Toolbar.Button-addClass"></a>
522
            <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">
523
                        <div class="short">Adds a CSS class to the component's underlying element.</div>
524
            <div class="long">
525
                Adds a CSS class to the component's underlying element.    <div class="mdetail-params">
526
        <strong>Parameters:</strong>
527
        <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li>        </ul>
528
        <strong>Returns:</strong>
529
        <ul>
530
            <li><code>void</code></li>
531
        </ul>
532
    </div>
533
                </div>
534
                        </div>
535
        </td>
536
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
537
    </tr>
538
        <tr class="method-row inherited expandable">
539
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
540
        <td class="sig">
541
        <a id="Ext.Toolbar.Button-addEvents"></a>
542
            <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">
543
                        <div class="short">Used to define events on this Observable</div>
544
            <div class="long">
545
                Used to define events on this Observable    <div class="mdetail-params">
546
        <strong>Parameters:</strong>
547
        <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>
548
        <strong>Returns:</strong>
549
        <ul>
550
            <li><code>void</code></li>
551
        </ul>
552
    </div>
553
                </div>
554
                        </div>
555
        </td>
556
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
557
    </tr>
558
        <tr class="method-row inherited alt expandable">
559
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
560
        <td class="sig">
561
        <a id="Ext.Toolbar.Button-addListener"></a>
562
            <b>addListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
563
                        <div class="short">Appends an event handler to this component</div>
564
            <div class="long">
565
                Appends an event handler to this component    <div class="mdetail-params">
566
        <strong>Parameters:</strong>
567
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
568
function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
569
properties. This may contain any of the following properties:<ul>
570
<li><b>scope</b> : Object<p class="sub-desc">The scope in which to execute the handler function. The handler function's "this" context.</p></li>
571
<li><b>delay</b> : Number<p class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>
572
<li><b>single</b> : Boolean<p class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>
573
<li><b>buffer</b> : Number<p class="sub-desc">Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
574
by the specified number of milliseconds. If the event fires again within that time, the original
575
handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
576
</ul><br>
577
<p>
578
<b>Combining Options</b><br>
579
Using the options argument, it is possible to combine different types of listeners:<br>
580
<br>
581
A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
582
<pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
583
    single: true,
584
    delay: 100,
585
    forumId: 4
586
});</code></pre>
587
<p>
588
<b>Attaching multiple handlers in 1 call</b><br>
589
The method also allows for a single argument to be passed which is a config object containing properties
590
which specify multiple handlers.
591
<p>
592
<pre><code>foo.on({
593
    <em>'click'</em> : {
594
        fn: <b>this</b>.onClick,
595
        scope: <b>this</b>,
596
        delay: 100
597
    },
598
    <em>'mouseover'</em> : {
599
        fn: <b>this</b>.onMouseOver,
600
        scope: <b>this</b>
601
    },
602
    <em>'mouseout'</em> : {
603
        fn: <b>this</b>.onMouseOut,
604
        scope: <b>this</b>
605
    }
606
});</code></pre>
607
<p>
608
Or a shorthand syntax:<br>
609
<pre><code>foo.on({
610
    <em>'click'</em> : <b>this</b>.onClick,
611
    <em>'mouseover'</em> : <b>this</b>.onMouseOver,
612
    <em>'mouseout'</em> : <b>this</b>.onMouseOut,
613
     scope: <b>this</b>
614
});</code></pre></div></li>        </ul>
615
        <strong>Returns:</strong>
616
        <ul>
617
            <li><code>void</code></li>
618
        </ul>
619
    </div>
620
                </div>
621
                        </div>
622
        </td>
623
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
624
    </tr>
625
        <tr class="method-row inherited expandable">
626
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
627
        <td class="sig">
628
        <a id="Ext.Toolbar.Button-applyToMarkup"></a>
629
            <b>applyToMarkup</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void            <div class="mdesc">
630
                        <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>
631
            <div class="long">
632
                Apply this component to existing markup that is valid. With this function, no call to render() is required.    <div class="mdetail-params">
633
        <strong>Parameters:</strong>
634
        <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></li>        </ul>
635
        <strong>Returns:</strong>
636
        <ul>
637
            <li><code>void</code></li>
638
        </ul>
639
    </div>
640
                </div>
641
                        </div>
642
        </td>
643
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
644
    </tr>
645
        <tr class="method-row inherited alt expandable">
646
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
647
        <td class="sig">
648
        <a id="Ext.Toolbar.Button-cloneConfig"></a>
649
            <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component            <div class="mdesc">
650
                        <div class="short">Clone the current component using the original config values passed into this instance by default.</div>
651
            <div class="long">
652
                Clone the current component using the original config values passed into this instance by default.    <div class="mdetail-params">
653
        <strong>Parameters:</strong>
654
        <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
655
An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li>        </ul>
656
        <strong>Returns:</strong>
657
        <ul>
658
            <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
659
        </ul>
660
    </div>
661
                </div>
662
                        </div>
663
        </td>
664
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
665
    </tr>
666
        <tr class="method-row inherited expandable">
667
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
668
        <td class="sig">
669
        <a id="Ext.Toolbar.Button-destroy"></a>
670
            <b>destroy</b>() : void            <div class="mdesc">
671
                        <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
672
removing the c...</div>
673
            <div class="long">
674
                Destroys this component by purging any event listeners, removing the component's element from the DOM,
675
removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
676
<a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>.  Destruction is generally handled automatically by the framework and this method
677
should usually not need to be called directly.    <div class="mdetail-params">
678
        <strong>Parameters:</strong>
679
        <ul><li>None.</li>        </ul>
680
        <strong>Returns:</strong>
681
        <ul>
682
            <li><code>void</code></li>
683
        </ul>
684
    </div>
685
                </div>
686
                        </div>
687
        </td>
688
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
689
    </tr>
690
        <tr class="method-row inherited alt expandable">
691
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
692
        <td class="sig">
693
        <a id="Ext.Toolbar.Button-disable"></a>
694
            <b>disable</b>() : Ext.Component            <div class="mdesc">
695
                        <div class="short">Disable this component.</div>
696
            <div class="long">
697
                Disable this component.    <div class="mdetail-params">
698
        <strong>Parameters:</strong>
699
        <ul><li>None.</li>        </ul>
700
        <strong>Returns:</strong>
701
        <ul>
702
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
703
        </ul>
704
    </div>
705
                </div>
706
                        </div>
707
        </td>
708
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
709
    </tr>
710
        <tr class="method-row inherited expandable">
711
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
712
        <td class="sig">
713
        <a id="Ext.Toolbar.Button-enable"></a>
714
            <b>enable</b>() : Ext.Component            <div class="mdesc">
715
                        <div class="short">Enable this component.</div>
716
            <div class="long">
717
                Enable this component.    <div class="mdetail-params">
718
        <strong>Parameters:</strong>
719
        <ul><li>None.</li>        </ul>
720
        <strong>Returns:</strong>
721
        <ul>
722
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
723
        </ul>
724
    </div>
725
                </div>
726
                        </div>
727
        </td>
728
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
729
    </tr>
730
        <tr class="method-row inherited alt expandable">
731
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
732
        <td class="sig">
733
        <a id="Ext.Toolbar.Button-findParentBy"></a>
734
            <b>findParentBy</b>(&nbsp;<code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Array            <div class="mdesc">
735
                        <div class="short">Find a container above this component at any level by a custom function. If the passed function returns
736
true, the con...</div>
737
            <div class="long">
738
                Find a container above this component at any level by a custom function. If the passed function returns
739
true, the container will be returned. The passed function is called with the arguments (container, this component).    <div class="mdetail-params">
740
        <strong>Parameters:</strong>
741
        <ul><li><code>fcn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
742
        <strong>Returns:</strong>
743
        <ul>
744
            <li><code>Array</code><div class="sub-desc">Array of Ext.Components</div></li>
745
        </ul>
746
    </div>
747
                </div>
748
                        </div>
749
        </td>
750
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>
751
    </tr>
752
        <tr class="method-row inherited expandable">
753
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
754
        <td class="sig">
755
        <a id="Ext.Toolbar.Button-findParentByType"></a>
756
            <b>findParentByType</b>(&nbsp;<code>String/Class xtype</code>&nbsp;) : Container            <div class="mdesc">
757
                        <div class="short">Find a container above this component at any level by xtype or class</div>
758
            <div class="long">
759
                Find a container above this component at any level by xtype or class    <div class="mdetail-params">
760
        <strong>Parameters:</strong>
761
        <ul><li><code>xtype</code> : String/Class<div class="sub-desc">The xtype string for a component, or the class of the component directly</div></li>        </ul>
762
        <strong>Returns:</strong>
763
        <ul>
764
            <li><code>Container</code><div class="sub-desc">The found container</div></li>
765
        </ul>
766
    </div>
767
                </div>
768
                        </div>
769
        </td>
770
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>
771
    </tr>
772
        <tr class="method-row inherited alt expandable">
773
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
774
        <td class="sig">
775
        <a id="Ext.Toolbar.Button-fireEvent"></a>
776
            <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">
777
                        <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
778
            <div class="long">
779
                Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">
780
        <strong>Parameters:</strong>
781
        <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li>        </ul>
782
        <strong>Returns:</strong>
783
        <ul>
784
            <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
785
        </ul>
786
    </div>
787
                </div>
788
                        </div>
789
        </td>
790
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
791
    </tr>
792
        <tr class="method-row inherited expandable">
793
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
794
        <td class="sig">
795
        <a id="Ext.Toolbar.Button-focus"></a>
796
            <b>focus</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean selectText</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number delay</code>]</span>&nbsp;) : Ext.Component            <div class="mdesc">
797
                        <div class="short">Try to focus this component.</div>
798
            <div class="long">
799
                Try to focus this component.    <div class="mdetail-params">
800
        <strong>Parameters:</strong>
801
        <ul><li><code>selectText</code> : Boolean<div class="sub-desc">(optional) If applicable, true to also select the text in this component</div></li><li><code>delay</code> : Boolean/Number<div class="sub-desc">(optional) Delay the focus this number of milliseconds (true for 10 milliseconds)</div></li>        </ul>
802
        <strong>Returns:</strong>
803
        <ul>
804
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
805
        </ul>
806
    </div>
807
                </div>
808
                        </div>
809
        </td>
810
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
811
    </tr>
812
        <tr class="method-row inherited alt expandable">
813
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
814
        <td class="sig">
815
        <a id="Ext.Toolbar.Button-getEl"></a>
816
            <b>getEl</b>() : Ext.Element            <div class="mdesc">
817
                        <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
818
            <div class="long">
819
                Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">
820
        <strong>Parameters:</strong>
821
        <ul><li>None.</li>        </ul>
822
        <strong>Returns:</strong>
823
        <ul>
824
            <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
825
        </ul>
826
    </div>
827
                </div>
828
                        </div>
829
        </td>
830
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
831
    </tr>
832
        <tr class="method-row inherited expandable">
833
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
834
        <td class="sig">
835
        <a id="Ext.Toolbar.Button-getId"></a>
836
            <b>getId</b>() : String            <div class="mdesc">
837
                        <div class="short">Returns the id of this component.</div>
838
            <div class="long">
839
                Returns the id of this component.    <div class="mdetail-params">
840
        <strong>Parameters:</strong>
841
        <ul><li>None.</li>        </ul>
842
        <strong>Returns:</strong>
843
        <ul>
844
            <li><code>String</code></li>
845
        </ul>
846
    </div>
847
                </div>
848
                        </div>
849
        </td>
850
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
851
    </tr>
852
        <tr class="method-row inherited alt expandable">
853
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
854
        <td class="sig">
855
        <a id="Ext.Toolbar.Button-getItemId"></a>
856
            <b>getItemId</b>() : String            <div class="mdesc">
857
                        <div class="short">Returns the item id of this component.</div>
858
            <div class="long">
859
                Returns the item id of this component.    <div class="mdetail-params">
860
        <strong>Parameters:</strong>
861
        <ul><li>None.</li>        </ul>
862
        <strong>Returns:</strong>
863
        <ul>
864
            <li><code>String</code></li>
865
        </ul>
866
    </div>
867
                </div>
868
                        </div>
869
        </td>
870
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
871
    </tr>
872
        <tr class="method-row inherited expandable">
873
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
874
        <td class="sig">
875
        <a id="Ext.Toolbar.Button-getText"></a>
876
            <b>getText</b>() : String            <div class="mdesc">
877
                        <div class="short">Gets the text for this button</div>
878
            <div class="long">
879
                Gets the text for this button    <div class="mdetail-params">
880
        <strong>Parameters:</strong>
881
        <ul><li>None.</li>        </ul>
882
        <strong>Returns:</strong>
883
        <ul>
884
            <li><code>String</code><div class="sub-desc">The button text</div></li>
885
        </ul>
886
    </div>
887
                </div>
888
                        </div>
889
        </td>
890
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#getText" href="output/Ext.Button.html#getText">Button</a></td>
891
    </tr>
892
        <tr class="method-row inherited alt expandable">
893
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
894
        <td class="sig">
895
        <a id="Ext.Toolbar.Button-getXType"></a>
896
            <b>getXType</b>() : String            <div class="mdesc">
897
                        <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
898
available xtypes, see the Ex...</div>
899
            <div class="long">
900
                Gets the xtype for this component as registered with <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. For a list of all
901
available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
902
<pre><code>var t = <b>new</b> Ext.form.TextField();
903
alert(t.getXType());  // alerts <em>'textfield'</em></code></pre>    <div class="mdetail-params">
904
        <strong>Parameters:</strong>
905
        <ul><li>None.</li>        </ul>
906
        <strong>Returns:</strong>
907
        <ul>
908
            <li><code>String</code><div class="sub-desc">The xtype</div></li>
909
        </ul>
910
    </div>
911
                </div>
912
                        </div>
913
        </td>
914
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
915
    </tr>
916
        <tr class="method-row inherited expandable">
917
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
918
        <td class="sig">
919
        <a id="Ext.Toolbar.Button-getXTypes"></a>
920
            <b>getXTypes</b>() : String            <div class="mdesc">
921
                        <div class="short">Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
922
available xtypes, see the Ext...</div>
923
            <div class="long">
924
                Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
925
available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
926
<pre><code>
927
var t = new Ext.form.TextField();
928
alert(t.getXTypes());  // alerts 'component/box/field/textfield'</pre></code>    <div class="mdetail-params">
929
        <strong>Parameters:</strong>
930
        <ul><li>None.</li>        </ul>
931
        <strong>Returns:</strong>
932
        <ul>
933
            <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
934
        </ul>
935
    </div>
936
                </div>
937
                        </div>
938
        </td>
939
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
940
    </tr>
941
        <tr class="method-row inherited alt expandable">
942
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
943
        <td class="sig">
944
        <a id="Ext.Toolbar.Button-hasListener"></a>
945
            <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">
946
                        <div class="short">Checks to see if this object has any listeners for a specified event</div>
947
            <div class="long">
948
                Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">
949
        <strong>Parameters:</strong>
950
        <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>
951
        <strong>Returns:</strong>
952
        <ul>
953
            <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
954
        </ul>
955
    </div>
956
                </div>
957
                        </div>
958
        </td>
959
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
960
    </tr>
961
        <tr class="method-row inherited expandable">
962
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
963
        <td class="sig">
964
        <a id="Ext.Toolbar.Button-hasVisibleMenu"></a>
965
            <b>hasVisibleMenu</b>() : Boolean            <div class="mdesc">
966
                        <div class="short">Returns true if the button has a menu and it is visible</div>
967
            <div class="long">
968
                Returns true if the button has a menu and it is visible    <div class="mdetail-params">
969
        <strong>Parameters:</strong>
970
        <ul><li>None.</li>        </ul>
971
        <strong>Returns:</strong>
972
        <ul>
973
            <li><code>Boolean</code></li>
974
        </ul>
975
    </div>
976
                </div>
977
                        </div>
978
        </td>
979
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#hasVisibleMenu" href="output/Ext.Button.html#hasVisibleMenu">Button</a></td>
980
    </tr>
981
        <tr class="method-row inherited alt expandable">
982
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
983
        <td class="sig">
984
        <a id="Ext.Toolbar.Button-hide"></a>
985
            <b>hide</b>() : Ext.Component            <div class="mdesc">
986
                        <div class="short">Hide this component.</div>
987
            <div class="long">
988
                Hide this component.    <div class="mdetail-params">
989
        <strong>Parameters:</strong>
990
        <ul><li>None.</li>        </ul>
991
        <strong>Returns:</strong>
992
        <ul>
993
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
994
        </ul>
995
    </div>
996
                </div>
997
                        </div>
998
        </td>
999
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
1000
    </tr>
1001
        <tr class="method-row inherited expandable">
1002
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1003
        <td class="sig">
1004
        <a id="Ext.Toolbar.Button-hideMenu"></a>
1005
            <b>hideMenu</b>() : void            <div class="mdesc">
1006
                        <div class="short">Hide this button's menu (if it has one)</div>
1007
            <div class="long">
1008
                Hide this button's menu (if it has one)    <div class="mdetail-params">
1009
        <strong>Parameters:</strong>
1010
        <ul><li>None.</li>        </ul>
1011
        <strong>Returns:</strong>
1012
        <ul>
1013
            <li><code>void</code></li>
1014
        </ul>
1015
    </div>
1016
                </div>
1017
                        </div>
1018
        </td>
1019
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#hideMenu" href="output/Ext.Button.html#hideMenu">Button</a></td>
1020
    </tr>
1021
        <tr class="method-row inherited alt expandable">
1022
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1023
        <td class="sig">
1024
        <a id="Ext.Toolbar.Button-initComponent"></a>
1025
            <b>initComponent</b>() : void            <div class="mdesc">
1026
                        <div class="short"></div>
1027
            <div class="long">
1028
                    <div class="mdetail-params">
1029
        <strong>Parameters:</strong>
1030
        <ul><li>None.</li>        </ul>
1031
        <strong>Returns:</strong>
1032
        <ul>
1033
            <li><code>void</code></li>
1034
        </ul>
1035
    </div>
1036
                </div>
1037
                        </div>
1038
        </td>
1039
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#initComponent" href="output/Ext.Button.html#initComponent">Button</a></td>
1040
    </tr>
1041
        <tr class="method-row inherited expandable">
1042
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1043
        <td class="sig">
1044
        <a id="Ext.Toolbar.Button-isVisible"></a>
1045
            <b>isVisible</b>() : void            <div class="mdesc">
1046
                        <div class="short">Returns true if this component is visible.</div>
1047
            <div class="long">
1048
                Returns true if this component is visible.    <div class="mdetail-params">
1049
        <strong>Parameters:</strong>
1050
        <ul><li>None.</li>        </ul>
1051
        <strong>Returns:</strong>
1052
        <ul>
1053
            <li><code>void</code></li>
1054
        </ul>
1055
    </div>
1056
                </div>
1057
                        </div>
1058
        </td>
1059
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
1060
    </tr>
1061
        <tr class="method-row inherited alt expandable">
1062
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1063
        <td class="sig">
1064
        <a id="Ext.Toolbar.Button-isXType"></a>
1065
            <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void            <div class="mdesc">
1066
                        <div class="short">Tests whether or not this component is of a specific xtype. This can test whether this component is descended
1067
from th...</div>
1068
            <div class="long">
1069
                Tests whether or not this component is of a specific xtype. This can test whether this component is descended
1070
from the xtype (default) or whether it is directly of the xtype specified (shallow = true). For a list of all
1071
available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
1072
<pre><code>var t = <b>new</b> Ext.form.TextField();
1073
<b>var</b> isText = t.isXType(<em>'textfield'</em>);        <i>// true</i>
1074
<b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>);       <i>// true, descended from BoxComponent</i>
1075
<b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre>    <div class="mdetail-params">
1076
        <strong>Parameters:</strong>
1077
        <ul><li><code>xtype</code> : String<div class="sub-desc">The xtype to check for this component</div></li><li><code>shallow</code> : Boolean<div class="sub-desc">(optional) False to check whether this component is descended from the xtype (this is
1078
the default), or true to check whether this component is directly of the specified xtype.</div></li>        </ul>
1079
        <strong>Returns:</strong>
1080
        <ul>
1081
            <li><code>void</code></li>
1082
        </ul>
1083
    </div>
1084
                </div>
1085
                        </div>
1086
        </td>
1087
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
1088
    </tr>
1089
        <tr class="method-row inherited expandable">
1090
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1091
        <td class="sig">
1092
        <a id="Ext.Toolbar.Button-on"></a>
1093
            <b>on</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
1094
                        <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1095
            <div class="long">
1096
                Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">
1097
        <strong>Parameters:</strong>
1098
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
1099
function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
1100
        <strong>Returns:</strong>
1101
        <ul>
1102
            <li><code>void</code></li>
1103
        </ul>
1104
    </div>
1105
                </div>
1106
                        </div>
1107
        </td>
1108
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
1109
    </tr>
1110
        <tr class="method-row inherited alt expandable">
1111
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1112
        <td class="sig">
1113
        <a id="Ext.Toolbar.Button-purgeListeners"></a>
1114
            <b>purgeListeners</b>() : void            <div class="mdesc">
1115
                        <div class="short">Removes all listeners for this object</div>
1116
            <div class="long">
1117
                Removes all listeners for this object    <div class="mdetail-params">
1118
        <strong>Parameters:</strong>
1119
        <ul><li>None.</li>        </ul>
1120
        <strong>Returns:</strong>
1121
        <ul>
1122
            <li><code>void</code></li>
1123
        </ul>
1124
    </div>
1125
                </div>
1126
                        </div>
1127
        </td>
1128
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
1129
    </tr>
1130
        <tr class="method-row inherited expandable">
1131
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1132
        <td class="sig">
1133
        <a id="Ext.Toolbar.Button-removeClass"></a>
1134
            <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">
1135
                        <div class="short">Removes a CSS class from the component's underlying element.</div>
1136
            <div class="long">
1137
                Removes a CSS class from the component's underlying element.    <div class="mdetail-params">
1138
        <strong>Parameters:</strong>
1139
        <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li>        </ul>
1140
        <strong>Returns:</strong>
1141
        <ul>
1142
            <li><code>void</code></li>
1143
        </ul>
1144
    </div>
1145
                </div>
1146
                        </div>
1147
        </td>
1148
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
1149
    </tr>
1150
        <tr class="method-row inherited alt expandable">
1151
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1152
        <td class="sig">
1153
        <a id="Ext.Toolbar.Button-removeListener"></a>
1154
            <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1155
                        <div class="short">Removes a listener</div>
1156
            <div class="long">
1157
                Removes a listener    <div class="mdetail-params">
1158
        <strong>Parameters:</strong>
1159
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>
1160
        <strong>Returns:</strong>
1161
        <ul>
1162
            <li><code>void</code></li>
1163
        </ul>
1164
    </div>
1165
                </div>
1166
                        </div>
1167
        </td>
1168
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
1169
    </tr>
1170
        <tr class="method-row inherited expandable">
1171
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1172
        <td class="sig">
1173
        <a id="Ext.Toolbar.Button-render"></a>
1174
            <b>render</b>(&nbsp;<span class="optional" title="Optional">[<code>Mixed container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span>&nbsp;) : void            <div class="mdesc">
1175
                        <div class="short">If this is a lazy rendering component, render it to its container element.</div>
1176
            <div class="long">
1177
                If this is a lazy rendering component, render it to its container element.    <div class="mdetail-params">
1178
        <strong>Parameters:</strong>
1179
        <ul><li><code>container</code> : Mixed<div class="sub-desc">(optional) The element this component should be rendered into. If it is being
1180
applied to existing markup, this should be left off.</div></li><li><code>position</code> : String/Number<div class="sub-desc">(optional) The element ID or DOM node index within the container <b>before</b>
1181
which this component will be inserted (defaults to appending to the end of the container)</div></li>        </ul>
1182
        <strong>Returns:</strong>
1183
        <ul>
1184
            <li><code>void</code></li>
1185
        </ul>
1186
    </div>
1187
                </div>
1188
                        </div>
1189
        </td>
1190
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
1191
    </tr>
1192
        <tr class="method-row inherited alt expandable">
1193
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1194
        <td class="sig">
1195
        <a id="Ext.Toolbar.Button-resumeEvents"></a>
1196
            <b>resumeEvents</b>() : void            <div class="mdesc">
1197
                        <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>
1198
            <div class="long">
1199
                Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)    <div class="mdetail-params">
1200
        <strong>Parameters:</strong>
1201
        <ul><li>None.</li>        </ul>
1202
        <strong>Returns:</strong>
1203
        <ul>
1204
            <li><code>void</code></li>
1205
        </ul>
1206
    </div>
1207
                </div>
1208
                        </div>
1209
        </td>
1210
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
1211
    </tr>
1212
        <tr class="method-row inherited expandable">
1213
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1214
        <td class="sig">
1215
        <a id="Ext.Toolbar.Button-setDisabled"></a>
1216
            <b>setDisabled</b>(&nbsp;<code>Boolean disabled</code>&nbsp;) : void            <div class="mdesc">
1217
                        <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
1218
            <div class="long">
1219
                Convenience function for setting disabled/enabled by boolean.    <div class="mdetail-params">
1220
        <strong>Parameters:</strong>
1221
        <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li>        </ul>
1222
        <strong>Returns:</strong>
1223
        <ul>
1224
            <li><code>void</code></li>
1225
        </ul>
1226
    </div>
1227
                </div>
1228
                        </div>
1229
        </td>
1230
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
1231
    </tr>
1232
        <tr class="method-row inherited alt expandable">
1233
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1234
        <td class="sig">
1235
        <a id="Ext.Toolbar.Button-setHandler"></a>
1236
            <b>setHandler</b>(&nbsp;<code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1237
                        <div class="short">Assigns this button's click handler</div>
1238
            <div class="long">
1239
                Assigns this button's click handler    <div class="mdetail-params">
1240
        <strong>Parameters:</strong>
1241
        <ul><li><code>handler</code> : Function<div class="sub-desc">The function to call when the button is clicked</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) Scope for the function passed in</div></li>        </ul>
1242
        <strong>Returns:</strong>
1243
        <ul>
1244
            <li><code>void</code></li>
1245
        </ul>
1246
    </div>
1247
                </div>
1248
                        </div>
1249
        </td>
1250
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#setHandler" href="output/Ext.Button.html#setHandler">Button</a></td>
1251
    </tr>
1252
        <tr class="method-row inherited expandable">
1253
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1254
        <td class="sig">
1255
        <a id="Ext.Toolbar.Button-setIconClass"></a>
1256
            <b>setIconClass</b>(&nbsp;<code>String cls</code>&nbsp;) : void            <div class="mdesc">
1257
                        <div class="short">Sets the CSS class that provides a background image to use as the button's icon.  This method also changes
1258
the value ...</div>
1259
            <div class="long">
1260
                Sets the CSS class that provides a background image to use as the button's icon.  This method also changes
1261
the value of the <a ext:cls="iconCls" href="output/iconCls.html">iconCls</a> config internally.    <div class="mdetail-params">
1262
        <strong>Parameters:</strong>
1263
        <ul><li><code>cls</code> : String<div class="sub-desc">The CSS class providing the icon image</div></li>        </ul>
1264
        <strong>Returns:</strong>
1265
        <ul>
1266
            <li><code>void</code></li>
1267
        </ul>
1268
    </div>
1269
                </div>
1270
                        </div>
1271
        </td>
1272
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#setIconClass" href="output/Ext.Button.html#setIconClass">Button</a></td>
1273
    </tr>
1274
        <tr class="method-row inherited alt expandable">
1275
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1276
        <td class="sig">
1277
        <a id="Ext.Toolbar.Button-setText"></a>
1278
            <b>setText</b>(&nbsp;<code>String text</code>&nbsp;) : void            <div class="mdesc">
1279
                        <div class="short">Sets this button's text</div>
1280
            <div class="long">
1281
                Sets this button's text    <div class="mdetail-params">
1282
        <strong>Parameters:</strong>
1283
        <ul><li><code>text</code> : String<div class="sub-desc">The button text</div></li>        </ul>
1284
        <strong>Returns:</strong>
1285
        <ul>
1286
            <li><code>void</code></li>
1287
        </ul>
1288
    </div>
1289
                </div>
1290
                        </div>
1291
        </td>
1292
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#setText" href="output/Ext.Button.html#setText">Button</a></td>
1293
    </tr>
1294
        <tr class="method-row inherited expandable">
1295
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1296
        <td class="sig">
1297
        <a id="Ext.Toolbar.Button-setVisible"></a>
1298
            <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component            <div class="mdesc">
1299
                        <div class="short">Convenience function to hide or show this component by boolean.</div>
1300
            <div class="long">
1301
                Convenience function to hide or show this component by boolean.    <div class="mdetail-params">
1302
        <strong>Parameters:</strong>
1303
        <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li>        </ul>
1304
        <strong>Returns:</strong>
1305
        <ul>
1306
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1307
        </ul>
1308
    </div>
1309
                </div>
1310
                        </div>
1311
        </td>
1312
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
1313
    </tr>
1314
        <tr class="method-row inherited alt expandable">
1315
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1316
        <td class="sig">
1317
        <a id="Ext.Toolbar.Button-show"></a>
1318
            <b>show</b>() : Ext.Component            <div class="mdesc">
1319
                        <div class="short">Show this component.</div>
1320
            <div class="long">
1321
                Show this component.    <div class="mdetail-params">
1322
        <strong>Parameters:</strong>
1323
        <ul><li>None.</li>        </ul>
1324
        <strong>Returns:</strong>
1325
        <ul>
1326
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1327
        </ul>
1328
    </div>
1329
                </div>
1330
                        </div>
1331
        </td>
1332
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
1333
    </tr>
1334
        <tr class="method-row inherited expandable">
1335
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1336
        <td class="sig">
1337
        <a id="Ext.Toolbar.Button-showMenu"></a>
1338
            <b>showMenu</b>() : void            <div class="mdesc">
1339
                        <div class="short">Show this button's menu (if it has one)</div>
1340
            <div class="long">
1341
                Show this button's menu (if it has one)    <div class="mdetail-params">
1342
        <strong>Parameters:</strong>
1343
        <ul><li>None.</li>        </ul>
1344
        <strong>Returns:</strong>
1345
        <ul>
1346
            <li><code>void</code></li>
1347
        </ul>
1348
    </div>
1349
                </div>
1350
                        </div>
1351
        </td>
1352
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#showMenu" href="output/Ext.Button.html#showMenu">Button</a></td>
1353
    </tr>
1354
        <tr class="method-row inherited alt expandable">
1355
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1356
        <td class="sig">
1357
        <a id="Ext.Toolbar.Button-suspendEvents"></a>
1358
            <b>suspendEvents</b>() : void            <div class="mdesc">
1359
                        <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>
1360
            <div class="long">
1361
                Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)    <div class="mdetail-params">
1362
        <strong>Parameters:</strong>
1363
        <ul><li>None.</li>        </ul>
1364
        <strong>Returns:</strong>
1365
        <ul>
1366
            <li><code>void</code></li>
1367
        </ul>
1368
    </div>
1369
                </div>
1370
                        </div>
1371
        </td>
1372
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
1373
    </tr>
1374
        <tr class="method-row inherited expandable">
1375
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1376
        <td class="sig">
1377
        <a id="Ext.Toolbar.Button-toggle"></a>
1378
            <b>toggle</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean state</code>]</span>&nbsp;) : void            <div class="mdesc">
1379
                        <div class="short">If a state it passed, it becomes the pressed state otherwise the current state is toggled.</div>
1380
            <div class="long">
1381
                If a state it passed, it becomes the pressed state otherwise the current state is toggled.    <div class="mdetail-params">
1382
        <strong>Parameters:</strong>
1383
        <ul><li><code>state</code> : Boolean<div class="sub-desc">(optional) Force a particular state</div></li>        </ul>
1384
        <strong>Returns:</strong>
1385
        <ul>
1386
            <li><code>void</code></li>
1387
        </ul>
1388
    </div>
1389
                </div>
1390
                        </div>
1391
        </td>
1392
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#toggle" href="output/Ext.Button.html#toggle">Button</a></td>
1393
    </tr>
1394
        <tr class="method-row inherited alt expandable">
1395
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1396
        <td class="sig">
1397
        <a id="Ext.Toolbar.Button-un"></a>
1398
            <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1399
                        <div class="short">Removes a listener (shorthand for removeListener)</div>
1400
            <div class="long">
1401
                Removes a listener (shorthand for removeListener)    <div class="mdetail-params">
1402
        <strong>Parameters:</strong>
1403
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>
1404
        <strong>Returns:</strong>
1405
        <ul>
1406
            <li><code>void</code></li>
1407
        </ul>
1408
    </div>
1409
                </div>
1410
                        </div>
1411
        </td>
1412
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
1413
    </tr>
1414
            </table>
1415
                <a id="Ext.Toolbar.Button-events"></a>
1416
        <h2>Public Events</h2>
1417
                <table cellspacing="0" class="member-table">
1418
            <tr>
1419
                <th class="sig-header" colspan="2">Event</th>
1420
                <th class="msource-header">Defined By</th>
1421
            </tr>
1422
                <tr class="event-row inherited expandable">
1423
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1424
        <td class="sig">
1425
        <a id="Ext.Toolbar.Button-beforedestroy"></a>
1426
            <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1427
                        <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>
1428
            <div class="long">
1429
                Fires before the component is destroyed. Return false to stop the destroy.    <div class="mdetail-params">
1430
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1431
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1432
    </div>
1433
                </div>
1434
                        </div>
1435
        </td>
1436
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
1437
    </tr>
1438
        <tr class="event-row inherited alt expandable">
1439
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1440
        <td class="sig">
1441
        <a id="Ext.Toolbar.Button-beforehide"></a>
1442
            <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1443
                        <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>
1444
            <div class="long">
1445
                Fires before the component is hidden. Return false to stop the hide.    <div class="mdetail-params">
1446
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1447
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1448
    </div>
1449
                </div>
1450
                        </div>
1451
        </td>
1452
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
1453
    </tr>
1454
        <tr class="event-row inherited expandable">
1455
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1456
        <td class="sig">
1457
        <a id="Ext.Toolbar.Button-beforerender"></a>
1458
            <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1459
                        <div class="short">Fires before the component is rendered. Return false to stop the render.</div>
1460
            <div class="long">
1461
                Fires before the component is rendered. Return false to stop the render.    <div class="mdetail-params">
1462
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1463
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1464
    </div>
1465
                </div>
1466
                        </div>
1467
        </td>
1468
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
1469
    </tr>
1470
        <tr class="event-row inherited alt expandable">
1471
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1472
        <td class="sig">
1473
        <a id="Ext.Toolbar.Button-beforeshow"></a>
1474
            <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1475
                        <div class="short">Fires before the component is shown. Return false to stop the show.</div>
1476
            <div class="long">
1477
                Fires before the component is shown. Return false to stop the show.    <div class="mdetail-params">
1478
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1479
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1480
    </div>
1481
                </div>
1482
                        </div>
1483
        </td>
1484
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
1485
    </tr>
1486
        <tr class="event-row inherited expandable">
1487
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1488
        <td class="sig">
1489
        <a id="Ext.Toolbar.Button-beforestaterestore"></a>
1490
            <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1491
                        <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>
1492
            <div class="long">
1493
                Fires before the state of the component is restored. Return false to stop the restore.    <div class="mdetail-params">
1494
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1495
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>
1496
    </div>
1497
                </div>
1498
                        </div>
1499
        </td>
1500
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
1501
    </tr>
1502
        <tr class="event-row inherited alt expandable">
1503
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1504
        <td class="sig">
1505
        <a id="Ext.Toolbar.Button-beforestatesave"></a>
1506
            <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1507
                        <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>
1508
            <div class="long">
1509
                Fires before the state of the component is saved to the configured state provider. Return false to stop the save.    <div class="mdetail-params">
1510
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1511
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>
1512
    </div>
1513
                </div>
1514
                        </div>
1515
        </td>
1516
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
1517
    </tr>
1518
        <tr class="event-row inherited expandable">
1519
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1520
        <td class="sig">
1521
        <a id="Ext.Toolbar.Button-click"></a>
1522
            <b>click</b> : (&nbsp;<code>Button this</code>, <code>EventObject e</code>&nbsp;)            <div class="mdesc">
1523
                        <div class="short">Fires when this button is clicked</div>
1524
            <div class="long">
1525
                Fires when this button is clicked    <div class="mdetail-params">
1526
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1527
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>e</code> : EventObject<div class="sub-desc">The click event</div></li>        </ul>
1528
    </div>
1529
                </div>
1530
                        </div>
1531
        </td>
1532
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-click" href="output/Ext.Button.html#event-click">Button</a></td>
1533
    </tr>
1534
        <tr class="event-row inherited alt expandable">
1535
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1536
        <td class="sig">
1537
        <a id="Ext.Toolbar.Button-destroy"></a>
1538
            <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1539
                        <div class="short">Fires after the component is destroyed.</div>
1540
            <div class="long">
1541
                Fires after the component is destroyed.    <div class="mdetail-params">
1542
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1543
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1544
    </div>
1545
                </div>
1546
                        </div>
1547
        </td>
1548
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
1549
    </tr>
1550
        <tr class="event-row inherited expandable">
1551
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1552
        <td class="sig">
1553
        <a id="Ext.Toolbar.Button-disable"></a>
1554
            <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1555
                        <div class="short">Fires after the component is disabled.</div>
1556
            <div class="long">
1557
                Fires after the component is disabled.    <div class="mdetail-params">
1558
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1559
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1560
    </div>
1561
                </div>
1562
                        </div>
1563
        </td>
1564
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
1565
    </tr>
1566
        <tr class="event-row inherited alt expandable">
1567
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1568
        <td class="sig">
1569
        <a id="Ext.Toolbar.Button-enable"></a>
1570
            <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1571
                        <div class="short">Fires after the component is enabled.</div>
1572
            <div class="long">
1573
                Fires after the component is enabled.    <div class="mdetail-params">
1574
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1575
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1576
    </div>
1577
                </div>
1578
                        </div>
1579
        </td>
1580
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
1581
    </tr>
1582
        <tr class="event-row inherited expandable">
1583
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1584
        <td class="sig">
1585
        <a id="Ext.Toolbar.Button-hide"></a>
1586
            <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1587
                        <div class="short">Fires after the component is hidden.</div>
1588
            <div class="long">
1589
                Fires after the component is hidden.    <div class="mdetail-params">
1590
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1591
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1592
    </div>
1593
                </div>
1594
                        </div>
1595
        </td>
1596
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
1597
    </tr>
1598
        <tr class="event-row inherited alt expandable">
1599
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1600
        <td class="sig">
1601
        <a id="Ext.Toolbar.Button-menuhide"></a>
1602
            <b>menuhide</b> : (&nbsp;<code>Button this</code>, <code>Menu menu</code>&nbsp;)            <div class="mdesc">
1603
                        <div class="short">If this button has a menu, this event fires when it is hidden</div>
1604
            <div class="long">
1605
                If this button has a menu, this event fires when it is hidden    <div class="mdetail-params">
1606
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1607
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>menu</code> : Menu<div class="sub-desc"></div></li>        </ul>
1608
    </div>
1609
                </div>
1610
                        </div>
1611
        </td>
1612
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-menuhide" href="output/Ext.Button.html#event-menuhide">Button</a></td>
1613
    </tr>
1614
        <tr class="event-row inherited expandable">
1615
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1616
        <td class="sig">
1617
        <a id="Ext.Toolbar.Button-menushow"></a>
1618
            <b>menushow</b> : (&nbsp;<code>Button this</code>, <code>Menu menu</code>&nbsp;)            <div class="mdesc">
1619
                        <div class="short">If this button has a menu, this event fires when it is shown</div>
1620
            <div class="long">
1621
                If this button has a menu, this event fires when it is shown    <div class="mdetail-params">
1622
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1623
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>menu</code> : Menu<div class="sub-desc"></div></li>        </ul>
1624
    </div>
1625
                </div>
1626
                        </div>
1627
        </td>
1628
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-menushow" href="output/Ext.Button.html#event-menushow">Button</a></td>
1629
    </tr>
1630
        <tr class="event-row inherited alt expandable">
1631
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1632
        <td class="sig">
1633
        <a id="Ext.Toolbar.Button-menutriggerout"></a>
1634
            <b>menutriggerout</b> : (&nbsp;<code>Button this</code>, <code>Menu menu</code>, <code>EventObject e</code>&nbsp;)            <div class="mdesc">
1635
                        <div class="short">If this button has a menu, this event fires when the mouse leaves the menu triggering element</div>
1636
            <div class="long">
1637
                If this button has a menu, this event fires when the mouse leaves the menu triggering element    <div class="mdetail-params">
1638
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1639
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>menu</code> : Menu<div class="sub-desc"></div></li><li><code>e</code> : EventObject<div class="sub-desc"></div></li>        </ul>
1640
    </div>
1641
                </div>
1642
                        </div>
1643
        </td>
1644
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-menutriggerout" href="output/Ext.Button.html#event-menutriggerout">Button</a></td>
1645
    </tr>
1646
        <tr class="event-row inherited expandable">
1647
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1648
        <td class="sig">
1649
        <a id="Ext.Toolbar.Button-menutriggerover"></a>
1650
            <b>menutriggerover</b> : (&nbsp;<code>Button this</code>, <code>Menu menu</code>, <code>EventObject e</code>&nbsp;)            <div class="mdesc">
1651
                        <div class="short">If this button has a menu, this event fires when the mouse enters the menu triggering element</div>
1652
            <div class="long">
1653
                If this button has a menu, this event fires when the mouse enters the menu triggering element    <div class="mdetail-params">
1654
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1655
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>menu</code> : Menu<div class="sub-desc"></div></li><li><code>e</code> : EventObject<div class="sub-desc"></div></li>        </ul>
1656
    </div>
1657
                </div>
1658
                        </div>
1659
        </td>
1660
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-menutriggerover" href="output/Ext.Button.html#event-menutriggerover">Button</a></td>
1661
    </tr>
1662
        <tr class="event-row inherited alt expandable">
1663
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1664
        <td class="sig">
1665
        <a id="Ext.Toolbar.Button-mouseout"></a>
1666
            <b>mouseout</b> : (&nbsp;<code>Button this</code>, <code>Event e</code>&nbsp;)            <div class="mdesc">
1667
                        <div class="short">Fires when the mouse exits the button</div>
1668
            <div class="long">
1669
                Fires when the mouse exits the button    <div class="mdetail-params">
1670
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1671
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li>        </ul>
1672
    </div>
1673
                </div>
1674
                        </div>
1675
        </td>
1676
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-mouseout" href="output/Ext.Button.html#event-mouseout">Button</a></td>
1677
    </tr>
1678
        <tr class="event-row inherited expandable">
1679
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1680
        <td class="sig">
1681
        <a id="Ext.Toolbar.Button-mouseover"></a>
1682
            <b>mouseover</b> : (&nbsp;<code>Button this</code>, <code>Event e</code>&nbsp;)            <div class="mdesc">
1683
                        <div class="short">Fires when the mouse hovers over the button</div>
1684
            <div class="long">
1685
                Fires when the mouse hovers over the button    <div class="mdetail-params">
1686
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1687
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li>        </ul>
1688
    </div>
1689
                </div>
1690
                        </div>
1691
        </td>
1692
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-mouseover" href="output/Ext.Button.html#event-mouseover">Button</a></td>
1693
    </tr>
1694
        <tr class="event-row inherited alt expandable">
1695
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1696
        <td class="sig">
1697
        <a id="Ext.Toolbar.Button-render"></a>
1698
            <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1699
                        <div class="short">Fires after the component is rendered.</div>
1700
            <div class="long">
1701
                Fires after the component is rendered.    <div class="mdetail-params">
1702
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1703
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1704
    </div>
1705
                </div>
1706
                        </div>
1707
        </td>
1708
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
1709
    </tr>
1710
        <tr class="event-row inherited expandable">
1711
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1712
        <td class="sig">
1713
        <a id="Ext.Toolbar.Button-show"></a>
1714
            <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1715
                        <div class="short">Fires after the component is shown.</div>
1716
            <div class="long">
1717
                Fires after the component is shown.    <div class="mdetail-params">
1718
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1719
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1720
    </div>
1721
                </div>
1722
                        </div>
1723
        </td>
1724
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
1725
    </tr>
1726
        <tr class="event-row inherited alt expandable">
1727
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1728
        <td class="sig">
1729
        <a id="Ext.Toolbar.Button-staterestore"></a>
1730
            <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1731
                        <div class="short">Fires after the state of the component is restored.</div>
1732
            <div class="long">
1733
                Fires after the state of the component is restored.    <div class="mdetail-params">
1734
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1735
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>
1736
    </div>
1737
                </div>
1738
                        </div>
1739
        </td>
1740
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
1741
    </tr>
1742
        <tr class="event-row inherited expandable">
1743
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1744
        <td class="sig">
1745
        <a id="Ext.Toolbar.Button-statesave"></a>
1746
            <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1747
                        <div class="short">Fires after the state of the component is saved to the configured state provider.</div>
1748
            <div class="long">
1749
                Fires after the state of the component is saved to the configured state provider.    <div class="mdetail-params">
1750
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1751
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>
1752
    </div>
1753
                </div>
1754
                        </div>
1755
        </td>
1756
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
1757
    </tr>
1758
        <tr class="event-row inherited alt expandable">
1759
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1760
        <td class="sig">
1761
        <a id="Ext.Toolbar.Button-toggle"></a>
1762
            <b>toggle</b> : (&nbsp;<code>Button this</code>, <code>Boolean pressed</code>&nbsp;)            <div class="mdesc">
1763
                        <div class="short">Fires when the "pressed" state of this button changes (only if enableToggle = true)</div>
1764
            <div class="long">
1765
                Fires when the "pressed" state of this button changes (only if enableToggle = true)    <div class="mdetail-params">
1766
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1767
        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>pressed</code> : Boolean<div class="sub-desc"></div></li>        </ul>
1768
    </div>
1769
                </div>
1770
                        </div>
1771
        </td>
1772
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-toggle" href="output/Ext.Button.html#event-toggle">Button</a></td>
1773
    </tr>
1774
            </table>
1775
 
1776
        </div>