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

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

lib/:

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