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