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>
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>
21 <div class="description">
23 Basic Label field. </div>
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">
30 <th class="sig-header" colspan="2">Config Options</th>
31 <th class="msource-header">Defined By</th>
33 <tr class="config-row inherited">
\r
34 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
40 <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>
\r
42 <tr class="config-row inherited alt expandable">
\r
43 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
52 <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>
\r
54 <tr class="config-row inherited expandable">
\r
55 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
65 <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoEl" href="output/Ext.Component.html#autoEl">Component</a></td>
\r
67 <tr class="config-row inherited alt expandable">
\r
68 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
77 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoHeight" href="output/Ext.BoxComponent.html#autoHeight">BoxComponent</a></td>
\r
79 <tr class="config-row inherited expandable">
\r
80 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
89 <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
\r
91 <tr class="config-row inherited alt expandable">
\r
92 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
101 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoWidth" href="output/Ext.BoxComponent.html#autoWidth">BoxComponent</a></td>
\r
103 <tr class="config-row inherited expandable">
\r
104 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
113 <td class="msource"><a ext:cls="Ext.Component" ext:member="#clearCls" href="output/Ext.Component.html#clearCls">Component</a></td>
\r
115 <tr class="config-row inherited alt expandable">
\r
116 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
125 <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
\r
127 <tr class="config-row inherited expandable">
\r
128 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
137 <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
\r
139 <tr class="config-row inherited alt">
\r
140 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
146 <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
\r
148 <tr class="config-row inherited">
\r
149 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
155 <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
\r
157 <tr class="config-row inherited alt expandable">
\r
158 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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({
166 renderTo: Ext.getBody(),
168 xtype: <em>'textfield'</em>,
169 fieldLabel: <em>'Name'</em>
171 });</code></pre> </div>
\r
174 <td class="msource"><a ext:cls="Ext.Component" ext:member="#fieldLabel" href="output/Ext.Component.html#fieldLabel">Component</a></td>
\r
176 <tr class="config-row expandable">
\r
177 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
186 <td class="msource">Label</td>
\r
188 <tr class="config-row inherited alt">
\r
189 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
195 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#height" href="output/Ext.BoxComponent.html#height">BoxComponent</a></td>
\r
197 <tr class="config-row inherited">
\r
198 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
204 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
\r
206 <tr class="config-row inherited alt expandable">
\r
207 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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({
215 renderTo: Ext.getBody(),
217 xtype: <em>'textfield'</em>
220 });</code></pre> </div>
\r
223 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideLabel" href="output/Ext.Component.html#hideLabel">Component</a></td>
\r
225 <tr class="config-row inherited expandable">
\r
226 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
235 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>
\r
237 <tr class="config-row inherited alt expandable">
\r
238 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
247 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>
\r
249 <tr class="config-row expandable">
\r
250 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
259 <td class="msource">Label</td>
\r
261 <tr class="config-row inherited alt expandable">
\r
262 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
271 <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>
\r
273 <tr class="config-row inherited expandable">
\r
274 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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>
282 .required .x-form-item-label {font-weight:bold;color:red;}
285 <b>new</b> Ext.FormPanel({
287 renderTo: Ext.getBody(),
289 xtype: <em>'textfield'</em>,
290 fieldLabel: <em>'Name'</em>,
291 itemCls: <em>'required'</em> <i>//<b>this</b> label will be styled</i>
293 xtype: <em>'textfield'</em>,
294 fieldLabel: <em>'Favorite Color'</em>
296 });</code></pre> </div>
\r
299 <td class="msource"><a ext:cls="Ext.Component" ext:member="#itemCls" href="output/Ext.Component.html#itemCls">Component</a></td>
\r
301 <tr class="config-row inherited alt expandable">
\r
302 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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({
310 renderTo: Ext.getBody(),
312 xtype: <em>'textfield'</em>,
313 fieldLabel: <em>'Name'</em>,
314 labelSeparator: <em>'...'</em>
316 });</code></pre> </div>
\r
319 <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelSeparator" href="output/Ext.Component.html#labelSeparator">Component</a></td>
\r
321 <tr class="config-row inherited expandable">
\r
322 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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({
330 renderTo: Ext.getBody(),
332 xtype: <em>'textfield'</em>,
333 fieldLabel: <em>'Name'</em>,
334 labelStyle: <em>'font-weight:bold;'</em>
336 });</code></pre> </div>
\r
339 <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelStyle" href="output/Ext.Component.html#labelStyle">Component</a></td>
\r
341 <tr class="config-row inherited alt expandable">
\r
342 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
351 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
\r
353 <tr class="config-row inherited expandable">
\r
354 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
363 <td class="msource"><a ext:cls="Ext.Component" ext:member="#overCls" href="output/Ext.Component.html#overCls">Component</a></td>
\r
365 <tr class="config-row inherited alt">
\r
366 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
372 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#pageX" href="output/Ext.BoxComponent.html#pageX">BoxComponent</a></td>
\r
374 <tr class="config-row inherited">
\r
375 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
381 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#pageY" href="output/Ext.BoxComponent.html#pageY">BoxComponent</a></td>
\r
383 <tr class="config-row inherited alt expandable">
\r
384 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
393 <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
\r
395 <tr class="config-row inherited expandable">
\r
396 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
405 <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
\r
407 <tr class="config-row inherited alt expandable">
\r
408 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
417 <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
\r
419 <tr class="config-row inherited expandable">
\r
420 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
429 <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
\r
431 <tr class="config-row inherited alt expandable">
\r
432 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
441 <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>
\r
443 <tr class="config-row inherited expandable">
\r
444 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
453 <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
\r
455 <tr class="config-row alt expandable">
\r
456 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
465 <td class="msource">Label</td>
\r
467 <tr class="config-row inherited">
\r
468 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
474 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#width" href="output/Ext.BoxComponent.html#width">BoxComponent</a></td>
\r
476 <tr class="config-row inherited alt">
\r
477 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
483 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#x" href="output/Ext.BoxComponent.html#x">BoxComponent</a></td>
\r
485 <tr class="config-row inherited expandable">
\r
486 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
495 <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
\r
497 <tr class="config-row inherited alt">
\r
498 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
504 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#y" href="output/Ext.BoxComponent.html#y">BoxComponent</a></td>
\r
507 <a id="Ext.form.Label-props"></a>
508 <h2>Public Properties</h2>
509 <table cellspacing="0" class="member-table">
511 <th class="sig-header" colspan="2">Property</th>
512 <th class="msource-header">Defined By</th>
514 <tr class="property-row inherited">
\r
515 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
521 <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
\r
523 <tr class="property-row inherited alt">
\r
524 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
526 <a id="Ext.form.Label-hidden"></a>
\r
527 <b>hidden</b> : Boolean <div class="mdesc">
\r
529 True if this component is hidden. Read-only. </div>
\r
531 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
\r
533 <tr class="property-row inherited">
\r
534 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
540 <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
\r
542 <tr class="property-row inherited alt expandable">
\r
543 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
554 <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
\r
556 <tr class="property-row inherited">
\r
557 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
563 <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
\r
566 <a id="Ext.form.Label-methods"></a>
567 <h2>Public Methods</h2>
568 <table cellspacing="0" class="member-table">
570 <th class="sig-header" colspan="2">Method</th>
571 <th class="msource-header">Defined By</th>
573 <tr class="method-row expandable">
\r
574 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
576 <a id="Ext.form.Label-Label"></a>
\r
577 <b>Label</b>( <code>Ext.Element/String/Object config</code> ) <div class="mdesc">
\r
578 <div class="short">Creates a new Label</div>
\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
587 <li><code></code></li>
\r
593 <td class="msource">Label</td>
\r
595 <tr class="method-row inherited alt expandable">
\r
596 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
598 <a id="Ext.form.Label-addClass"></a>
\r
599 <b>addClass</b>( <code>string cls</code> ) : void <div class="mdesc">
\r
600 <div class="short">Adds a CSS class to the component's underlying element.</div>
\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
607 <li><code>void</code></li>
\r
613 <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
\r
615 <tr class="method-row inherited expandable">
\r
616 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
618 <a id="Ext.form.Label-addEvents"></a>
\r
619 <b>addEvents</b>( <code>Object object</code> ) : void <div class="mdesc">
\r
620 <div class="short">Used to define events on this Observable</div>
\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
627 <li><code>void</code></li>
\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
635 <tr class="method-row inherited alt expandable">
\r
636 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
638 <a id="Ext.form.Label-addListener"></a>
\r
639 <b>addListener</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span> ) : void <div class="mdesc">
\r
640 <div class="short">Appends an event handler to this component</div>
\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>
655 <b>Combining Options</b><br>
656 Using the options argument, it is possible to combine different types of listeners:<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>, {
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.
671 fn: <b>this</b>.onClick,
675 <em>'mouseover'</em> : {
676 fn: <b>this</b>.onMouseOver,
679 <em>'mouseout'</em> : {
680 fn: <b>this</b>.onMouseOut,
685 Or a shorthand syntax:<br>
687 <em>'click'</em> : <b>this</b>.onClick,
688 <em>'mouseover'</em> : <b>this</b>.onMouseOver,
689 <em>'mouseout'</em> : <b>this</b>.onMouseOut,
691 });</code></pre></div></li> </ul>
\r
692 <strong>Returns:</strong>
\r
694 <li><code>void</code></li>
\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
702 <tr class="method-row inherited expandable">
\r
703 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
705 <a id="Ext.form.Label-applyToMarkup"></a>
\r
706 <b>applyToMarkup</b>( <code>String/HTMLElement el</code> ) : 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
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
714 <li><code>void</code></li>
\r
720 <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
\r
722 <tr class="method-row inherited alt expandable">
\r
723 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
725 <a id="Ext.form.Label-cloneConfig"></a>
\r
726 <b>cloneConfig</b>( <code>Object overrides</code> ) : 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
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
735 <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
\r
741 <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
\r
743 <tr class="method-row inherited expandable">
\r
744 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
759 <li><code>void</code></li>
\r
765 <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
\r
767 <tr class="method-row inherited alt expandable">
\r
768 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
779 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
785 <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
\r
787 <tr class="method-row inherited expandable">
\r
788 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
799 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
805 <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
\r
807 <tr class="method-row inherited alt expandable">
\r
808 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
810 <a id="Ext.form.Label-findParentBy"></a>
\r
811 <b>findParentBy</b>( <code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : 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
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
821 <li><code>Ext.Container</code><div class="sub-desc">The first Container for which the custom function returns true</div></li>
\r
827 <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>
\r
829 <tr class="method-row inherited expandable">
\r
830 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
832 <a id="Ext.form.Label-findParentByType"></a>
\r
833 <b>findParentByType</b>( <code>String/Class xtype</code> ) : 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
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
841 <li><code>Ext.Container</code><div class="sub-desc">The first Container which matches the given xtype or class</div></li>
\r
847 <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>
\r
849 <tr class="method-row inherited alt expandable">
\r
850 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
852 <a id="Ext.form.Label-fireEvent"></a>
\r
853 <b>fireEvent</b>( <code>String eventName</code>, <code>Object... args</code> ) : Boolean <div class="mdesc">
\r
854 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
\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
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
867 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
\r
869 <tr class="method-row inherited expandable">
\r
870 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
872 <a id="Ext.form.Label-focus"></a>
\r
873 <b>focus</b>( <span class="optional" title="Optional">[<code>Boolean selectText</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number delay</code>]</span> ) : Ext.Component <div class="mdesc">
\r
874 <div class="short">Try to focus this component.</div>
\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
881 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
887 <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
\r
889 <tr class="method-row inherited alt expandable">
\r
890 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
892 <a id="Ext.form.Label-getBox"></a>
\r
893 <b>getBox</b>( <span class="optional" title="Optional">[<code>Boolean local</code>]</span> ) : Object <div class="mdesc">
\r
894 <div class="short">Gets the current box measurements of the component's underlying element.</div>
\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
901 <li><code>Object</code><div class="sub-desc">box An object in the format {x, y, width, height}</div></li>
\r
907 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getBox" href="output/Ext.BoxComponent.html#getBox">BoxComponent</a></td>
\r
909 <tr class="method-row inherited expandable">
\r
910 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
921 <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
\r
927 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
\r
929 <tr class="method-row inherited alt expandable">
\r
930 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
941 <li><code>String</code></li>
\r
947 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
\r
949 <tr class="method-row inherited expandable">
\r
950 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
961 <li><code>String</code></li>
\r
967 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
\r
969 <tr class="method-row inherited alt expandable">
\r
970 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
972 <a id="Ext.form.Label-getPosition"></a>
\r
973 <b>getPosition</b>( <span class="optional" title="Optional">[<code>Boolean local</code>]</span> ) : Array <div class="mdesc">
\r
974 <div class="short">Gets the current XY position of the component's underlying element.</div>
\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
981 <li><code>Array</code><div class="sub-desc">The XY position of the element (e.g., [100, 200])</div></li>
\r
987 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getPosition" href="output/Ext.BoxComponent.html#getPosition">BoxComponent</a></td>
\r
989 <tr class="method-row inherited expandable">
\r
990 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
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
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
1007 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getSize" href="output/Ext.BoxComponent.html#getSize">BoxComponent</a></td>
\r
1009 <tr class="method-row inherited alt expandable">
\r
1010 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1025 <li><code>String</code><div class="sub-desc">The xtype</div></li>
\r
1031 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
\r
1033 <tr class="method-row inherited expandable">
\r
1034 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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>
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
1053 <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
\r
1059 <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
\r
1061 <tr class="method-row inherited alt expandable">
\r
1062 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1064 <a id="Ext.form.Label-hasListener"></a>
\r
1065 <b>hasListener</b>( <code>String eventName</code> ) : 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
1073 <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
\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
1081 <tr class="method-row inherited expandable">
\r
1082 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1093 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
1099 <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
\r
1101 <tr class="method-row inherited alt expandable">
\r
1102 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1113 <li><code>void</code></li>
\r
1119 <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
\r
1121 <tr class="method-row inherited expandable">
\r
1122 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1124 <a id="Ext.form.Label-isXType"></a>
\r
1125 <b>isXType</b>( <code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span> ) : 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
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
1144 <li><code>void</code></li>
\r
1150 <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
\r
1152 <tr class="method-row inherited alt expandable">
\r
1153 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1155 <a id="Ext.form.Label-on"></a>
\r
1156 <b>on</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span> ) : void <div class="mdesc">
\r
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
1165 <li><code>void</code></li>
\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
1173 <tr class="method-row inherited expandable">
\r
1174 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1185 <li><code>void</code></li>
\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
1193 <tr class="method-row inherited alt expandable">
\r
1194 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1196 <a id="Ext.form.Label-relayEvents"></a>
\r
1197 <b>relayEvents</b>( <code>Object o</code>, <code>Array events</code> ) : 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
1205 <li><code>void</code></li>
\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
1213 <tr class="method-row inherited expandable">
\r
1214 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1216 <a id="Ext.form.Label-removeClass"></a>
\r
1217 <b>removeClass</b>( <code>string cls</code> ) : 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
1225 <li><code>void</code></li>
\r
1231 <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
\r
1233 <tr class="method-row inherited alt expandable">
\r
1234 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1236 <a id="Ext.form.Label-removeListener"></a>
\r
1237 <b>removeListener</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
\r
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
1245 <li><code>void</code></li>
\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
1253 <tr class="method-row inherited expandable">
\r
1254 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1256 <a id="Ext.form.Label-render"></a>
\r
1257 <b>render</b>( <span class="optional" title="Optional">[<code>Element/HTMLElement/String container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span> ) : void <div class="mdesc">
\r
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
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
1287 <li><code>void</code></li>
\r
1293 <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
\r
1295 <tr class="method-row inherited alt expandable">
\r
1296 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1307 <li><code>void</code></li>
\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
1315 <tr class="method-row inherited expandable">
\r
1316 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1318 <a id="Ext.form.Label-setDisabled"></a>
\r
1319 <b>setDisabled</b>( <code>Boolean disabled</code> ) : 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
1327 <li><code>void</code></li>
\r
1333 <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
\r
1335 <tr class="method-row inherited alt expandable">
\r
1336 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1338 <a id="Ext.form.Label-setHeight"></a>
\r
1339 <b>setHeight</b>( <code>Number height</code> ) : 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
1347 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
1353 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setHeight" href="output/Ext.BoxComponent.html#setHeight">BoxComponent</a></td>
\r
1355 <tr class="method-row inherited expandable">
\r
1356 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1358 <a id="Ext.form.Label-setPagePosition"></a>
\r
1359 <b>setPagePosition</b>( <code>Number x</code>, <code>Number y</code> ) : 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
1369 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
1375 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPagePosition" href="output/Ext.BoxComponent.html#setPagePosition">BoxComponent</a></td>
\r
1377 <tr class="method-row inherited alt expandable">
\r
1378 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1380 <a id="Ext.form.Label-setPosition"></a>
\r
1381 <b>setPosition</b>( <code>Number left</code>, <code>Number top</code> ) : 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
1391 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
1397 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPosition" href="output/Ext.BoxComponent.html#setPosition">BoxComponent</a></td>
\r
1399 <tr class="method-row inherited expandable">
\r
1400 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1402 <a id="Ext.form.Label-setSize"></a>
\r
1403 <b>setSize</b>( <code>Number/Object width</code>, <code>Number height</code> ) : 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
1413 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
1419 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setSize" href="output/Ext.BoxComponent.html#setSize">BoxComponent</a></td>
\r
1421 <tr class="method-row alt expandable">
\r
1422 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1424 <a id="Ext.form.Label-setText"></a>
\r
1425 <b>setText</b>( <code>String text</code>, <span class="optional" title="Optional">[<code>Boolean encode</code>]</span> ) : 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
1435 <li><code>Label</code><div class="sub-desc">this</div></li>
\r
1441 <td class="msource">Label</td>
\r
1443 <tr class="method-row inherited expandable">
\r
1444 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1446 <a id="Ext.form.Label-setVisible"></a>
\r
1447 <b>setVisible</b>( <code>Boolean visible</code> ) : 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
1455 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
1461 <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
\r
1463 <tr class="method-row inherited alt expandable">
\r
1464 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1466 <a id="Ext.form.Label-setWidth"></a>
\r
1467 <b>setWidth</b>( <code>Number width</code> ) : 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
1475 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
1481 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setWidth" href="output/Ext.BoxComponent.html#setWidth">BoxComponent</a></td>
\r
1483 <tr class="method-row inherited expandable">
\r
1484 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1495 <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
\r
1501 <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
\r
1503 <tr class="method-row inherited alt expandable">
\r
1504 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1515 <li><code>void</code></li>
\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
1523 <tr class="method-row inherited expandable">
\r
1524 <td class="micon"><a class="exi" href="#expand"> </a></td>
\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
1535 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
1541 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#syncSize" href="output/Ext.BoxComponent.html#syncSize">BoxComponent</a></td>
\r
1543 <tr class="method-row inherited alt expandable">
\r
1544 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1546 <a id="Ext.form.Label-un"></a>
\r
1547 <b>un</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
\r
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
1555 <li><code>void</code></li>
\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
1563 <tr class="method-row inherited expandable">
\r
1564 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1566 <a id="Ext.form.Label-updateBox"></a>
\r
1567 <b>updateBox</b>( <code>Object box</code> ) : 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
1575 <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
\r
1581 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#updateBox" href="output/Ext.BoxComponent.html#updateBox">BoxComponent</a></td>
\r
1584 <a id="Ext.form.Label-events"></a>
1585 <h2>Public Events</h2>
1586 <table cellspacing="0" class="member-table">
1588 <th class="sig-header" colspan="2">Event</th>
1589 <th class="msource-header">Defined By</th>
1591 <tr class="event-row inherited expandable">
\r
1592 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1594 <a id="Ext.form.Label-beforedestroy"></a>
\r
1595 <b>beforedestroy</b> : ( <code>Ext.Component this</code> ) <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
1605 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
\r
1607 <tr class="event-row inherited alt expandable">
\r
1608 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1610 <a id="Ext.form.Label-beforehide"></a>
\r
1611 <b>beforehide</b> : ( <code>Ext.Component this</code> ) <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
1621 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
\r
1623 <tr class="event-row inherited expandable">
\r
1624 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1626 <a id="Ext.form.Label-beforerender"></a>
\r
1627 <b>beforerender</b> : ( <code>Ext.Component this</code> ) <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
1637 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
\r
1639 <tr class="event-row inherited alt expandable">
\r
1640 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1642 <a id="Ext.form.Label-beforeshow"></a>
\r
1643 <b>beforeshow</b> : ( <code>Ext.Component this</code> ) <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
1653 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
\r
1655 <tr class="event-row inherited expandable">
\r
1656 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1658 <a id="Ext.form.Label-beforestaterestore"></a>
\r
1659 <b>beforestaterestore</b> : ( <code>Ext.Component this</code>, <code>Object state</code> ) <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
1669 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
\r
1671 <tr class="event-row inherited alt expandable">
\r
1672 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1674 <a id="Ext.form.Label-beforestatesave"></a>
\r
1675 <b>beforestatesave</b> : ( <code>Ext.Component this</code>, <code>Object state</code> ) <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
1685 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
\r
1687 <tr class="event-row inherited expandable">
\r
1688 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1690 <a id="Ext.form.Label-destroy"></a>
\r
1691 <b>destroy</b> : ( <code>Ext.Component this</code> ) <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
1701 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
\r
1703 <tr class="event-row inherited alt expandable">
\r
1704 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1706 <a id="Ext.form.Label-disable"></a>
\r
1707 <b>disable</b> : ( <code>Ext.Component this</code> ) <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
1717 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
\r
1719 <tr class="event-row inherited expandable">
\r
1720 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1722 <a id="Ext.form.Label-enable"></a>
\r
1723 <b>enable</b> : ( <code>Ext.Component this</code> ) <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
1733 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
\r
1735 <tr class="event-row inherited alt expandable">
\r
1736 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1738 <a id="Ext.form.Label-hide"></a>
\r
1739 <b>hide</b> : ( <code>Ext.Component this</code> ) <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
1749 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
\r
1751 <tr class="event-row inherited expandable">
\r
1752 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1754 <a id="Ext.form.Label-move"></a>
\r
1755 <b>move</b> : ( <code>Ext.Component this</code>, <code>Number x</code>, <code>Number y</code> ) <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
1765 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-move" href="output/Ext.BoxComponent.html#event-move">BoxComponent</a></td>
\r
1767 <tr class="event-row inherited alt expandable">
\r
1768 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1770 <a id="Ext.form.Label-render"></a>
\r
1771 <b>render</b> : ( <code>Ext.Component this</code> ) <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
1781 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
\r
1783 <tr class="event-row inherited expandable">
\r
1784 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1786 <a id="Ext.form.Label-resize"></a>
\r
1787 <b>resize</b> : ( <code>Ext.Component this</code>, <code>Number adjWidth</code>, <code>Number adjHeight</code>, <code>Number rawWidth</code>, <code>Number rawHeight</code> ) <div class="mdesc">
\r
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
1797 <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-resize" href="output/Ext.BoxComponent.html#event-resize">BoxComponent</a></td>
\r
1799 <tr class="event-row inherited alt expandable">
\r
1800 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1802 <a id="Ext.form.Label-show"></a>
\r
1803 <b>show</b> : ( <code>Ext.Component this</code> ) <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
1813 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
\r
1815 <tr class="event-row inherited expandable">
\r
1816 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1818 <a id="Ext.form.Label-staterestore"></a>
\r
1819 <b>staterestore</b> : ( <code>Ext.Component this</code>, <code>Object state</code> ) <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
1829 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
\r
1831 <tr class="event-row inherited alt expandable">
\r
1832 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
1834 <a id="Ext.form.Label-statesave"></a>
\r
1835 <b>statesave</b> : ( <code>Ext.Component this</code>, <code>Object state</code> ) <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
1845 <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
\r