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