1 <div class="body-wrap">
2 <div class="top-tools">
3 <a class="inner-link" href="#Ext.StatusBar-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4 <a class="inner-link" href="#Ext.StatusBar-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5 <a class="inner-link" href="#Ext.StatusBar-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6 <a class="inner-link" href="#Ext.StatusBar-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7 <a class="bookmark" href="../docs/?class=Ext.StatusBar"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
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"/><a ext:cls="Ext.Toolbar" ext:member="" href="output/Ext.Toolbar.html">Toolbar</a>
14 <img src="resources/elbow-end.gif"/>StatusBar</pre></div>
15 <h1>Class Ext.StatusBar</h1>
16 <table cellspacing="0">
17 <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
18 <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/StatusBar.js" target="_blank">StatusBar.js</a></td></tr>
19 <tr><td class="label">Class:</td><td class="hd-info">StatusBar</td></tr>
20 <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.Toolbar" ext:member="" href="output/Ext.Toolbar.html">Toolbar</a></td></tr>
22 <div class="description">
24 <p>Basic status bar component that can be used as the bottom toolbar of any <a ext:cls="Ext.Panel" href="output/Ext.Panel.html">Ext.Panel</a>. In addition to
25 supporting the standard <a ext:cls="Ext.Toolbar" href="output/Ext.Toolbar.html">Ext.Toolbar</a> interface for adding buttons, menus and other items, the StatusBar
26 provides a greedy status element that can be aligned to either side and has convenient methods for setting the
27 status text and icon. You can also indicate that something is processing using the <a ext:cls="Ext.StatusBar" ext:member="showBusy" href="output/Ext.StatusBar.html#showBusy">showBusy</a> method.</p>
28 <p><b>Note:</b> Although StatusBar supports xtype:'statusbar', at this time Ext.Toolbar (the base class) does
29 not support xtype. For this reason, if you are adding Toolbar items into the StatusBar you must declare it
30 using the "new StatusBar()" syntax for the items to render correctly.</p>
31 <pre><code>new Ext.Panel({
32 title: <em>'StatusBar'</em>,
34 bbar: <b>new</b> Ext.StatusBar({
35 id: <em>'my-status'</em>,
37 <i>// defaults to use when the status is cleared:</i>
38 defaultText: <em>'Default status text'</em>,
39 defaultIconCls: <em>'<b>default</b>-icon'</em>,
41 <i>// values to set initially:</i>
42 text: <em>'Ready'</em>,
43 iconCls: <em>'ready-icon'</em>,
45 <i>// any standard Toolbar items:</i>
47 text: <em>'A Button'</em>
48 }, <em>'-'</em>, <em>'Plain Text'</em>]
52 <i>// Update the status bar later <b>in</b> code:</i>
53 <b>var</b> sb = Ext.getCmp(<em>'my-status'</em>);
56 iconCls: <em>'ok-icon'</em>,
57 clear: true <i>// auto-clear after a set interval</i>
60 <i>// Set the status bar to show that something is processing:</i>
63 <i>// processing....</i>
65 sb.clearStatus(); // once completeed</code></pre> </div>
67 <div class="hr"></div>
68 <a id="Ext.StatusBar-configs"></a>
69 <h2>Config Options</h2>
70 <table cellspacing="0" class="member-table">
72 <th class="sig-header" colspan="2">Config Options</th>
73 <th class="msource-header">Defined By</th>
75 <tr class="config-row inherited">
\r
76 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
78 <a id="Ext.StatusBar-allowDomMove"></a>
\r
79 <b>allowDomMove</b> : Boolean <div class="mdesc">
\r
80 Whether the component can move the Dom node when rendering (defaults to true). </div>
\r
82 <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>
\r
84 <tr class="config-row inherited alt expandable">
\r
85 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
87 <a id="Ext.StatusBar-applyTo"></a>
\r
88 <b>applyTo</b> : Mixed <div class="mdesc">
\r
89 <div class="short">The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document ...</div>
\r
91 The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component. When applyTo is used, constituent parts of the component can also be specified by id or CSS class name within the main element, and the component being created may attempt to create its subcomponents from that markup if applicable. Using this config, a call to render() is not required. If applyTo is specified, any value passed for <a ext:cls="Ext.Component" ext:member="renderTo" href="output/Ext.Component.html#renderTo">renderTo</a> will be ignored and the target element's parent node will automatically be used as the component's container. </div>
\r
94 <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>
\r
96 <tr class="config-row expandable">
\r
97 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
99 <a id="Ext.StatusBar-autoClear"></a>
\r
100 <b>autoClear</b> : Number <div class="mdesc">
\r
101 <div class="short">The number of milliseconds to wait after setting the status via setStatus before automatically clearing the status te...</div>
\r
103 The number of milliseconds to wait after setting the status via <a ext:cls="Ext.StatusBar" ext:member="setStatus" href="output/Ext.StatusBar.html#setStatus">setStatus</a> before automatically clearing the status text and icon (defaults to 5000). Note that this only applies when passing the <tt>clear</tt> argument to setStatus since that is the only way to defer clearing the status. This can be overridden by specifying a different <tt>wait</tt> value in setStatus. Calls to <a ext:cls="Ext.StatusBar" ext:member="clearStatus" href="output/Ext.StatusBar.html#clearStatus">clearStatus</a> always clear the status bar immediately and ignore this value. </div>
\r
106 <td class="msource">StatusBar</td>
\r
108 <tr class="config-row inherited alt expandable">
\r
109 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
111 <a id="Ext.StatusBar-autoEl"></a>
\r
112 <b>autoEl</b> : String/Object <div class="mdesc">
\r
113 <div class="short">A tag name or DomHelper spec to create an element with. This is intended to create shorthand utility components inlin...</div>
\r
115 A tag name or DomHelper spec to create an element with. This is intended to create shorthand utility components inline via JSON. It should not be used for higher level components which already create their own elements. Example usage: <pre><code>{xtype:<em>'box'</em>, autoEl: <em>'div'</em>, cls:<em>'my-class'</em>}
116 {xtype:<em>'box'</em>, autoEl: {tag:<em>'blockquote'</em>, html:<em>'autoEl is cool!'</em>}} // <b>with</b> DomHelper</code></pre> </div>
\r
119 <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoEl" href="output/Ext.Component.html#autoEl">Component</a></td>
\r
121 <tr class="config-row inherited expandable">
\r
122 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
124 <a id="Ext.StatusBar-autoHeight"></a>
\r
125 <b>autoHeight</b> : Boolean <div class="mdesc">
\r
126 <div class="short">True to use height:'auto', false to use fixed height (defaults to false). Note: Although many components inherit this...</div>
\r
128 True to use height:'auto', false to use fixed height (defaults to false). <b>Note</b>: Although many components inherit this config option, not all will function as expected with a height of 'auto'. Setting autoHeight:true means that the browser will manage height based on the element's contents, and that Ext will not manage it at all. </div>
\r
131 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoHeight" href="output/Ext.BoxComponent.html#autoHeight">BoxComponent</a></td>
\r
133 <tr class="config-row inherited alt expandable">
\r
134 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
136 <a id="Ext.StatusBar-autoShow"></a>
\r
137 <b>autoShow</b> : Boolean <div class="mdesc">
\r
138 <div class="short">True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render...</div>
\r
140 True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render (defaults to false). </div>
\r
143 <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
\r
145 <tr class="config-row inherited expandable">
\r
146 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
148 <a id="Ext.StatusBar-autoWidth"></a>
\r
149 <b>autoWidth</b> : Boolean <div class="mdesc">
\r
150 <div class="short">True to use width:'auto', false to use fixed width (defaults to false). Note: Although many components inherit this c...</div>
\r
152 True to use width:'auto', false to use fixed width (defaults to false). <b>Note</b>: Although many components inherit this config option, not all will function as expected with a width of 'auto'. Setting autoWidth:true means that the browser will manage width based on the element's contents, and that Ext will not manage it at all. </div>
\r
155 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoWidth" href="output/Ext.BoxComponent.html#autoWidth">BoxComponent</a></td>
\r
157 <tr class="config-row alt expandable">
\r
158 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
160 <a id="Ext.StatusBar-busyIconCls"></a>
\r
161 <b>busyIconCls</b> : String <div class="mdesc">
\r
162 <div class="short">The default iconCls applied when calling showBusy (defaults to 'x-status-busy'). It can be overridden at any time by ...</div>
\r
164 The default <a ext:cls="Ext.StatusBar" ext:member="iconCls" href="output/Ext.StatusBar.html#iconCls">iconCls</a> applied when calling <a ext:cls="Ext.StatusBar" ext:member="showBusy" href="output/Ext.StatusBar.html#showBusy">showBusy</a> (defaults to 'x-status-busy'). It can be overridden at any time by passing the <tt>iconCls</tt> argument into <tt>showBusy</tt>. See the iconCls docs for additional details about customizing the icon. </div>
\r
167 <td class="msource">StatusBar</td>
\r
169 <tr class="config-row expandable">
\r
170 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
172 <a id="Ext.StatusBar-busyText"></a>
\r
173 <b>busyText</b> : String <div class="mdesc">
\r
174 <div class="short">The default text applied when calling showBusy (defaults to 'Loading...'). It can be overridden at any time by passin...</div>
\r
176 The default <a ext:cls="Ext.StatusBar" ext:member="text" href="output/Ext.StatusBar.html#text">text</a> applied when calling <a ext:cls="Ext.StatusBar" ext:member="showBusy" href="output/Ext.StatusBar.html#showBusy">showBusy</a> (defaults to 'Loading...'). It can be overridden at any time by passing the <tt>text</tt> argument into <tt>showBusy</tt>. </div>
\r
179 <td class="msource">StatusBar</td>
\r
181 <tr class="config-row inherited alt expandable">
\r
182 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
184 <a id="Ext.StatusBar-clearCls"></a>
\r
185 <b>clearCls</b> : String <div class="mdesc">
\r
186 <div class="short">The CSS class used to provide field clearing (defaults to 'x-form-clear-left'). This config is only used when this Co...</div>
\r
188 The CSS class used to provide field clearing (defaults to 'x-form-clear-left'). <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> </div>
\r
191 <td class="msource"><a ext:cls="Ext.Component" ext:member="#clearCls" href="output/Ext.Component.html#clearCls">Component</a></td>
\r
193 <tr class="config-row">
\r
194 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
196 <a id="Ext.StatusBar-cls"></a>
\r
197 <b>cls</b> : String <div class="mdesc">
\r
198 The base class applied to the containing element for this component on render (defaults to 'x-statusbar') </div>
\r
200 <td class="msource">StatusBar</td>
\r
202 <tr class="config-row inherited alt expandable">
\r
203 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
205 <a id="Ext.StatusBar-ctCls"></a>
\r
206 <b>ctCls</b> : String <div class="mdesc">
\r
207 <div class="short">An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for...</div>
\r
209 An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules. </div>
\r
212 <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
\r
214 <tr class="config-row expandable">
\r
215 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
217 <a id="Ext.StatusBar-defaultIconCls"></a>
\r
218 <b>defaultIconCls</b> : String <div class="mdesc">
\r
219 <div class="short">The default iconCls value (see the iconCls docs for additional details about customizing the icon). This will be used...</div>
\r
221 The default <a ext:cls="Ext.StatusBar" ext:member="iconCls" href="output/Ext.StatusBar.html#iconCls">iconCls</a> value (see the iconCls docs for additional details about customizing the icon). This will be used anytime the status bar is cleared with the <tt>useDefaults:true</tt> option (defaults to ''). </div>
\r
224 <td class="msource">StatusBar</td>
\r
226 <tr class="config-row alt expandable">
\r
227 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
229 <a id="Ext.StatusBar-defaultText"></a>
\r
230 <b>defaultText</b> : String <div class="mdesc">
\r
231 <div class="short">The default text value. This will be used anytime the status bar is cleared with the useDefaults:true option (default...</div>
\r
233 The default <a ext:cls="Ext.StatusBar" ext:member="text" href="output/Ext.StatusBar.html#text">text</a> value. This will be used anytime the status bar is cleared with the <tt>useDefaults:true</tt> option (defaults to ''). </div>
\r
236 <td class="msource">StatusBar</td>
\r
238 <tr class="config-row inherited">
\r
239 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
241 <a id="Ext.StatusBar-disabled"></a>
\r
242 <b>disabled</b> : Boolean <div class="mdesc">
\r
243 Render this component disabled (default is false). </div>
\r
245 <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
\r
247 <tr class="config-row inherited alt">
\r
248 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
250 <a id="Ext.StatusBar-disabledClass"></a>
\r
251 <b>disabledClass</b> : String <div class="mdesc">
\r
252 CSS class added to the component when it is disabled (defaults to "x-item-disabled"). </div>
\r
254 <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
\r
256 <tr class="config-row inherited expandable">
\r
257 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
259 <a id="Ext.StatusBar-fieldLabel"></a>
\r
260 <b>fieldLabel</b> : String <div class="mdesc">
\r
261 <div class="short">The label text to display next to this Component (defaults to '') This config is only used when this Component is ren...</div>
\r
263 The label text to display next to this Component (defaults to '') <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
265 renderTo: Ext.getBody(),
267 xtype: <em>'textfield'</em>,
268 fieldLabel: <em>'Name'</em>
270 });</code></pre> </div>
\r
273 <td class="msource"><a ext:cls="Ext.Component" ext:member="#fieldLabel" href="output/Ext.Component.html#fieldLabel">Component</a></td>
\r
275 <tr class="config-row inherited alt">
\r
276 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
278 <a id="Ext.StatusBar-height"></a>
\r
279 <b>height</b> : Number <div class="mdesc">
\r
280 The height of this component in pixels (defaults to auto). </div>
\r
282 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#height" href="output/Ext.BoxComponent.html#height">BoxComponent</a></td>
\r
284 <tr class="config-row inherited">
\r
285 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
287 <a id="Ext.StatusBar-hidden"></a>
\r
288 <b>hidden</b> : Boolean <div class="mdesc">
\r
289 Render this component hidden (default is false). </div>
\r
291 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
\r
293 <tr class="config-row inherited alt expandable">
\r
294 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
296 <a id="Ext.StatusBar-hideLabel"></a>
\r
297 <b>hideLabel</b> : Boolean <div class="mdesc">
\r
298 <div class="short">True to completely hide the label element (defaults to false). By default, even if you do not specify a fieldLabel th...</div>
\r
300 True to completely hide the label element (defaults to false). By default, even if you do not specify a <a ext:cls="fieldLabel" href="output/fieldLabel.html">fieldLabel</a> the space will still be reserved so that the field will line up with other fields that do have labels. Setting this to true will cause the field to not reserve that space. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
302 renderTo: Ext.getBody(),
304 xtype: <em>'textfield'</em>
307 });</code></pre> </div>
\r
310 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideLabel" href="output/Ext.Component.html#hideLabel">Component</a></td>
\r
312 <tr class="config-row inherited expandable">
\r
313 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
315 <a id="Ext.StatusBar-hideMode"></a>
\r
316 <b>hideMode</b> : String <div class="mdesc">
\r
317 <div class="short">How this component should be hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset p...</div>
\r
319 <p>How this component should be hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display".</p> <p>For Containers which may be hidden and shown as part of a <a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">card layout</a> Container such as a <a ext:cls="Ext.TabPanel" href="output/Ext.TabPanel.html">TabPanel</a>, it is recommended that hideMode is configured as "offsets". This ensures that hidden Components still have height and width so that layout managers can perform measurements when calculating layouts.</p> </div>
\r
322 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>
\r
324 <tr class="config-row inherited alt expandable">
\r
325 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
327 <a id="Ext.StatusBar-hideParent"></a>
\r
328 <b>hideParent</b> : Boolean <div class="mdesc">
\r
329 <div class="short">True to hide and show the component's container when hide/show is called on the component, false to hide and show the...</div>
\r
331 True to hide and show the component's container when hide/show is called on the component, false to hide and show the component itself (defaults to false). For example, this can be used as a shortcut for a hide button on a window by setting hide:true on the button when adding it to its parent container. </div>
\r
334 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>
\r
336 <tr class="config-row expandable">
\r
337 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
339 <a id="Ext.StatusBar-iconCls"></a>
\r
340 <b>iconCls</b> : String <div class="mdesc">
\r
341 <div class="short">A CSS class that will be applied to the status element and is expected to provide a background image that will serve ...</div>
\r
343 A CSS class that will be applied to the status element and is expected to provide a background image that will serve as the status bar icon (defaults to ''). The class is applied directly to the div that also contains the status text, so the rule should provide the appropriate padding on the div to make room for the image. Example usage:<pre><code><i>// Example CSS rule:</i>
344 .x-statusbar .x-status-custom {
346 background: transparent url(images/custom-icon.gif) no-repeat 3px 3px;
349 <i>// Initializing the status bar:</i>
350 <b>var</b> sb = <b>new</b> Ext.StatusBar({
351 defaultIconCls: <em>'x-status-custom'</em>
354 <i>// Setting it <b>in</b> code:</i>
356 text: <em>'New status'</em>,
357 iconCls: <em>'x-status-custom'</em>
358 });</code></pre> </div>
\r
361 <td class="msource">StatusBar</td>
\r
363 <tr class="config-row inherited alt expandable">
\r
364 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
366 <a id="Ext.StatusBar-id"></a>
\r
367 <b>id</b> : String <div class="mdesc">
\r
368 <div class="short">The unique id of this component (defaults to an auto-assigned id). You should assign an id if you need to be able to ...</div>
\r
370 The unique id of this component (defaults to an auto-assigned id). You should assign an id if you need to be able to access the component later and you do not have an object reference available (e.g., using <a ext:cls="Ext.ComponentMgr" ext:member="getCmp" href="output/Ext.ComponentMgr.html#getCmp">Ext.ComponentMgr.getCmp</a>). Note that this id will also be used as the element id for the containing HTML element that is rendered to the page for this component. This allows you to write id-based CSS rules to style the specific instance of this component uniquely, and also to select sub-elements using this component's id as the parent. </div>
\r
373 <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>
\r
375 <tr class="config-row inherited expandable">
\r
376 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
378 <a id="Ext.StatusBar-itemCls"></a>
\r
379 <b>itemCls</b> : String <div class="mdesc">
\r
380 <div class="short">An additional CSS class to apply to the wrapper's form item element of this field (defaults to the container's itemCl...</div>
\r
382 An additional CSS class to apply to the wrapper's form item element of this field (defaults to the container's itemCls value if set, or ''). Since it is applied to the item wrapper, it allows you to write standard CSS rules that can apply to the field, the label (if specified) or any other element within the markup for the field. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code><i>// Apply a style to the field's label:</i>
384 .required .x-form-item-label {font-weight:bold;color:red;}
387 <b>new</b> Ext.FormPanel({
389 renderTo: Ext.getBody(),
391 xtype: <em>'textfield'</em>,
392 fieldLabel: <em>'Name'</em>,
393 itemCls: <em>'required'</em> <i>//<b>this</b> label will be styled</i>
395 xtype: <em>'textfield'</em>,
396 fieldLabel: <em>'Favorite Color'</em>
398 });</code></pre> </div>
\r
401 <td class="msource"><a ext:cls="Ext.Component" ext:member="#itemCls" href="output/Ext.Component.html#itemCls">Component</a></td>
\r
403 <tr class="config-row inherited alt expandable">
\r
404 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
406 <a id="Ext.StatusBar-labelSeparator"></a>
\r
407 <b>labelSeparator</b> : String <div class="mdesc">
\r
408 <div class="short">The standard separator to display after the text of each form label (defaults to the value of Ext.layout.FormLayout.l...</div>
\r
410 The standard separator to display after the text of each form label (defaults to the value of <a ext:cls="Ext.layout.FormLayout" ext:member="labelSeparator" href="output/Ext.layout.FormLayout.html#labelSeparator">Ext.layout.FormLayout.labelSeparator</a>, which is a colon ':' by default). To display no separator for this field's label specify empty string ''. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
412 renderTo: Ext.getBody(),
414 xtype: <em>'textfield'</em>,
415 fieldLabel: <em>'Name'</em>,
416 labelSeparator: <em>'...'</em>
418 });</code></pre> </div>
\r
421 <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelSeparator" href="output/Ext.Component.html#labelSeparator">Component</a></td>
\r
423 <tr class="config-row inherited expandable">
\r
424 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
426 <a id="Ext.StatusBar-labelStyle"></a>
\r
427 <b>labelStyle</b> : String <div class="mdesc">
\r
428 <div class="short">A CSS style specification to apply directly to this field's label (defaults to the container's labelStyle value if se...</div>
\r
430 A CSS style specification to apply directly to this field's label (defaults to the container's labelStyle value if set, or '').<code></code>. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
432 renderTo: Ext.getBody(),
434 xtype: <em>'textfield'</em>,
435 fieldLabel: <em>'Name'</em>,
436 labelStyle: <em>'font-weight:bold;'</em>
438 });</code></pre> </div>
\r
441 <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelStyle" href="output/Ext.Component.html#labelStyle">Component</a></td>
\r
443 <tr class="config-row inherited alt expandable">
\r
444 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
446 <a id="Ext.StatusBar-listeners"></a>
\r
447 <b>listeners</b> : Object <div class="mdesc">
\r
448 <div class="short">(optional) A config object containing one or more event handlers to be added to this object during initialization. Th...</div>
\r
450 (optional) A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once. </div>
\r
453 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
\r
455 <tr class="config-row inherited expandable">
\r
456 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
458 <a id="Ext.StatusBar-overCls"></a>
\r
459 <b>overCls</b> : String <div class="mdesc">
\r
460 <div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and...</div>
\r
462 An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and removed when the mouse moves out. (defaults to ''). This can be useful for adding customized "active" or "hover" styles to the component or any of its children using standard CSS rules. </div>
\r
465 <td class="msource"><a ext:cls="Ext.Component" ext:member="#overCls" href="output/Ext.Component.html#overCls">Component</a></td>
\r
467 <tr class="config-row inherited alt">
\r
468 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
470 <a id="Ext.StatusBar-pageX"></a>
\r
471 <b>pageX</b> : Number <div class="mdesc">
\r
472 The page level x coordinate for this component if contained within a positioning container. </div>
\r
474 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#pageX" href="output/Ext.BoxComponent.html#pageX">BoxComponent</a></td>
\r
476 <tr class="config-row inherited">
\r
477 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
479 <a id="Ext.StatusBar-pageY"></a>
\r
480 <b>pageY</b> : Number <div class="mdesc">
\r
481 The page level y coordinate for this component if contained within a positioning container. </div>
\r
483 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#pageY" href="output/Ext.BoxComponent.html#pageY">BoxComponent</a></td>
\r
485 <tr class="config-row inherited alt expandable">
\r
486 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
488 <a id="Ext.StatusBar-plugins"></a>
\r
489 <b>plugins</b> : Object/Array <div class="mdesc">
\r
490 <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>
\r
492 An object or array of objects that will provide custom functionality for this component. The only requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component is created, if any plugins are available, the component will call the init method on each plugin, passing a reference to itself. Each plugin can then call methods or respond to events on the component as needed to provide its functionality. </div>
\r
495 <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
\r
497 <tr class="config-row inherited expandable">
\r
498 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
500 <a id="Ext.StatusBar-renderTo"></a>
\r
501 <b>renderTo</b> : Mixed <div class="mdesc">
\r
502 <div class="short">The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using...</div>
\r
504 The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using this config, a call to render() is not required. </div>
\r
507 <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
\r
509 <tr class="config-row inherited alt expandable">
\r
510 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
512 <a id="Ext.StatusBar-stateEvents"></a>
\r
513 <b>stateEvents</b> : Array <div class="mdesc">
\r
514 <div class="short">An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be...</div>
\r
516 An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p> </div>
\r
519 <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
\r
521 <tr class="config-row inherited expandable">
\r
522 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
524 <a id="Ext.StatusBar-stateId"></a>
\r
525 <b>stateId</b> : String <div class="mdesc">
\r
526 <div class="short">The unique id for this component to use for state management purposes (defaults to the component id if one was set, o...</div>
\r
528 The unique id for this component to use for state management purposes (defaults to the component id if one was set, otherwise null if the component is using a generated id). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p> </div>
\r
531 <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
\r
533 <tr class="config-row inherited alt expandable">
\r
534 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
536 <a id="Ext.StatusBar-stateful"></a>
\r
537 <b>stateful</b> : Boolean <div class="mdesc">
\r
538 <div class="short">A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startu...</div>
\r
540 <p>A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startup. The component must have either a <a ext:cls="Ext.Component" ext:member="stateId" href="output/Ext.Component.html#stateId">stateId</a> or <a ext:cls="Ext.Component" ext:member="id" href="output/Ext.Component.html#id">id</a> assigned for state to be managed. Auto-generated ids are not guaranteed to be stable across page loads and cannot be relied upon to save and restore the same state for a component.<p> For state saving to work, the state manager's provider must have been set to an implementation of <a ext:cls="Ext.state.Provider" href="output/Ext.state.Provider.html">Ext.state.Provider</a> which overrides the <a ext:cls="Ext.state.Provider" ext:member="set" href="output/Ext.state.Provider.html#set">set</a> and <a ext:cls="Ext.state.Provider" ext:member="get" href="output/Ext.state.Provider.html#get">get</a> methods to save and recall name/value pairs. A built-in implementation, <a ext:cls="Ext.state.CookieProvider" href="output/Ext.state.CookieProvider.html">Ext.state.CookieProvider</a> is available.</p> <p>To set the state provider for the current page:</p> <pre><code>Ext.state.Manager.setProvider(<b>new</b> Ext.state.CookieProvider());</code></pre> <p>Components attempt to save state when one of the events listed in the <a ext:cls="Ext.Component" ext:member="stateEvents" href="output/Ext.Component.html#stateEvents">stateEvents</a> configuration fires.</p> <p>You can perform extra processing on state save and restore by attaching handlers to the <a ext:cls="Ext.Component" ext:member="beforestaterestore" href="output/Ext.Component.html#beforestaterestore">beforestaterestore</a>, <a ext:cls="Ext.Component" ext:member="staterestore" href="output/Ext.Component.html#staterestore">staterestore</a>, <a ext:cls="Ext.Component" ext:member="beforestatesave" href="output/Ext.Component.html#beforestatesave">beforestatesave</a> and <a ext:cls="Ext.Component" ext:member="statesave" href="output/Ext.Component.html#statesave">statesave</a> events</p> </div>
\r
543 <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>
\r
545 <tr class="config-row expandable">
\r
546 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
548 <a id="Ext.StatusBar-statusAlign"></a>
\r
549 <b>statusAlign</b> : String <div class="mdesc">
\r
550 <div class="short">The alignment of the status element within the overall StatusBar layout. When the StatusBar is rendered, it creates a...</div>
\r
552 The alignment of the status element within the overall StatusBar layout. When the StatusBar is rendered, it creates an internal div containing the status text and icon. Any additional Toolbar items added in the StatusBar's <a ext:cls="Ext.StatusBar" ext:member="items" href="output/Ext.StatusBar.html#items">items</a> config, or added via <a ext:cls="Ext.StatusBar" ext:member="add" href="output/Ext.StatusBar.html#add">add</a> or any of the supported add* methods, will be rendered, in added order, to the opposite side. The status element is greedy, so it will automatically expand to take up all sapce left over by any other items. Example usage: <pre><code><i>// Create a left-aligned status bar containing a button,</i>
553 <i>// separator and text item that will be right-aligned (<b>default</b>):</i>
554 <b>new</b> Ext.Panel({
555 title: <em>'StatusBar'</em>,
557 bbar: <b>new</b> Ext.StatusBar({
558 defaultText: <em>'Default status text'</em>,
559 id: <em>'status-id'</em>,
561 text: <em>'A Button'</em>
562 }, <em>'-'</em>, <em>'Plain Text'</em>]
566 <i>// By adding the statusAlign config, <b>this</b> will create the</i>
567 <i>// exact same toolbar, except the status and toolbar item</i>
568 <i>// layout will be reversed from the previous example:</i>
569 <b>new</b> Ext.Panel({
570 title: <em>'StatusBar'</em>,
572 bbar: <b>new</b> Ext.StatusBar({
573 defaultText: <em>'Default status text'</em>,
574 id: <em>'status-id'</em>,
575 statusAlign: <em>'right'</em>,
577 text: <em>'A Button'</em>
578 }, <em>'-'</em>, <em>'Plain Text'</em>]
580 });</code></pre> </div>
\r
583 <td class="msource">StatusBar</td>
\r
585 <tr class="config-row inherited alt expandable">
\r
586 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
588 <a id="Ext.StatusBar-style"></a>
\r
589 <b>style</b> : String <div class="mdesc">
\r
590 <div class="short">A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.app...</div>
\r
592 A custom style specification to be applied to this component's Element. Should be a valid argument to <a ext:cls="Ext.Element" ext:member="applyStyles" href="output/Ext.Element.html#applyStyles">Ext.Element.applyStyles</a>. </div>
\r
595 <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
\r
597 <tr class="config-row">
\r
598 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
600 <a id="Ext.StatusBar-text"></a>
\r
601 <b>text</b> : String <div class="mdesc">
\r
602 A string that will be rendered into the status element as the status message (defaults to ''); </div>
\r
604 <td class="msource">StatusBar</td>
\r
606 <tr class="config-row inherited alt">
\r
607 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
609 <a id="Ext.StatusBar-width"></a>
\r
610 <b>width</b> : Number <div class="mdesc">
\r
611 The width of this component in pixels (defaults to auto). </div>
\r
613 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#width" href="output/Ext.BoxComponent.html#width">BoxComponent</a></td>
\r
615 <tr class="config-row inherited">
\r
616 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
618 <a id="Ext.StatusBar-x"></a>
\r
619 <b>x</b> : Number <div class="mdesc">
\r
620 The local x (left) coordinate for this component if contained within a positioning container. </div>
\r
622 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#x" href="output/Ext.BoxComponent.html#x">BoxComponent</a></td>
\r
624 <tr class="config-row inherited alt expandable">
\r
625 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
627 <a id="Ext.StatusBar-xtype"></a>
\r
628 <b>xtype</b> : String <div class="mdesc">
\r
629 <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
\r
631 The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child item of a Container is being specified not as a fully instantiated Component, but as a <i>Component config object</i>. The xtype will be looked up at render time up to determine what type of child Component to create.<br><br> The predefined xtypes are listed <a ext:cls="Ext.Component" href="output/Ext.Component.html">here</a>. <br><br> If you subclass Components to create your own Components, you may register them using <a ext:cls="Ext.ComponentMgr" ext:member="registerType" href="output/Ext.ComponentMgr.html#registerType">Ext.ComponentMgr.registerType</a> in order to be able to take advantage of lazy instantiation and rendering. </div>
\r
634 <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
\r
636 <tr class="config-row inherited">
\r
637 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
639 <a id="Ext.StatusBar-y"></a>
\r
640 <b>y</b> : Number <div class="mdesc">
\r
641 The local y (top) coordinate for this component if contained within a positioning container. </div>
\r
643 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#y" href="output/Ext.BoxComponent.html#y">BoxComponent</a></td>
\r
646 <a id="Ext.StatusBar-props"></a>
647 <h2>Public Properties</h2>
648 <table cellspacing="0" class="member-table">
650 <th class="sig-header" colspan="2">Property</th>
651 <th class="msource-header">Defined By</th>
653 <tr class="property-row inherited">
\r
654 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
656 <a id="Ext.StatusBar-disabled"></a>
\r
657 <b>disabled</b> : Boolean <div class="mdesc">
\r
658 True if this component is disabled. Read-only. </div>
\r
660 <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
\r
662 <tr class="property-row inherited alt">
\r
663 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
665 <a id="Ext.StatusBar-hidden"></a>
\r
666 <b>hidden</b> : Boolean <div class="mdesc">
\r
668 True if this component is hidden. Read-only. </div>
\r
670 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
\r
672 <tr class="property-row inherited">
\r
673 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
675 <a id="Ext.StatusBar-initialConfig"></a>
\r
676 <b>initialConfig</b> : Object <div class="mdesc">
\r
677 This Component's initial configuration specification. Read-only. </div>
\r
679 <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
\r
681 <tr class="property-row inherited alt">
\r
682 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
684 <a id="Ext.StatusBar-items"></a>
\r
685 <b>items</b> : Ext.util.MixedCollection <div class="mdesc">
\r
686 A MixedCollection of this Toolbar's items </div>
\r
688 <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#items" href="output/Ext.Toolbar.html#items">Toolbar</a></td>
\r
690 <tr class="property-row inherited expandable">
\r
691 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
693 <a id="Ext.StatusBar-ownerCt"></a>
\r
694 <b>ownerCt</b> : Ext.Container <div class="mdesc">
\r
695 <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
696 the component is added to a...</div>
\r
698 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
699 the component is added to a container). Read-only. </div>
\r
702 <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
\r
704 <tr class="property-row inherited alt">
\r
705 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
707 <a id="Ext.StatusBar-rendered"></a>
\r
708 <b>rendered</b> : Boolean <div class="mdesc">
\r
709 True if this component has been rendered. Read-only. </div>
\r
711 <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
\r
714 <a id="Ext.StatusBar-methods"></a>
715 <h2>Public Methods</h2>
716 <table cellspacing="0" class="member-table">
718 <th class="sig-header" colspan="2">Method</th>
719 <th class="msource-header">Defined By</th>
721 <tr class="method-row expandable">
\r
722 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
724 <a id="Ext.StatusBar-StatusBar"></a>
\r
725 <b>StatusBar</b>( <code>Object/Array config</code> ) <div class="mdesc">
\r
726 <div class="short">Creates a new StatusBar</div>
\r
728 Creates a new StatusBar <div class="mdetail-params">
\r
729 <strong>Parameters:</strong>
\r
730 <ul><li><code>config</code> : Object/Array<div class="sub-desc">A config object</div></li> </ul>
\r
731 <strong>Returns:</strong>
\r
733 <li><code></code></li>
\r
739 <td class="msource">StatusBar</td>
\r
741 <tr class="method-row inherited alt expandable">
\r
742 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
744 <a id="Ext.StatusBar-add"></a>
\r
745 <b>add</b>( <code>Mixed arg1</code>, <code>Mixed arg2</code>, <code>Mixed etc.</code> ) : void <div class="mdesc">
\r
746 <div class="short">Adds element(s) to the toolbar -- this function takes a variable number of
747 arguments of mixed type and adds them to t...</div>
\r
749 Adds element(s) to the toolbar -- this function takes a variable number of
750 arguments of mixed type and adds them to the toolbar. <div class="mdetail-params">
\r
751 <strong>Parameters:</strong>
\r
752 <ul><li><code>arg1</code> : Mixed<div class="sub-desc">The following types of arguments are all valid:<br />
754 <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>
755 <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>
756 <li>Field: Any form field (equivalent to <a ext:cls="Ext.Toolbar" ext:member="addField" href="output/Ext.Toolbar.html#addField">addField</a>)</li>
757 <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>
758 <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>).
759 Note that there are a few special strings that are treated differently as explained next.</li>
760 <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>
761 <li>' ': Creates a spacer element (equivalent to <a ext:cls="Ext.Toolbar" ext:member="addSpacer" href="output/Ext.Toolbar.html#addSpacer">addSpacer</a>)</li>
762 <li>'->': Creates a fill element (equivalent to <a ext:cls="Ext.Toolbar" ext:member="addFill" href="output/Ext.Toolbar.html#addFill">addFill</a>)</li>
763 </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>
\r
764 <strong>Returns:</strong>
\r
766 <li><code>void</code></li>
\r
772 <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#add" href="output/Ext.Toolbar.html#add">Toolbar</a></td>
\r
774 <tr class="method-row inherited expandable">
\r
775 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
777 <a id="Ext.StatusBar-addButton"></a>
\r
778 <b>addButton</b>( <code>Object/Array config</code> ) : Ext.Toolbar.Button/Array <div class="mdesc">
\r
779 <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>
\r
781 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">
\r
782 <strong>Parameters:</strong>
\r
783 <ul><li><code>config</code> : Object/Array<div class="sub-desc">A button config or array of configs</div></li> </ul>
\r
784 <strong>Returns:</strong>
\r
786 <li><code>Ext.Toolbar.Button/Array</code></li>
\r
792 <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#addButton" href="output/Ext.Toolbar.html#addButton">Toolbar</a></td>
\r
794 <tr class="method-row inherited alt expandable">
\r
795 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
797 <a id="Ext.StatusBar-addClass"></a>
\r
798 <b>addClass</b>( <code>string cls</code> ) : void <div class="mdesc">
\r
799 <div class="short">Adds a CSS class to the component's underlying element.</div>
\r
801 Adds a CSS class to the component's underlying element. <div class="mdetail-params">
\r
802 <strong>Parameters:</strong>
\r
803 <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li> </ul>
\r
804 <strong>Returns:</strong>
\r
806 <li><code>void</code></li>
\r
812 <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
\r
814 <tr class="method-row inherited expandable">
\r
815 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
817 <a id="Ext.StatusBar-addDom"></a>
\r
818 <b>addDom</b>( <code>Object config</code> ) : Ext.Toolbar.Item <div class="mdesc">
\r
819 <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>
\r
821 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">
\r
822 <strong>Parameters:</strong>
\r
823 <ul><li><code>config</code> : Object<div class="sub-desc"></div></li> </ul>
\r
824 <strong>Returns:</strong>
\r
826 <li><code>Ext.Toolbar.Item</code><div class="sub-desc">The element's item</div></li>
\r
832 <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#addDom" href="output/Ext.Toolbar.html#addDom">Toolbar</a></td>
\r
834 <tr class="method-row inherited alt expandable">
\r
835 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
837 <a id="Ext.StatusBar-addElement"></a>
\r
838 <b>addElement</b>( <code>Mixed el</code> ) : Ext.Toolbar.Item <div class="mdesc">
\r
839 <div class="short">Adds any standard HTML element to the toolbar</div>
\r
841 Adds any standard HTML element to the toolbar <div class="mdetail-params">
\r
842 <strong>Parameters:</strong>
\r
843 <ul><li><code>el</code> : Mixed<div class="sub-desc">The element or id of the element to add</div></li> </ul>
\r
844 <strong>Returns:</strong>
\r
846 <li><code>Ext.Toolbar.Item</code><div class="sub-desc">The element's item</div></li>
\r
852 <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#addElement" href="output/Ext.Toolbar.html#addElement">Toolbar</a></td>
\r
854 <tr class="method-row inherited expandable">
\r
855 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
857 <a id="Ext.StatusBar-addEvents"></a>
\r
858 <b>addEvents</b>( <code>Object object</code> ) : void <div class="mdesc">
\r
859 <div class="short">Used to define events on this Observable</div>
\r
861 Used to define events on this Observable <div class="mdetail-params">
\r
862 <strong>Parameters:</strong>
\r
863 <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li> </ul>
\r
864 <strong>Returns:</strong>
\r
866 <li><code>void</code></li>
\r
872 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
\r
874 <tr class="method-row inherited alt expandable">
\r
875 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
877 <a id="Ext.StatusBar-addField"></a>
\r
878 <b>addField</b>( <code>Ext.form.Field field</code> ) : Ext.Toolbar.Item <div class="mdesc">
\r
879 <div class="short">Adds a dynamically rendered Ext.form field (TextField, ComboBox, etc). Note: the field should not have
880 been rendered ...</div>
\r
882 Adds a dynamically rendered Ext.form field (TextField, ComboBox, etc). Note: the field should not have
883 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">
\r
884 <strong>Parameters:</strong>
\r
885 <ul><li><code>field</code> : Ext.form.Field<div class="sub-desc"></div></li> </ul>
\r
886 <strong>Returns:</strong>
\r
888 <li><code>Ext.Toolbar.Item</code></li>
\r
894 <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#addField" href="output/Ext.Toolbar.html#addField">Toolbar</a></td>
\r
896 <tr class="method-row inherited expandable">
\r
897 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
899 <a id="Ext.StatusBar-addFill"></a>
\r
900 <b>addFill</b>() : Ext.Toolbar.Fill <div class="mdesc">
\r
901 <div class="short">Adds a fill element that forces subsequent additions to the right side of the toolbar</div>
\r
903 Adds a fill element that forces subsequent additions to the right side of the toolbar <div class="mdetail-params">
\r
904 <strong>Parameters:</strong>
\r
905 <ul><li>None.</li> </ul>
\r
906 <strong>Returns:</strong>
\r
908 <li><code>Ext.Toolbar.Fill</code><div class="sub-desc">The fill item</div></li>
\r
914 <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#addFill" href="output/Ext.Toolbar.html#addFill">Toolbar</a></td>
\r
916 <tr class="method-row inherited alt expandable">
\r
917 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
919 <a id="Ext.StatusBar-addItem"></a>
\r
920 <b>addItem</b>( <code>Ext.Toolbar.Item item</code> ) : Ext.Toolbar.Item <div class="mdesc">
\r
921 <div class="short">Adds any Toolbar.Item or subclass</div>
\r
923 Adds any Toolbar.Item or subclass <div class="mdetail-params">
\r
924 <strong>Parameters:</strong>
\r
925 <ul><li><code>item</code> : Ext.Toolbar.Item<div class="sub-desc"></div></li> </ul>
\r
926 <strong>Returns:</strong>
\r
928 <li><code>Ext.Toolbar.Item</code><div class="sub-desc">The item</div></li>
\r
934 <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#addItem" href="output/Ext.Toolbar.html#addItem">Toolbar</a></td>
\r
936 <tr class="method-row inherited expandable">
\r
937 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
939 <a id="Ext.StatusBar-addListener"></a>
\r
940 <b>addListener</b>( <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> ) : void <div class="mdesc">
\r
941 <div class="short">Appends an event handler to this component</div>
\r
943 Appends an event handler to this component <div class="mdetail-params">
\r
944 <strong>Parameters:</strong>
\r
945 <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
946 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
947 properties. This may contain any of the following properties:<ul>
948 <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>
949 <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>
950 <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>
951 <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
952 by the specified number of milliseconds. If the event fires again within that time, the original
953 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
956 <b>Combining Options</b><br>
957 Using the options argument, it is possible to combine different types of listeners:<br>
959 A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
960 <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
966 <b>Attaching multiple handlers in 1 call</b><br>
967 The method also allows for a single argument to be passed which is a config object containing properties
968 which specify multiple handlers.
972 fn: <b>this</b>.onClick,
976 <em>'mouseover'</em> : {
977 fn: <b>this</b>.onMouseOver,
980 <em>'mouseout'</em> : {
981 fn: <b>this</b>.onMouseOut,
986 Or a shorthand syntax:<br>
988 <em>'click'</em> : <b>this</b>.onClick,
989 <em>'mouseover'</em> : <b>this</b>.onMouseOver,
990 <em>'mouseout'</em> : <b>this</b>.onMouseOut,
992 });</code></pre></div></li> </ul>
\r
993 <strong>Returns:</strong>
\r
995 <li><code>void</code></li>
\r
1001 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
\r
1003 <tr class="method-row inherited alt expandable">
\r
1004 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1006 <a id="Ext.StatusBar-addSeparator"></a>
\r
1007 <b>addSeparator</b>() : Ext.Toolbar.Item <div class="mdesc">
\r
1008 <div class="short">Adds a separator</div>
\r
1009 <div class="long">
\r
1010 Adds a separator <div class="mdetail-params">
\r
1011 <strong>Parameters:</strong>
\r
1012 <ul><li>None.</li> </ul>
\r
1013 <strong>Returns:</strong>
\r
1015 <li><code>Ext.Toolbar.Item</code><div class="sub-desc">The separator item</div></li>
\r
1021 <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#addSeparator" href="output/Ext.Toolbar.html#addSeparator">Toolbar</a></td>
\r
1023 <tr class="method-row inherited expandable">
\r
1024 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1026 <a id="Ext.StatusBar-addSpacer"></a>
\r
1027 <b>addSpacer</b>() : Ext.Toolbar.Spacer <div class="mdesc">
\r
1028 <div class="short">Adds a spacer element</div>
\r
1029 <div class="long">
\r
1030 Adds a spacer element <div class="mdetail-params">
\r
1031 <strong>Parameters:</strong>
\r
1032 <ul><li>None.</li> </ul>
\r
1033 <strong>Returns:</strong>
\r
1035 <li><code>Ext.Toolbar.Spacer</code><div class="sub-desc">The spacer item</div></li>
\r
1041 <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#addSpacer" href="output/Ext.Toolbar.html#addSpacer">Toolbar</a></td>
\r
1043 <tr class="method-row inherited alt expandable">
\r
1044 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1046 <a id="Ext.StatusBar-addText"></a>
\r
1047 <b>addText</b>( <code>String text</code> ) : Ext.Toolbar.Item <div class="mdesc">
\r
1048 <div class="short">Adds text to the toolbar</div>
\r
1049 <div class="long">
\r
1050 Adds text to the toolbar <div class="mdetail-params">
\r
1051 <strong>Parameters:</strong>
\r
1052 <ul><li><code>text</code> : String<div class="sub-desc">The text to add</div></li> </ul>
\r
1053 <strong>Returns:</strong>
\r
1055 <li><code>Ext.Toolbar.Item</code><div class="sub-desc">The element's item</div></li>
\r
1061 <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#addText" href="output/Ext.Toolbar.html#addText">Toolbar</a></td>
\r
1063 <tr class="method-row inherited expandable">
\r
1064 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1066 <a id="Ext.StatusBar-applyToMarkup"></a>
\r
1067 <b>applyToMarkup</b>( <code>String/HTMLElement el</code> ) : void <div class="mdesc">
\r
1068 <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>
\r
1069 <div class="long">
\r
1070 Apply this component to existing markup that is valid. With this function, no call to render() is required. <div class="mdetail-params">
\r
1071 <strong>Parameters:</strong>
\r
1072 <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></li> </ul>
\r
1073 <strong>Returns:</strong>
\r
1075 <li><code>void</code></li>
\r
1081 <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
\r
1083 <tr class="method-row alt expandable">
\r
1084 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1086 <a id="Ext.StatusBar-clearStatus"></a>
\r
1087 <b>clearStatus</b>( <span class="optional" title="Optional">[<code>Object config</code>]</span> ) : Ext.StatusBar <div class="mdesc">
\r
1088 <div class="short">Clears the status <a ext:cls="Ext.StatusBar" ext:member="text" href="output/Ext.StatusBar.html#text">text</a> and <a ext:cls="Ext.StatusBar" ext:member="iconCls" href="output/Ext.StatusBar.html#iconCls">iconCls</a>. Also supports clearing via an optional fade out animation.</div>
\r
1089 <div class="long">
\r
1090 Clears the status <a ext:cls="Ext.StatusBar" ext:member="text" href="output/Ext.StatusBar.html#text">text</a> and <a ext:cls="Ext.StatusBar" ext:member="iconCls" href="output/Ext.StatusBar.html#iconCls">iconCls</a>. Also supports clearing via an optional fade out animation. <div class="mdetail-params">
\r
1091 <strong>Parameters:</strong>
\r
1092 <ul><li><code>config</code> : Object<div class="sub-desc">(optional) A config object containing any or all of the following properties. If this
1093 object is not specified the status will be cleared using the defaults below:<ul>
1094 <li><tt>anim</tt> {Boolean} : (optional) True to clear the status by fading out the status element (defaults
1095 to false which clears immediately).</li>
1096 <li><tt>useDefaults</tt> {Boolean} : (optional) True to reset the text and icon using <a ext:cls="Ext.StatusBar" ext:member="defaultText" href="output/Ext.StatusBar.html#defaultText">defaultText</a> and
1097 <a ext:cls="Ext.StatusBar" ext:member="defaultIconCls" href="output/Ext.StatusBar.html#defaultIconCls">defaultIconCls</a> (defaults to false which sets the text to '' and removes any existing icon class).</li>
1098 </ul></div></li> </ul>
\r
1099 <strong>Returns:</strong>
\r
1101 <li><code>Ext.StatusBar</code><div class="sub-desc">this</div></li>
\r
1107 <td class="msource">StatusBar</td>
\r
1109 <tr class="method-row inherited expandable">
\r
1110 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1112 <a id="Ext.StatusBar-cloneConfig"></a>
\r
1113 <b>cloneConfig</b>( <code>Object overrides</code> ) : Ext.Component <div class="mdesc">
\r
1114 <div class="short">Clone the current component using the original config values passed into this instance by default.</div>
\r
1115 <div class="long">
\r
1116 Clone the current component using the original config values passed into this instance by default. <div class="mdetail-params">
\r
1117 <strong>Parameters:</strong>
\r
1118 <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
1119 An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li> </ul>
\r
1120 <strong>Returns:</strong>
\r
1122 <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
\r
1128 <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
\r
1130 <tr class="method-row inherited alt expandable">
\r
1131 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1133 <a id="Ext.StatusBar-destroy"></a>
\r
1134 <b>destroy</b>() : void <div class="mdesc">
\r
1135 <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
1136 removing the c...</div>
\r
1137 <div class="long">
\r
1138 Destroys this component by purging any event listeners, removing the component's element from the DOM,
1139 removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
1140 <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. Destruction is generally handled automatically by the framework and this method
1141 should usually not need to be called directly. <div class="mdetail-params">
\r
1142 <strong>Parameters:</strong>
\r
1143 <ul><li>None.</li> </ul>
\r
1144 <strong>Returns:</strong>
\r
1146 <li><code>void</code></li>
\r
1152 <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
\r
1154 <tr class="method-row inherited expandable">
\r
1155 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1157 <a id="Ext.StatusBar-disable"></a>
\r
1158 <b>disable</b>() : Ext.Component <div class="mdesc">
\r
1159 <div class="short">Disable this component.</div>
\r
1160 <div class="long">
\r
1161 Disable this component. <div class="mdetail-params">
\r
1162 <strong>Parameters:</strong>
\r
1163 <ul><li>None.</li> </ul>
\r
1164 <strong>Returns:</strong>
\r
1166 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
1172 <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
\r
1174 <tr class="method-row inherited alt expandable">
\r
1175 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1177 <a id="Ext.StatusBar-enable"></a>
\r
1178 <b>enable</b>() : Ext.Component <div class="mdesc">
\r
1179 <div class="short">Enable this component.</div>
\r
1180 <div class="long">
\r
1181 Enable this component. <div class="mdetail-params">
\r
1182 <strong>Parameters:</strong>
\r
1183 <ul><li>None.</li> </ul>
\r
1184 <strong>Returns:</strong>
\r
1186 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
1192 <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
\r
1194 <tr class="method-row inherited expandable">
\r
1195 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1197 <a id="Ext.StatusBar-findParentBy"></a>
\r
1198 <b>findParentBy</b>( <code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : Ext.Container <div class="mdesc">
\r
1199 <div class="short">Find a container above this component at any level by a custom function. If the passed function returns
1200 true, the con...</div>
\r
1201 <div class="long">
\r
1202 Find a container above this component at any level by a custom function. If the passed function returns
1203 true, the container will be returned. The passed function is called with the arguments (container, this component). <div class="mdetail-params">
\r
1204 <strong>Parameters:</strong>
\r
1205 <ul><li><code>fcn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
\r
1206 <strong>Returns:</strong>
\r
1208 <li><code>Ext.Container</code><div class="sub-desc">The first Container for which the custom function returns true</div></li>
\r
1214 <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>
\r
1216 <tr class="method-row inherited alt expandable">
\r
1217 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1219 <a id="Ext.StatusBar-findParentByType"></a>
\r
1220 <b>findParentByType</b>( <code>String/Class xtype</code> ) : Ext.Container <div class="mdesc">
\r
1221 <div class="short">Find a container above this component at any level by xtype or class</div>
\r
1222 <div class="long">
\r
1223 Find a container above this component at any level by xtype or class <div class="mdetail-params">
\r
1224 <strong>Parameters:</strong>
\r
1225 <ul><li><code>xtype</code> : String/Class<div class="sub-desc">The xtype string for a component, or the class of the component directly</div></li> </ul>
\r
1226 <strong>Returns:</strong>
\r
1228 <li><code>Ext.Container</code><div class="sub-desc">The first Container which matches the given xtype or class</div></li>
\r
1234 <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>
\r
1236 <tr class="method-row inherited expandable">
\r
1237 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1239 <a id="Ext.StatusBar-fireEvent"></a>
\r
1240 <b>fireEvent</b>( <code>String eventName</code>, <code>Object... args</code> ) : Boolean <div class="mdesc">
\r
1241 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
\r
1242 <div class="long">
\r
1243 Fires the specified event with the passed parameters (minus the event name). <div class="mdetail-params">
\r
1244 <strong>Parameters:</strong>
\r
1245 <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li> </ul>
\r
1246 <strong>Returns:</strong>
\r
1248 <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
\r
1254 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
\r
1256 <tr class="method-row inherited alt expandable">
\r
1257 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1259 <a id="Ext.StatusBar-focus"></a>
\r
1260 <b>focus</b>( <span class="optional" title="Optional">[<code>Boolean selectText</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number delay</code>]</span> ) : Ext.Component <div class="mdesc">
\r
1261 <div class="short">Try to focus this component.</div>
\r
1262 <div class="long">
\r
1263 Try to focus this component. <div class="mdetail-params">
\r
1264 <strong>Parameters:</strong>
\r
1265 <ul><li><code>selectText</code> : Boolean<div class="sub-desc">(optional) If applicable, true to also select the text in this component</div></li><li><code>delay</code> : Boolean/Number<div class="sub-desc">(optional) Delay the focus this number of milliseconds (true for 10 milliseconds)</div></li> </ul>
\r
1266 <strong>Returns:</strong>
\r
1268 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
1274 <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
\r
1276 <tr class="method-row inherited expandable">
\r
1277 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1279 <a id="Ext.StatusBar-getBox"></a>
\r
1280 <b>getBox</b>( <span class="optional" title="Optional">[<code>Boolean local</code>]</span> ) : Object <div class="mdesc">
\r
1281 <div class="short">Gets the current box measurements of the component's underlying element.</div>
\r
1282 <div class="long">
\r
1283 Gets the current box measurements of the component's underlying element. <div class="mdetail-params">
\r
1284 <strong>Parameters:</strong>
\r
1285 <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>
\r
1286 <strong>Returns:</strong>
\r
1288 <li><code>Object</code><div class="sub-desc">box An object in the format {x, y, width, height}</div></li>
\r
1294 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getBox" href="output/Ext.BoxComponent.html#getBox">BoxComponent</a></td>
\r
1296 <tr class="method-row inherited alt expandable">
\r
1297 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1299 <a id="Ext.StatusBar-getEl"></a>
\r
1300 <b>getEl</b>() : Ext.Element <div class="mdesc">
\r
1301 <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
\r
1302 <div class="long">
\r
1303 Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>. <div class="mdetail-params">
\r
1304 <strong>Parameters:</strong>
\r
1305 <ul><li>None.</li> </ul>
\r
1306 <strong>Returns:</strong>
\r
1308 <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
\r
1314 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
\r
1316 <tr class="method-row inherited expandable">
\r
1317 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1319 <a id="Ext.StatusBar-getId"></a>
\r
1320 <b>getId</b>() : String <div class="mdesc">
\r
1321 <div class="short">Returns the id of this component.</div>
\r
1322 <div class="long">
\r
1323 Returns the id of this component. <div class="mdetail-params">
\r
1324 <strong>Parameters:</strong>
\r
1325 <ul><li>None.</li> </ul>
\r
1326 <strong>Returns:</strong>
\r
1328 <li><code>String</code></li>
\r
1334 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
\r
1336 <tr class="method-row inherited alt expandable">
\r
1337 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1339 <a id="Ext.StatusBar-getItemId"></a>
\r
1340 <b>getItemId</b>() : String <div class="mdesc">
\r
1341 <div class="short">Returns the item id of this component.</div>
\r
1342 <div class="long">
\r
1343 Returns the item id of this component. <div class="mdetail-params">
\r
1344 <strong>Parameters:</strong>
\r
1345 <ul><li>None.</li> </ul>
\r
1346 <strong>Returns:</strong>
\r
1348 <li><code>String</code></li>
\r
1354 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
\r
1356 <tr class="method-row inherited expandable">
\r
1357 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1359 <a id="Ext.StatusBar-getPosition"></a>
\r
1360 <b>getPosition</b>( <span class="optional" title="Optional">[<code>Boolean local</code>]</span> ) : Array <div class="mdesc">
\r
1361 <div class="short">Gets the current XY position of the component's underlying element.</div>
\r
1362 <div class="long">
\r
1363 Gets the current XY position of the component's underlying element. <div class="mdetail-params">
\r
1364 <strong>Parameters:</strong>
\r
1365 <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>
\r
1366 <strong>Returns:</strong>
\r
1368 <li><code>Array</code><div class="sub-desc">The XY position of the element (e.g., [100, 200])</div></li>
\r
1374 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getPosition" href="output/Ext.BoxComponent.html#getPosition">BoxComponent</a></td>
\r
1376 <tr class="method-row inherited alt expandable">
\r
1377 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1379 <a id="Ext.StatusBar-getSize"></a>
\r
1380 <b>getSize</b>() : Object <div class="mdesc">
\r
1381 <div class="short">Gets the current size of the component's underlying element.</div>
\r
1382 <div class="long">
\r
1383 Gets the current size of the component's underlying element. <div class="mdetail-params">
\r
1384 <strong>Parameters:</strong>
\r
1385 <ul><li>None.</li> </ul>
\r
1386 <strong>Returns:</strong>
\r
1388 <li><code>Object</code><div class="sub-desc">An object containing the element's size {width: (element width), height: (element height)}</div></li>
\r
1394 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getSize" href="output/Ext.BoxComponent.html#getSize">BoxComponent</a></td>
\r
1396 <tr class="method-row expandable">
\r
1397 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1399 <a id="Ext.StatusBar-getText"></a>
\r
1400 <b>getText</b>() : String <div class="mdesc">
\r
1401 <div class="short">Returns the current status text.</div>
\r
1402 <div class="long">
\r
1403 Returns the current status text. <div class="mdetail-params">
\r
1404 <strong>Parameters:</strong>
\r
1405 <ul><li>None.</li> </ul>
\r
1406 <strong>Returns:</strong>
\r
1408 <li><code>String</code><div class="sub-desc">The status text</div></li>
\r
1414 <td class="msource">StatusBar</td>
\r
1416 <tr class="method-row inherited alt expandable">
\r
1417 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1419 <a id="Ext.StatusBar-getXType"></a>
\r
1420 <b>getXType</b>() : String <div class="mdesc">
\r
1421 <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
1422 available xtypes, see the Ex...</div>
\r
1423 <div class="long">
\r
1424 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
1425 available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
1426 <pre><code>var t = <b>new</b> Ext.form.TextField();
1427 alert(t.getXType()); // alerts <em>'textfield'</em></code></pre> <div class="mdetail-params">
\r
1428 <strong>Parameters:</strong>
\r
1429 <ul><li>None.</li> </ul>
\r
1430 <strong>Returns:</strong>
\r
1432 <li><code>String</code><div class="sub-desc">The xtype</div></li>
\r
1438 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
\r
1440 <tr class="method-row inherited expandable">
\r
1441 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1443 <a id="Ext.StatusBar-getXTypes"></a>
\r
1444 <b>getXTypes</b>() : String <div class="mdesc">
\r
1445 <div class="short">Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1446 available xtypes, see the Ext...</div>
\r
1447 <div class="long">
\r
1448 <p>Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1449 available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header.</p>
1450 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1451 to participate in determination of inherited xtypes.</b></p>
1452 <p>Example usage:</p>
1454 var t = new Ext.form.TextField();
\r
1455 alert(t.getXTypes()); // alerts 'component/box/field/textfield'</pre></code> <div class="mdetail-params">
\r
1456 <strong>Parameters:</strong>
\r
1457 <ul><li>None.</li> </ul>
\r
1458 <strong>Returns:</strong>
\r
1460 <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
\r
1466 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
\r
1468 <tr class="method-row inherited alt expandable">
\r
1469 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1471 <a id="Ext.StatusBar-hasListener"></a>
\r
1472 <b>hasListener</b>( <code>String eventName</code> ) : Boolean <div class="mdesc">
\r
1473 <div class="short">Checks to see if this object has any listeners for a specified event</div>
\r
1474 <div class="long">
\r
1475 Checks to see if this object has any listeners for a specified event <div class="mdetail-params">
\r
1476 <strong>Parameters:</strong>
\r
1477 <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li> </ul>
\r
1478 <strong>Returns:</strong>
\r
1480 <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
\r
1486 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
\r
1488 <tr class="method-row inherited expandable">
\r
1489 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1491 <a id="Ext.StatusBar-hide"></a>
\r
1492 <b>hide</b>() : Ext.Component <div class="mdesc">
\r
1493 <div class="short">Hide this component.</div>
\r
1494 <div class="long">
\r
1495 Hide this component. <div class="mdetail-params">
\r
1496 <strong>Parameters:</strong>
\r
1497 <ul><li>None.</li> </ul>
\r
1498 <strong>Returns:</strong>
\r
1500 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
1506 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
\r
1508 <tr class="method-row inherited alt expandable">
\r
1509 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1511 <a id="Ext.StatusBar-insertButton"></a>
\r
1512 <b>insertButton</b>( <code>Number index</code>, <code>Object/Ext.Toolbar.Item/Ext.Toolbar.Button/Array item</code> ) : Ext.Toolbar.Button/Item <div class="mdesc">
\r
1513 <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>
\r
1514 <div class="long">
\r
1515 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">
\r
1516 <strong>Parameters:</strong>
\r
1517 <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
1518 inserted, or an array of buttons/configs.</div></li> </ul>
\r
1519 <strong>Returns:</strong>
\r
1521 <li><code>Ext.Toolbar.Button/Item</code></li>
\r
1527 <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#insertButton" href="output/Ext.Toolbar.html#insertButton">Toolbar</a></td>
\r
1529 <tr class="method-row inherited expandable">
\r
1530 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1532 <a id="Ext.StatusBar-isVisible"></a>
\r
1533 <b>isVisible</b>() : void <div class="mdesc">
\r
1534 <div class="short">Returns true if this component is visible.</div>
\r
1535 <div class="long">
\r
1536 Returns true if this component is visible. <div class="mdetail-params">
\r
1537 <strong>Parameters:</strong>
\r
1538 <ul><li>None.</li> </ul>
\r
1539 <strong>Returns:</strong>
\r
1541 <li><code>void</code></li>
\r
1547 <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
\r
1549 <tr class="method-row inherited alt expandable">
\r
1550 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1552 <a id="Ext.StatusBar-isXType"></a>
\r
1553 <b>isXType</b>( <code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span> ) : void <div class="mdesc">
\r
1554 <div class="short">Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1556 <div class="long">
\r
1557 <p>Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1558 from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
1559 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1560 to participate in determination of inherited xtypes.</b></p>
1561 <p>For a list of all available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header.</p>
1562 <p>Example usage:</p>
1563 <pre><code>var t = <b>new</b> Ext.form.TextField();
1564 <b>var</b> isText = t.isXType(<em>'textfield'</em>); <i>// true</i>
1565 <b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>); <i>// true, descended from BoxComponent</i>
1566 <b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre> <div class="mdetail-params">
\r
1567 <strong>Parameters:</strong>
\r
1568 <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
1569 the default), or true to check whether this Component is directly of the specified xtype.</div></li> </ul>
\r
1570 <strong>Returns:</strong>
\r
1572 <li><code>void</code></li>
\r
1578 <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
\r
1580 <tr class="method-row inherited expandable">
\r
1581 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1583 <a id="Ext.StatusBar-on"></a>
\r
1584 <b>on</b>( <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> ) : void <div class="mdesc">
\r
1585 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
\r
1586 <div class="long">
\r
1587 Appends an event handler to this element (shorthand for addListener) <div class="mdetail-params">
\r
1588 <strong>Parameters:</strong>
\r
1589 <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
1590 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
\r
1591 <strong>Returns:</strong>
\r
1593 <li><code>void</code></li>
\r
1599 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
\r
1601 <tr class="method-row inherited alt expandable">
\r
1602 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1604 <a id="Ext.StatusBar-purgeListeners"></a>
\r
1605 <b>purgeListeners</b>() : void <div class="mdesc">
\r
1606 <div class="short">Removes all listeners for this object</div>
\r
1607 <div class="long">
\r
1608 Removes all listeners for this object <div class="mdetail-params">
\r
1609 <strong>Parameters:</strong>
\r
1610 <ul><li>None.</li> </ul>
\r
1611 <strong>Returns:</strong>
\r
1613 <li><code>void</code></li>
\r
1619 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
\r
1621 <tr class="method-row inherited expandable">
\r
1622 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1624 <a id="Ext.StatusBar-relayEvents"></a>
\r
1625 <b>relayEvents</b>( <code>Object o</code>, <code>Array events</code> ) : void <div class="mdesc">
\r
1626 <div class="short">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.</div>
\r
1627 <div class="long">
\r
1628 Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>. <div class="mdetail-params">
\r
1629 <strong>Parameters:</strong>
\r
1630 <ul><li><code>o</code> : Object<div class="sub-desc">The Observable whose events this object is to relay.</div></li><li><code>events</code> : Array<div class="sub-desc">Array of event names to relay.</div></li> </ul>
\r
1631 <strong>Returns:</strong>
\r
1633 <li><code>void</code></li>
\r
1639 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#relayEvents" href="output/Ext.util.Observable.html#relayEvents">Observable</a></td>
\r
1641 <tr class="method-row inherited alt expandable">
\r
1642 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1644 <a id="Ext.StatusBar-removeClass"></a>
\r
1645 <b>removeClass</b>( <code>string cls</code> ) : void <div class="mdesc">
\r
1646 <div class="short">Removes a CSS class from the component's underlying element.</div>
\r
1647 <div class="long">
\r
1648 Removes a CSS class from the component's underlying element. <div class="mdetail-params">
\r
1649 <strong>Parameters:</strong>
\r
1650 <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li> </ul>
\r
1651 <strong>Returns:</strong>
\r
1653 <li><code>void</code></li>
\r
1659 <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
\r
1661 <tr class="method-row inherited expandable">
\r
1662 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1664 <a id="Ext.StatusBar-removeListener"></a>
\r
1665 <b>removeListener</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
\r
1666 <div class="short">Removes a listener</div>
\r
1667 <div class="long">
\r
1668 Removes a listener <div class="mdetail-params">
\r
1669 <strong>Parameters:</strong>
\r
1670 <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul>
\r
1671 <strong>Returns:</strong>
\r
1673 <li><code>void</code></li>
\r
1679 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
\r
1681 <tr class="method-row inherited alt expandable">
\r
1682 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1684 <a id="Ext.StatusBar-render"></a>
\r
1685 <b>render</b>( <span class="optional" title="Optional">[<code>Element/HTMLElement/String container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span> ) : void <div class="mdesc">
\r
1686 <div class="short">Render this Component into the passed HTML element.
1687 If you are using a Container object to house this Component, then...</div>
\r
1688 <div class="long">
\r
1689 <p>Render this Component into the passed HTML element.</p>
1690 <p><b>If you are using a <a ext:cls="Ext.Container" href="output/Ext.Container.html">Container</a> object to house this Component, then
1691 do not use the render method.</b></p>
1692 <p>A Container's child Components are rendered by that Container's
1693 <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> manager when the Container is first rendered.</p>
1694 <p>Certain layout managers allow dynamic addition of child components. Those that do
1695 include <a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">Ext.layout.CardLayout</a>, <a ext:cls="Ext.layout.AnchorLayout" href="output/Ext.layout.AnchorLayout.html">Ext.layout.AnchorLayout</a>,
1696 <a ext:cls="Ext.layout.FormLayout" href="output/Ext.layout.FormLayout.html">Ext.layout.FormLayout</a>, <a ext:cls="Ext.layout.TableLayout" href="output/Ext.layout.TableLayout.html">Ext.layout.TableLayout</a>.</p>
1697 <p>If the Container is already rendered when a new child Component is added, you may need to call
1698 the Container's <a ext:cls="Ext.Container" ext:member="doLayout" href="output/Ext.Container.html#doLayout">doLayout</a> to refresh the view which causes any
1699 unrendered child Components to be rendered. This is required so that you can add multiple
1700 child components if needed while only refreshing the layout once.</p>
1701 <p>When creating complex UIs, it is important to remember that sizing and positioning
1702 of child items is the responsibility of the Container's <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> manager.
1703 If you expect child items to be sized in response to user interactions, you must
1704 configure the Container with a layout manager which creates and manages the type of layout you
1706 <p><b>Omitting the Container's <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> config means that a basic
1707 layout manager is used which does nothing but render child components sequentially into the
1708 Container. No sizing or positioning will be performed in this situation.</b></p> <div class="mdetail-params">
\r
1709 <strong>Parameters:</strong>
\r
1710 <ul><li><code>container</code> : Element/HTMLElement/String<div class="sub-desc">(optional) The element this Component should be
1711 rendered into. If it is being created from existing markup, this should be omitted.</div></li><li><code>position</code> : String/Number<div class="sub-desc">(optional) The element ID or DOM node index within the container <b>before</b>
1712 which this component will be inserted (defaults to appending to the end of the container)</div></li> </ul>
\r
1713 <strong>Returns:</strong>
\r
1715 <li><code>void</code></li>
\r
1721 <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
\r
1723 <tr class="method-row inherited expandable">
\r
1724 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1726 <a id="Ext.StatusBar-resumeEvents"></a>
\r
1727 <b>resumeEvents</b>() : void <div class="mdesc">
\r
1728 <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>
\r
1729 <div class="long">
\r
1730 Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>) <div class="mdetail-params">
\r
1731 <strong>Parameters:</strong>
\r
1732 <ul><li>None.</li> </ul>
\r
1733 <strong>Returns:</strong>
\r
1735 <li><code>void</code></li>
\r
1741 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
\r
1743 <tr class="method-row inherited alt expandable">
\r
1744 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1746 <a id="Ext.StatusBar-setDisabled"></a>
\r
1747 <b>setDisabled</b>( <code>Boolean disabled</code> ) : void <div class="mdesc">
\r
1748 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
\r
1749 <div class="long">
\r
1750 Convenience function for setting disabled/enabled by boolean. <div class="mdetail-params">
\r
1751 <strong>Parameters:</strong>
\r
1752 <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li> </ul>
\r
1753 <strong>Returns:</strong>
\r
1755 <li><code>void</code></li>
\r
1761 <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
\r
1763 <tr class="method-row inherited expandable">
\r
1764 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1766 <a id="Ext.StatusBar-setHeight"></a>
\r
1767 <b>setHeight</b>( <code>Number height</code> ) : Ext.BoxComponent <div class="mdesc">
\r
1768 <div class="short">Sets the height of the component. This method fires the <a ext:cls="Ext.BoxComponent" ext:member="resize" href="output/Ext.BoxComponent.html#resize">resize</a> event.</div>
\r
1769 <div class="long">
\r
1770 Sets the height of the component. This method fires the <a ext:cls="Ext.BoxComponent" ext:member="resize" href="output/Ext.BoxComponent.html#resize">resize</a> event. <div class="mdetail-params">
\r
1771 <strong>Parameters:</strong>
\r
1772 <ul><li><code>height</code> : Number<div class="sub-desc">The new height to set</div></li> </ul>
\r
1773 <strong>Returns:</strong>
\r
1775 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
1781 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setHeight" href="output/Ext.BoxComponent.html#setHeight">BoxComponent</a></td>
\r
1783 <tr class="method-row alt expandable">
\r
1784 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1786 <a id="Ext.StatusBar-setIcon"></a>
\r
1787 <b>setIcon</b>( <span class="optional" title="Optional">[<code>String iconCls</code>]</span> ) : Ext.StatusBar <div class="mdesc">
\r
1788 <div class="short">Convenience method for setting the status icon directly. For more flexible options see setStatus.
1789 See iconCls for co...</div>
\r
1790 <div class="long">
\r
1791 Convenience method for setting the status icon directly. For more flexible options see <a ext:cls="Ext.StatusBar" ext:member="setStatus" href="output/Ext.StatusBar.html#setStatus">setStatus</a>.
1792 See <a ext:cls="Ext.StatusBar" ext:member="iconCls" href="output/Ext.StatusBar.html#iconCls">iconCls</a> for complete details about customizing the icon. <div class="mdetail-params">
\r
1793 <strong>Parameters:</strong>
\r
1794 <ul><li><code>iconCls</code> : String<div class="sub-desc">(optional) The icon class to set (defaults to '', and any current icon class is removed)</div></li> </ul>
\r
1795 <strong>Returns:</strong>
\r
1797 <li><code>Ext.StatusBar</code><div class="sub-desc">this</div></li>
\r
1803 <td class="msource">StatusBar</td>
\r
1805 <tr class="method-row inherited expandable">
\r
1806 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1808 <a id="Ext.StatusBar-setPagePosition"></a>
\r
1809 <b>setPagePosition</b>( <code>Number x</code>, <code>Number y</code> ) : Ext.BoxComponent <div class="mdesc">
\r
1810 <div class="short">Sets the page XY position of the component. To set the left and top instead, use setPosition.
1811 This method fires the ...</div>
\r
1812 <div class="long">
\r
1813 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>.
1814 This method fires the <a ext:cls="Ext.BoxComponent" ext:member="move" href="output/Ext.BoxComponent.html#move">move</a> event. <div class="mdetail-params">
\r
1815 <strong>Parameters:</strong>
\r
1816 <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>
\r
1817 <strong>Returns:</strong>
\r
1819 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
1825 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPagePosition" href="output/Ext.BoxComponent.html#setPagePosition">BoxComponent</a></td>
\r
1827 <tr class="method-row inherited alt expandable">
\r
1828 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1830 <a id="Ext.StatusBar-setPosition"></a>
\r
1831 <b>setPosition</b>( <code>Number left</code>, <code>Number top</code> ) : Ext.BoxComponent <div class="mdesc">
\r
1832 <div class="short">Sets the left and top of the component. To set the page XY position instead, use setPagePosition.
1833 This method fires ...</div>
\r
1834 <div class="long">
\r
1835 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>.
1836 This method fires the <a ext:cls="Ext.BoxComponent" ext:member="move" href="output/Ext.BoxComponent.html#move">move</a> event. <div class="mdetail-params">
\r
1837 <strong>Parameters:</strong>
\r
1838 <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>
\r
1839 <strong>Returns:</strong>
\r
1841 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
1847 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPosition" href="output/Ext.BoxComponent.html#setPosition">BoxComponent</a></td>
\r
1849 <tr class="method-row inherited expandable">
\r
1850 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1852 <a id="Ext.StatusBar-setSize"></a>
\r
1853 <b>setSize</b>( <code>Number/Object width</code>, <code>Number height</code> ) : Ext.BoxComponent <div class="mdesc">
\r
1854 <div class="short">Sets the width and height of the component. This method fires the resize event. This method can accept
1855 either width...</div>
\r
1856 <div class="long">
\r
1857 Sets the width and height of the component. This method fires the <a ext:cls="Ext.BoxComponent" ext:member="resize" href="output/Ext.BoxComponent.html#resize">resize</a> event. This method can accept
1858 either width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}. <div class="mdetail-params">
\r
1859 <strong>Parameters:</strong>
\r
1860 <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>
\r
1861 <strong>Returns:</strong>
\r
1863 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
1869 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setSize" href="output/Ext.BoxComponent.html#setSize">BoxComponent</a></td>
\r
1871 <tr class="method-row alt expandable">
\r
1872 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1874 <a id="Ext.StatusBar-setStatus"></a>
\r
1875 <b>setStatus</b>( <span class="optional" title="Optional">[<code>Object/String config</code>]</span> ) : Ext.StatusBar <div class="mdesc">
\r
1876 <div class="short">Sets the status text and/or iconCls. Also supports automatically clearing the
1877 status that was set after a specified ...</div>
\r
1878 <div class="long">
\r
1879 Sets the status <a ext:cls="Ext.StatusBar" ext:member="text" href="output/Ext.StatusBar.html#text">text</a> and/or <a ext:cls="Ext.StatusBar" ext:member="iconCls" href="output/Ext.StatusBar.html#iconCls">iconCls</a>. Also supports automatically clearing the
1880 status that was set after a specified interval. <div class="mdetail-params">
\r
1881 <strong>Parameters:</strong>
\r
1882 <ul><li><code>config</code> : Object/String<div class="sub-desc">A config object specifying what status to set, or a string assumed
1883 to be the status text (and all other options are defaulted as explained below). A config
1884 object containing any or all of the following properties can be passed:<ul>
1885 <li><tt>text</tt> {String} : (optional) The status text to display. If not specified, any current
1886 status text will remain unchanged.</li>
1887 <li><tt>iconCls</tt> {String} : (optional) The CSS class used to customize the status icon (see
1888 <a ext:cls="Ext.StatusBar" ext:member="iconCls" href="output/Ext.StatusBar.html#iconCls">iconCls</a> for details). If not specified, any current iconCls will remain unchanged.</li>
1889 <li><tt>clear</tt> {Boolean/Number/Object} : (optional) Allows you to set an internal callback that will
1890 automatically clear the status text and iconCls after a specified amount of time has passed. If clear is not
1891 specified, the new status will not be auto-cleared and will stay until updated again or cleared using
1892 <a ext:cls="Ext.StatusBar" ext:member="clearStatus" href="output/Ext.StatusBar.html#clearStatus">clearStatus</a>. If <tt>true</tt> is passed, the status will be cleared using <a ext:cls="Ext.StatusBar" ext:member="autoClear" href="output/Ext.StatusBar.html#autoClear">autoClear</a>,
1893 <a ext:cls="Ext.StatusBar" ext:member="defaultText" href="output/Ext.StatusBar.html#defaultText">defaultText</a> and <a ext:cls="Ext.StatusBar" ext:member="defaultIconCls" href="output/Ext.StatusBar.html#defaultIconCls">defaultIconCls</a> via a fade out animation. If a numeric value is passed,
1894 it will be used as the callback interval (in milliseconds), overriding the <a ext:cls="Ext.StatusBar" ext:member="autoClear" href="output/Ext.StatusBar.html#autoClear">autoClear</a> value.
1895 All other options will be defaulted as with the boolean option. To customize any other options,
1896 you can pass an object in the format:<ul>
1897 <li><tt>wait</tt> {Number} : (optional) The number of milliseconds to wait before clearing
1898 (defaults to <a ext:cls="Ext.StatusBar" ext:member="autoClear" href="output/Ext.StatusBar.html#autoClear">autoClear</a>).</li>
1899 <li><tt>anim</tt> {Number} : (optional) False to clear the status immediately once the callback
1900 executes (defaults to true which fades the status out).</li>
1901 <li><tt>useDefaults</tt> {Number} : (optional) False to completely clear the status text and iconCls
1902 (defaults to true which uses <a ext:cls="Ext.StatusBar" ext:member="defaultText" href="output/Ext.StatusBar.html#defaultText">defaultText</a> and <a ext:cls="Ext.StatusBar" ext:member="defaultIconCls" href="output/Ext.StatusBar.html#defaultIconCls">defaultIconCls</a>).</li>
1904 Example usage:<pre><code><i>// Simple call to update the text</i>
1905 statusBar.setStatus(<em>'New status'</em>);
1907 <i>// Set the status and icon, auto-clearing <b>with</b> default options:</i>
1908 statusBar.setStatus({
1909 text: <em>'New status'</em>,
1910 iconCls: <em>'x-status-custom'</em>,
1914 <i>// Auto-clear <b>with</b> custom options:</i>
1915 statusBar.setStatus({
1916 text: <em>'New status'</em>,
1917 iconCls: <em>'x-status-custom'</em>,
1923 });</code></pre></div></li> </ul>
\r
1924 <strong>Returns:</strong>
\r
1926 <li><code>Ext.StatusBar</code><div class="sub-desc">this</div></li>
\r
1932 <td class="msource">StatusBar</td>
\r
1934 <tr class="method-row expandable">
\r
1935 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1937 <a id="Ext.StatusBar-setText"></a>
\r
1938 <b>setText</b>( <span class="optional" title="Optional">[<code>String text</code>]</span> ) : Ext.StatusBar <div class="mdesc">
\r
1939 <div class="short">Convenience method for setting the status text directly. For more flexible options see <a ext:cls="Ext.StatusBar" ext:member="setStatus" href="output/Ext.StatusBar.html#setStatus">setStatus</a>.</div>
\r
1940 <div class="long">
\r
1941 Convenience method for setting the status text directly. For more flexible options see <a ext:cls="Ext.StatusBar" ext:member="setStatus" href="output/Ext.StatusBar.html#setStatus">setStatus</a>. <div class="mdetail-params">
\r
1942 <strong>Parameters:</strong>
\r
1943 <ul><li><code>text</code> : String<div class="sub-desc">(optional) The text to set (defaults to '')</div></li> </ul>
\r
1944 <strong>Returns:</strong>
\r
1946 <li><code>Ext.StatusBar</code><div class="sub-desc">this</div></li>
\r
1952 <td class="msource">StatusBar</td>
\r
1954 <tr class="method-row inherited alt expandable">
\r
1955 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1957 <a id="Ext.StatusBar-setVisible"></a>
\r
1958 <b>setVisible</b>( <code>Boolean visible</code> ) : Ext.Component <div class="mdesc">
\r
1959 <div class="short">Convenience function to hide or show this component by boolean.</div>
\r
1960 <div class="long">
\r
1961 Convenience function to hide or show this component by boolean. <div class="mdetail-params">
\r
1962 <strong>Parameters:</strong>
\r
1963 <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li> </ul>
\r
1964 <strong>Returns:</strong>
\r
1966 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
1972 <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
\r
1974 <tr class="method-row inherited expandable">
\r
1975 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1977 <a id="Ext.StatusBar-setWidth"></a>
\r
1978 <b>setWidth</b>( <code>Number width</code> ) : Ext.BoxComponent <div class="mdesc">
\r
1979 <div class="short">Sets the width of the component. This method fires the <a ext:cls="Ext.BoxComponent" ext:member="resize" href="output/Ext.BoxComponent.html#resize">resize</a> event.</div>
\r
1980 <div class="long">
\r
1981 Sets the width of the component. This method fires the <a ext:cls="Ext.BoxComponent" ext:member="resize" href="output/Ext.BoxComponent.html#resize">resize</a> event. <div class="mdetail-params">
\r
1982 <strong>Parameters:</strong>
\r
1983 <ul><li><code>width</code> : Number<div class="sub-desc">The new width to set</div></li> </ul>
\r
1984 <strong>Returns:</strong>
\r
1986 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
1992 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setWidth" href="output/Ext.BoxComponent.html#setWidth">BoxComponent</a></td>
\r
1994 <tr class="method-row inherited alt expandable">
\r
1995 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1997 <a id="Ext.StatusBar-show"></a>
\r
1998 <b>show</b>() : Ext.Component <div class="mdesc">
\r
1999 <div class="short">Show this component.</div>
\r
2000 <div class="long">
\r
2001 Show this component. <div class="mdetail-params">
\r
2002 <strong>Parameters:</strong>
\r
2003 <ul><li>None.</li> </ul>
\r
2004 <strong>Returns:</strong>
\r
2006 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
2012 <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
\r
2014 <tr class="method-row expandable">
\r
2015 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2017 <a id="Ext.StatusBar-showBusy"></a>
\r
2018 <b>showBusy</b>( <span class="optional" title="Optional">[<code>Object/String config</code>]</span> ) : Ext.StatusBar <div class="mdesc">
\r
2019 <div class="short">Convenience method for setting the status text and icon to special values that are pre-configured to indicate
2021 <div class="long">
\r
2022 Convenience method for setting the status text and icon to special values that are pre-configured to indicate
2023 a "busy" state, usually for loading or processing activities. <div class="mdetail-params">
\r
2024 <strong>Parameters:</strong>
\r
2025 <ul><li><code>config</code> : Object/String<div class="sub-desc">(optional) A config object in the same format supported by <a ext:cls="Ext.StatusBar" ext:member="setStatus" href="output/Ext.StatusBar.html#setStatus">setStatus</a>, or a
2026 string to use as the status text (in which case all other options for setStatus will be defaulted). Use the
2027 <tt>text</tt> and/or <tt>iconCls</tt> properties on the config to override the default <a ext:cls="Ext.StatusBar" ext:member="busyText" href="output/Ext.StatusBar.html#busyText">busyText</a>
2028 and <a ext:cls="Ext.StatusBar" ext:member="busyIconCls" href="output/Ext.StatusBar.html#busyIconCls">busyIconCls</a> settings. If the config argument is not specified, <a ext:cls="Ext.StatusBar" ext:member="busyText" href="output/Ext.StatusBar.html#busyText">busyText</a> and
2029 <a ext:cls="Ext.StatusBar" ext:member="busyIconCls" href="output/Ext.StatusBar.html#busyIconCls">busyIconCls</a> will be used in conjunction with all of the default options for <a ext:cls="Ext.StatusBar" ext:member="setStatus" href="output/Ext.StatusBar.html#setStatus">setStatus</a>.</div></li> </ul>
\r
2030 <strong>Returns:</strong>
\r
2032 <li><code>Ext.StatusBar</code><div class="sub-desc">this</div></li>
\r
2038 <td class="msource">StatusBar</td>
\r
2040 <tr class="method-row inherited alt expandable">
\r
2041 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2043 <a id="Ext.StatusBar-suspendEvents"></a>
\r
2044 <b>suspendEvents</b>() : void <div class="mdesc">
\r
2045 <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>
\r
2046 <div class="long">
\r
2047 Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>) <div class="mdetail-params">
\r
2048 <strong>Parameters:</strong>
\r
2049 <ul><li>None.</li> </ul>
\r
2050 <strong>Returns:</strong>
\r
2052 <li><code>void</code></li>
\r
2058 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
\r
2060 <tr class="method-row inherited expandable">
\r
2061 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2063 <a id="Ext.StatusBar-syncSize"></a>
\r
2064 <b>syncSize</b>() : Ext.BoxComponent <div class="mdesc">
\r
2065 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
\r
2066 <div class="long">
\r
2067 Force the component's size to recalculate based on the underlying element's current height and width. <div class="mdetail-params">
\r
2068 <strong>Parameters:</strong>
\r
2069 <ul><li>None.</li> </ul>
\r
2070 <strong>Returns:</strong>
\r
2072 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
2078 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#syncSize" href="output/Ext.BoxComponent.html#syncSize">BoxComponent</a></td>
\r
2080 <tr class="method-row inherited alt expandable">
\r
2081 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2083 <a id="Ext.StatusBar-un"></a>
\r
2084 <b>un</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
\r
2085 <div class="short">Removes a listener (shorthand for removeListener)</div>
\r
2086 <div class="long">
\r
2087 Removes a listener (shorthand for removeListener) <div class="mdetail-params">
\r
2088 <strong>Parameters:</strong>
\r
2089 <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul>
\r
2090 <strong>Returns:</strong>
\r
2092 <li><code>void</code></li>
\r
2098 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
\r
2100 <tr class="method-row inherited expandable">
\r
2101 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2103 <a id="Ext.StatusBar-updateBox"></a>
\r
2104 <b>updateBox</b>( <code>Object box</code> ) : Ext.BoxComponent <div class="mdesc">
\r
2105 <div class="short">Sets the current box measurements of the component's underlying element.</div>
\r
2106 <div class="long">
\r
2107 Sets the current box measurements of the component's underlying element. <div class="mdetail-params">
\r
2108 <strong>Parameters:</strong>
\r
2109 <ul><li><code>box</code> : Object<div class="sub-desc">An object in the format {x, y, width, height}</div></li> </ul>
\r
2110 <strong>Returns:</strong>
\r
2112 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
2118 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#updateBox" href="output/Ext.BoxComponent.html#updateBox">BoxComponent</a></td>
\r
2121 <a id="Ext.StatusBar-events"></a>
2122 <h2>Public Events</h2>
2123 <table cellspacing="0" class="member-table">
2125 <th class="sig-header" colspan="2">Event</th>
2126 <th class="msource-header">Defined By</th>
2128 <tr class="event-row inherited expandable">
\r
2129 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2131 <a id="Ext.StatusBar-beforedestroy"></a>
\r
2132 <b>beforedestroy</b> : ( <code>Ext.Component this</code> ) <div class="mdesc">
\r
2133 <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>
\r
2134 <div class="long">
\r
2135 Fires before the component is destroyed. Return false to stop the destroy. <div class="mdetail-params">
\r
2136 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2137 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
\r
2142 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
\r
2144 <tr class="event-row inherited alt expandable">
\r
2145 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2147 <a id="Ext.StatusBar-beforehide"></a>
\r
2148 <b>beforehide</b> : ( <code>Ext.Component this</code> ) <div class="mdesc">
\r
2149 <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>
\r
2150 <div class="long">
\r
2151 Fires before the component is hidden. Return false to stop the hide. <div class="mdetail-params">
\r
2152 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2153 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
\r
2158 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
\r
2160 <tr class="event-row inherited expandable">
\r
2161 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2163 <a id="Ext.StatusBar-beforerender"></a>
\r
2164 <b>beforerender</b> : ( <code>Ext.Component this</code> ) <div class="mdesc">
\r
2165 <div class="short">Fires before the component is rendered. Return false to stop the render.</div>
\r
2166 <div class="long">
\r
2167 Fires before the component is rendered. Return false to stop the render. <div class="mdetail-params">
\r
2168 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2169 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
\r
2174 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
\r
2176 <tr class="event-row inherited alt expandable">
\r
2177 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2179 <a id="Ext.StatusBar-beforeshow"></a>
\r
2180 <b>beforeshow</b> : ( <code>Ext.Component this</code> ) <div class="mdesc">
\r
2181 <div class="short">Fires before the component is shown. Return false to stop the show.</div>
\r
2182 <div class="long">
\r
2183 Fires before the component is shown. Return false to stop the show. <div class="mdetail-params">
\r
2184 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2185 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
\r
2190 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
\r
2192 <tr class="event-row inherited expandable">
\r
2193 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2195 <a id="Ext.StatusBar-beforestaterestore"></a>
\r
2196 <b>beforestaterestore</b> : ( <code>Ext.Component this</code>, <code>Object state</code> ) <div class="mdesc">
\r
2197 <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>
\r
2198 <div class="long">
\r
2199 Fires before the state of the component is restored. Return false to stop the restore. <div class="mdetail-params">
\r
2200 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2201 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li> </ul>
\r
2206 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
\r
2208 <tr class="event-row inherited alt expandable">
\r
2209 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2211 <a id="Ext.StatusBar-beforestatesave"></a>
\r
2212 <b>beforestatesave</b> : ( <code>Ext.Component this</code>, <code>Object state</code> ) <div class="mdesc">
\r
2213 <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>
\r
2214 <div class="long">
\r
2215 Fires before the state of the component is saved to the configured state provider. Return false to stop the save. <div class="mdetail-params">
\r
2216 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2217 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li> </ul>
\r
2222 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
\r
2224 <tr class="event-row inherited expandable">
\r
2225 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2227 <a id="Ext.StatusBar-destroy"></a>
\r
2228 <b>destroy</b> : ( <code>Ext.Component this</code> ) <div class="mdesc">
\r
2229 <div class="short">Fires after the component is destroyed.</div>
\r
2230 <div class="long">
\r
2231 Fires after the component is destroyed. <div class="mdetail-params">
\r
2232 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2233 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
\r
2238 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
\r
2240 <tr class="event-row inherited alt expandable">
\r
2241 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2243 <a id="Ext.StatusBar-disable"></a>
\r
2244 <b>disable</b> : ( <code>Ext.Component this</code> ) <div class="mdesc">
\r
2245 <div class="short">Fires after the component is disabled.</div>
\r
2246 <div class="long">
\r
2247 Fires after the component is disabled. <div class="mdetail-params">
\r
2248 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2249 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
\r
2254 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
\r
2256 <tr class="event-row inherited expandable">
\r
2257 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2259 <a id="Ext.StatusBar-enable"></a>
\r
2260 <b>enable</b> : ( <code>Ext.Component this</code> ) <div class="mdesc">
\r
2261 <div class="short">Fires after the component is enabled.</div>
\r
2262 <div class="long">
\r
2263 Fires after the component is enabled. <div class="mdetail-params">
\r
2264 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2265 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
\r
2270 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
\r
2272 <tr class="event-row inherited alt expandable">
\r
2273 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2275 <a id="Ext.StatusBar-hide"></a>
\r
2276 <b>hide</b> : ( <code>Ext.Component this</code> ) <div class="mdesc">
\r
2277 <div class="short">Fires after the component is hidden.</div>
\r
2278 <div class="long">
\r
2279 Fires after the component is hidden. <div class="mdetail-params">
\r
2280 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2281 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
\r
2286 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
\r
2288 <tr class="event-row inherited expandable">
\r
2289 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2291 <a id="Ext.StatusBar-move"></a>
\r
2292 <b>move</b> : ( <code>Ext.Component this</code>, <code>Number x</code>, <code>Number y</code> ) <div class="mdesc">
\r
2293 <div class="short">Fires after the component is moved.</div>
\r
2294 <div class="long">
\r
2295 Fires after the component is moved. <div class="mdetail-params">
\r
2296 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2297 <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>
\r
2302 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-move" href="output/Ext.BoxComponent.html#event-move">BoxComponent</a></td>
\r
2304 <tr class="event-row inherited alt expandable">
\r
2305 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2307 <a id="Ext.StatusBar-render"></a>
\r
2308 <b>render</b> : ( <code>Ext.Component this</code> ) <div class="mdesc">
\r
2309 <div class="short">Fires after the component is rendered.</div>
\r
2310 <div class="long">
\r
2311 Fires after the component is rendered. <div class="mdetail-params">
\r
2312 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2313 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
\r
2318 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
\r
2320 <tr class="event-row inherited expandable">
\r
2321 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2323 <a id="Ext.StatusBar-resize"></a>
\r
2324 <b>resize</b> : ( <code>Ext.Component this</code>, <code>Number adjWidth</code>, <code>Number adjHeight</code>, <code>Number rawWidth</code>, <code>Number rawHeight</code> ) <div class="mdesc">
\r
2325 <div class="short">Fires after the component is resized.</div>
\r
2326 <div class="long">
\r
2327 Fires after the component is resized. <div class="mdetail-params">
\r
2328 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2329 <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>
\r
2334 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-resize" href="output/Ext.BoxComponent.html#event-resize">BoxComponent</a></td>
\r
2336 <tr class="event-row inherited alt expandable">
\r
2337 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2339 <a id="Ext.StatusBar-show"></a>
\r
2340 <b>show</b> : ( <code>Ext.Component this</code> ) <div class="mdesc">
\r
2341 <div class="short">Fires after the component is shown.</div>
\r
2342 <div class="long">
\r
2343 Fires after the component is shown. <div class="mdetail-params">
\r
2344 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2345 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
\r
2350 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
\r
2352 <tr class="event-row inherited expandable">
\r
2353 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2355 <a id="Ext.StatusBar-staterestore"></a>
\r
2356 <b>staterestore</b> : ( <code>Ext.Component this</code>, <code>Object state</code> ) <div class="mdesc">
\r
2357 <div class="short">Fires after the state of the component is restored.</div>
\r
2358 <div class="long">
\r
2359 Fires after the state of the component is restored. <div class="mdetail-params">
\r
2360 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2361 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li> </ul>
\r
2366 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
\r
2368 <tr class="event-row inherited alt expandable">
\r
2369 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
2371 <a id="Ext.StatusBar-statesave"></a>
\r
2372 <b>statesave</b> : ( <code>Ext.Component this</code>, <code>Object state</code> ) <div class="mdesc">
\r
2373 <div class="short">Fires after the state of the component is saved to the configured state provider.</div>
\r
2374 <div class="long">
\r
2375 Fires after the state of the component is saved to the configured state provider. <div class="mdetail-params">
\r
2376 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
2377 <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li> </ul>
\r
2382 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
\r