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