Subversion Repositories eFlore/Applications.cel

Rev

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

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