source: trunk/web/addons/job_monarch/lib/extjs/docs/output/Ext.Toolbar.Button.html @ 619

Last change on this file since 619 was 619, checked in by ramonb, 15 years ago

lib/:

  • added new AJAX dependancies: ExtJS, pChart, Lightbox2
File size: 129.1 KB
Line 
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="../src/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
23to 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-allowDepress"></a>
42            <b>allowDepress</b> : Boolean            <div class="mdesc">
43                            False to not allow a pressed Button to be depressed (defaults to undefined). Only valid when <a ext:cls="Ext.Button" ext:member="enableToggle" href="output/Ext.Button.html#enableToggle">enableToggle</a> is true.                        </div>
44        </td>
45        <td class="msource"><a ext:cls="Ext.Button" ext:member="#allowDepress" href="output/Ext.Button.html#allowDepress">Button</a></td>
46    </tr>
47        <tr class="config-row inherited alt">
48        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
49        <td class="sig">
50        <a id="Ext.Toolbar.Button-allowDomMove"></a>
51            <b>allowDomMove</b> : Boolean            <div class="mdesc">
52                            Whether the component can move the Dom node when rendering (defaults to true).                        </div>
53        </td>
54        <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>
55    </tr>
56        <tr class="config-row inherited expandable">
57        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
58        <td class="sig">
59        <a id="Ext.Toolbar.Button-applyTo"></a>
60            <b>applyTo</b> : Mixed            <div class="mdesc">
61                        <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>
62            <div class="long">
63                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>
64                        </div>
65        </td>
66        <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>
67    </tr>
68        <tr class="config-row inherited alt expandable">
69        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
70        <td class="sig">
71        <a id="Ext.Toolbar.Button-autoEl"></a>
72            <b>autoEl</b> : String/Object            <div class="mdesc">
73                        <div class="short">A tag name or DomHelper spec to create an element with. This is intended to create shorthand utility components inlin...</div>
74            <div class="long">
75                A tag name or DomHelper spec to create an element with. This is intended to create shorthand utility components inline via JSON. It should not be used for higher level components which already create their own elements. Example usage: <pre><code>{xtype:<em>'box'</em>, autoEl: <em>'div'</em>, cls:<em>'my-class'</em>}
76{xtype:<em>'box'</em>, autoEl: {tag:<em>'blockquote'</em>, html:<em>'autoEl is cool!'</em>}} // <b>with</b> DomHelper</code></pre>            </div>
77                        </div>
78        </td>
79        <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoEl" href="output/Ext.Component.html#autoEl">Component</a></td>
80    </tr>
81        <tr class="config-row inherited expandable">
82        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
83        <td class="sig">
84        <a id="Ext.Toolbar.Button-autoShow"></a>
85            <b>autoShow</b> : Boolean            <div class="mdesc">
86                        <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>
87            <div class="long">
88                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>
89                        </div>
90        </td>
91        <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
92    </tr>
93        <tr class="config-row inherited alt expandable">
94        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
95        <td class="sig">
96        <a id="Ext.Toolbar.Button-buttonSelector"></a>
97            <b>buttonSelector</b> : String            <div class="mdesc">
98                        <div class="short">(Optional) A DomQuery selector which is used to extract the active, clickable element from the DOM structure created....</div>
99            <div class="long">
100                <p>(Optional) A <a ext:cls="Ext.DomQuery" href="output/Ext.DomQuery.html">DomQuery</a> selector which is used to extract the active, clickable element from the DOM structure created.</p> <p>When a custom <a ext:cls="Ext.Button" ext:member="template" href="output/Ext.Button.html#template">template</a> is used, you must ensure that this selector results in the selection of a focussable element.</p> <p>Defaults to <b><tt>"button:first-child"</tt></b>.</p>            </div>
101                        </div>
102        </td>
103        <td class="msource"><a ext:cls="Ext.Button" ext:member="#buttonSelector" href="output/Ext.Button.html#buttonSelector">Button</a></td>
104    </tr>
105        <tr class="config-row inherited expandable">
106        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
107        <td class="sig">
108        <a id="Ext.Toolbar.Button-clearCls"></a>
109            <b>clearCls</b> : String            <div class="mdesc">
110                        <div class="short">The CSS class used to provide field clearing (defaults to 'x-form-clear-left'). This config is only used when this Co...</div>
111            <div class="long">
112                The CSS class used to provide field clearing (defaults to 'x-form-clear-left'). <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p>            </div>
113                        </div>
114        </td>
115        <td class="msource"><a ext:cls="Ext.Component" ext:member="#clearCls" href="output/Ext.Component.html#clearCls">Component</a></td>
116    </tr>
117        <tr class="config-row inherited alt">
118        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
119        <td class="sig">
120        <a id="Ext.Toolbar.Button-clickEvent"></a>
121            <b>clickEvent</b> : String            <div class="mdesc">
122                            The type of event to map to the button's event handler (defaults to 'click')                        </div>
123        </td>
124        <td class="msource"><a ext:cls="Ext.Button" ext:member="#clickEvent" href="output/Ext.Button.html#clickEvent">Button</a></td>
125    </tr>
126        <tr class="config-row inherited expandable">
127        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
128        <td class="sig">
129        <a id="Ext.Toolbar.Button-cls"></a>
130            <b>cls</b> : String            <div class="mdesc">
131                        <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>
132            <div class="long">
133                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>
134                        </div>
135        </td>
136        <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
137    </tr>
138        <tr class="config-row inherited alt expandable">
139        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
140        <td class="sig">
141        <a id="Ext.Toolbar.Button-ctCls"></a>
142            <b>ctCls</b> : String            <div class="mdesc">
143                        <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>
144            <div class="long">
145                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>
146                        </div>
147        </td>
148        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
149    </tr>
150        <tr class="config-row inherited">
151        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
152        <td class="sig">
153        <a id="Ext.Toolbar.Button-disabled"></a>
154            <b>disabled</b> : Boolean            <div class="mdesc">
155                            Render this component disabled (default is false).                        </div>
156        </td>
157        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
158    </tr>
159        <tr class="config-row inherited alt">
160        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
161        <td class="sig">
162        <a id="Ext.Toolbar.Button-disabledClass"></a>
163            <b>disabledClass</b> : String            <div class="mdesc">
164                            CSS class added to the component when it is disabled (defaults to "x-item-disabled").                        </div>
165        </td>
166        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
167    </tr>
168        <tr class="config-row inherited">
169        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
170        <td class="sig">
171        <a id="Ext.Toolbar.Button-enableToggle"></a>
172            <b>enableToggle</b> : Boolean            <div class="mdesc">
173                            True to enable pressed/not pressed toggling (defaults to false)                        </div>
174        </td>
175        <td class="msource"><a ext:cls="Ext.Button" ext:member="#enableToggle" href="output/Ext.Button.html#enableToggle">Button</a></td>
176    </tr>
177        <tr class="config-row inherited alt expandable">
178        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
179        <td class="sig">
180        <a id="Ext.Toolbar.Button-fieldLabel"></a>
181            <b>fieldLabel</b> : String            <div class="mdesc">
182                        <div class="short">The label text to display next to this Component (defaults to '') This config is only used when this Component is ren...</div>
183            <div class="long">
184                The label text to display next to this Component (defaults to '') <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
185    height: 100,
186    renderTo: Ext.getBody(),
187    items: [{
188        xtype: <em>'textfield'</em>,
189        fieldLabel: <em>'Name'</em>
190    }]
191});</code></pre>            </div>
192                        </div>
193        </td>
194        <td class="msource"><a ext:cls="Ext.Component" ext:member="#fieldLabel" href="output/Ext.Component.html#fieldLabel">Component</a></td>
195    </tr>
196        <tr class="config-row inherited">
197        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
198        <td class="sig">
199        <a id="Ext.Toolbar.Button-handleMouseEvents"></a>
200            <b>handleMouseEvents</b> : Boolean            <div class="mdesc">
201                            False to disable visual cues on mouseover, mouseout and mousedown (defaults to true)                        </div>
202        </td>
203        <td class="msource"><a ext:cls="Ext.Button" ext:member="#handleMouseEvents" href="output/Ext.Button.html#handleMouseEvents">Button</a></td>
204    </tr>
205        <tr class="config-row inherited alt">
206        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
207        <td class="sig">
208        <a id="Ext.Toolbar.Button-handler"></a>
209            <b>handler</b> : Function            <div class="mdesc">
210                            A function called when the button is clicked (can be used instead of click event)                        </div>
211        </td>
212        <td class="msource"><a ext:cls="Ext.Button" ext:member="#handler" href="output/Ext.Button.html#handler">Button</a></td>
213    </tr>
214        <tr class="config-row inherited">
215        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
216        <td class="sig">
217        <a id="Ext.Toolbar.Button-hidden"></a>
218            <b>hidden</b> : Boolean            <div class="mdesc">
219                            Render this component hidden (default is false).                        </div>
220        </td>
221        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
222    </tr>
223        <tr class="config-row inherited alt expandable">
224        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
225        <td class="sig">
226        <a id="Ext.Toolbar.Button-hideLabel"></a>
227            <b>hideLabel</b> : Boolean            <div class="mdesc">
228                        <div class="short">True to completely hide the label element (defaults to false). By default, even if you do not specify a fieldLabel th...</div>
229            <div class="long">
230                True to completely hide the label element (defaults to false). By default, even if you do not specify a <a ext:cls="fieldLabel" href="output/fieldLabel.html">fieldLabel</a> the space will still be reserved so that the field will line up with other fields that do have labels. Setting this to true will cause the field to not reserve that space. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
231    height: 100,
232    renderTo: Ext.getBody(),
233    items: [{
234        xtype: <em>'textfield'</em>
235        hideLabel: true
236    }]
237});</code></pre>            </div>
238                        </div>
239        </td>
240        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideLabel" href="output/Ext.Component.html#hideLabel">Component</a></td>
241    </tr>
242        <tr class="config-row inherited expandable">
243        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
244        <td class="sig">
245        <a id="Ext.Toolbar.Button-hideMode"></a>
246            <b>hideMode</b> : String            <div class="mdesc">
247                        <div class="short">How this component should be hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset p...</div>
248            <div class="long">
249                <p>How this component should be hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display".</p> <p>For Containers which may be hidden and shown as part of a <a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">card layout</a> Container such as a <a ext:cls="Ext.TabPanel" href="output/Ext.TabPanel.html">TabPanel</a>, it is recommended that hideMode is configured as "offsets". This ensures that hidden Components still have height and width so that layout managers can perform measurements when calculating layouts.</p>            </div>
250                        </div>
251        </td>
252        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</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-hideParent"></a>
258            <b>hideParent</b> : Boolean            <div class="mdesc">
259                        <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>
260            <div class="long">
261                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>
262                        </div>
263        </td>
264        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>
265    </tr>
266        <tr class="config-row inherited expandable">
267        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
268        <td class="sig">
269        <a id="Ext.Toolbar.Button-icon"></a>
270            <b>icon</b> : String            <div class="mdesc">
271                        <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>
272            <div class="long">
273                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>
274                        </div>
275        </td>
276        <td class="msource"><a ext:cls="Ext.Button" ext:member="#icon" href="output/Ext.Button.html#icon">Button</a></td>
277    </tr>
278        <tr class="config-row inherited alt">
279        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
280        <td class="sig">
281        <a id="Ext.Toolbar.Button-iconCls"></a>
282            <b>iconCls</b> : String            <div class="mdesc">
283                            A css class which sets a background image to be used as the icon for this button                        </div>
284        </td>
285        <td class="msource"><a ext:cls="Ext.Button" ext:member="#iconCls" href="output/Ext.Button.html#iconCls">Button</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-id"></a>
291            <b>id</b> : String            <div class="mdesc">
292                        <div class="short">The unique id of this component (defaults to an auto-assigned id). You should assign an id if you need to be able to ...</div>
293            <div class="long">
294                The unique id of this component (defaults to an auto-assigned id). You should assign an id if you need to be able to access the component later and you do not have an object reference available (e.g., using <a ext:cls="Ext.ComponentMgr" ext:member="getCmp" href="output/Ext.ComponentMgr.html#getCmp">Ext.ComponentMgr.getCmp</a>). Note that this id will also be used as the element id for the containing HTML element that is rendered to the page for this component. This allows you to write id-based CSS rules to style the specific instance of this component uniquely, and also to select sub-elements using this component's id as the parent.            </div>
295                        </div>
296        </td>
297        <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>
298    </tr>
299        <tr class="config-row inherited alt expandable">
300        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
301        <td class="sig">
302        <a id="Ext.Toolbar.Button-itemCls"></a>
303            <b>itemCls</b> : String            <div class="mdesc">
304                        <div class="short">An additional CSS class to apply to the wrapper's form item element of this field (defaults to the container's itemCl...</div>
305            <div class="long">
306                An additional CSS class to apply to the wrapper's form item element of this field (defaults to the container's itemCls value if set, or ''). Since it is applied to the item wrapper, it allows you to write standard CSS rules that can apply to the field, the label (if specified) or any other element within the markup for the field. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code><i>// Apply a style to the field's label:</i>
307&lt;style>
308    .required .x-form-item-label {font-weight:bold;color:red;}
309&lt;/style>
310
311<b>new</b> Ext.FormPanel({
312    height: 100,
313    renderTo: Ext.getBody(),
314    items: [{
315        xtype: <em>'textfield'</em>,
316        fieldLabel: <em>'Name'</em>,
317        itemCls: <em>'required'</em> <i>//<b>this</b> label will be styled</i>
318    },{
319        xtype: <em>'textfield'</em>,
320        fieldLabel: <em>'Favorite Color'</em>
321    }]
322});</code></pre>            </div>
323                        </div>
324        </td>
325        <td class="msource"><a ext:cls="Ext.Component" ext:member="#itemCls" href="output/Ext.Component.html#itemCls">Component</a></td>
326    </tr>
327        <tr class="config-row inherited expandable">
328        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
329        <td class="sig">
330        <a id="Ext.Toolbar.Button-labelSeparator"></a>
331            <b>labelSeparator</b> : String            <div class="mdesc">
332                        <div class="short">The standard separator to display after the text of each form label (defaults to the value of Ext.layout.FormLayout.l...</div>
333            <div class="long">
334                The standard separator to display after the text of each form label (defaults to the value of <a ext:cls="Ext.layout.FormLayout" ext:member="labelSeparator" href="output/Ext.layout.FormLayout.html#labelSeparator">Ext.layout.FormLayout.labelSeparator</a>, which is a colon ':' by default). To display no separator for this field's label specify empty string ''. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
335    height: 100,
336    renderTo: Ext.getBody(),
337    items: [{
338        xtype: <em>'textfield'</em>,
339        fieldLabel: <em>'Name'</em>,
340        labelSeparator: <em>'...'</em>
341    }]
342});</code></pre>            </div>
343                        </div>
344        </td>
345        <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelSeparator" href="output/Ext.Component.html#labelSeparator">Component</a></td>
346    </tr>
347        <tr class="config-row inherited alt expandable">
348        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
349        <td class="sig">
350        <a id="Ext.Toolbar.Button-labelStyle"></a>
351            <b>labelStyle</b> : String            <div class="mdesc">
352                        <div class="short">A CSS style specification to apply directly to this field's label (defaults to the container's labelStyle value if se...</div>
353            <div class="long">
354                A CSS style specification to apply directly to this field's label (defaults to the container's labelStyle value if set, or '').<code></code>. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
355    height: 100,
356    renderTo: Ext.getBody(),
357    items: [{
358        xtype: <em>'textfield'</em>,
359        fieldLabel: <em>'Name'</em>,
360        labelStyle: <em>'font-weight:bold;'</em>
361    }]
362});</code></pre>            </div>
363                        </div>
364        </td>
365        <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelStyle" href="output/Ext.Component.html#labelStyle">Component</a></td>
366    </tr>
367        <tr class="config-row inherited expandable">
368        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
369        <td class="sig">
370        <a id="Ext.Toolbar.Button-listeners"></a>
371            <b>listeners</b> : Object            <div class="mdesc">
372                        <div class="short">(optional) A config object containing one or more event handlers to be added to this object during initialization. Th...</div>
373            <div class="long">
374                (optional) 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>
375                        </div>
376        </td>
377        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
378    </tr>
379        <tr class="config-row inherited alt expandable">
380        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
381        <td class="sig">
382        <a id="Ext.Toolbar.Button-menu"></a>
383            <b>menu</b> : Mixed            <div class="mdesc">
384                        <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>
385            <div class="long">
386                Standard menu attribute consisting of a reference to a menu object, a menu id or a menu config blob (defaults to undefined).            </div>
387                        </div>
388        </td>
389        <td class="msource"><a ext:cls="Ext.Button" ext:member="#menu" href="output/Ext.Button.html#menu">Button</a></td>
390    </tr>
391        <tr class="config-row inherited">
392        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
393        <td class="sig">
394        <a id="Ext.Toolbar.Button-menuAlign"></a>
395            <b>menuAlign</b> : String            <div class="mdesc">
396                            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>
397        </td>
398        <td class="msource"><a ext:cls="Ext.Button" ext:member="#menuAlign" href="output/Ext.Button.html#menuAlign">Button</a></td>
399    </tr>
400        <tr class="config-row inherited alt">
401        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
402        <td class="sig">
403        <a id="Ext.Toolbar.Button-minWidth"></a>
404            <b>minWidth</b> : Number            <div class="mdesc">
405                            The minimum width for this button (used to give a set of buttons a common width)                        </div>
406        </td>
407        <td class="msource"><a ext:cls="Ext.Button" ext:member="#minWidth" href="output/Ext.Button.html#minWidth">Button</a></td>
408    </tr>
409        <tr class="config-row inherited expandable">
410        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
411        <td class="sig">
412        <a id="Ext.Toolbar.Button-overCls"></a>
413            <b>overCls</b> : String            <div class="mdesc">
414                        <div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and...</div>
415            <div class="long">
416                An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and removed when the mouse moves out. (defaults to ''). This can be useful for adding customized "active" or "hover" styles to the component or any of its children using standard CSS rules.            </div>
417                        </div>
418        </td>
419        <td class="msource"><a ext:cls="Ext.Component" ext:member="#overCls" href="output/Ext.Component.html#overCls">Component</a></td>
420    </tr>
421        <tr class="config-row inherited alt expandable">
422        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
423        <td class="sig">
424        <a id="Ext.Toolbar.Button-plugins"></a>
425            <b>plugins</b> : Object/Array            <div class="mdesc">
426                        <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>
427            <div class="long">
428                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>
429                        </div>
430        </td>
431        <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
432    </tr>
433        <tr class="config-row inherited">
434        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
435        <td class="sig">
436        <a id="Ext.Toolbar.Button-pressed"></a>
437            <b>pressed</b> : Boolean            <div class="mdesc">
438                            True to start pressed (only if enableToggle = true)                        </div>
439        </td>
440        <td class="msource"><a ext:cls="Ext.Button" ext:member="#pressed" href="output/Ext.Button.html#pressed">Button</a></td>
441    </tr>
442        <tr class="config-row inherited alt expandable">
443        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
444        <td class="sig">
445        <a id="Ext.Toolbar.Button-renderTo"></a>
446            <b>renderTo</b> : Mixed            <div class="mdesc">
447                        <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>
448            <div class="long">
449                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>
450                        </div>
451        </td>
452        <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
453    </tr>
454        <tr class="config-row inherited expandable">
455        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
456        <td class="sig">
457        <a id="Ext.Toolbar.Button-repeat"></a>
458            <b>repeat</b> : Boolean/Object            <div class="mdesc">
459                        <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>
460            <div class="long">
461                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>
462                        </div>
463        </td>
464        <td class="msource"><a ext:cls="Ext.Button" ext:member="#repeat" href="output/Ext.Button.html#repeat">Button</a></td>
465    </tr>
466        <tr class="config-row inherited alt">
467        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
468        <td class="sig">
469        <a id="Ext.Toolbar.Button-scope"></a>
470            <b>scope</b> : Object            <div class="mdesc">
471                            The scope of the handler                        </div>
472        </td>
473        <td class="msource"><a ext:cls="Ext.Button" ext:member="#scope" href="output/Ext.Button.html#scope">Button</a></td>
474    </tr>
475        <tr class="config-row inherited expandable">
476        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
477        <td class="sig">
478        <a id="Ext.Toolbar.Button-stateEvents"></a>
479            <b>stateEvents</b> : Array            <div class="mdesc">
480                        <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>
481            <div class="long">
482                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>
483                        </div>
484        </td>
485        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
486    </tr>
487        <tr class="config-row inherited alt expandable">
488        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
489        <td class="sig">
490        <a id="Ext.Toolbar.Button-stateId"></a>
491            <b>stateId</b> : String            <div class="mdesc">
492                        <div class="short">The unique id for this component to use for state management purposes (defaults to the component id if one was set, o...</div>
493            <div class="long">
494                The unique id for this component to use for state management purposes (defaults to the component id if one was set, otherwise null if the component is using a generated 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>
495                        </div>
496        </td>
497        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
498    </tr>
499        <tr class="config-row inherited expandable">
500        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
501        <td class="sig">
502        <a id="Ext.Toolbar.Button-stateful"></a>
503            <b>stateful</b> : Boolean            <div class="mdesc">
504                        <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>
505            <div class="long">
506                <p>A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startup. The component must have either a <a ext:cls="Ext.Component" ext:member="stateId" href="output/Ext.Component.html#stateId">stateId</a> or <a ext:cls="Ext.Component" ext:member="id" href="output/Ext.Component.html#id">id</a> assigned for state to be managed. Auto-generated ids are not guaranteed to be stable across page loads and cannot be relied upon to save and restore the same state for a component.<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="Ext.Component" ext:member="staterestore" href="output/Ext.Component.html#staterestore">staterestore</a>, <a ext:cls="Ext.Component" ext:member="beforestatesave" href="output/Ext.Component.html#beforestatesave">beforestatesave</a> and <a ext:cls="Ext.Component" ext:member="statesave" href="output/Ext.Component.html#statesave">statesave</a> events</p>            </div>
507                        </div>
508        </td>
509        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>
510    </tr>
511        <tr class="config-row inherited alt expandable">
512        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
513        <td class="sig">
514        <a id="Ext.Toolbar.Button-style"></a>
515            <b>style</b> : String            <div class="mdesc">
516                        <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>
517            <div class="long">
518                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>
519                        </div>
520        </td>
521        <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
522    </tr>
523        <tr class="config-row inherited">
524        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
525        <td class="sig">
526        <a id="Ext.Toolbar.Button-tabIndex"></a>
527            <b>tabIndex</b> : Number            <div class="mdesc">
528                            Set a DOM tabIndex for this button (defaults to undefined)                        </div>
529        </td>
530        <td class="msource"><a ext:cls="Ext.Button" ext:member="#tabIndex" href="output/Ext.Button.html#tabIndex">Button</a></td>
531    </tr>
532        <tr class="config-row inherited alt expandable">
533        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
534        <td class="sig">
535        <a id="Ext.Toolbar.Button-template"></a>
536            <b>template</b> : Ext.Template            <div class="mdesc">
537                        <div class="short">(Optional) An Ext.Template with which to create the Button's main element. This Template must contain numeric substit...</div>
538            <div class="long">
539                (Optional) An <a ext:cls="Ext.Template" href="output/Ext.Template.html">Ext.Template</a> with which to create the Button's main element. This Template must contain numeric substitution parameter 0 if it is to display the text property. Changing the template could require code modifications if required elements (e.g. a button) aren't present.            </div>
540                        </div>
541        </td>
542        <td class="msource"><a ext:cls="Ext.Button" ext:member="#template" href="output/Ext.Button.html#template">Button</a></td>
543    </tr>
544        <tr class="config-row inherited">
545        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
546        <td class="sig">
547        <a id="Ext.Toolbar.Button-text"></a>
548            <b>text</b> : String            <div class="mdesc">
549                            The button text                        </div>
550        </td>
551        <td class="msource"><a ext:cls="Ext.Button" ext:member="#text" href="output/Ext.Button.html#text">Button</a></td>
552    </tr>
553        <tr class="config-row inherited alt">
554        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
555        <td class="sig">
556        <a id="Ext.Toolbar.Button-toggleGroup"></a>
557            <b>toggleGroup</b> : String            <div class="mdesc">
558                            The group this toggle button is a member of (only 1 per group can be pressed)                        </div>
559        </td>
560        <td class="msource"><a ext:cls="Ext.Button" ext:member="#toggleGroup" href="output/Ext.Button.html#toggleGroup">Button</a></td>
561    </tr>
562        <tr class="config-row inherited expandable">
563        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
564        <td class="sig">
565        <a id="Ext.Toolbar.Button-toggleHandler"></a>
566            <b>toggleHandler</b> : Function            <div class="mdesc">
567                        <div class="short">Function called when a Button with enableToggle set to true is clicked. Two arguments are passed: button : Ext.Button...</div>
568            <div class="long">
569                Function called when a Button with <a ext:cls="Ext.Button" ext:member="enableToggle" href="output/Ext.Button.html#enableToggle">enableToggle</a> set to true is clicked. Two arguments are passed:<ul class="mdetail-params"> <li><b>button</b> : Ext.Button<div class="sub-desc">this Button object</div></li> <li><b>state</b> : Boolean<div class="sub-desc">The next state if the Button, true means pressed.</div></li> </ul>            </div>
570                        </div>
571        </td>
572        <td class="msource"><a ext:cls="Ext.Button" ext:member="#toggleHandler" href="output/Ext.Button.html#toggleHandler">Button</a></td>
573    </tr>
574        <tr class="config-row inherited alt">
575        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
576        <td class="sig">
577        <a id="Ext.Toolbar.Button-tooltip"></a>
578            <b>tooltip</b> : String/Object            <div class="mdesc">
579                            The tooltip for the button - can be a string or QuickTips config object                        </div>
580        </td>
581        <td class="msource"><a ext:cls="Ext.Button" ext:member="#tooltip" href="output/Ext.Button.html#tooltip">Button</a></td>
582    </tr>
583        <tr class="config-row inherited">
584        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
585        <td class="sig">
586        <a id="Ext.Toolbar.Button-tooltipType"></a>
587            <b>tooltipType</b> : String            <div class="mdesc">
588                            The type of tooltip to use. Either "qtip" (default) for QuickTips or "title" for title attribute.                        </div>
589        </td>
590        <td class="msource"><a ext:cls="Ext.Button" ext:member="#tooltipType" href="output/Ext.Button.html#tooltipType">Button</a></td>
591    </tr>
592        <tr class="config-row inherited alt">
593        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
594        <td class="sig">
595        <a id="Ext.Toolbar.Button-type"></a>
596            <b>type</b> : String            <div class="mdesc">
597                            submit, reset or button - defaults to 'button'                        </div>
598        </td>
599        <td class="msource"><a ext:cls="Ext.Button" ext:member="#type" href="output/Ext.Button.html#type">Button</a></td>
600    </tr>
601        <tr class="config-row inherited expandable">
602        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
603        <td class="sig">
604        <a id="Ext.Toolbar.Button-xtype"></a>
605            <b>xtype</b> : String            <div class="mdesc">
606                        <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
607            <div class="long">
608                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>
609                        </div>
610        </td>
611        <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
612    </tr>
613            </table>
614                <a id="Ext.Toolbar.Button-props"></a>
615        <h2>Public Properties</h2>
616                <table cellspacing="0" class="member-table">
617            <tr>
618                <th class="sig-header" colspan="2">Property</th>
619                <th class="msource-header">Defined By</th>
620            </tr>
621                <tr class="property-row inherited">
622        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
623        <td class="sig">
624        <a id="Ext.Toolbar.Button-disabled"></a>
625            <b>disabled</b> : Boolean            <div class="mdesc">
626                            True if this component is disabled. Read-only.                        </div>
627        </td>
628        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
629    </tr>
630        <tr class="property-row inherited alt">
631        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
632        <td class="sig">
633        <a id="Ext.Toolbar.Button-hidden"></a>
634            <b>hidden</b> : Boolean            <div class="mdesc">
635                           
636True if this component is hidden. Read-only.                        </div>
637        </td>
638        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
639    </tr>
640        <tr class="property-row inherited">
641        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
642        <td class="sig">
643        <a id="Ext.Toolbar.Button-initialConfig"></a>
644            <b>initialConfig</b> : Object            <div class="mdesc">
645                            This Component's initial configuration specification. Read-only.                        </div>
646        </td>
647        <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
648    </tr>
649        <tr class="property-row inherited alt expandable">
650        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
651        <td class="sig">
652        <a id="Ext.Toolbar.Button-ownerCt"></a>
653            <b>ownerCt</b> : Ext.Container            <div class="mdesc">
654                        <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
655the component is added to a...</div>
656            <div class="long">
657                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
658the component is added to a container).  Read-only.            </div>
659                        </div>
660        </td>
661        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
662    </tr>
663        <tr class="property-row inherited">
664        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
665        <td class="sig">
666        <a id="Ext.Toolbar.Button-pressed"></a>
667            <b>pressed</b> : Boolean            <div class="mdesc">
668                            Read-only. True if this button is pressed (only if enableToggle = true)                        </div>
669        </td>
670        <td class="msource"><a ext:cls="Ext.Button" ext:member="#pressed" href="output/Ext.Button.html#pressed">Button</a></td>
671    </tr>
672        <tr class="property-row inherited alt">
673        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
674        <td class="sig">
675        <a id="Ext.Toolbar.Button-rendered"></a>
676            <b>rendered</b> : Boolean            <div class="mdesc">
677                            True if this component has been rendered. Read-only.                        </div>
678        </td>
679        <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
680    </tr>
681            </table>
682                <a id="Ext.Toolbar.Button-methods"></a>
683        <h2>Public Methods</h2>
684                <table cellspacing="0" class="member-table">
685            <tr>
686                <th class="sig-header" colspan="2">Method</th>
687                <th class="msource-header">Defined By</th>
688            </tr>
689                <tr class="method-row expandable">
690        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
691        <td class="sig">
692        <a id="Ext.Toolbar.Button-Toolbar.Button"></a>
693            <b>Toolbar.Button</b>(&nbsp;<code>Object config</code>&nbsp;)            <div class="mdesc">
694                        <div class="short">Creates a new Button</div>
695            <div class="long">
696                Creates a new Button    <div class="mdetail-params">
697        <strong>Parameters:</strong>
698        <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>
699        <strong>Returns:</strong>
700        <ul>
701            <li><code></code></li>
702        </ul>
703    </div>
704                </div>
705                        </div>
706        </td>
707        <td class="msource">Toolbar.Button</td>
708    </tr>
709        <tr class="method-row inherited alt expandable">
710        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
711        <td class="sig">
712        <a id="Ext.Toolbar.Button-addClass"></a>
713            <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">
714                        <div class="short">Adds a CSS class to the component's underlying element.</div>
715            <div class="long">
716                Adds a CSS class to the component's underlying element.    <div class="mdetail-params">
717        <strong>Parameters:</strong>
718        <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li>        </ul>
719        <strong>Returns:</strong>
720        <ul>
721            <li><code>void</code></li>
722        </ul>
723    </div>
724                </div>
725                        </div>
726        </td>
727        <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
728    </tr>
729        <tr class="method-row inherited expandable">
730        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
731        <td class="sig">
732        <a id="Ext.Toolbar.Button-addEvents"></a>
733            <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">
734                        <div class="short">Used to define events on this Observable</div>
735            <div class="long">
736                Used to define events on this Observable    <div class="mdetail-params">
737        <strong>Parameters:</strong>
738        <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>
739        <strong>Returns:</strong>
740        <ul>
741            <li><code>void</code></li>
742        </ul>
743    </div>
744                </div>
745                        </div>
746        </td>
747        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
748    </tr>
749        <tr class="method-row inherited alt expandable">
750        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
751        <td class="sig">
752        <a id="Ext.Toolbar.Button-addListener"></a>
753            <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">
754                        <div class="short">Appends an event handler to this component</div>
755            <div class="long">
756                Appends an event handler to this component    <div class="mdetail-params">
757        <strong>Parameters:</strong>
758        <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
759function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
760properties. This may contain any of the following properties:<ul>
761<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>
762<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>
763<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>
764<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
765by the specified number of milliseconds. If the event fires again within that time, the original
766handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
767</ul><br>
768<p>
769<b>Combining Options</b><br>
770Using the options argument, it is possible to combine different types of listeners:<br>
771<br>
772A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
773<pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
774    single: true,
775    delay: 100,
776    forumId: 4
777});</code></pre>
778<p>
779<b>Attaching multiple handlers in 1 call</b><br>
780The method also allows for a single argument to be passed which is a config object containing properties
781which specify multiple handlers.
782<p>
783<pre><code>foo.on({
784    <em>'click'</em> : {
785        fn: <b>this</b>.onClick,
786        scope: <b>this</b>,
787        delay: 100
788    },
789    <em>'mouseover'</em> : {
790        fn: <b>this</b>.onMouseOver,
791        scope: <b>this</b>
792    },
793    <em>'mouseout'</em> : {
794        fn: <b>this</b>.onMouseOut,
795        scope: <b>this</b>
796    }
797});</code></pre>
798<p>
799Or a shorthand syntax:<br>
800<pre><code>foo.on({
801    <em>'click'</em> : <b>this</b>.onClick,
802    <em>'mouseover'</em> : <b>this</b>.onMouseOver,
803    <em>'mouseout'</em> : <b>this</b>.onMouseOut,
804     scope: <b>this</b>
805});</code></pre></div></li>        </ul>
806        <strong>Returns:</strong>
807        <ul>
808            <li><code>void</code></li>
809        </ul>
810    </div>
811                </div>
812                        </div>
813        </td>
814        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
815    </tr>
816        <tr class="method-row inherited expandable">
817        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
818        <td class="sig">
819        <a id="Ext.Toolbar.Button-applyToMarkup"></a>
820            <b>applyToMarkup</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void            <div class="mdesc">
821                        <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>
822            <div class="long">
823                Apply this component to existing markup that is valid. With this function, no call to render() is required.    <div class="mdetail-params">
824        <strong>Parameters:</strong>
825        <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></li>        </ul>
826        <strong>Returns:</strong>
827        <ul>
828            <li><code>void</code></li>
829        </ul>
830    </div>
831                </div>
832                        </div>
833        </td>
834        <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
835    </tr>
836        <tr class="method-row inherited alt expandable">
837        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
838        <td class="sig">
839        <a id="Ext.Toolbar.Button-cloneConfig"></a>
840            <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component            <div class="mdesc">
841                        <div class="short">Clone the current component using the original config values passed into this instance by default.</div>
842            <div class="long">
843                Clone the current component using the original config values passed into this instance by default.    <div class="mdetail-params">
844        <strong>Parameters:</strong>
845        <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
846An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li>        </ul>
847        <strong>Returns:</strong>
848        <ul>
849            <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
850        </ul>
851    </div>
852                </div>
853                        </div>
854        </td>
855        <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
856    </tr>
857        <tr class="method-row inherited expandable">
858        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
859        <td class="sig">
860        <a id="Ext.Toolbar.Button-destroy"></a>
861            <b>destroy</b>() : void            <div class="mdesc">
862                        <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
863removing the c...</div>
864            <div class="long">
865                Destroys this component by purging any event listeners, removing the component's element from the DOM,
866removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
867<a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>.  Destruction is generally handled automatically by the framework and this method
868should usually not need to be called directly.    <div class="mdetail-params">
869        <strong>Parameters:</strong>
870        <ul><li>None.</li>        </ul>
871        <strong>Returns:</strong>
872        <ul>
873            <li><code>void</code></li>
874        </ul>
875    </div>
876                </div>
877                        </div>
878        </td>
879        <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
880    </tr>
881        <tr class="method-row inherited alt expandable">
882        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
883        <td class="sig">
884        <a id="Ext.Toolbar.Button-disable"></a>
885            <b>disable</b>() : Ext.Component            <div class="mdesc">
886                        <div class="short">Disable this component.</div>
887            <div class="long">
888                Disable this component.    <div class="mdetail-params">
889        <strong>Parameters:</strong>
890        <ul><li>None.</li>        </ul>
891        <strong>Returns:</strong>
892        <ul>
893            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
894        </ul>
895    </div>
896                </div>
897                        </div>
898        </td>
899        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
900    </tr>
901        <tr class="method-row inherited expandable">
902        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
903        <td class="sig">
904        <a id="Ext.Toolbar.Button-enable"></a>
905            <b>enable</b>() : Ext.Component            <div class="mdesc">
906                        <div class="short">Enable this component.</div>
907            <div class="long">
908                Enable this component.    <div class="mdetail-params">
909        <strong>Parameters:</strong>
910        <ul><li>None.</li>        </ul>
911        <strong>Returns:</strong>
912        <ul>
913            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
914        </ul>
915    </div>
916                </div>
917                        </div>
918        </td>
919        <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
920    </tr>
921        <tr class="method-row inherited alt expandable">
922        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
923        <td class="sig">
924        <a id="Ext.Toolbar.Button-findParentBy"></a>
925            <b>findParentBy</b>(&nbsp;<code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Ext.Container            <div class="mdesc">
926                        <div class="short">Find a container above this component at any level by a custom function. If the passed function returns
927true, the con...</div>
928            <div class="long">
929                Find a container above this component at any level by a custom function. If the passed function returns
930true, the container will be returned. The passed function is called with the arguments (container, this component).    <div class="mdetail-params">
931        <strong>Parameters:</strong>
932        <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>
933        <strong>Returns:</strong>
934        <ul>
935            <li><code>Ext.Container</code><div class="sub-desc">The first Container for which the custom function returns true</div></li>
936        </ul>
937    </div>
938                </div>
939                        </div>
940        </td>
941        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>
942    </tr>
943        <tr class="method-row inherited expandable">
944        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
945        <td class="sig">
946        <a id="Ext.Toolbar.Button-findParentByType"></a>
947            <b>findParentByType</b>(&nbsp;<code>String/Class xtype</code>&nbsp;) : Ext.Container            <div class="mdesc">
948                        <div class="short">Find a container above this component at any level by xtype or class</div>
949            <div class="long">
950                Find a container above this component at any level by xtype or class    <div class="mdetail-params">
951        <strong>Parameters:</strong>
952        <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>
953        <strong>Returns:</strong>
954        <ul>
955            <li><code>Ext.Container</code><div class="sub-desc">The first Container which matches the given xtype or class</div></li>
956        </ul>
957    </div>
958                </div>
959                        </div>
960        </td>
961        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>
962    </tr>
963        <tr class="method-row inherited alt expandable">
964        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
965        <td class="sig">
966        <a id="Ext.Toolbar.Button-fireEvent"></a>
967            <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">
968                        <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
969            <div class="long">
970                Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">
971        <strong>Parameters:</strong>
972        <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>
973        <strong>Returns:</strong>
974        <ul>
975            <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
976        </ul>
977    </div>
978                </div>
979                        </div>
980        </td>
981        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
982    </tr>
983        <tr class="method-row inherited expandable">
984        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
985        <td class="sig">
986        <a id="Ext.Toolbar.Button-focus"></a>
987            <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">
988                        <div class="short">Try to focus this component.</div>
989            <div class="long">
990                Try to focus this component.    <div class="mdetail-params">
991        <strong>Parameters:</strong>
992        <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>
993        <strong>Returns:</strong>
994        <ul>
995            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
996        </ul>
997    </div>
998                </div>
999                        </div>
1000        </td>
1001        <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
1002    </tr>
1003        <tr class="method-row inherited alt expandable">
1004        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1005        <td class="sig">
1006        <a id="Ext.Toolbar.Button-getEl"></a>
1007            <b>getEl</b>() : Ext.Element            <div class="mdesc">
1008                        <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
1009            <div class="long">
1010                Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">
1011        <strong>Parameters:</strong>
1012        <ul><li>None.</li>        </ul>
1013        <strong>Returns:</strong>
1014        <ul>
1015            <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
1016        </ul>
1017    </div>
1018                </div>
1019                        </div>
1020        </td>
1021        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
1022    </tr>
1023        <tr class="method-row inherited expandable">
1024        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1025        <td class="sig">
1026        <a id="Ext.Toolbar.Button-getId"></a>
1027            <b>getId</b>() : String            <div class="mdesc">
1028                        <div class="short">Returns the id of this component.</div>
1029            <div class="long">
1030                Returns the id of this component.    <div class="mdetail-params">
1031        <strong>Parameters:</strong>
1032        <ul><li>None.</li>        </ul>
1033        <strong>Returns:</strong>
1034        <ul>
1035            <li><code>String</code></li>
1036        </ul>
1037    </div>
1038                </div>
1039                        </div>
1040        </td>
1041        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
1042    </tr>
1043        <tr class="method-row inherited alt expandable">
1044        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1045        <td class="sig">
1046        <a id="Ext.Toolbar.Button-getItemId"></a>
1047            <b>getItemId</b>() : String            <div class="mdesc">
1048                        <div class="short">Returns the item id of this component.</div>
1049            <div class="long">
1050                Returns the item id of this component.    <div class="mdetail-params">
1051        <strong>Parameters:</strong>
1052        <ul><li>None.</li>        </ul>
1053        <strong>Returns:</strong>
1054        <ul>
1055            <li><code>String</code></li>
1056        </ul>
1057    </div>
1058                </div>
1059                        </div>
1060        </td>
1061        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
1062    </tr>
1063        <tr class="method-row inherited expandable">
1064        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1065        <td class="sig">
1066        <a id="Ext.Toolbar.Button-getText"></a>
1067            <b>getText</b>() : String            <div class="mdesc">
1068                        <div class="short">Gets the text for this button</div>
1069            <div class="long">
1070                Gets the text for this button    <div class="mdetail-params">
1071        <strong>Parameters:</strong>
1072        <ul><li>None.</li>        </ul>
1073        <strong>Returns:</strong>
1074        <ul>
1075            <li><code>String</code><div class="sub-desc">The button text</div></li>
1076        </ul>
1077    </div>
1078                </div>
1079                        </div>
1080        </td>
1081        <td class="msource"><a ext:cls="Ext.Button" ext:member="#getText" href="output/Ext.Button.html#getText">Button</a></td>
1082    </tr>
1083        <tr class="method-row inherited alt expandable">
1084        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1085        <td class="sig">
1086        <a id="Ext.Toolbar.Button-getXType"></a>
1087            <b>getXType</b>() : String            <div class="mdesc">
1088                        <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
1089available xtypes, see the Ex...</div>
1090            <div class="long">
1091                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
1092available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
1093<pre><code>var t = <b>new</b> Ext.form.TextField();
1094alert(t.getXType());  // alerts <em>'textfield'</em></code></pre>    <div class="mdetail-params">
1095        <strong>Parameters:</strong>
1096        <ul><li>None.</li>        </ul>
1097        <strong>Returns:</strong>
1098        <ul>
1099            <li><code>String</code><div class="sub-desc">The xtype</div></li>
1100        </ul>
1101    </div>
1102                </div>
1103                        </div>
1104        </td>
1105        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
1106    </tr>
1107        <tr class="method-row inherited expandable">
1108        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1109        <td class="sig">
1110        <a id="Ext.Toolbar.Button-getXTypes"></a>
1111            <b>getXTypes</b>() : String            <div class="mdesc">
1112                        <div class="short">Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1113available xtypes, see the Ext...</div>
1114            <div class="long">
1115                <p>Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1116available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header.</p>
1117<p><b>If using your own subclasses, be aware that a Component must register its own xtype
1118to participate in determination of inherited xtypes.</b></p>
1119<p>Example usage:</p>
1120<pre><code>
1121var t = new Ext.form.TextField();
1122alert(t.getXTypes());  // alerts 'component/box/field/textfield'</pre></code>    <div class="mdetail-params">
1123        <strong>Parameters:</strong>
1124        <ul><li>None.</li>        </ul>
1125        <strong>Returns:</strong>
1126        <ul>
1127            <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
1128        </ul>
1129    </div>
1130                </div>
1131                        </div>
1132        </td>
1133        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
1134    </tr>
1135        <tr class="method-row inherited alt expandable">
1136        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1137        <td class="sig">
1138        <a id="Ext.Toolbar.Button-hasListener"></a>
1139            <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">
1140                        <div class="short">Checks to see if this object has any listeners for a specified event</div>
1141            <div class="long">
1142                Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">
1143        <strong>Parameters:</strong>
1144        <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>
1145        <strong>Returns:</strong>
1146        <ul>
1147            <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
1148        </ul>
1149    </div>
1150                </div>
1151                        </div>
1152        </td>
1153        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
1154    </tr>
1155        <tr class="method-row inherited expandable">
1156        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1157        <td class="sig">
1158        <a id="Ext.Toolbar.Button-hasVisibleMenu"></a>
1159            <b>hasVisibleMenu</b>() : Boolean            <div class="mdesc">
1160                        <div class="short">Returns true if the button has a menu and it is visible</div>
1161            <div class="long">
1162                Returns true if the button has a menu and it is visible    <div class="mdetail-params">
1163        <strong>Parameters:</strong>
1164        <ul><li>None.</li>        </ul>
1165        <strong>Returns:</strong>
1166        <ul>
1167            <li><code>Boolean</code></li>
1168        </ul>
1169    </div>
1170                </div>
1171                        </div>
1172        </td>
1173        <td class="msource"><a ext:cls="Ext.Button" ext:member="#hasVisibleMenu" href="output/Ext.Button.html#hasVisibleMenu">Button</a></td>
1174    </tr>
1175        <tr class="method-row inherited alt expandable">
1176        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1177        <td class="sig">
1178        <a id="Ext.Toolbar.Button-hide"></a>
1179            <b>hide</b>() : Ext.Component            <div class="mdesc">
1180                        <div class="short">Hide this component.</div>
1181            <div class="long">
1182                Hide this component.    <div class="mdetail-params">
1183        <strong>Parameters:</strong>
1184        <ul><li>None.</li>        </ul>
1185        <strong>Returns:</strong>
1186        <ul>
1187            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1188        </ul>
1189    </div>
1190                </div>
1191                        </div>
1192        </td>
1193        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
1194    </tr>
1195        <tr class="method-row inherited expandable">
1196        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1197        <td class="sig">
1198        <a id="Ext.Toolbar.Button-hideMenu"></a>
1199            <b>hideMenu</b>() : void            <div class="mdesc">
1200                        <div class="short">Hide this button's menu (if it has one)</div>
1201            <div class="long">
1202                Hide this button's menu (if it has one)    <div class="mdetail-params">
1203        <strong>Parameters:</strong>
1204        <ul><li>None.</li>        </ul>
1205        <strong>Returns:</strong>
1206        <ul>
1207            <li><code>void</code></li>
1208        </ul>
1209    </div>
1210                </div>
1211                        </div>
1212        </td>
1213        <td class="msource"><a ext:cls="Ext.Button" ext:member="#hideMenu" href="output/Ext.Button.html#hideMenu">Button</a></td>
1214    </tr>
1215        <tr class="method-row inherited alt expandable">
1216        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1217        <td class="sig">
1218        <a id="Ext.Toolbar.Button-initComponent"></a>
1219            <b>initComponent</b>() : void            <div class="mdesc">
1220                        <div class="short"></div>
1221            <div class="long">
1222                    <div class="mdetail-params">
1223        <strong>Parameters:</strong>
1224        <ul><li>None.</li>        </ul>
1225        <strong>Returns:</strong>
1226        <ul>
1227            <li><code>void</code></li>
1228        </ul>
1229    </div>
1230                </div>
1231                        </div>
1232        </td>
1233        <td class="msource"><a ext:cls="Ext.Button" ext:member="#initComponent" href="output/Ext.Button.html#initComponent">Button</a></td>
1234    </tr>
1235        <tr class="method-row inherited expandable">
1236        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1237        <td class="sig">
1238        <a id="Ext.Toolbar.Button-isVisible"></a>
1239            <b>isVisible</b>() : void            <div class="mdesc">
1240                        <div class="short">Returns true if this component is visible.</div>
1241            <div class="long">
1242                Returns true if this component is visible.    <div class="mdetail-params">
1243        <strong>Parameters:</strong>
1244        <ul><li>None.</li>        </ul>
1245        <strong>Returns:</strong>
1246        <ul>
1247            <li><code>void</code></li>
1248        </ul>
1249    </div>
1250                </div>
1251                        </div>
1252        </td>
1253        <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
1254    </tr>
1255        <tr class="method-row inherited alt expandable">
1256        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1257        <td class="sig">
1258        <a id="Ext.Toolbar.Button-isXType"></a>
1259            <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void            <div class="mdesc">
1260                        <div class="short">Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1261from th...</div>
1262            <div class="long">
1263                <p>Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1264from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
1265<p><b>If using your own subclasses, be aware that a Component must register its own xtype
1266to participate in determination of inherited xtypes.</b></p>
1267<p>For a list of all available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header.</p>
1268<p>Example usage:</p>
1269<pre><code>var t = <b>new</b> Ext.form.TextField();
1270<b>var</b> isText = t.isXType(<em>'textfield'</em>);        <i>// true</i>
1271<b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>);       <i>// true, descended from BoxComponent</i>
1272<b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre>    <div class="mdetail-params">
1273        <strong>Parameters:</strong>
1274        <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
1275the default), or true to check whether this Component is directly of the specified xtype.</div></li>        </ul>
1276        <strong>Returns:</strong>
1277        <ul>
1278            <li><code>void</code></li>
1279        </ul>
1280    </div>
1281                </div>
1282                        </div>
1283        </td>
1284        <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
1285    </tr>
1286        <tr class="method-row inherited expandable">
1287        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1288        <td class="sig">
1289        <a id="Ext.Toolbar.Button-on"></a>
1290            <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">
1291                        <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1292            <div class="long">
1293                Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">
1294        <strong>Parameters:</strong>
1295        <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
1296function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
1297        <strong>Returns:</strong>
1298        <ul>
1299            <li><code>void</code></li>
1300        </ul>
1301    </div>
1302                </div>
1303                        </div>
1304        </td>
1305        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
1306    </tr>
1307        <tr class="method-row inherited alt expandable">
1308        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1309        <td class="sig">
1310        <a id="Ext.Toolbar.Button-purgeListeners"></a>
1311            <b>purgeListeners</b>() : void            <div class="mdesc">
1312                        <div class="short">Removes all listeners for this object</div>
1313            <div class="long">
1314                Removes all listeners for this object    <div class="mdetail-params">
1315        <strong>Parameters:</strong>
1316        <ul><li>None.</li>        </ul>
1317        <strong>Returns:</strong>
1318        <ul>
1319            <li><code>void</code></li>
1320        </ul>
1321    </div>
1322                </div>
1323                        </div>
1324        </td>
1325        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
1326    </tr>
1327        <tr class="method-row inherited expandable">
1328        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1329        <td class="sig">
1330        <a id="Ext.Toolbar.Button-relayEvents"></a>
1331            <b>relayEvents</b>(&nbsp;<code>Object o</code>, <code>Array events</code>&nbsp;) : void            <div class="mdesc">
1332                        <div class="short">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.</div>
1333            <div class="long">
1334                Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.    <div class="mdetail-params">
1335        <strong>Parameters:</strong>
1336        <ul><li><code>o</code> : Object<div class="sub-desc">The Observable whose events this object is to relay.</div></li><li><code>events</code> : Array<div class="sub-desc">Array of event names to relay.</div></li>        </ul>
1337        <strong>Returns:</strong>
1338        <ul>
1339            <li><code>void</code></li>
1340        </ul>
1341    </div>
1342                </div>
1343                        </div>
1344        </td>
1345        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#relayEvents" href="output/Ext.util.Observable.html#relayEvents">Observable</a></td>
1346    </tr>
1347        <tr class="method-row inherited alt expandable">
1348        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1349        <td class="sig">
1350        <a id="Ext.Toolbar.Button-removeClass"></a>
1351            <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">
1352                        <div class="short">Removes a CSS class from the component's underlying element.</div>
1353            <div class="long">
1354                Removes a CSS class from the component's underlying element.    <div class="mdetail-params">
1355        <strong>Parameters:</strong>
1356        <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li>        </ul>
1357        <strong>Returns:</strong>
1358        <ul>
1359            <li><code>void</code></li>
1360        </ul>
1361    </div>
1362                </div>
1363                        </div>
1364        </td>
1365        <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
1366    </tr>
1367        <tr class="method-row inherited expandable">
1368        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1369        <td class="sig">
1370        <a id="Ext.Toolbar.Button-removeListener"></a>
1371            <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">
1372                        <div class="short">Removes a listener</div>
1373            <div class="long">
1374                Removes a listener    <div class="mdetail-params">
1375        <strong>Parameters:</strong>
1376        <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>
1377        <strong>Returns:</strong>
1378        <ul>
1379            <li><code>void</code></li>
1380        </ul>
1381    </div>
1382                </div>
1383                        </div>
1384        </td>
1385        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
1386    </tr>
1387        <tr class="method-row inherited alt expandable">
1388        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1389        <td class="sig">
1390        <a id="Ext.Toolbar.Button-render"></a>
1391            <b>render</b>(&nbsp;<span class="optional" title="Optional">[<code>Element/HTMLElement/String container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span>&nbsp;) : void            <div class="mdesc">
1392                        <div class="short">Render this Component into the passed HTML element.
1393If you are using a Container object to house this Component, then...</div>
1394            <div class="long">
1395                <p>Render this Component into the passed HTML element.</p>
1396<p><b>If you are using a <a ext:cls="Ext.Container" href="output/Ext.Container.html">Container</a> object to house this Component, then
1397do not use the render method.</b></p>
1398<p>A Container's child Components are rendered by that Container's
1399<a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> manager when the Container is first rendered.</p>
1400<p>Certain layout managers allow dynamic addition of child components. Those that do
1401include <a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">Ext.layout.CardLayout</a>, <a ext:cls="Ext.layout.AnchorLayout" href="output/Ext.layout.AnchorLayout.html">Ext.layout.AnchorLayout</a>,
1402<a ext:cls="Ext.layout.FormLayout" href="output/Ext.layout.FormLayout.html">Ext.layout.FormLayout</a>, <a ext:cls="Ext.layout.TableLayout" href="output/Ext.layout.TableLayout.html">Ext.layout.TableLayout</a>.</p>
1403<p>If the Container is already rendered when a new child Component is added, you may need to call
1404the Container's <a ext:cls="Ext.Container" ext:member="doLayout" href="output/Ext.Container.html#doLayout">doLayout</a> to refresh the view which causes any
1405unrendered child Components to be rendered. This is required so that you can add multiple
1406child components if needed while only refreshing the layout once.</p>
1407<p>When creating complex UIs, it is important to remember that sizing and positioning
1408of child items is the responsibility of the Container's <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> manager.
1409If you expect child items to be sized in response to user interactions, you must
1410configure the Container with a layout manager which creates and manages the type of layout you
1411have in mind.</p>
1412<p><b>Omitting the Container's <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> config means that a basic
1413layout manager is used which does nothing but render child components sequentially into the
1414Container. No sizing or positioning will be performed in this situation.</b></p>    <div class="mdetail-params">
1415        <strong>Parameters:</strong>
1416        <ul><li><code>container</code> : Element/HTMLElement/String<div class="sub-desc">(optional) The element this Component should be
1417rendered into. If it is being created from existing markup, this should be omitted.</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>
1418which this component will be inserted (defaults to appending to the end of the container)</div></li>        </ul>
1419        <strong>Returns:</strong>
1420        <ul>
1421            <li><code>void</code></li>
1422        </ul>
1423    </div>
1424                </div>
1425                        </div>
1426        </td>
1427        <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
1428    </tr>
1429        <tr class="method-row inherited expandable">
1430        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1431        <td class="sig">
1432        <a id="Ext.Toolbar.Button-resumeEvents"></a>
1433            <b>resumeEvents</b>() : void            <div class="mdesc">
1434                        <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>
1435            <div class="long">
1436                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">
1437        <strong>Parameters:</strong>
1438        <ul><li>None.</li>        </ul>
1439        <strong>Returns:</strong>
1440        <ul>
1441            <li><code>void</code></li>
1442        </ul>
1443    </div>
1444                </div>
1445                        </div>
1446        </td>
1447        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
1448    </tr>
1449        <tr class="method-row inherited alt expandable">
1450        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1451        <td class="sig">
1452        <a id="Ext.Toolbar.Button-setDisabled"></a>
1453            <b>setDisabled</b>(&nbsp;<code>Boolean disabled</code>&nbsp;) : void            <div class="mdesc">
1454                        <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
1455            <div class="long">
1456                Convenience function for setting disabled/enabled by boolean.    <div class="mdetail-params">
1457        <strong>Parameters:</strong>
1458        <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li>        </ul>
1459        <strong>Returns:</strong>
1460        <ul>
1461            <li><code>void</code></li>
1462        </ul>
1463    </div>
1464                </div>
1465                        </div>
1466        </td>
1467        <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
1468    </tr>
1469        <tr class="method-row inherited expandable">
1470        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1471        <td class="sig">
1472        <a id="Ext.Toolbar.Button-setHandler"></a>
1473            <b>setHandler</b>(&nbsp;<code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1474                        <div class="short">Assigns this button's click handler</div>
1475            <div class="long">
1476                Assigns this button's click handler    <div class="mdetail-params">
1477        <strong>Parameters:</strong>
1478        <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>
1479        <strong>Returns:</strong>
1480        <ul>
1481            <li><code>void</code></li>
1482        </ul>
1483    </div>
1484                </div>
1485                        </div>
1486        </td>
1487        <td class="msource"><a ext:cls="Ext.Button" ext:member="#setHandler" href="output/Ext.Button.html#setHandler">Button</a></td>
1488    </tr>
1489        <tr class="method-row inherited alt expandable">
1490        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1491        <td class="sig">
1492        <a id="Ext.Toolbar.Button-setIconClass"></a>
1493            <b>setIconClass</b>(&nbsp;<code>String cls</code>&nbsp;) : void            <div class="mdesc">
1494                        <div class="short">Sets the CSS class that provides a background image to use as the button's icon.  This method also changes
1495the value ...</div>
1496            <div class="long">
1497                Sets the CSS class that provides a background image to use as the button's icon.  This method also changes
1498the value of the <a ext:cls="iconCls" href="output/iconCls.html">iconCls</a> config internally.    <div class="mdetail-params">
1499        <strong>Parameters:</strong>
1500        <ul><li><code>cls</code> : String<div class="sub-desc">The CSS class providing the icon image</div></li>        </ul>
1501        <strong>Returns:</strong>
1502        <ul>
1503            <li><code>void</code></li>
1504        </ul>
1505    </div>
1506                </div>
1507                        </div>
1508        </td>
1509        <td class="msource"><a ext:cls="Ext.Button" ext:member="#setIconClass" href="output/Ext.Button.html#setIconClass">Button</a></td>
1510    </tr>
1511        <tr class="method-row inherited expandable">
1512        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1513        <td class="sig">
1514        <a id="Ext.Toolbar.Button-setText"></a>
1515            <b>setText</b>(&nbsp;<code>String text</code>&nbsp;) : void            <div class="mdesc">
1516                        <div class="short">Sets this button's text</div>
1517            <div class="long">
1518                Sets this button's text    <div class="mdetail-params">
1519        <strong>Parameters:</strong>
1520        <ul><li><code>text</code> : String<div class="sub-desc">The button text</div></li>        </ul>
1521        <strong>Returns:</strong>
1522        <ul>
1523            <li><code>void</code></li>
1524        </ul>
1525    </div>
1526                </div>
1527                        </div>
1528        </td>
1529        <td class="msource"><a ext:cls="Ext.Button" ext:member="#setText" href="output/Ext.Button.html#setText">Button</a></td>
1530    </tr>
1531        <tr class="method-row inherited alt expandable">
1532        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1533        <td class="sig">
1534        <a id="Ext.Toolbar.Button-setVisible"></a>
1535            <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component            <div class="mdesc">
1536                        <div class="short">Convenience function to hide or show this component by boolean.</div>
1537            <div class="long">
1538                Convenience function to hide or show this component by boolean.    <div class="mdetail-params">
1539        <strong>Parameters:</strong>
1540        <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li>        </ul>
1541        <strong>Returns:</strong>
1542        <ul>
1543            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1544        </ul>
1545    </div>
1546                </div>
1547                        </div>
1548        </td>
1549        <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
1550    </tr>
1551        <tr class="method-row inherited expandable">
1552        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1553        <td class="sig">
1554        <a id="Ext.Toolbar.Button-show"></a>
1555            <b>show</b>() : Ext.Component            <div class="mdesc">
1556                        <div class="short">Show this component.</div>
1557            <div class="long">
1558                Show this component.    <div class="mdetail-params">
1559        <strong>Parameters:</strong>
1560        <ul><li>None.</li>        </ul>
1561        <strong>Returns:</strong>
1562        <ul>
1563            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1564        </ul>
1565    </div>
1566                </div>
1567                        </div>
1568        </td>
1569        <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
1570    </tr>
1571        <tr class="method-row inherited alt expandable">
1572        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1573        <td class="sig">
1574        <a id="Ext.Toolbar.Button-showMenu"></a>
1575            <b>showMenu</b>() : void            <div class="mdesc">
1576                        <div class="short">Show this button's menu (if it has one)</div>
1577            <div class="long">
1578                Show this button's menu (if it has one)    <div class="mdetail-params">
1579        <strong>Parameters:</strong>
1580        <ul><li>None.</li>        </ul>
1581        <strong>Returns:</strong>
1582        <ul>
1583            <li><code>void</code></li>
1584        </ul>
1585    </div>
1586                </div>
1587                        </div>
1588        </td>
1589        <td class="msource"><a ext:cls="Ext.Button" ext:member="#showMenu" href="output/Ext.Button.html#showMenu">Button</a></td>
1590    </tr>
1591        <tr class="method-row inherited expandable">
1592        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1593        <td class="sig">
1594        <a id="Ext.Toolbar.Button-suspendEvents"></a>
1595            <b>suspendEvents</b>() : void            <div class="mdesc">
1596                        <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>
1597            <div class="long">
1598                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">
1599        <strong>Parameters:</strong>
1600        <ul><li>None.</li>        </ul>
1601        <strong>Returns:</strong>
1602        <ul>
1603            <li><code>void</code></li>
1604        </ul>
1605    </div>
1606                </div>
1607                        </div>
1608        </td>
1609        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
1610    </tr>
1611        <tr class="method-row inherited alt expandable">
1612        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1613        <td class="sig">
1614        <a id="Ext.Toolbar.Button-toggle"></a>
1615            <b>toggle</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean state</code>]</span>&nbsp;) : void            <div class="mdesc">
1616                        <div class="short">If a state it passed, it becomes the pressed state otherwise the current state is toggled.</div>
1617            <div class="long">
1618                If a state it passed, it becomes the pressed state otherwise the current state is toggled.    <div class="mdetail-params">
1619        <strong>Parameters:</strong>
1620        <ul><li><code>state</code> : Boolean<div class="sub-desc">(optional) Force a particular state</div></li>        </ul>
1621        <strong>Returns:</strong>
1622        <ul>
1623            <li><code>void</code></li>
1624        </ul>
1625    </div>
1626                </div>
1627                        </div>
1628        </td>
1629        <td class="msource"><a ext:cls="Ext.Button" ext:member="#toggle" href="output/Ext.Button.html#toggle">Button</a></td>
1630    </tr>
1631        <tr class="method-row inherited expandable">
1632        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1633        <td class="sig">
1634        <a id="Ext.Toolbar.Button-un"></a>
1635            <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">
1636                        <div class="short">Removes a listener (shorthand for removeListener)</div>
1637            <div class="long">
1638                Removes a listener (shorthand for removeListener)    <div class="mdetail-params">
1639        <strong>Parameters:</strong>
1640        <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>
1641        <strong>Returns:</strong>
1642        <ul>
1643            <li><code>void</code></li>
1644        </ul>
1645    </div>
1646                </div>
1647                        </div>
1648        </td>
1649        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
1650    </tr>
1651            </table>
1652                <a id="Ext.Toolbar.Button-events"></a>
1653        <h2>Public Events</h2>
1654                <table cellspacing="0" class="member-table">
1655            <tr>
1656                <th class="sig-header" colspan="2">Event</th>
1657                <th class="msource-header">Defined By</th>
1658            </tr>
1659                <tr class="event-row inherited expandable">
1660        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1661        <td class="sig">
1662        <a id="Ext.Toolbar.Button-beforedestroy"></a>
1663            <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1664                        <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>
1665            <div class="long">
1666                Fires before the component is destroyed. Return false to stop the destroy.    <div class="mdetail-params">
1667        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1668        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1669    </div>
1670                </div>
1671                        </div>
1672        </td>
1673        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
1674    </tr>
1675        <tr class="event-row inherited alt expandable">
1676        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1677        <td class="sig">
1678        <a id="Ext.Toolbar.Button-beforehide"></a>
1679            <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1680                        <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>
1681            <div class="long">
1682                Fires before the component is hidden. Return false to stop the hide.    <div class="mdetail-params">
1683        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1684        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1685    </div>
1686                </div>
1687                        </div>
1688        </td>
1689        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
1690    </tr>
1691        <tr class="event-row inherited expandable">
1692        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1693        <td class="sig">
1694        <a id="Ext.Toolbar.Button-beforerender"></a>
1695            <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1696                        <div class="short">Fires before the component is rendered. Return false to stop the render.</div>
1697            <div class="long">
1698                Fires before the component is rendered. Return false to stop the render.    <div class="mdetail-params">
1699        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1700        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1701    </div>
1702                </div>
1703                        </div>
1704        </td>
1705        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
1706    </tr>
1707        <tr class="event-row inherited alt expandable">
1708        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1709        <td class="sig">
1710        <a id="Ext.Toolbar.Button-beforeshow"></a>
1711            <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1712                        <div class="short">Fires before the component is shown. Return false to stop the show.</div>
1713            <div class="long">
1714                Fires before the component is shown. Return false to stop the show.    <div class="mdetail-params">
1715        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1716        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1717    </div>
1718                </div>
1719                        </div>
1720        </td>
1721        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
1722    </tr>
1723        <tr class="event-row inherited expandable">
1724        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1725        <td class="sig">
1726        <a id="Ext.Toolbar.Button-beforestaterestore"></a>
1727            <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1728                        <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>
1729            <div class="long">
1730                Fires before the state of the component is restored. Return false to stop the restore.    <div class="mdetail-params">
1731        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1732        <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>
1733    </div>
1734                </div>
1735                        </div>
1736        </td>
1737        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
1738    </tr>
1739        <tr class="event-row inherited alt expandable">
1740        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1741        <td class="sig">
1742        <a id="Ext.Toolbar.Button-beforestatesave"></a>
1743            <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1744                        <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>
1745            <div class="long">
1746                Fires before the state of the component is saved to the configured state provider. Return false to stop the save.    <div class="mdetail-params">
1747        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1748        <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>
1749    </div>
1750                </div>
1751                        </div>
1752        </td>
1753        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
1754    </tr>
1755        <tr class="event-row inherited expandable">
1756        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1757        <td class="sig">
1758        <a id="Ext.Toolbar.Button-click"></a>
1759            <b>click</b> : (&nbsp;<code>Button this</code>, <code>EventObject e</code>&nbsp;)            <div class="mdesc">
1760                        <div class="short">Fires when this button is clicked</div>
1761            <div class="long">
1762                Fires when this button is clicked    <div class="mdetail-params">
1763        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1764        <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>
1765    </div>
1766                </div>
1767                        </div>
1768        </td>
1769        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-click" href="output/Ext.Button.html#event-click">Button</a></td>
1770    </tr>
1771        <tr class="event-row inherited alt expandable">
1772        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1773        <td class="sig">
1774        <a id="Ext.Toolbar.Button-destroy"></a>
1775            <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1776                        <div class="short">Fires after the component is destroyed.</div>
1777            <div class="long">
1778                Fires after the component is destroyed.    <div class="mdetail-params">
1779        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1780        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1781    </div>
1782                </div>
1783                        </div>
1784        </td>
1785        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
1786    </tr>
1787        <tr class="event-row inherited expandable">
1788        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1789        <td class="sig">
1790        <a id="Ext.Toolbar.Button-disable"></a>
1791            <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1792                        <div class="short">Fires after the component is disabled.</div>
1793            <div class="long">
1794                Fires after the component is disabled.    <div class="mdetail-params">
1795        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1796        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1797    </div>
1798                </div>
1799                        </div>
1800        </td>
1801        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
1802    </tr>
1803        <tr class="event-row inherited alt expandable">
1804        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1805        <td class="sig">
1806        <a id="Ext.Toolbar.Button-enable"></a>
1807            <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1808                        <div class="short">Fires after the component is enabled.</div>
1809            <div class="long">
1810                Fires after the component is enabled.    <div class="mdetail-params">
1811        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1812        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1813    </div>
1814                </div>
1815                        </div>
1816        </td>
1817        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
1818    </tr>
1819        <tr class="event-row inherited expandable">
1820        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1821        <td class="sig">
1822        <a id="Ext.Toolbar.Button-hide"></a>
1823            <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1824                        <div class="short">Fires after the component is hidden.</div>
1825            <div class="long">
1826                Fires after the component is hidden.    <div class="mdetail-params">
1827        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1828        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1829    </div>
1830                </div>
1831                        </div>
1832        </td>
1833        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
1834    </tr>
1835        <tr class="event-row inherited alt expandable">
1836        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1837        <td class="sig">
1838        <a id="Ext.Toolbar.Button-menuhide"></a>
1839            <b>menuhide</b> : (&nbsp;<code>Button this</code>, <code>Menu menu</code>&nbsp;)            <div class="mdesc">
1840                        <div class="short">If this button has a menu, this event fires when it is hidden</div>
1841            <div class="long">
1842                If this button has a menu, this event fires when it is hidden    <div class="mdetail-params">
1843        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1844        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>menu</code> : Menu<div class="sub-desc"></div></li>        </ul>
1845    </div>
1846                </div>
1847                        </div>
1848        </td>
1849        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-menuhide" href="output/Ext.Button.html#event-menuhide">Button</a></td>
1850    </tr>
1851        <tr class="event-row inherited expandable">
1852        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1853        <td class="sig">
1854        <a id="Ext.Toolbar.Button-menushow"></a>
1855            <b>menushow</b> : (&nbsp;<code>Button this</code>, <code>Menu menu</code>&nbsp;)            <div class="mdesc">
1856                        <div class="short">If this button has a menu, this event fires when it is shown</div>
1857            <div class="long">
1858                If this button has a menu, this event fires when it is shown    <div class="mdetail-params">
1859        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1860        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>menu</code> : Menu<div class="sub-desc"></div></li>        </ul>
1861    </div>
1862                </div>
1863                        </div>
1864        </td>
1865        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-menushow" href="output/Ext.Button.html#event-menushow">Button</a></td>
1866    </tr>
1867        <tr class="event-row inherited alt expandable">
1868        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1869        <td class="sig">
1870        <a id="Ext.Toolbar.Button-menutriggerout"></a>
1871            <b>menutriggerout</b> : (&nbsp;<code>Button this</code>, <code>Menu menu</code>, <code>EventObject e</code>&nbsp;)            <div class="mdesc">
1872                        <div class="short">If this button has a menu, this event fires when the mouse leaves the menu triggering element</div>
1873            <div class="long">
1874                If this button has a menu, this event fires when the mouse leaves the menu triggering element    <div class="mdetail-params">
1875        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1876        <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>
1877    </div>
1878                </div>
1879                        </div>
1880        </td>
1881        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-menutriggerout" href="output/Ext.Button.html#event-menutriggerout">Button</a></td>
1882    </tr>
1883        <tr class="event-row inherited expandable">
1884        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1885        <td class="sig">
1886        <a id="Ext.Toolbar.Button-menutriggerover"></a>
1887            <b>menutriggerover</b> : (&nbsp;<code>Button this</code>, <code>Menu menu</code>, <code>EventObject e</code>&nbsp;)            <div class="mdesc">
1888                        <div class="short">If this button has a menu, this event fires when the mouse enters the menu triggering element</div>
1889            <div class="long">
1890                If this button has a menu, this event fires when the mouse enters the menu triggering element    <div class="mdetail-params">
1891        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1892        <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>
1893    </div>
1894                </div>
1895                        </div>
1896        </td>
1897        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-menutriggerover" href="output/Ext.Button.html#event-menutriggerover">Button</a></td>
1898    </tr>
1899        <tr class="event-row inherited alt expandable">
1900        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1901        <td class="sig">
1902        <a id="Ext.Toolbar.Button-mouseout"></a>
1903            <b>mouseout</b> : (&nbsp;<code>Button this</code>, <code>Event e</code>&nbsp;)            <div class="mdesc">
1904                        <div class="short">Fires when the mouse exits the button</div>
1905            <div class="long">
1906                Fires when the mouse exits the button    <div class="mdetail-params">
1907        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1908        <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>
1909    </div>
1910                </div>
1911                        </div>
1912        </td>
1913        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-mouseout" href="output/Ext.Button.html#event-mouseout">Button</a></td>
1914    </tr>
1915        <tr class="event-row inherited expandable">
1916        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1917        <td class="sig">
1918        <a id="Ext.Toolbar.Button-mouseover"></a>
1919            <b>mouseover</b> : (&nbsp;<code>Button this</code>, <code>Event e</code>&nbsp;)            <div class="mdesc">
1920                        <div class="short">Fires when the mouse hovers over the button</div>
1921            <div class="long">
1922                Fires when the mouse hovers over the button    <div class="mdetail-params">
1923        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1924        <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>
1925    </div>
1926                </div>
1927                        </div>
1928        </td>
1929        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-mouseover" href="output/Ext.Button.html#event-mouseover">Button</a></td>
1930    </tr>
1931        <tr class="event-row inherited alt expandable">
1932        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1933        <td class="sig">
1934        <a id="Ext.Toolbar.Button-render"></a>
1935            <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1936                        <div class="short">Fires after the component is rendered.</div>
1937            <div class="long">
1938                Fires after the component is rendered.    <div class="mdetail-params">
1939        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1940        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1941    </div>
1942                </div>
1943                        </div>
1944        </td>
1945        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
1946    </tr>
1947        <tr class="event-row inherited expandable">
1948        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1949        <td class="sig">
1950        <a id="Ext.Toolbar.Button-show"></a>
1951            <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1952                        <div class="short">Fires after the component is shown.</div>
1953            <div class="long">
1954                Fires after the component is shown.    <div class="mdetail-params">
1955        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1956        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1957    </div>
1958                </div>
1959                        </div>
1960        </td>
1961        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
1962    </tr>
1963        <tr class="event-row inherited alt expandable">
1964        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1965        <td class="sig">
1966        <a id="Ext.Toolbar.Button-staterestore"></a>
1967            <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1968                        <div class="short">Fires after the state of the component is restored.</div>
1969            <div class="long">
1970                Fires after the state of the component is restored.    <div class="mdetail-params">
1971        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1972        <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>
1973    </div>
1974                </div>
1975                        </div>
1976        </td>
1977        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
1978    </tr>
1979        <tr class="event-row inherited expandable">
1980        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1981        <td class="sig">
1982        <a id="Ext.Toolbar.Button-statesave"></a>
1983            <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1984                        <div class="short">Fires after the state of the component is saved to the configured state provider.</div>
1985            <div class="long">
1986                Fires after the state of the component is saved to the configured state provider.    <div class="mdetail-params">
1987        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1988        <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>
1989    </div>
1990                </div>
1991                        </div>
1992        </td>
1993        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
1994    </tr>
1995        <tr class="event-row inherited alt expandable">
1996        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1997        <td class="sig">
1998        <a id="Ext.Toolbar.Button-toggle"></a>
1999            <b>toggle</b> : (&nbsp;<code>Button this</code>, <code>Boolean pressed</code>&nbsp;)            <div class="mdesc">
2000                        <div class="short">Fires when the "pressed" state of this button changes (only if enableToggle = true)</div>
2001            <div class="long">
2002                Fires when the "pressed" state of this button changes (only if enableToggle = true)    <div class="mdetail-params">
2003        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
2004        <ul><li><code>this</code> : Button<div class="sub-desc"></div></li><li><code>pressed</code> : Boolean<div class="sub-desc"></div></li>        </ul>
2005    </div>
2006                </div>
2007                        </div>
2008        </td>
2009        <td class="msource"><a ext:cls="Ext.Button" ext:member="#event-toggle" href="output/Ext.Button.html#event-toggle">Button</a></td>
2010    </tr>
2011            </table>
2012       
2013        </div>
Note: See TracBrowser for help on using the repository browser.