Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.form.FieldContainer.html
1 <!DOCTYPE html><html><head><title>Ext.form.FieldContainer | Ext JS 4.0 Documentation</title><script type="text/javascript" src="../ext-all.js"></script><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../scrollbars.css" type="text/css"><link rel="stylesheet" href="../docs.css" type="text/css"><link id="styleCss" rel="stylesheet" href="../style.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script><link rel="stylesheet" href="../prettify.css" type="text/css"><!-- link(rel: 'stylesheet', href: req.baseURL + '/css/ext4.css', type: 'text/css')--><link rel="shortcut icon" type="image/ico" href="../favicon.ico"><!--[if IE]>
2 <style type="text/css">.head-band { display: none; }
3 .header { border: 0; top: 0; left: 0px; background: url(../header.gif) repeat-x; }
4 .doc-tab .members .member a.more { background-color: #efefef; }
5 </style><link rel="stylesheet" href="/new/css/ie.css" type="text/css"><![endif]-->
6 </head><body id="ext-body" class="iScroll"><div id="notice" class="notice">For up to date documentation and features, visit 
7 <a href="http://docs.sencha.com/ext-js/4-0">http://docs.sencha.com/ext-js/4-0</a></div><div class="wrapper"><div class="head-band"></div><div class="header"><h2><a href="../index.html">Sencha Documentation</a></h2></div><div id="search"><form><input type="text" placeholder="Search" id="search-field" autocomplete="off" name="q"></form><div id="search-box"></div></div><div id="treePanel"></div><div id="container"><script type="text/javascript">
8
9     req = {
10         liveURL: '.',
11         standAloneMode: true,
12         origDocClass: 'Ext.form.FieldContainer',
13         docClass: 'Ext.form.FieldContainer',
14         docReq: 'Ext.form.FieldContainer',
15         version: '4.0',
16         baseURL: '.',
17         baseDocURL: '.',
18         baseProdURL: '.'
19     };
20
21     clsInfo = {};
22
23
24
25 </script>
26
27 <script type="text/javascript" src="../search.js"></script>
28 <!--script type="text/javascript" src="/new/javascripts/app/examples.js"></script-->
29 <script type="text/javascript" src="../class_tree.js"></script>
30 <script type="text/javascript" src="../class_doc.js"></script>
31 <script type="text/javascript">
32     req.source = 'FieldContainer.html#Ext-form.FieldContainer';
33     clsInfo = {"methods":["FieldContainer","add","addClass","addCls","addClsWithUI","addEvents","addListener","addManagedListener","addStateEvents","afterComponentLayout","alignTo","animate","applyState","beforeComponentLayout","beforeLayout","bubble","capture","cascade","center","child","clearListeners","clearManagedListeners","cloneConfig","destroy","disable","doAutoRender","doComponentLayout","doConstrain","doLayout","down","enable","enableBubble","findLayoutController","findParentBy","findParentByType","fireEvent","focus","getActiveAnimation","getActiveError","getActiveErrors","getBox","getBubbleTarget","getChildByElement","getCombinedErrors","getComponent","getEl","getFieldLabel","getHeight","getId","getInputId","getInsertPosition","getLayout","getLoader","getPlugin","getPosition","getSize","getState","getStateId","getWidth","getXType","getXTypes","hasActiveError","hasListener","hasUICls","hide","initLabelable","insert","is","isDescendantOf","isDisabled","isDraggable","isDroppable","isFloating","isHidden","isVisible","isXType","move","nextNode","nextSibling","observe","on","previousNode","previousSibling","query","relayEvents","releaseCapture","remove","removeAll","removeCls","removeClsWithUI","removeListener","removeManagedListener","resumeEvents","sequenceFx","setActive","setActiveError","setActiveErrors","setAutoScroll","setDisabled","setDocked","setFieldDefaults","setHeight","setLoading","setPagePosition","setPosition","setSize","setUI","setVisible","setWidth","show","stopAnimation","suspendEvents","syncFx","toBack","toFront","un","unsetActiveError","up","update","updateBox"],"cfgs":["activeError","activeErrorsTpl","activeItem","autoDestroy","autoEl","autoFitErrors","autoRender","autoScroll","autoShow","baseBodyCls","baseCls","border","bubbleEvents","clearCls","cls","combineErrors","combineLabels","componentCls","componentLayout","contentEl","data","defaultType","defaults","disabled","disabledCls","draggable","errorMsgCls","fieldBodyCls","fieldDefaults","fieldLabel","floating","focusOnToFront","formItemCls","frame","height","hidden","hideEmptyLabel","hideLabel","hideMode","html","id","invalidCls","itemId","items","labelAlign","labelCls","labelConnector","labelPad","labelSeparator","labelStyle","labelWidth","labelableRenderTpl","layout","listeners","loader","maintainFlex","margin","maxHeight","maxWidth","minHeight","minWidth","msgTarget","overCls","padding","plugins","preventMark","renderSelectors","renderTo","renderTpl","resizable","resizeHandles","saveBuffer","shadow","stateEvents","stateId","stateful","style","styleHtmlCls","styleHtmlContent","suspendLayout","toFrontOnShow","tpl","tplWriteMode","ui","width"],"properties":["bodyEl","draggable","errorEl","floatParent","frameSize","hasActiveFx","isFieldLabelable","items","labelEl","maskOnDisable","ownerCt","rendered","stopFx","zIndexManager"],"events":["activate","add","added","afterlayout","afterrender","beforeactivate","beforeadd","beforecardswitch","beforedeactivate","beforedestroy","beforehide","beforeremove","beforerender","beforeshow","beforestaterestore","beforestatesave","cardswitch","deactivate","destroy","disable","enable","errorchange","fielderrorchange","hide","move","remove","removed","render","resize","show","staterestore","statesave"],"subclasses":["Ext.form.CheckboxGroup"]};
34     Ext.onReady(function() {
35         Ext.create('Docs.classPanel');
36     });
37 </script><div id="top-block" class="top-block"><h1 id="clsTitle" class="comp"><a href="../source/FieldContainer.html#Ext-form.FieldContainer" target="_blank">Ext.form.FieldContainer</a><span>xtype: fieldcontainer</span></h1></div><div id="docContent"><div id="doc-overview-content"><div class="lft"><pre class="subclasses"><h4>Hierarchy</h4><div class="subclass f"><a href="Ext.AbstractComponent.html" rel="Ext.AbstractComponent" class="cls docClass">Ext.AbstractComponent</a><div class="subclass"><a href="Ext.Component.html" rel="Ext.Component" class="cls docClass">Ext.Component</a><div class="subclass"><a href="Ext.container.AbstractContainer.html" rel="Ext.container.AbstractContainer" class="cls docClass">Ext.container.AbstractContainer</a><div class="subclass"><a href="Ext.container.Container.html" rel="Ext.container.Container" class="cls docClass">Ext.container.Container</a><div class="subclass"><strong>Ext.form.FieldContainer</strong></div></div></div></div></div><h4>Mixins</h4><div class="mixin"><a href="Ext.util.Observable.html" rel="Ext.util.Observable" class="cls docClass">Ext.util.Observable</a></div><div class="mixin"><a href="Ext.util.Animate.html" rel="Ext.util.Animate" class="cls docClass">Ext.util.Animate</a></div><div class="mixin"><a href="Ext.state.Stateful.html" rel="Ext.state.Stateful" class="cls docClass">Ext.state.Stateful</a></div><div class="mixin"><a href="Ext.util.Floating.html" rel="Ext.util.Floating" class="cls docClass">Ext.util.Floating</a></div><div class="mixin"><a href="Ext.form.Labelable.html" rel="Ext.form.Labelable" class="cls docClass">Ext.form.Labelable</a></div><div class="mixin"><a href="Ext.form.FieldAncestor.html" rel="Ext.form.FieldAncestor" class="cls docClass">Ext.form.FieldAncestor</a></div></pre><p>FieldContainer is a derivation of <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a> that implements the
38 <a href="Ext.form.Labelable.html" rel="Ext.form.Labelable" class="docClass">Labelable</a> mixin. This allows it to be configured so that it is rendered with
39 a <a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">field label</a> and optional <a href="Ext.form.FieldContainer.html#msgTarget" rel="Ext.form.FieldContainer#msgTarget" class="docClass">error message</a> around its sub-items.
40 This is useful for arranging a group of fields or other components within a single item in a form, so
41 that it lines up nicely with other fields. A common use is for grouping a set of related fields under
42 a single label in a form.</p>
43
44 <p>The container's configured <a href="Ext.form.FieldContainer.html#items" rel="Ext.form.FieldContainer#items" class="docClass">items</a> will be layed out within the field body area according to the
45 configured <a href="Ext.form.FieldContainer.html#layout" rel="Ext.form.FieldContainer#layout" class="docClass">layout</a> type. The default layout is <code>'autocontainer'</code>.</p>
46
47 <p>Like regular fields, FieldContainer can inherit its decoration configuration from the
48 <a href="Ext.form.Panel.html#fieldDefaults" rel="Ext.form.Panel#fieldDefaults" class="docClass">fieldDefaults</a> of an enclosing FormPanel. In addition,
49 FieldContainer itself can pass <a href="Ext.form.FieldContainer.html#fieldDefaults" rel="Ext.form.FieldContainer#fieldDefaults" class="docClass">fieldDefaults</a> to any <a href="Ext.form.Labelable.html" rel="Ext.form.Labelable" class="docClass">fields</a>
50 it may itself contain.</p>
51
52 <p>If you are grouping a set of <a href="Ext.form.field.Checkbox.html" rel="Ext.form.field.Checkbox" class="docClass">Checkbox</a> or <a href="Ext.form.field.Radio.html" rel="Ext.form.field.Radio" class="docClass">Radio</a>
53 fields in a single labeled container, consider using a <a href="Ext.form.CheckboxGroup.html" rel="Ext.form.CheckboxGroup" class="docClass">Ext.form.CheckboxGroup</a>
54 or <a href="Ext.form.RadioGroup.html" rel="Ext.form.RadioGroup" class="docClass">Ext.form.RadioGroup</a> instead as they are specialized for handling those types.
55 <img class="screenshot" src="../Ext.form.FieldContainer1.png" alt="Ext.form.FieldContainer component" />
56 <strong>Example usage:</strong></p>
57
58 <pre class="prettyprint"><code>Ext.create('Ext.form.Panel', {
59     title: 'FieldContainer Example',
60     width: 550,
61     bodyPadding: 10,
62
63     items: [{
64         xtype: 'fieldcontainer',
65         fieldLabel: 'Last Three Jobs',
66         labelWidth: 100,
67
68         // The body area will contain three text fields, arranged
69         // horizontally, separated by draggable splitters.
70         layout: 'hbox',
71         items: [{
72             xtype: 'textfield',
73             flex: 1
74         }, {
75             xtype: 'splitter'
76         }, {
77             xtype: 'textfield',
78             flex: 1
79         }, {
80             xtype: 'splitter'
81         }, {
82             xtype: 'textfield',
83             flex: 1
84         }]
85     }],
86     renderTo: Ext.getBody()
87 });
88 </code></pre>
89
90 <p><strong>Usage of <a href="Ext.form.FieldContainer.html#fieldDefaults" rel="Ext.form.FieldContainer#fieldDefaults" class="docClass">fieldDefaults</a>:</strong>
91 <img class="screenshot" src="../Ext.form.FieldContainer2.png" alt="Ext.form.FieldContainer component" /></p>
92
93 <pre class="prettyprint"><code>Ext.create('Ext.form.Panel', {
94     title: 'FieldContainer Example',
95     width: 350,
96     bodyPadding: 10,
97
98     items: [{
99         xtype: 'fieldcontainer',
100         fieldLabel: 'Your Name',
101         labelWidth: 75,
102         defaultType: 'textfield',
103
104         // Arrange fields vertically, stretched to full width
105         layout: 'anchor',
106         defaults: {
107             layout: '100%'
108         },
109
110         // These config values will be applied to both sub-fields, except
111         // for Last Name which will use its own msgTarget.
112         fieldDefaults: {
113             msgTarget: 'under',
114             labelAlign: 'top'
115         },
116
117         items: [{
118             fieldLabel: 'First Name',
119             name: 'firstName'
120         }, {
121             fieldLabel: 'Last Name',
122             name: 'lastName',
123             msgTarget: 'under'
124         }]
125     }],
126     renderTo: Ext.getBody()
127 });
128 </code></pre>
129 <div class="members"><div class="m-cfgs"><div class="definedBy">Defined By</div><a name="configs"></a><h3 class="cfg p">Config Options</h3><h4 class="cfgGroup">CSS Class configs</h4><div id="config-baseBodyCls" class="member f inherited"><a href="Ext.form.FieldContainer.html#config-baseBodyCls" rel="config-baseBodyCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-baseBodyCls" class="viewSource">view source</a></div><a name="baseBodyCls"></a><a name="config-baseBodyCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-baseBodyCls" class="cls expand">baseBodyCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'.</p>
130 </div><div class="long"><p>The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'.</p>
131 </div></div></div><div id="config-baseCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-baseCls" rel="config-baseCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-baseCls" class="cls expand">baseCls</a><span> : String</span></div><div class="description"><div class="short">The base CSS class to apply to this components's element. This will also be prepended to
132 elements within this compone...</div><div class="long"><p>The base CSS class to apply to this components's element. This will also be prepended to
133 elements within this component like Panel's body will get a class x-panel-body. This means
134 that if you create a subclass of Panel, and you want it to get all the Panels styling for the
135 element and the body, you leave the baseCls x-panel and use componentCls to add specific styling for this
136 component.</p>
137 </div></div></div><div id="config-clearCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-clearCls" rel="config-clearCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-clearCls" class="viewSource">view source</a></div><a name="clearCls"></a><a name="config-clearCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-clearCls" class="cls expand">clearCls</a><span> : String</span></div><div class="description"><div class="short">The CSS class to be applied to the special clearing div rendered directly after the field
138 contents wrapper to provide...</div><div class="long"><p>The CSS class to be applied to the special clearing div rendered directly after the field
139 contents wrapper to provide field clearing (defaults to <tt>'x-clear'</tt>).</p>
140 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-cls" rel="config-cls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-cls" class="viewSource">view source</a></div><a name="cls"></a><a name="config-cls"></a><a href="Ext.form.FieldContainer.html#" rel="config-cls" class="cls expand">cls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
141 useful for ...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
142 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
143 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-componentCls" rel="config-componentCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-componentCls" class="viewSource">view source</a></div><a name="componentCls"></a><a name="config-componentCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-componentCls" class="cls expand">componentCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS Class to be added to a components root level element to give distinction to it
144 via styling.</p>
145 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
146 via styling.</p>
147 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-disabledCls" rel="config-disabledCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-disabledCls" class="viewSource">view source</a></div><a name="disabledCls"></a><a name="config-disabledCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-disabledCls" class="cls expand">disabledCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
148 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
149 </div></div></div><div id="config-errorMsgCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-errorMsgCls" rel="config-errorMsgCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-errorMsgCls" class="viewSource">view source</a></div><a name="errorMsgCls"></a><a name="config-errorMsgCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-errorMsgCls" class="cls expand">errorMsgCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'.</p>
150 </div><div class="long"><p>The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'.</p>
151 </div></div></div><div id="config-fieldBodyCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-fieldBodyCls" rel="config-fieldBodyCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-fieldBodyCls" class="viewSource">view source</a></div><a name="fieldBodyCls"></a><a name="config-fieldBodyCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-fieldBodyCls" class="cls expand">fieldBodyCls</a><span> : String</span></div><div class="description"><div class="short"><p>An extra CSS class to be applied to the body content element in addition to <a href="Ext.form.FieldContainer.html#fieldBodyCls" rel="Ext.form.FieldContainer#fieldBodyCls" class="docClass">fieldBodyCls</a>.
152 Defaults to empty.</p>
153 </div><div class="long"><p>An extra CSS class to be applied to the body content element in addition to <a href="Ext.form.FieldContainer.html#fieldBodyCls" rel="Ext.form.FieldContainer#fieldBodyCls" class="docClass">fieldBodyCls</a>.
154 Defaults to empty.</p>
155 </div></div></div><div id="config-formItemCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-formItemCls" rel="config-formItemCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-formItemCls" class="viewSource">view source</a></div><a name="formItemCls"></a><a name="config-formItemCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-formItemCls" class="cls expand">formItemCls</a><span> : String</span></div><div class="description"><div class="short">A CSS class to be applied to the outermost element to denote that it is participating in the form
156 field layout. Defau...</div><div class="long"><p>A CSS class to be applied to the outermost element to denote that it is participating in the form
157 field layout. Defaults to 'x-form-item'.</p>
158 </div></div></div><div id="config-invalidCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-invalidCls" rel="config-invalidCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-invalidCls" class="viewSource">view source</a></div><a name="invalidCls"></a><a name="config-invalidCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-invalidCls" class="cls expand">invalidCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to use when marking the component invalid (defaults to 'x-form-invalid')</p>
159 </div><div class="long"><p>The CSS class to use when marking the component invalid (defaults to 'x-form-invalid')</p>
160 </div></div></div><div id="config-labelCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-labelCls" rel="config-labelCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelCls" class="viewSource">view source</a></div><a name="labelCls"></a><a name="config-labelCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-labelCls" class="cls expand">labelCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to the label element. Defaults to 'x-form-item-label'.</p>
161 </div><div class="long"><p>The CSS class to be applied to the label element. Defaults to 'x-form-item-label'.</p>
162 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-overCls" rel="config-overCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-overCls" class="viewSource">view source</a></div><a name="overCls"></a><a name="config-overCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-overCls" class="cls expand">overCls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves
163 over the Element, and...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element when the mouse moves
164 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
165 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
166 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-styleHtmlCls" rel="config-styleHtmlCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlCls" class="viewSource">view source</a></div><a name="styleHtmlCls"></a><a name="config-styleHtmlCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-styleHtmlCls" class="cls expand">styleHtmlCls</a><span> : String</span></div><div class="description"><div class="short"><p>The class that is added to the content target when you set styleHtmlContent to true.
167 Defaults to 'x-html'</p>
168 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
169 Defaults to 'x-html'</p>
170 </div></div></div><h4 class="cfgGroup">Other Configs</h4><div id="config-activeError" class="member f inherited"><a href="Ext.form.FieldContainer.html#config-activeError" rel="config-activeError" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-activeError" class="viewSource">view source</a></div><a name="activeError"></a><a name="config-activeError"></a><a href="Ext.form.FieldContainer.html#" rel="config-activeError" class="cls expand">activeError</a><span> : String</span></div><div class="description"><div class="short">If specified, then the component will be displayed with this value as its active error when
171 first rendered. Defaults ...</div><div class="long"><p>If specified, then the component will be displayed with this value as its active error when
172 first rendered. Defaults to undefined. Use <a href="Ext.form.FieldContainer.html#setActiveError" rel="Ext.form.FieldContainer#setActiveError" class="docClass">setActiveError</a> or <a href="Ext.form.FieldContainer.html#unsetActiveError" rel="Ext.form.FieldContainer#unsetActiveError" class="docClass">unsetActiveError</a> to
173 change it after component creation.</p>
174 </div></div></div><div id="config-activeErrorsTpl" class="member inherited"><a href="Ext.form.FieldContainer.html#config-activeErrorsTpl" rel="config-activeErrorsTpl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-activeErrorsTpl" class="viewSource">view source</a></div><a name="activeErrorsTpl"></a><a name="config-activeErrorsTpl"></a><a href="Ext.form.FieldContainer.html#" rel="config-activeErrorsTpl" class="cls expand">activeErrorsTpl</a><span> : Ext.XTemplate</span></div><div class="description"><div class="short">The template used to format the Array of error messages passed to setActiveErrors
175 into a single HTML string. By defau...</div><div class="long"><p>The template used to format the Array of error messages passed to <a href="Ext.form.FieldContainer.html#setActiveErrors" rel="Ext.form.FieldContainer#setActiveErrors" class="docClass">setActiveErrors</a>
176 into a single HTML string. By default this renders each message as an item in an unordered list.</p>
177 </div></div></div><div id="config-activeItem" class="member inherited"><a href="Ext.form.FieldContainer.html#config-activeItem" rel="config-activeItem" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-activeItem" class="viewSource">view source</a></div><a name="activeItem"></a><a name="config-activeItem"></a><a href="Ext.form.FieldContainer.html#" rel="config-activeItem" class="cls expand">activeItem</a><span> : String/Number</span></div><div class="description"><div class="short">A string component id or the numeric index of the component that should be initially activated within the
178 container's...</div><div class="long"><p>A string component id or the numeric index of the component that should be initially activated within the
179 container's layout on render.  For example, activeItem: 'item-1' or activeItem: 0 (index 0 = the first
180 item in the container's collection).  activeItem only applies to layout styles that can display
181 items one at a time (like <a href="Ext.layout.container.Card.html" rel="Ext.layout.container.Card" class="docClass">Ext.layout.container.Card</a> and <a href="Ext.layout.container.Fit.html" rel="Ext.layout.container.Fit" class="docClass">Ext.layout.container.Fit</a>).</p>
182 </div></div></div><div id="config-autoDestroy" class="member inherited"><a href="Ext.form.FieldContainer.html#config-autoDestroy" rel="config-autoDestroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-autoDestroy" class="viewSource">view source</a></div><a name="autoDestroy"></a><a name="config-autoDestroy"></a><a href="Ext.form.FieldContainer.html#" rel="config-autoDestroy" class="cls expand">autoDestroy</a><span> : Boolean</span></div><div class="description"><div class="short">If true the container will automatically destroy any contained component that is removed from it, else
183 destruction mu...</div><div class="long"><p>If true the container will automatically destroy any contained component that is removed from it, else
184 destruction must be handled manually.
185 Defaults to true.</p>
186 </div></div></div><div id="config-autoEl" class="member inherited"><a href="Ext.form.FieldContainer.html#config-autoEl" rel="config-autoEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-autoEl" class="viewSource">view source</a></div><a name="autoEl"></a><a name="config-autoEl"></a><a href="Ext.form.FieldContainer.html#" rel="config-autoEl" class="cls expand">autoEl</a><span> : Mixed</span></div><div class="description"><div class="short">A tag name or DomHelper spec used to create the Element which will
187 encapsulate this Component.
188
189
190 You do not normally ...</div><div class="long"><p>A tag name or <a href="Ext.core.DomHelper.html" rel="Ext.core.DomHelper" class="docClass">DomHelper</a> spec used to create the <a href="Ext.form.FieldContainer.html#getEl" rel="Ext.form.FieldContainer#getEl" class="docClass">Element</a> which will
191 encapsulate this Component.</p>
192
193
194 <p>You do not normally need to specify this. For the base classes <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> and <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Ext.container.Container</a>,
195 this defaults to <b><tt>'div'</tt></b>. The more complex Sencha classes use a more complex
196 DOM structure specified by their own <a href="Ext.form.FieldContainer.html#renderTpl" rel="Ext.form.FieldContainer#renderTpl" class="docClass">renderTpl</a>s.</p>
197
198
199 <p>This is intended to allow the developer to create application-specific utility Components encapsulated by
200 different DOM elements. Example usage:</p>
201
202
203 <pre><code>{
204     xtype: 'component',
205     autoEl: {
206         tag: 'img',
207         src: 'http://www.example.com/example.jpg'
208     }
209 }, {
210     xtype: 'component',
211     autoEl: {
212         tag: 'blockquote',
213         html: 'autoEl is cool!'
214     }
215 }, {
216     xtype: 'container',
217     autoEl: 'ul',
218     cls: 'ux-unordered-list',
219     items: {
220         xtype: 'component',
221         autoEl: 'li',
222         html: 'First list item'
223     }
224 }
225 </code></pre>
226
227 </div></div></div><div id="config-autoFitErrors" class="member inherited"><a href="Ext.form.FieldContainer.html#config-autoFitErrors" rel="config-autoFitErrors" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-autoFitErrors" class="viewSource">view source</a></div><a name="autoFitErrors"></a><a name="config-autoFitErrors"></a><a href="Ext.form.FieldContainer.html#" rel="config-autoFitErrors" class="cls expand">autoFitErrors</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Whether to adjust the component's body area to make room for 'side' or 'under'
228 <a href="Ext.form.FieldContainer.html#msgTarget" rel="Ext.form.FieldContainer#msgTarget" class="docClass">error messages</a>. Defaults to <tt>true</tt>.</p>
229 </div><div class="long"><p>Whether to adjust the component's body area to make room for 'side' or 'under'
230 <a href="Ext.form.FieldContainer.html#msgTarget" rel="Ext.form.FieldContainer#msgTarget" class="docClass">error messages</a>. Defaults to <tt>true</tt>.</p>
231 </div></div></div><div id="config-autoRender" class="member inherited"><a href="Ext.form.FieldContainer.html#config-autoRender" rel="config-autoRender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-autoRender" class="viewSource">view source</a></div><a name="autoRender"></a><a name="config-autoRender"></a><a href="Ext.form.FieldContainer.html#" rel="config-autoRender" class="cls expand">autoRender</a><span> : Mixed</span></div><div class="description"><div class="short">This config is intended mainly for floating Components which may or may not be shown. Instead
232 of using renderTo in th...</div><div class="long"><p>This config is intended mainly for <a href="Ext.form.FieldContainer.html#floating" rel="Ext.form.FieldContainer#floating" class="docClass">floating</a> Components which may or may not be shown. Instead
233 of using <a href="Ext.form.FieldContainer.html#renderTo" rel="Ext.form.FieldContainer#renderTo" class="docClass">renderTo</a> in the configuration, and rendering upon construction, this allows a Component
234 to render itself upon first <i><a href="Ext.form.FieldContainer.html#show" rel="Ext.form.FieldContainer#show" class="docClass">show</a></i>.</p>
235
236
237 <p>Specify as <code>true</code> to have this Component render to the document body upon first show.</p>
238
239
240 <p>Specify as an element, or the ID of an element to have this Component render to a specific element upon first show.</p>
241
242
243 <p><b>This defaults to <code>true</code> for the <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a> class.</b></p>
244
245 </div></div></div><div id="config-autoScroll" class="member inherited"><a href="Ext.form.FieldContainer.html#config-autoScroll" rel="config-autoScroll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-autoScroll" class="viewSource">view source</a></div><a name="autoScroll"></a><a name="config-autoScroll"></a><a href="Ext.form.FieldContainer.html#" rel="config-autoScroll" class="cls expand">autoScroll</a><span> : Boolean</span></div><div class="description"><div class="short">true to use overflow:'auto' on the components layout element and show scroll bars automatically when
246 necessary, false...</div><div class="long"><p><code>true</code> to use overflow:'auto' on the components layout element and show scroll bars automatically when
247 necessary, <code>false</code> to clip any overflowing content (defaults to <code>false</code>).</p>
248 </div></div></div><div id="config-autoShow" class="member inherited"><a href="Ext.form.FieldContainer.html#config-autoShow" rel="config-autoShow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-autoShow" class="viewSource">view source</a></div><a name="autoShow"></a><a name="config-autoShow"></a><a href="Ext.form.FieldContainer.html#" rel="config-autoShow" class="cls expand">autoShow</a><span> : Boolean</span></div><div class="description"><div class="short">True to automatically show the component upon creation.
249 This config option may only be used for floating components o...</div><div class="long"><p>True to automatically show the component upon creation.
250 This config option may only be used for <a href="Ext.form.FieldContainer.html#floating" rel="Ext.form.FieldContainer#floating" class="docClass">floating</a> components or components
251 that use <a href="Ext.form.FieldContainer.html#autoRender" rel="Ext.form.FieldContainer#autoRender" class="docClass">autoRender</a>. Defaults to <tt>false</tt>.</p>
252 </div></div></div><div id="config-baseBodyCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-baseBodyCls" rel="config-baseBodyCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-baseBodyCls" class="viewSource">view source</a></div><a name="baseBodyCls"></a><a name="config-baseBodyCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-baseBodyCls" class="cls expand">baseBodyCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'.</p>
253 </div><div class="long"><p>The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'.</p>
254 </div></div></div><div id="config-baseCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-baseCls" rel="config-baseCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-baseCls" class="cls expand">baseCls</a><span> : String</span></div><div class="description"><div class="short">The base CSS class to apply to this components's element. This will also be prepended to
255 elements within this compone...</div><div class="long"><p>The base CSS class to apply to this components's element. This will also be prepended to
256 elements within this component like Panel's body will get a class x-panel-body. This means
257 that if you create a subclass of Panel, and you want it to get all the Panels styling for the
258 element and the body, you leave the baseCls x-panel and use componentCls to add specific styling for this
259 component.</p>
260 </div></div></div><div id="config-border" class="member inherited"><a href="Ext.form.FieldContainer.html#config-border" rel="config-border" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-border" class="viewSource">view source</a></div><a name="border"></a><a name="config-border"></a><a href="Ext.form.FieldContainer.html#" rel="config-border" class="cls expand">border</a><span> : Number/String</span></div><div class="description"><div class="short">Specifies the border for this component. The border can be a single numeric value to apply to all sides or
261 it can be ...</div><div class="long"><p>Specifies the border for this component. The border can be a single numeric value to apply to all sides or
262 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
263 </div></div></div><div id="config-bubbleEvents" class="member inherited"><a href="Ext.form.FieldContainer.html#config-bubbleEvents" rel="config-bubbleEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-bubbleEvents" class="viewSource">view source</a></div><a name="bubbleEvents"></a><a name="config-bubbleEvents"></a><a href="Ext.form.FieldContainer.html#" rel="config-bubbleEvents" class="cls expand">bubbleEvents</a><span> : Array</span></div><div class="description"><div class="short">An array of events that, when fired, should be bubbled to any parent container.
264 See Ext.util.Observable.enableBubble....</div><div class="long"><p>An array of events that, when fired, should be bubbled to any parent container.
265 See <a href="Ext.util.Observable.html#enableBubble" rel="Ext.util.Observable#enableBubble" class="docClass">Ext.util.Observable.enableBubble</a>.
266 Defaults to <code>['add', 'remove']</code>.
267
268 </div></div></div><div id="config-clearCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-clearCls" rel="config-clearCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-clearCls" class="viewSource">view source</a></div><a name="clearCls"></a><a name="config-clearCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-clearCls" class="cls expand">clearCls</a><span> : String</span></div><div class="description"><div class="short">The CSS class to be applied to the special clearing div rendered directly after the field
269 contents wrapper to provide...</div><div class="long"><p>The CSS class to be applied to the special clearing div rendered directly after the field
270 contents wrapper to provide field clearing (defaults to <tt>'x-clear'</tt>).</p>
271 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-cls" rel="config-cls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-cls" class="viewSource">view source</a></div><a name="cls"></a><a name="config-cls"></a><a href="Ext.form.FieldContainer.html#" rel="config-cls" class="cls expand">cls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
272 useful for ...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
273 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
274 </div></div></div><div id="config-combineErrors" class="member ni"><a href="Ext.form.FieldContainer.html#config-combineErrors" rel="config-combineErrors" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.FieldContainer.html" class="definedIn docClass">Ext.form.FieldContainer</a><br/><a href="../source/FieldContainer.html#Ext-form.FieldContainer-cfg-combineErrors" class="viewSource">view source</a></div><a name="combineErrors"></a><a name="config-combineErrors"></a><a href="Ext.form.FieldContainer.html#" rel="config-combineErrors" class="cls expand">combineErrors</a><span> : Boolean</span></div><div class="description"><div class="short">If set to true, the field container will automatically combine and display the validation errors from
275 all the fields ...</div><div class="long"><p>If set to true, the field container will automatically combine and display the validation errors from
276 all the fields it contains as a single error on the container, according to the configured
277 <a href="Ext.form.FieldContainer.html#msgTarget" rel="Ext.form.FieldContainer#msgTarget" class="docClass">msgTarget</a>. Defaults to false.</p>
278 </div></div></div><div id="config-combineLabels" class="member ni"><a href="Ext.form.FieldContainer.html#config-combineLabels" rel="config-combineLabels" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.FieldContainer.html" class="definedIn docClass">Ext.form.FieldContainer</a><br/><a href="../source/FieldContainer.html#Ext-form.FieldContainer-cfg-combineLabels" class="viewSource">view source</a></div><a name="combineLabels"></a><a name="config-combineLabels"></a><a href="Ext.form.FieldContainer.html#" rel="config-combineLabels" class="cls expand">combineLabels</a><span> : Boolean</span></div><div class="description"><div class="short">If set to true, and there is no defined fieldLabel, the field container will automatically
279 generate its label by comb...</div><div class="long"><p>If set to true, and there is no defined <a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">fieldLabel</a>, the field container will automatically
280 generate its label by combining the labels of all the fields it contains. Defaults to false.</p>
281 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-componentCls" rel="config-componentCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-componentCls" class="viewSource">view source</a></div><a name="componentCls"></a><a name="config-componentCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-componentCls" class="cls expand">componentCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS Class to be added to a components root level element to give distinction to it
282 via styling.</p>
283 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
284 via styling.</p>
285 </div></div></div><div id="config-componentLayout" class="member inherited"><a href="Ext.form.FieldContainer.html#config-componentLayout" rel="config-componentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-componentLayout" class="viewSource">view source</a></div><a name="componentLayout"></a><a name="config-componentLayout"></a><a href="Ext.form.FieldContainer.html#" rel="config-componentLayout" class="cls expand">componentLayout</a><span> : String/Object</span></div><div class="description"><div class="short">The sizing and positioning of a Component's internal Elements is the responsibility of
286 the Component's layout manager...</div><div class="long"><p>The sizing and positioning of a Component's internal Elements is the responsibility of
287 the Component's layout manager which sizes a Component's internal structure in response to the Component being sized.</p>
288
289
290 <p>Generally, developers will not use this configuration as all provided Components which need their internal
291 elements sizing (Such as <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">input fields</a>) come with their own componentLayout managers.</p>
292
293
294 <p>The <a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">default layout manager</a> will be used on instances of the base <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> class
295 which simply sizes the Component's encapsulating element to the height and width specified in the <a href="Ext.form.FieldContainer.html#setSize" rel="Ext.form.FieldContainer#setSize" class="docClass">setSize</a> method.</p>
296
297 </div></div></div><div id="config-contentEl" class="member inherited"><a href="Ext.form.FieldContainer.html#config-contentEl" rel="config-contentEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-contentEl" class="viewSource">view source</a></div><a name="contentEl"></a><a name="config-contentEl"></a><a href="Ext.form.FieldContainer.html#" rel="config-contentEl" class="cls expand">contentEl</a><span> : String</span></div><div class="description"><div class="short">Optional. Specify an existing HTML element, or the id of an existing HTML element to use as the content
298 for this comp...</div><div class="long"><p>Optional. Specify an existing HTML element, or the <code>id</code> of an existing HTML element to use as the content
299 for this component.</p>
300
301
302 <ul>
303 <li><b>Description</b> :
304 <div class="sub-desc">This config option is used to take an existing HTML element and place it in the layout element
305 of a new component (it simply moves the specified DOM element <i>after the Component is rendered</i> to use as the content.</div></li>
306 <li><b>Notes</b> :
307 <div class="sub-desc">The specified HTML element is appended to the layout element of the component <i>after any configured
308 <a href="Ext.form.FieldContainer.html#html" rel="Ext.form.FieldContainer#html" class="docClass">HTML</a> has been inserted</i>, and so the document will not contain this element at the time the <a href="Ext.form.FieldContainer.html#render" rel="Ext.form.FieldContainer#render" class="docClass">render</a> event is fired.</div>
309 <div class="sub-desc">The specified HTML element used will not participate in any <code><b><a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout</a></b></code>
310 scheme that the Component may use. It is just HTML. Layouts operate on child <code><b><a href="Ext.container.Container.html#items" rel="Ext.container.Container#items" class="docClass">items</a></b></code>.</div>
311 <div class="sub-desc">Add either the <code>x-hidden</code> or the <code>x-hide-display</code> CSS class to
312 prevent a brief flicker of the content before it is rendered to the panel.</div></li>
313 </ul>
314
315 </div></div></div><div id="config-data" class="member inherited"><a href="Ext.form.FieldContainer.html#config-data" rel="config-data" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-data" class="viewSource">view source</a></div><a name="data"></a><a name="config-data"></a><a href="Ext.form.FieldContainer.html#" rel="config-data" class="cls expand">data</a><span> : Mixed</span></div><div class="description"><div class="short"><p>The initial set of data to apply to the <code><a href="Ext.form.FieldContainer.html#tpl" rel="Ext.form.FieldContainer#tpl" class="docClass">tpl</a></code> to
316 update the content area of the Component.</p>
317 </div><div class="long"><p>The initial set of data to apply to the <code><a href="Ext.form.FieldContainer.html#tpl" rel="Ext.form.FieldContainer#tpl" class="docClass">tpl</a></code> to
318 update the content area of the Component.</p>
319 </div></div></div><div id="config-defaultType" class="member inherited"><a href="Ext.form.FieldContainer.html#config-defaultType" rel="config-defaultType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-defaultType" class="viewSource">view source</a></div><a name="defaultType"></a><a name="config-defaultType"></a><a href="Ext.form.FieldContainer.html#" rel="config-defaultType" class="cls expand">defaultType</a><span> : String</span></div><div class="description"><div class="short">The default xtype of child Components to create in this Container when
320 a child item is specified as a raw configurati...</div><div class="long"><p>The default <a href="Ext.Component.html" rel="Ext.Component" class="docClass">xtype</a> of child Components to create in this Container when
321 a child item is specified as a raw configuration object, rather than as an instantiated Component.</p>
322
323
324 <p>Defaults to <code>'panel'</code>.</p>
325
326 </div></div></div><div id="config-defaults" class="member inherited"><a href="Ext.form.FieldContainer.html#config-defaults" rel="config-defaults" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-defaults" class="viewSource">view source</a></div><a name="defaults"></a><a name="config-defaults"></a><a href="Ext.form.FieldContainer.html#" rel="config-defaults" class="cls expand">defaults</a><span> : Object|Function</span></div><div class="description"><div class="short">This option is a means of applying default settings to all added items whether added through the items
327 config or via ...</div><div class="long"><p>This option is a means of applying default settings to all added items whether added through the <a href="Ext.form.FieldContainer.html#items" rel="Ext.form.FieldContainer#items" class="docClass">items</a>
328 config or via the <a href="Ext.form.FieldContainer.html#add" rel="Ext.form.FieldContainer#add" class="docClass">add</a> or <a href="Ext.form.FieldContainer.html#insert" rel="Ext.form.FieldContainer#insert" class="docClass">insert</a> methods.</p>
329
330
331 <p>If an added item is a config object, and <b>not</b> an instantiated Component, then the default properties are
332 unconditionally applied. If the added item <b>is</b> an instantiated Component, then the default properties are
333 applied conditionally so as not to override existing properties in the item.</p>
334
335
336 <p>If the defaults option is specified as a function, then the function will be called using this Container as the
337 scope (<code>this</code> reference) and passing the added item as the first parameter. Any resulting object
338 from that call is then applied to the item as default properties.</p>
339
340
341 <p>For example, to automatically apply padding to the body of each of a set of
342 contained <a href="Ext.panel.Panel.html" rel="Ext.panel.Panel" class="docClass">Ext.panel.Panel</a> items, you could pass: <code>defaults: {bodyStyle:'padding:15px'}</code>.</p>
343
344
345 <p>Usage:</p>
346
347
348 <pre><code>defaults: {               // defaults are applied to items, not the container
349     autoScroll:true
350 },
351 items: [
352     {
353         xtype: 'panel',   // defaults <b>do not</b> have precedence over
354         id: 'panel1',     // options in config objects, so the defaults
355         autoScroll: false // will not be applied here, panel1 will be autoScroll:false
356     },
357     new Ext.panel.Panel({       // defaults <b>do</b> have precedence over options
358         id: 'panel2',     // options in components, so the defaults
359         autoScroll: false // will be applied here, panel2 will be autoScroll:true.
360     })
361 ]</code></pre>
362
363 </div></div></div><div id="config-disabled" class="member inherited"><a href="Ext.form.FieldContainer.html#config-disabled" rel="config-disabled" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-disabled" class="viewSource">view source</a></div><a name="disabled"></a><a name="config-disabled"></a><a href="Ext.form.FieldContainer.html#" rel="config-disabled" class="cls expand">disabled</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to false.</p>
364 </div><div class="long"><p>Defaults to false.</p>
365 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-disabledCls" rel="config-disabledCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-disabledCls" class="viewSource">view source</a></div><a name="disabledCls"></a><a name="config-disabledCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-disabledCls" class="cls expand">disabledCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
366 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
367 </div></div></div><div id="config-draggable" class="member inherited"><a href="Ext.form.FieldContainer.html#config-draggable" rel="config-draggable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-draggable" class="viewSource">view source</a></div><a name="draggable"></a><a name="config-draggable"></a><a href="Ext.form.FieldContainer.html#" rel="config-draggable" class="cls expand">draggable</a><span> : Mixed</span></div><div class="description"><div class="short">Specify as true to make a floating Component draggable using the Component's encapsulating element as the drag handle...</div><div class="long"><p>Specify as true to make a <a href="Ext.form.FieldContainer.html#floating" rel="Ext.form.FieldContainer#floating" class="docClass">floating</a> Component draggable using the Component's encapsulating element as the drag handle.</p>
368
369
370 <p>This may also be specified as a config object for the <a href="Ext.util.ComponentDragger.html" rel="Ext.util.ComponentDragger" class="docClass">ComponentDragger</a> which is instantiated to perform dragging.</p>
371
372
373 <p>For example to create a Component which may only be dragged around using a certain internal element as the drag handle,
374 use the delegate option:</p>
375
376
377 <p><code></p>
378
379 <pre>new Ext.Component({
380     constrain: true,
381     floating:true,
382     style: {
383         backgroundColor: '#fff',
384         border: '1px solid black'
385     },
386     html: '&lt;h1 style="cursor:move"&gt;The title&lt;/h1&gt;&lt;p&gt;The content&lt;/p&gt;',
387     draggable: {
388         delegate: 'h1'
389     }
390 }).show();
391 </pre>
392
393
394 <p></code></p>
395 </div></div></div><div id="config-errorMsgCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-errorMsgCls" rel="config-errorMsgCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-errorMsgCls" class="viewSource">view source</a></div><a name="errorMsgCls"></a><a name="config-errorMsgCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-errorMsgCls" class="cls expand">errorMsgCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'.</p>
396 </div><div class="long"><p>The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'.</p>
397 </div></div></div><div id="config-fieldBodyCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-fieldBodyCls" rel="config-fieldBodyCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-fieldBodyCls" class="viewSource">view source</a></div><a name="fieldBodyCls"></a><a name="config-fieldBodyCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-fieldBodyCls" class="cls expand">fieldBodyCls</a><span> : String</span></div><div class="description"><div class="short"><p>An extra CSS class to be applied to the body content element in addition to <a href="Ext.form.FieldContainer.html#fieldBodyCls" rel="Ext.form.FieldContainer#fieldBodyCls" class="docClass">fieldBodyCls</a>.
398 Defaults to empty.</p>
399 </div><div class="long"><p>An extra CSS class to be applied to the body content element in addition to <a href="Ext.form.FieldContainer.html#fieldBodyCls" rel="Ext.form.FieldContainer#fieldBodyCls" class="docClass">fieldBodyCls</a>.
400 Defaults to empty.</p>
401 </div></div></div><div id="config-fieldDefaults" class="member inherited"><a href="Ext.form.FieldContainer.html#config-fieldDefaults" rel="config-fieldDefaults" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.FieldAncestor.html" class="definedIn docClass">Ext.form.FieldAncestor</a><br/><a href="../source/FieldAncestor.html#Ext-form.FieldAncestor-cfg-fieldDefaults" class="viewSource">view source</a></div><a name="fieldDefaults"></a><a name="config-fieldDefaults"></a><a href="Ext.form.FieldContainer.html#" rel="config-fieldDefaults" class="cls expand">fieldDefaults</a><span> : Object</span></div><div class="description"><div class="short">If specified, the properties in this object are used as default config values for each
402 Ext.form.Labelable instance (e...</div><div class="long"><p>If specified, the properties in this object are used as default config values for each
403 <a href="Ext.form.Labelable.html" rel="Ext.form.Labelable" class="docClass">Ext.form.Labelable</a> instance (e.g. <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">Ext.form.field.Base</a> or <a href="Ext.form.FieldContainer.html" rel="Ext.form.FieldContainer" class="docClass">Ext.form.FieldContainer</a>)
404 that is added as a descendant of this container. Corresponding values specified in an individual field's
405 own configuration, or from the <a href="Ext.container.Container.html#defaults" rel="Ext.container.Container#defaults" class="docClass">defaults config</a> of its parent container,
406 will take precedence. See the documentation for <a href="Ext.form.Labelable.html" rel="Ext.form.Labelable" class="docClass">Ext.form.Labelable</a> to see what config
407 options may be specified in the <tt>fieldDefaults</tt>.</p>
408
409
410 <p>Example:</p>
411
412
413 <pre><code>new Ext.form.Panel({
414     fieldDefaults: {
415         labelAlign: 'left',
416         labelWidth: 100
417     },
418     items: [{
419         xtype: 'fieldset',
420         defaults: {
421             labelAlign: 'top'
422         },
423         items: [{
424             name: 'field1'
425         }, {
426             name: 'field2'
427         }]
428     }, {
429         xtype: 'fieldset',
430         items: [{
431             name: 'field3',
432             labelWidth: 150
433         }, {
434             name: 'field4'
435         }]
436     }]
437 });</code></pre>
438
439
440 <p>In this example, field1 and field2 will get labelAlign:'top' (from the fieldset's <tt>defaults</tt>)
441 and labelWidth:100 (from <tt>fieldDefaults</tt>), field3 and field4 will both get labelAlign:'left' (from
442 <tt>fieldDefaults</tt> and field3 will use the labelWidth:150 from its own config.</p>
443
444 </div></div></div><div id="config-fieldLabel" class="member inherited"><a href="Ext.form.FieldContainer.html#config-fieldLabel" rel="config-fieldLabel" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-fieldLabel" class="viewSource">view source</a></div><a name="fieldLabel"></a><a name="config-fieldLabel"></a><a href="Ext.form.FieldContainer.html#" rel="config-fieldLabel" class="cls expand">fieldLabel</a><span> : String</span></div><div class="description"><div class="short">The label for the field. It gets appended with the labelSeparator, and its position
445 and sizing is determined by the l...</div><div class="long"><p>The label for the field. It gets appended with the <a href="Ext.form.FieldContainer.html#labelSeparator" rel="Ext.form.FieldContainer#labelSeparator" class="docClass">labelSeparator</a>, and its position
446 and sizing is determined by the <a href="Ext.form.FieldContainer.html#labelAlign" rel="Ext.form.FieldContainer#labelAlign" class="docClass">labelAlign</a>, <a href="Ext.form.FieldContainer.html#labelWidth" rel="Ext.form.FieldContainer#labelWidth" class="docClass">labelWidth</a>, and <a href="Ext.form.FieldContainer.html#labelPad" rel="Ext.form.FieldContainer#labelPad" class="docClass">labelPad</a>
447 configs. Defaults to undefined.</p>
448 </div></div></div><div id="config-floating" class="member inherited"><a href="Ext.form.FieldContainer.html#config-floating" rel="config-floating" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-floating" class="viewSource">view source</a></div><a name="floating"></a><a name="config-floating"></a><a href="Ext.form.FieldContainer.html#" rel="config-floating" class="cls expand">floating</a><span> : Boolean</span></div><div class="description"><div class="short">Specify as true to float the Component outside of the document flow using CSS absolute positioning.
449
450
451 Components such...</div><div class="long"><p>Specify as true to float the Component outside of the document flow using CSS absolute positioning.</p>
452
453
454 <p>Components such as <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s and <a href="Ext.menu.Menu.html" rel="Ext.menu.Menu" class="docClass">Menu</a>s are floating
455 by default.</p>
456
457
458 <p>Floating Components that are programatically <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a> will register themselves with the global
459 <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a></p>
460
461
462 <h3 class="pa">Floating Components as child items of a Container</h3>
463
464
465 <p>A floating Component may be used as a child item of a Container. This just allows the floating Component to seek a ZIndexManager by
466 examining the ownerCt chain.</p>
467
468
469 <p>When configured as floating, Components acquire, at render time, a <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a> which manages a stack
470 of related floating Components. The ZIndexManager brings a single floating Component to the top of its stack when
471 the Component's <a href="Ext.form.FieldContainer.html#toFront" rel="Ext.form.FieldContainer#toFront" class="docClass">toFront</a> method is called.</p>
472
473
474 <p>The ZIndexManager is found by traversing up the <a href="Ext.form.FieldContainer.html#ownerCt" rel="Ext.form.FieldContainer#ownerCt" class="docClass">ownerCt</a> chain to find an ancestor which itself is floating. This is so that
475 descendant floating Components of floating <i>Containers</i> (Such as a ComboBox dropdown within a Window) can have its zIndex managed relative
476 to any siblings, but always <b>above</b> that floating ancestor Container.</p>
477
478
479 <p>If no floating ancestor is found, a floating Component registers itself with the default <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a>.</p>
480
481
482 <p>Floating components <i>do not participate in the Container's layout</i>. Because of this, they are not rendered until you explicitly
483 <a href="Ext.form.FieldContainer.html#show" rel="Ext.form.FieldContainer#show" class="docClass">show</a> them.</p>
484
485
486 <p>After rendering, the ownerCt reference is deleted, and the <a href="Ext.form.FieldContainer.html#floatParent" rel="Ext.form.FieldContainer#floatParent" class="docClass">floatParent</a> property is set to the found floating ancestor Container.
487 If no floating ancestor Container was found the <a href="Ext.form.FieldContainer.html#floatParent" rel="Ext.form.FieldContainer#floatParent" class="docClass">floatParent</a> property will not be set.</p>
488
489 </div></div></div><div id="config-focusOnToFront" class="member inherited"><a href="Ext.form.FieldContainer.html#config-focusOnToFront" rel="config-focusOnToFront" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-cfg-focusOnToFront" class="viewSource">view source</a></div><a name="focusOnToFront"></a><a name="config-focusOnToFront"></a><a href="Ext.form.FieldContainer.html#" rel="config-focusOnToFront" class="cls expand">focusOnToFront</a><span> : Boolean</span></div><div class="description"><div class="short">Specifies whether the floated component should be automatically focused when it is
490 brought to the front. Defaults to ...</div><div class="long"><p>Specifies whether the floated component should be automatically <a href="Ext.form.FieldContainer.html#focus" rel="Ext.form.FieldContainer#focus" class="docClass">focused</a> when it is
491 <a href="Ext.form.FieldContainer.html#toFront" rel="Ext.form.FieldContainer#toFront" class="docClass">brought to the front</a>. Defaults to true.</p>
492 </div></div></div><div id="config-formItemCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-formItemCls" rel="config-formItemCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-formItemCls" class="viewSource">view source</a></div><a name="formItemCls"></a><a name="config-formItemCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-formItemCls" class="cls expand">formItemCls</a><span> : String</span></div><div class="description"><div class="short">A CSS class to be applied to the outermost element to denote that it is participating in the form
493 field layout. Defau...</div><div class="long"><p>A CSS class to be applied to the outermost element to denote that it is participating in the form
494 field layout. Defaults to 'x-form-item'.</p>
495 </div></div></div><div id="config-frame" class="member inherited"><a href="Ext.form.FieldContainer.html#config-frame" rel="config-frame" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-frame" class="viewSource">view source</a></div><a name="frame"></a><a name="config-frame"></a><a href="Ext.form.FieldContainer.html#" rel="config-frame" class="cls expand">frame</a><span> : Boolean</span></div><div class="description"><div class="short">Specify as true to have the Component inject framing elements within the Component at render time to
496 provide a graphi...</div><div class="long"><p>Specify as <code>true</code> to have the Component inject framing elements within the Component at render time to
497 provide a graphical rounded frame around the Component content.</p>
498
499
500 <p>This is only necessary when running on outdated, or non standard-compliant browsers such as Microsoft's Internet Explorer
501 prior to version 9 which do not support rounded corners natively.</p>
502
503
504 <p>The extra space taken up by this framing is available from the read only property <a href="Ext.form.FieldContainer.html#frameSize" rel="Ext.form.FieldContainer#frameSize" class="docClass">frameSize</a>.</p>
505
506 </div></div></div><div id="config-height" class="member inherited"><a href="Ext.form.FieldContainer.html#config-height" rel="config-height" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-height" class="viewSource">view source</a></div><a name="height"></a><a name="config-height"></a><a href="Ext.form.FieldContainer.html#" rel="config-height" class="cls expand">height</a><span> : Number</span></div><div class="description"><div class="short"><p>The height of this component in pixels.</p>
507 </div><div class="long"><p>The height of this component in pixels.</p>
508 </div></div></div><div id="config-hidden" class="member inherited"><a href="Ext.form.FieldContainer.html#config-hidden" rel="config-hidden" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-hidden" class="viewSource">view source</a></div><a name="hidden"></a><a name="config-hidden"></a><a href="Ext.form.FieldContainer.html#" rel="config-hidden" class="cls expand">hidden</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to false.</p>
509 </div><div class="long"><p>Defaults to false.</p>
510 </div></div></div><div id="config-hideEmptyLabel" class="member inherited"><a href="Ext.form.FieldContainer.html#config-hideEmptyLabel" rel="config-hideEmptyLabel" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-hideEmptyLabel" class="viewSource">view source</a></div><a name="hideEmptyLabel"></a><a name="config-hideEmptyLabel"></a><a href="Ext.form.FieldContainer.html#" rel="config-hideEmptyLabel" class="cls expand">hideEmptyLabel</a><span> : Boolean</span></div><div class="description"><div class="short">When set to true, the label element (fieldLabel and labelSeparator) will be
511 automatically hidden if the fieldLabel is...</div><div class="long"><p>When set to <tt>true</tt>, the label element (<a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">fieldLabel</a> and <a href="Ext.form.FieldContainer.html#labelSeparator" rel="Ext.form.FieldContainer#labelSeparator" class="docClass">labelSeparator</a>) will be
512 automatically hidden if the <a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">fieldLabel</a> is empty. Setting this to <tt>false</tt> will cause the empty
513 label element to be rendered and space to be reserved for it; this is useful if you want a field without a label
514 to line up with other labeled fields in the same form. Defaults to <tt>true</tt>.</p>
515
516
517 <p>If you wish to unconditionall hide the label even if a non-empty fieldLabel is configured, then set
518 the <a href="Ext.form.FieldContainer.html#hideLabel" rel="Ext.form.FieldContainer#hideLabel" class="docClass">hideLabel</a> config to <tt>true</tt>.</p>
519
520 </div></div></div><div id="config-hideLabel" class="member inherited"><a href="Ext.form.FieldContainer.html#config-hideLabel" rel="config-hideLabel" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-hideLabel" class="viewSource">view source</a></div><a name="hideLabel"></a><a name="config-hideLabel"></a><a href="Ext.form.FieldContainer.html#" rel="config-hideLabel" class="cls expand">hideLabel</a><span> : Boolean</span></div><div class="description"><div class="short">Set to true to completely hide the label element (fieldLabel and labelSeparator).
521 Defaults to false.
522
523
524 Also see hideE...</div><div class="long"><p>Set to <tt>true</tt> to completely hide the label element (<a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">fieldLabel</a> and <a href="Ext.form.FieldContainer.html#labelSeparator" rel="Ext.form.FieldContainer#labelSeparator" class="docClass">labelSeparator</a>).
525 Defaults to <tt>false</tt>.</p>
526
527
528 <p>Also see <a href="Ext.form.FieldContainer.html#hideEmptyLabel" rel="Ext.form.FieldContainer#hideEmptyLabel" class="docClass">hideEmptyLabel</a>, which controls whether space will be reserved for an empty fieldLabel.</p>
529
530 </div></div></div><div id="config-hideMode" class="member inherited"><a href="Ext.form.FieldContainer.html#config-hideMode" rel="config-hideMode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-hideMode" class="viewSource">view source</a></div><a name="hideMode"></a><a name="config-hideMode"></a><a href="Ext.form.FieldContainer.html#" rel="config-hideMode" class="cls expand">hideMode</a><span> : String</span></div><div class="description"><div class="short">A String which specifies how this Component's encapsulating DOM element will be hidden.
531 Values may be
532 'display' : The...</div><div class="long"><p>A String which specifies how this Component's encapsulating DOM element will be hidden.
533 Values may be<div class="mdetail-params"><ul>
534 <li><code>'display'</code> : The Component will be hidden using the <code>display: none</code> style.</li>
535 <li><code>'visibility'</code> : The Component will be hidden using the <code>visibility: hidden</code> style.</li>
536 <li><code>'offsets'</code> : The Component will be hidden by absolutely positioning it out of the visible area of the document. This
537 is useful when a hidden Component must maintain measurable dimensions. Hiding using <code>display</code> results
538 in a Component having zero dimensions.</li></ul></div>
539 Defaults to <code>'display'</code>.</p>
540 </div></div></div><div id="config-html" class="member inherited"><a href="Ext.form.FieldContainer.html#config-html" rel="config-html" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-html" class="viewSource">view source</a></div><a name="html"></a><a name="config-html"></a><a href="Ext.form.FieldContainer.html#" rel="config-html" class="cls expand">html</a><span> : String/Object</span></div><div class="description"><div class="short">An HTML fragment, or a DomHelper specification to use as the layout element
541 content (defaults to ''). The HTML conten...</div><div class="long"><p>An HTML fragment, or a <a href="Ext.core.DomHelper.html" rel="Ext.core.DomHelper" class="docClass">DomHelper</a> specification to use as the layout element
542 content (defaults to ''). The HTML content is added after the component is rendered,
543 so the document will not contain this HTML at the time the <a href="Ext.form.FieldContainer.html#render" rel="Ext.form.FieldContainer#render" class="docClass">render</a> event is fired.
544 This content is inserted into the body <i>before</i> any configured <a href="Ext.form.FieldContainer.html#contentEl" rel="Ext.form.FieldContainer#contentEl" class="docClass">contentEl</a> is appended.</p>
545 </div></div></div><div id="config-id" class="member inherited"><a href="Ext.form.FieldContainer.html#config-id" rel="config-id" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-id" class="viewSource">view source</a></div><a name="id"></a><a name="config-id"></a><a href="Ext.form.FieldContainer.html#" rel="config-id" class="cls expand">id</a><span> : String</span></div><div class="description"><div class="short">The unique id of this component instance (defaults to an auto-assigned id).
546
547
548 It should not be necessary to use this ...</div><div class="long"><p>The <b><u>unique id of this component instance</u></b> (defaults to an <a href="Ext.form.FieldContainer.html#getId" rel="Ext.form.FieldContainer#getId" class="docClass">auto-assigned id</a>).</p>
549
550
551 <p>It should not be necessary to use this configuration except for singleton objects in your application.
552 Components created with an id may be accessed globally using <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp</a>.</p>
553
554
555 <p>Instead of using assigned ids, use the <a href="Ext.form.FieldContainer.html#itemId" rel="Ext.form.FieldContainer#itemId" class="docClass">itemId</a> config, and <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> which
556 provides selector-based searching for Sencha Components analogous to DOM querying. The <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>
557 class contains <a href="Ext.container.Container.html#down" rel="Ext.container.Container#down" class="docClass">shortcut methods</a> to query its descendant Components by selector.</p>
558
559
560 <p>Note that this id will also be used as the element id for the containing HTML element
561 that is rendered to the page for this component. This allows you to write id-based CSS
562 rules to style the specific instance of this component uniquely, and also to select
563 sub-elements using this component's id as the parent.</p>
564
565
566 <p><b>Note</b>: to avoid complications imposed by a unique <tt>id</tt> also see <code><a href="Ext.form.FieldContainer.html#itemId" rel="Ext.form.FieldContainer#itemId" class="docClass">itemId</a></code>.</p>
567
568
569 <p><b>Note</b>: to access the container of a Component see <code><a href="Ext.form.FieldContainer.html#ownerCt" rel="Ext.form.FieldContainer#ownerCt" class="docClass">ownerCt</a></code>.</p>
570
571 </div></div></div><div id="config-invalidCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-invalidCls" rel="config-invalidCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-invalidCls" class="viewSource">view source</a></div><a name="invalidCls"></a><a name="config-invalidCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-invalidCls" class="cls expand">invalidCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to use when marking the component invalid (defaults to 'x-form-invalid')</p>
572 </div><div class="long"><p>The CSS class to use when marking the component invalid (defaults to 'x-form-invalid')</p>
573 </div></div></div><div id="config-itemId" class="member inherited"><a href="Ext.form.FieldContainer.html#config-itemId" rel="config-itemId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-itemId" class="viewSource">view source</a></div><a name="itemId"></a><a name="config-itemId"></a><a href="Ext.form.FieldContainer.html#" rel="config-itemId" class="cls expand">itemId</a><span> : String</span></div><div class="description"><div class="short">An itemId can be used as an alternative way to get a reference to a component
574 when no object reference is available. ...</div><div class="long"><p>An <tt>itemId</tt> can be used as an alternative way to get a reference to a component
575 when no object reference is available.  Instead of using an <code><a href="Ext.form.FieldContainer.html#id" rel="Ext.form.FieldContainer#id" class="docClass">id</a></code> with
576 <a href="Ext.html" rel="Ext" class="docClass">Ext</a>.<a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">getCmp</a>, use <code>itemId</code> with
577 <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Ext.container.Container</a>.<a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">getComponent</a> which will retrieve
578 <code>itemId</code>'s or <tt><a href="Ext.form.FieldContainer.html#id" rel="Ext.form.FieldContainer#id" class="docClass">id</a></tt>'s. Since <code>itemId</code>'s are an index to the
579 container's internal MixedCollection, the <code>itemId</code> is scoped locally to the container --
580 avoiding potential conflicts with <a href="Ext.ComponentManager.html" rel="Ext.ComponentManager" class="docClass">Ext.ComponentManager</a> which requires a <b>unique</b>
581 <code><a href="Ext.form.FieldContainer.html#id" rel="Ext.form.FieldContainer#id" class="docClass">id</a></code>.</p>
582
583
584 <pre><code>var c = new Ext.panel.Panel({ //
585     <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 300,
586     <a href="Ext.form.FieldContainer.html#renderTo" rel="Ext.form.FieldContainer#renderTo" class="docClass">renderTo</a>: document.body,
587     <a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout</a>: 'auto',
588     <a href="Ext.container.Container.html#items" rel="Ext.container.Container#items" class="docClass">items</a>: [
589         {
590             itemId: 'p1',
591             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 1',
592             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
593         },
594         {
595             itemId: 'p2',
596             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 2',
597             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
598         }
599     ]
600 })
601 p1 = c.<a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">getComponent</a>('p1'); // not the same as <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp()</a>
602 p2 = p1.<a href="Ext.form.FieldContainer.html#ownerCt" rel="Ext.form.FieldContainer#ownerCt" class="docClass">ownerCt</a>.<a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">getComponent</a>('p2'); // reference via a sibling
603 </code></pre>
604
605
606 <p>Also see <tt><a href="Ext.form.FieldContainer.html#id" rel="Ext.form.FieldContainer#id" class="docClass">id</a></tt>, <code><a href="Ext.form.FieldContainer.html#query" rel="Ext.form.FieldContainer#query" class="docClass">query</a></code>, <code><a href="Ext.form.FieldContainer.html#down" rel="Ext.form.FieldContainer#down" class="docClass">down</a></code> and <code><a href="Ext.form.FieldContainer.html#child" rel="Ext.form.FieldContainer#child" class="docClass">child</a></code>.</p>
607
608
609 <p><b>Note</b>: to access the container of an item see <tt><a href="Ext.form.FieldContainer.html#ownerCt" rel="Ext.form.FieldContainer#ownerCt" class="docClass">ownerCt</a></tt>.</p>
610
611 </div></div></div><div id="config-items" class="member inherited"><a href="Ext.form.FieldContainer.html#config-items" rel="config-items" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-items" class="viewSource">view source</a></div><a name="items"></a><a name="config-items"></a><a href="Ext.form.FieldContainer.html#" rel="config-items" class="cls expand">items</a><span> : Object/Array</span></div><div class="description"><div class="short">A single item, or an array of child Components to be added to this container
612
613
614 Unless configured with a layout, a Con...</div><div class="long"><p>A single item, or an array of child Components to be added to this container</p>
615
616
617 <p><b>Unless configured with a <a href="Ext.form.FieldContainer.html#layout" rel="Ext.form.FieldContainer#layout" class="docClass">layout</a>, a Container simply renders child Components serially into
618 its encapsulating element and performs no sizing or positioning upon them.</b><p>
619 <p>Example:</p>
620 <pre><code>// specifying a single item
621 items: {...},
622 layout: 'fit',    // The single items is sized to fit
623
624 // specifying multiple items
625 items: [{...}, {...}],
626 layout: 'hbox', // The items are arranged horizontally
627        </code></pre>
628 <p>Each item may be:</p>
629 <ul>
630 <li>A <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></li>
631 <li>A Component configuration object</li>
632 </ul>
633 <p>If a configuration object is specified, the actual type of Component to be
634 instantiated my be indicated by using the <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a> option.</p>
635 <p>Every Component class has its own <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a>.</p>
636 <p>If an <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a> is not explicitly
637 specified, the <a href="Ext.form.FieldContainer.html#defaultType" rel="Ext.form.FieldContainer#defaultType" class="docClass">defaultType</a> for the Container is used, which by default is usually <code>panel</code>.</p>
638 <p><b>Notes</b>:</p>
639 <p>Ext uses lazy rendering. Child Components will only be rendered
640 should it become necessary. Items are automatically laid out when they are first
641 shown (no sizing is done while hidden), or in response to a <a href="Ext.form.FieldContainer.html#doLayout" rel="Ext.form.FieldContainer#doLayout" class="docClass">doLayout</a> call.</p>
642 <p>Do not specify <code><a href="Ext.panel.Panel.html#contentEl" rel="Ext.panel.Panel#contentEl" class="docClass">contentEl</a></code> or 
643 <code><a href="Ext.panel.Panel.html#html" rel="Ext.panel.Panel#html" class="docClass">html</a></code> with <code>items</code>.</p>
644
645 </div></div></div><div id="config-labelAlign" class="member inherited"><a href="Ext.form.FieldContainer.html#config-labelAlign" rel="config-labelAlign" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelAlign" class="viewSource">view source</a></div><a name="labelAlign"></a><a name="config-labelAlign"></a><a href="Ext.form.FieldContainer.html#" rel="config-labelAlign" class="cls expand">labelAlign</a><span> : String</span></div><div class="description"><div class="short">Controls the position and alignment of the fieldLabel. Valid values are:
646
647
648
649 "left" (the default) - The label is posit...</div><div class="long"><p>Controls the position and alignment of the <a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">fieldLabel</a>. Valid values are:</p>
650
651
652 <ul>
653 <li><tt>"left"</tt> (the default) - The label is positioned to the left of the field, with its text
654 aligned to the left. Its width is determined by the <a href="Ext.form.FieldContainer.html#labelWidth" rel="Ext.form.FieldContainer#labelWidth" class="docClass">labelWidth</a> config.</li>
655 <li><tt>"top"</tt> - The label is positioned above the field.</li>
656 <li><tt>"right"</tt> - The label is positioned to the left of the field, with its text aligned
657 to the right. Its width is determined by the <a href="Ext.form.FieldContainer.html#labelWidth" rel="Ext.form.FieldContainer#labelWidth" class="docClass">labelWidth</a> config.</li>
658 </ul>
659
660 </div></div></div><div id="config-labelCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-labelCls" rel="config-labelCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelCls" class="viewSource">view source</a></div><a name="labelCls"></a><a name="config-labelCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-labelCls" class="cls expand">labelCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to the label element. Defaults to 'x-form-item-label'.</p>
661 </div><div class="long"><p>The CSS class to be applied to the label element. Defaults to 'x-form-item-label'.</p>
662 </div></div></div><div id="config-labelConnector" class="member ni"><a href="Ext.form.FieldContainer.html#config-labelConnector" rel="config-labelConnector" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.FieldContainer.html" class="definedIn docClass">Ext.form.FieldContainer</a><br/><a href="../source/FieldContainer.html#Ext-form.FieldContainer-cfg-labelConnector" class="viewSource">view source</a></div><a name="labelConnector"></a><a name="config-labelConnector"></a><a href="Ext.form.FieldContainer.html#" rel="config-labelConnector" class="cls expand">labelConnector</a><span> : String</span></div><div class="description"><div class="short">The string to use when joining the labels of individual sub-fields, when combineLabels is
663 set to true. Defaults to ',...</div><div class="long"><p>The string to use when joining the labels of individual sub-fields, when <a href="Ext.form.FieldContainer.html#combineLabels" rel="Ext.form.FieldContainer#combineLabels" class="docClass">combineLabels</a> is
664 set to true. Defaults to ', '.</p>
665 </div></div></div><div id="config-labelPad" class="member inherited"><a href="Ext.form.FieldContainer.html#config-labelPad" rel="config-labelPad" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelPad" class="viewSource">view source</a></div><a name="labelPad"></a><a name="config-labelPad"></a><a href="Ext.form.FieldContainer.html#" rel="config-labelPad" class="cls expand">labelPad</a><span> : Number</span></div><div class="description"><div class="short"><p>The amount of space in pixels between the <a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">fieldLabel</a> and the input field. Defaults to <tt>5</tt>.</p>
666 </div><div class="long"><p>The amount of space in pixels between the <a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">fieldLabel</a> and the input field. Defaults to <tt>5</tt>.</p>
667 </div></div></div><div id="config-labelSeparator" class="member inherited"><a href="Ext.form.FieldContainer.html#config-labelSeparator" rel="config-labelSeparator" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelSeparator" class="viewSource">view source</a></div><a name="labelSeparator"></a><a name="config-labelSeparator"></a><a href="Ext.form.FieldContainer.html#" rel="config-labelSeparator" class="cls expand">labelSeparator</a><span> : String</span></div><div class="description"><div class="short"><p>Character(s) to be inserted at the end of the <a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">label text</a>.</p>
668 </div><div class="long"><p>Character(s) to be inserted at the end of the <a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">label text</a>.</p>
669 </div></div></div><div id="config-labelStyle" class="member inherited"><a href="Ext.form.FieldContainer.html#config-labelStyle" rel="config-labelStyle" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelStyle" class="viewSource">view source</a></div><a name="labelStyle"></a><a name="config-labelStyle"></a><a href="Ext.form.FieldContainer.html#" rel="config-labelStyle" class="cls expand">labelStyle</a><span> : String</span></div><div class="description"><div class="short"><p>A CSS style specification string to apply directly to this field's label. Defaults to undefined.</p>
670
671 </div><div class="long"><p>A CSS style specification string to apply directly to this field's label. Defaults to undefined.</p>
672
673 </div></div></div><div id="config-labelWidth" class="member inherited"><a href="Ext.form.FieldContainer.html#config-labelWidth" rel="config-labelWidth" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelWidth" class="viewSource">view source</a></div><a name="labelWidth"></a><a name="config-labelWidth"></a><a href="Ext.form.FieldContainer.html#" rel="config-labelWidth" class="cls expand">labelWidth</a><span> : Number</span></div><div class="description"><div class="short"><p>The width of the <a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">fieldLabel</a> in pixels. Only applicable if the <a href="Ext.form.FieldContainer.html#labelAlign" rel="Ext.form.FieldContainer#labelAlign" class="docClass">labelAlign</a> is set
674 to "left" or "right". Defaults to <tt>100</tt>.</p>
675 </div><div class="long"><p>The width of the <a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">fieldLabel</a> in pixels. Only applicable if the <a href="Ext.form.FieldContainer.html#labelAlign" rel="Ext.form.FieldContainer#labelAlign" class="docClass">labelAlign</a> is set
676 to "left" or "right". Defaults to <tt>100</tt>.</p>
677 </div></div></div><div id="config-labelableRenderTpl" class="member inherited"><a href="Ext.form.FieldContainer.html#config-labelableRenderTpl" rel="config-labelableRenderTpl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelableRenderTpl" class="viewSource">view source</a></div><a name="labelableRenderTpl"></a><a name="config-labelableRenderTpl"></a><a href="Ext.form.FieldContainer.html#" rel="config-labelableRenderTpl" class="cls expand">labelableRenderTpl</a><span> : Array/String/Ext.XTemplate</span></div><div class="description"><div class="short">The rendering template for the field decorations. Component classes using this mixin should include
678 logic to use this...</div><div class="long"><p>The rendering template for the field decorations. Component classes using this mixin should include
679 logic to use this as their <a href="Ext.AbstractComponent.html#renderTpl" rel="Ext.AbstractComponent#renderTpl" class="docClass">renderTpl</a>, and implement the
680 <a href="Ext.form.FieldContainer.html#getSubTplMarkup" rel="Ext.form.FieldContainer#getSubTplMarkup" class="docClass">getSubTplMarkup</a> method to generate the field body content.</p>
681 </div></div></div><div id="config-layout" class="member inherited"><a href="Ext.form.FieldContainer.html#config-layout" rel="config-layout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-layout" class="viewSource">view source</a></div><a name="layout"></a><a name="config-layout"></a><a href="Ext.form.FieldContainer.html#" rel="config-layout" class="cls expand">layout</a><span> : String/Object</span></div><div class="description"><div class="short">*Important: In order for child items to be correctly sized and
682 positioned, typically a layout manager must be specifi...</div><div class="long"><p><b>*Important</b>: In order for child items to be correctly sized and
683 positioned, typically a layout manager <b>must</b> be specified through
684 the <code>layout</code> configuration option.</p>
685
686
687 <br><p>The sizing and positioning of child <a href="Ext.form.FieldContainer.html#items" rel="Ext.form.FieldContainer#items" class="docClass">items</a> is the responsibility of
688
689
690 <p>the Container's layout manager which creates and manages the type of layout
691 you have in mind.  For example:</p></p>
692
693 <p>If the <a href="Ext.form.FieldContainer.html#layout" rel="Ext.form.FieldContainer#layout" class="docClass">layout</a> configuration is not explicitly specified for
694 a general purpose container (e.g. Container or Panel) the
695 <a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">default layout manager</a> will be used
696 which does nothing but render child components sequentially into the
697 Container (no sizing or positioning will be performed in this situation).</p>
698
699
700 <br><p><b><code>layout</code></b> may be specified as either as an Object or
701
702
703 <p>as a String:</p><div><ul class="mdetail-params"></p>
704
705 <p><li><u>Specify as an Object</u></li></p>
706
707 <div><ul class="mdetail-params">
708 <li>Example usage:</li>
709 <pre><code>layout: {
710     type: 'vbox',
711     align: 'left'
712 }
713        </code></pre>
714
715 <li><code><b>type</b></code></li>
716 <br/><p>The layout type to be used for this container.  If not specified,
717 a default <a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">Ext.layout.container.Auto</a> will be created and used.</p>
718 <br/><p>Valid layout <code>type</code> values are:</p>
719 <div class="sub-desc"><ul class="mdetail-params">
720 <li><code><b><a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">Auto</a></b></code> &nbsp;&nbsp;&nbsp; <b>Default</b></li>
721 <li><code><b><a href="Ext.layout.container.Card.html" rel="Ext.layout.container.Card" class="docClass">card</a></b></code></li>
722 <li><code><b><a href="Ext.layout.container.Fit.html" rel="Ext.layout.container.Fit" class="docClass">fit</a></b></code></li>
723 <li><code><b><a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">hbox</a></b></code></li>
724 <li><code><b><a href="Ext.layout.container.VBox.html" rel="Ext.layout.container.VBox" class="docClass">vbox</a></b></code></li>
725 <li><code><b><a href="Ext.layout.container.Anchor.html" rel="Ext.layout.container.Anchor" class="docClass">anchor</a></b></code></li>
726 <li><code><b><a href="Ext.layout.container.Table.html" rel="Ext.layout.container.Table" class="docClass">table</a></b></code></li>
727 </ul></div>
728
729 <li>Layout specific configuration properties</li>
730 <br/><p>Additional layout specific configuration properties may also be
731 specified. For complete details regarding the valid config options for
732 each layout type, see the layout class corresponding to the <code>type</code>
733 specified.</p>
734
735 </ul></div>
736
737
738 <p><li><u>Specify as a String</u></li></p>
739
740 <div><ul class="mdetail-params">
741 <li>Example usage:</li>
742 <pre><code>layout: {
743     type: 'vbox',
744     padding: '5',
745     align: 'left'
746 }
747        </code></pre>
748 <li><code><b>layout</b></code></li>
749 <br/><p>The layout <code>type</code> to be used for this container (see list
750 of valid layout type values above).</p><br/>
751 <br/><p>Additional layout specific configuration properties. For complete
752 details regarding the valid config options for each layout type, see the
753 layout class corresponding to the <code>layout</code> specified.</p>
754 </ul></div>
755
756
757 <p></ul></div></p>
758 </div></div></div><div id="config-listeners" class="member inherited"><a href="Ext.form.FieldContainer.html#config-listeners" rel="config-listeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-cfg-listeners" class="viewSource">view source</a></div><a name="listeners"></a><a name="config-listeners"></a><a href="Ext.form.FieldContainer.html#" rel="config-listeners" class="cls expand">listeners</a><span> : Object</span></div><div class="description"><div class="short">(optional) A config object containing one or more event handlers to be added to this
759 object during initialization.  T...</div><div class="long"><p>(optional) <p>A config object containing one or more event handlers to be added to this
760 object during initialization.  This should be a valid listeners config object as specified in the
761 <a href="Ext.form.FieldContainer.html#addListener" rel="Ext.form.FieldContainer#addListener" class="docClass">addListener</a> example for attaching multiple handlers at once.</p></p>
762
763 <br><p><b><u>DOM events from ExtJs <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a></u></b></p>
764
765
766 <br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
767
768
769 <p>is usually only done when extra value can be added. For example the <a href="Ext.view.View.html" rel="Ext.view.View" class="docClass">DataView</a>'s
770 <b><code><a href="Ext.view.View.html#click" rel="Ext.view.View#click" class="docClass">click</a></code></b> event passing the node clicked on. To access DOM
771 events directly from a child element of a Component, we need to specify the <code>element</code> option to
772 identify the Component property to add a DOM listener to:</p>
773
774 <pre><code>new Ext.panel.Panel({
775     width: 400,
776     height: 200,
777     dockedItems: [{
778         xtype: 'toolbar'
779     }],
780     listeners: {
781         click: {
782             element: 'el', //bind to the underlying el property on the panel
783             fn: function(){ console.log('click el'); }
784         },
785         dblclick: {
786             element: 'body', //bind to the underlying body property on the panel
787             fn: function(){ console.log('dblclick body'); }
788         }
789     }
790 });
791 </code></pre>
792
793
794 <p></p></p>
795 </div></div></div><div id="config-loader" class="member inherited"><a href="Ext.form.FieldContainer.html#config-loader" rel="config-loader" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-loader" class="viewSource">view source</a></div><a name="loader"></a><a name="config-loader"></a><a href="Ext.form.FieldContainer.html#" rel="config-loader" class="cls expand">loader</a><span> : Ext.ComponentLoader/Object</span></div><div class="description"><div class="short"><p>A configuration object or an instance of a <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> to load remote
796 content for this Component.</p>
797 </div><div class="long"><p>A configuration object or an instance of a <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> to load remote
798 content for this Component.</p>
799 </div></div></div><div id="config-maintainFlex" class="member inherited"><a href="Ext.form.FieldContainer.html#config-maintainFlex" rel="config-maintainFlex" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-maintainFlex" class="viewSource">view source</a></div><a name="maintainFlex"></a><a name="config-maintainFlex"></a><a href="Ext.form.FieldContainer.html#" rel="config-maintainFlex" class="cls expand">maintainFlex</a><span> : Boolean</span></div><div class="description"><div class="short">Only valid when a sibling element of a Splitter within a VBox or
800 HBox layout.
801
802
803 Specifies that if an immediate siblin...</div><div class="long"><p><b>Only valid when a sibling element of a <a href="Ext.resizer.Splitter.html" rel="Ext.resizer.Splitter" class="docClass">Splitter</a> within a <a href="Ext.layout.container.VBox.html" rel="Ext.layout.container.VBox" class="docClass">VBox</a> or
804 <a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">HBox</a> layout.</b></p>
805
806
807 <p>Specifies that if an immediate sibling Splitter is moved, the Component on the <i>other</i> side is resized, and this
808 Component maintains its configured <a href="Ext.layout.container.Box.html#flex" rel="Ext.layout.container.Box#flex" class="docClass">flex</a> value.</p>
809
810 </div></div></div><div id="config-margin" class="member inherited"><a href="Ext.form.FieldContainer.html#config-margin" rel="config-margin" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-margin" class="viewSource">view source</a></div><a name="margin"></a><a name="config-margin"></a><a href="Ext.form.FieldContainer.html#" rel="config-margin" class="cls expand">margin</a><span> : Number/String</span></div><div class="description"><div class="short">Specifies the margin for this component. The margin can be a single numeric value to apply to all sides or
811 it can be ...</div><div class="long"><p>Specifies the margin for this component. The margin can be a single numeric value to apply to all sides or
812 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
813 </div></div></div><div id="config-maxHeight" class="member inherited"><a href="Ext.form.FieldContainer.html#config-maxHeight" rel="config-maxHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-maxHeight" class="viewSource">view source</a></div><a name="maxHeight"></a><a name="config-maxHeight"></a><a href="Ext.form.FieldContainer.html#" rel="config-maxHeight" class="cls expand">maxHeight</a><span> : Number</span></div><div class="description"><div class="short">The maximum value in pixels which this Component will set its height to.
814
815
816 Warning: This will override any size manag...</div><div class="long"><p>The maximum value in pixels which this Component will set its height to.</p>
817
818
819 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
820
821 </div></div></div><div id="config-maxWidth" class="member inherited"><a href="Ext.form.FieldContainer.html#config-maxWidth" rel="config-maxWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-maxWidth" class="viewSource">view source</a></div><a name="maxWidth"></a><a name="config-maxWidth"></a><a href="Ext.form.FieldContainer.html#" rel="config-maxWidth" class="cls expand">maxWidth</a><span> : Number</span></div><div class="description"><div class="short">The maximum value in pixels which this Component will set its width to.
822
823
824 Warning: This will override any size manage...</div><div class="long"><p>The maximum value in pixels which this Component will set its width to.</p>
825
826
827 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
828
829 </div></div></div><div id="config-minHeight" class="member inherited"><a href="Ext.form.FieldContainer.html#config-minHeight" rel="config-minHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-minHeight" class="viewSource">view source</a></div><a name="minHeight"></a><a name="config-minHeight"></a><a href="Ext.form.FieldContainer.html#" rel="config-minHeight" class="cls expand">minHeight</a><span> : Number</span></div><div class="description"><div class="short">The minimum value in pixels which this Component will set its height to.
830
831
832 Warning: This will override any size manag...</div><div class="long"><p>The minimum value in pixels which this Component will set its height to.</p>
833
834
835 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
836
837 </div></div></div><div id="config-minWidth" class="member inherited"><a href="Ext.form.FieldContainer.html#config-minWidth" rel="config-minWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-minWidth" class="viewSource">view source</a></div><a name="minWidth"></a><a name="config-minWidth"></a><a href="Ext.form.FieldContainer.html#" rel="config-minWidth" class="cls expand">minWidth</a><span> : Number</span></div><div class="description"><div class="short">The minimum value in pixels which this Component will set its width to.
838
839
840 Warning: This will override any size manage...</div><div class="long"><p>The minimum value in pixels which this Component will set its width to.</p>
841
842
843 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
844
845 </div></div></div><div id="config-msgTarget" class="member inherited"><a href="Ext.form.FieldContainer.html#config-msgTarget" rel="config-msgTarget" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-msgTarget" class="viewSource">view source</a></div><a name="msgTarget"></a><a name="config-msgTarget"></a><a href="Ext.form.FieldContainer.html#" rel="config-msgTarget" class="cls expand">msgTarget</a><span> : String</span></div><div class="description"><div class="short">The location where the error message text should display.
846 Must be one of the following values:
847
848
849
850 qtip Display a quic...</div><div class="long"><p>The location where the error message text should display.
851 Must be one of the following values:</p>
852
853
854 <div class="mdetail-params"><ul>
855 <li><code>qtip</code> Display a quick tip containing the message when the user hovers over the field. This is the default.
856 <div class="subdesc"><b><a href="Ext.tip.QuickTipManager.html#init" rel="Ext.tip.QuickTipManager#init" class="docClass">Ext.tip.QuickTipManager.init</a> must have been called for this setting to work.</b></div></li>
857 <li><code>title</code> Display the message in a default browser title attribute popup.</li>
858 <li><code>under</code> Add a block div beneath the field containing the error message.</li>
859 <li><code>side</code> Add an error icon to the right of the field, displaying the message in a popup on hover.</li>
860 <li><code>none</code> Don't display any error message. This might be useful if you are implementing custom error display.</li>
861 <li><code>[element id]</code> Add the error message directly to the innerHTML of the specified element.</li>
862 </ul></div>
863
864 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-overCls" rel="config-overCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-overCls" class="viewSource">view source</a></div><a name="overCls"></a><a name="config-overCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-overCls" class="cls expand">overCls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves
865 over the Element, and...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element when the mouse moves
866 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
867 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
868 </div></div></div><div id="config-padding" class="member inherited"><a href="Ext.form.FieldContainer.html#config-padding" rel="config-padding" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-padding" class="viewSource">view source</a></div><a name="padding"></a><a name="config-padding"></a><a href="Ext.form.FieldContainer.html#" rel="config-padding" class="cls expand">padding</a><span> : Number/String</span></div><div class="description"><div class="short">Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or
869 it can b...</div><div class="long"><p>Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or
870 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
871 </div></div></div><div id="config-plugins" class="member inherited"><a href="Ext.form.FieldContainer.html#config-plugins" rel="config-plugins" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-plugins" class="viewSource">view source</a></div><a name="plugins"></a><a name="config-plugins"></a><a href="Ext.form.FieldContainer.html#" rel="config-plugins" class="cls expand">plugins</a><span> : Object/Array</span></div><div class="description"><div class="short">An object or array of objects that will provide custom functionality for this component.  The only
872 requirement for a ...</div><div class="long"><p>An object or array of objects that will provide custom functionality for this component.  The only
873 requirement for a valid plugin is that it contain an init method that accepts a reference of type <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>.
874 When a component is created, if any plugins are available, the component will call the init method on each
875 plugin, passing a reference to itself.  Each plugin can then call methods or respond to events on the
876 component as needed to provide its functionality.</p>
877 </div></div></div><div id="config-preventMark" class="member inherited"><a href="Ext.form.FieldContainer.html#config-preventMark" rel="config-preventMark" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-preventMark" class="viewSource">view source</a></div><a name="preventMark"></a><a name="config-preventMark"></a><a href="Ext.form.FieldContainer.html#" rel="config-preventMark" class="cls expand">preventMark</a><span> : Boolean</span></div><div class="description"><div class="short"><p><tt>true</tt> to disable displaying any <a href="Ext.form.FieldContainer.html#setActiveError" rel="Ext.form.FieldContainer#setActiveError" class="docClass">error message</a> set on this object.
878 Defaults to <tt>false</tt>.</p>
879 </div><div class="long"><p><tt>true</tt> to disable displaying any <a href="Ext.form.FieldContainer.html#setActiveError" rel="Ext.form.FieldContainer#setActiveError" class="docClass">error message</a> set on this object.
880 Defaults to <tt>false</tt>.</p>
881 </div></div></div><div id="config-renderSelectors" class="member inherited"><a href="Ext.form.FieldContainer.html#config-renderSelectors" rel="config-renderSelectors" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-renderSelectors" class="viewSource">view source</a></div><a name="renderSelectors"></a><a name="config-renderSelectors"></a><a href="Ext.form.FieldContainer.html#" rel="config-renderSelectors" class="cls expand">renderSelectors</a><span> : Object</span></div><div class="description"><div class="short">An object containing properties specifying DomQuery selectors which identify child elements
882 created by the render pro...</div><div class="long"><p>An object containing properties specifying <a href="Ext.DomQuery.html" rel="Ext.DomQuery" class="docClass">DomQuery</a> selectors which identify child elements
883 created by the render process.</p>
884
885 <p>After the Component's internal structure is rendered according to the <a href="Ext.form.FieldContainer.html#renderTpl" rel="Ext.form.FieldContainer#renderTpl" class="docClass">renderTpl</a>, this object is iterated through,
886 and the found Elements are added as properties to the Component using the <code>renderSelector</code> property name.</p>
887
888 <p>For example, a Component which rendered an image, and description into its element might use the following properties
889 coded into its prototype:</p>
890
891 <pre><code>renderTpl: '&amp;lt;img src="{imageUrl}" class="x-image-component-img"&gt;&amp;lt;div class="x-image-component-desc"&gt;{description}&amp;gt;/div&amp;lt;',
892
893 renderSelectors: {
894     image: 'img.x-image-component-img',
895     descEl: 'div.x-image-component-desc'
896 }
897 </code></pre>
898
899 <p>After rendering, the Component would have a property <code>image</code> referencing its child <code>img</code> Element,
900 and a property <code>descEl</code> referencing the <code>div</code> Element which contains the description.</p>
901 </div></div></div><div id="config-renderTo" class="member inherited"><a href="Ext.form.FieldContainer.html#config-renderTo" rel="config-renderTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-renderTo" class="viewSource">view source</a></div><a name="renderTo"></a><a name="config-renderTo"></a><a href="Ext.form.FieldContainer.html#" rel="config-renderTo" class="cls expand">renderTo</a><span> : Mixed</span></div><div class="description"><div class="short">Specify the id of the element, a DOM element or an existing Element that this component
902 will be rendered into.
903
904
905
906 Not...</div><div class="long"><p>Specify the id of the element, a DOM element or an existing Element that this component
907 will be rendered into.</p>
908
909
910 <div><ul>
911 <li><b>Notes</b> : <ul>
912 <div class="sub-desc">Do <u>not</u> use this option if the Component is to be a child item of
913 a <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>. It is the responsibility of the
914 <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>'s <a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout manager</a>
915 to render and manage its child items.</div>
916 <div class="sub-desc">When using this config, a call to render() is not required.</div>
917 </ul></li>
918 </ul></div>
919
920
921 <p>See <code><a href="Ext.form.FieldContainer.html#render" rel="Ext.form.FieldContainer#render" class="docClass">render</a></code> also.</p>
922
923 </div></div></div><div id="config-renderTpl" class="member inherited"><a href="Ext.form.FieldContainer.html#config-renderTpl" rel="config-renderTpl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-renderTpl" class="viewSource">view source</a></div><a name="renderTpl"></a><a name="config-renderTpl"></a><a href="Ext.form.FieldContainer.html#" rel="config-renderTpl" class="cls expand">renderTpl</a><span> : Mixed</span></div><div class="description"><div class="short">An XTemplate used to create the internal structure inside this Component's
924 encapsulating Element.
925
926
927 You do not normal...</div><div class="long"><p>An <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">XTemplate</a> used to create the internal structure inside this Component's
928 encapsulating <a href="Ext.form.FieldContainer.html#getEl" rel="Ext.form.FieldContainer#getEl" class="docClass">Element</a>.</p>
929
930
931 <p>You do not normally need to specify this. For the base classes <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>
932 and <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Ext.container.Container</a>, this defaults to <b><code>null</code></b> which means that they will be initially rendered
933 with no internal structure; they render their <a href="Ext.form.FieldContainer.html#getEl" rel="Ext.form.FieldContainer#getEl" class="docClass">Element</a> empty. The more specialized ExtJS and Touch classes
934 which use a more complex DOM structure, provide their own template definitions.</p>
935
936
937 <p>This is intended to allow the developer to create application-specific utility Components with customized
938 internal structure.</p>
939
940
941 <p>Upon rendering, any created child elements may be automatically imported into object properties using the
942 <a href="Ext.form.FieldContainer.html#renderSelectors" rel="Ext.form.FieldContainer#renderSelectors" class="docClass">renderSelectors</a> option.</p>
943
944 </div></div></div><div id="config-resizable" class="member inherited"><a href="Ext.form.FieldContainer.html#config-resizable" rel="config-resizable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-resizable" class="viewSource">view source</a></div><a name="resizable"></a><a name="config-resizable"></a><a href="Ext.form.FieldContainer.html#" rel="config-resizable" class="cls expand">resizable</a><span> : Mixed</span></div><div class="description"><div class="short">Specify as true to apply a Resizer to this Component
945 after rendering.
946
947
948 May also be specified as a config object to b...</div><div class="long"><p>Specify as <code>true</code> to apply a <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Resizer</a> to this Component
949 after rendering.</p>
950
951
952 <p>May also be specified as a config object to be passed to the constructor of <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Resizer</a>
953 to override any defaults. By default the Component passes its minimum and maximum size, and uses
954 <code><a href="Ext.resizer.Resizer.html#dynamic" rel="Ext.resizer.Resizer#dynamic" class="docClass">Ext.resizer.Resizer.dynamic</a>: false</code></p>
955
956 </div></div></div><div id="config-resizeHandles" class="member inherited"><a href="Ext.form.FieldContainer.html#config-resizeHandles" rel="config-resizeHandles" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-resizeHandles" class="viewSource">view source</a></div><a name="resizeHandles"></a><a name="config-resizeHandles"></a><a href="Ext.form.FieldContainer.html#" rel="config-resizeHandles" class="cls expand">resizeHandles</a><span> : String</span></div><div class="description"><div class="short"><p>A valid <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Ext.resizer.Resizer</a> handles config string (defaults to 'all').  Only applies when resizable = true.</p>
957 </div><div class="long"><p>A valid <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Ext.resizer.Resizer</a> handles config string (defaults to 'all').  Only applies when resizable = true.</p>
958 </div></div></div><div id="config-saveBuffer" class="member inherited"><a href="Ext.form.FieldContainer.html#config-saveBuffer" rel="config-saveBuffer" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-saveBuffer" class="viewSource">view source</a></div><a name="saveBuffer"></a><a name="config-saveBuffer"></a><a href="Ext.form.FieldContainer.html#" rel="config-saveBuffer" class="cls expand">saveBuffer</a><span> : Number</span></div><div class="description"><div class="short"><p>A buffer to be applied if many state events are fired within
959 a short period. Defaults to 100.</p>
960 </div><div class="long"><p>A buffer to be applied if many state events are fired within
961 a short period. Defaults to 100.</p>
962 </div></div></div><div id="config-shadow" class="member inherited"><a href="Ext.form.FieldContainer.html#config-shadow" rel="config-shadow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-cfg-shadow" class="viewSource">view source</a></div><a name="shadow"></a><a name="config-shadow"></a><a href="Ext.form.FieldContainer.html#" rel="config-shadow" class="cls expand">shadow</a><span> : String/Boolean</span></div><div class="description"><div class="short">Specifies whether the floating component should be given a shadow. Set to
963 true to automatically create an Ext.Shadow,...</div><div class="long"><p>Specifies whether the floating component should be given a shadow. Set to
964 <tt>true</tt> to automatically create an <a href="Ext.Shadow.html" rel="Ext.Shadow" class="docClass">Ext.Shadow</a>, or a string indicating the
965 shadow's display <a href="Ext.Shadow.html#mode" rel="Ext.Shadow#mode" class="docClass">Ext.Shadow.mode</a>. Set to <tt>false</tt> to disable the shadow.
966 (Defaults to <tt>'sides'</tt>.)</p>
967 </div></div></div><div id="config-stateEvents" class="member inherited"><a href="Ext.form.FieldContainer.html#config-stateEvents" rel="config-stateEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-stateEvents" class="viewSource">view source</a></div><a name="stateEvents"></a><a name="config-stateEvents"></a><a href="Ext.form.FieldContainer.html#" rel="config-stateEvents" class="cls expand">stateEvents</a><span> : Array</span></div><div class="description"><div class="short">An array of events that, when fired, should trigger this object to
968 save its state (defaults to none). stateEvents may...</div><div class="long"><p>An array of events that, when fired, should trigger this object to
969 save its state (defaults to none). <code>stateEvents</code> may be any type
970 of event supported by this object, including browser or custom events
971 (e.g., <tt>['click', 'customerchange']</tt>).</p>
972
973
974 <p>See <code><a href="Ext.form.FieldContainer.html#stateful" rel="Ext.form.FieldContainer#stateful" class="docClass">stateful</a></code> for an explanation of saving and
975 restoring object state.</p>
976
977 </div></div></div><div id="config-stateId" class="member inherited"><a href="Ext.form.FieldContainer.html#config-stateId" rel="config-stateId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-stateId" class="viewSource">view source</a></div><a name="stateId"></a><a name="config-stateId"></a><a href="Ext.form.FieldContainer.html#" rel="config-stateId" class="cls expand">stateId</a><span> : String</span></div><div class="description"><div class="short">The unique id for this object to use for state management purposes.
978
979 See stateful for an explanation of saving and re...</div><div class="long"><p>The unique id for this object to use for state management purposes.</p>
980
981 <p>See <a href="Ext.form.FieldContainer.html#stateful" rel="Ext.form.FieldContainer#stateful" class="docClass">stateful</a> for an explanation of saving and restoring state.</p>
982
983 </div></div></div><div id="config-stateful" class="member inherited"><a href="Ext.form.FieldContainer.html#config-stateful" rel="config-stateful" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-stateful" class="viewSource">view source</a></div><a name="stateful"></a><a name="config-stateful"></a><a href="Ext.form.FieldContainer.html#" rel="config-stateful" class="cls expand">stateful</a><span> : Boolean</span></div><div class="description"><div class="short">A flag which causes the object to attempt to restore the state of
984 internal properties from a saved state on startup. ...</div><div class="long"><p>A flag which causes the object to attempt to restore the state of
985 internal properties from a saved state on startup. The object must have
986 a <code><a href="Ext.form.FieldContainer.html#stateId" rel="Ext.form.FieldContainer#stateId" class="docClass">stateId</a></code> for state to be managed. 
987 Auto-generated ids are not guaranteed to be stable across page loads and 
988 cannot be relied upon to save and restore the same state for a object.<p>
989 <p>For state saving to work, the state manager's provider must have been
990 set to an implementation of <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> which overrides the
991 <a href="Ext.state.Provider.html#set" rel="Ext.state.Provider#set" class="docClass">set</a> and <a href="Ext.state.Provider.html#get" rel="Ext.state.Provider#get" class="docClass">get</a>
992 methods to save and recall name/value pairs. A built-in implementation,
993 <a href="Ext.state.CookieProvider.html" rel="Ext.state.CookieProvider" class="docClass">Ext.state.CookieProvider</a> is available.</p>
994 <p>To set the state provider for the current page:</p>
995 <pre><code>Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
996     expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now
997 }));
998 </code></pre>
999 <p>A stateful object attempts to save state when one of the events
1000 listed in the <code><a href="Ext.form.FieldContainer.html#stateEvents" rel="Ext.form.FieldContainer#stateEvents" class="docClass">stateEvents</a></code> configuration fires.</p>
1001 <p>To save state, a stateful object first serializes its state by
1002 calling <b><code><a href="Ext.form.FieldContainer.html#getState" rel="Ext.form.FieldContainer#getState" class="docClass">getState</a></code></b>. By default, this function does
1003 nothing. The developer must provide an implementation which returns an
1004 object hash which represents the restorable state of the object.</p>
1005 <p>The value yielded by getState is passed to <a href="Ext.state.Manager.html#set" rel="Ext.state.Manager#set" class="docClass">Ext.state.Manager.set</a>
1006 which uses the configured <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> to save the object
1007 keyed by the <code><a href="stateId.html" rel="stateId" class="docClass">stateId</a></code></p>.
1008 <p>During construction, a stateful object attempts to <i>restore</i>
1009 its state by calling <a href="Ext.state.Manager.html#get" rel="Ext.state.Manager#get" class="docClass">Ext.state.Manager.get</a> passing the
1010 <code><a href="Ext.form.FieldContainer.html#stateId" rel="Ext.form.FieldContainer#stateId" class="docClass">stateId</a></code></p>
1011 <p>The resulting object is passed to <b><code><a href="Ext.form.FieldContainer.html#applyState" rel="Ext.form.FieldContainer#applyState" class="docClass">applyState</a></code></b>.
1012 The default implementation of <code><a href="Ext.form.FieldContainer.html#applyState" rel="Ext.form.FieldContainer#applyState" class="docClass">applyState</a></code> simply copies
1013 properties into the object, but a developer may override this to support
1014 more behaviour.</p>
1015 <p>You can perform extra processing on state save and restore by attaching
1016 handlers to the <a href="Ext.form.FieldContainer.html#beforestaterestore" rel="Ext.form.FieldContainer#beforestaterestore" class="docClass">beforestaterestore</a>, <a href="Ext.form.FieldContainer.html#staterestore" rel="Ext.form.FieldContainer#staterestore" class="docClass">staterestore</a>,
1017 <a href="Ext.form.FieldContainer.html#beforestatesave" rel="Ext.form.FieldContainer#beforestatesave" class="docClass">beforestatesave</a> and <a href="Ext.form.FieldContainer.html#statesave" rel="Ext.form.FieldContainer#statesave" class="docClass">statesave</a> events.</p>
1018
1019 </div></div></div><div id="config-style" class="member inherited"><a href="Ext.form.FieldContainer.html#config-style" rel="config-style" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-style" class="viewSource">view source</a></div><a name="style"></a><a name="config-style"></a><a href="Ext.form.FieldContainer.html#" rel="config-style" class="cls expand">style</a><span> : String</span></div><div class="description"><div class="short">A custom style specification to be applied to this component's Element.  Should be a valid argument to
1020 Ext.core.Eleme...</div><div class="long"><p>A custom style specification to be applied to this component's Element.  Should be a valid argument to
1021 <a href="Ext.core.Element.html#applyStyles" rel="Ext.core.Element#applyStyles" class="docClass">Ext.core.Element.applyStyles</a>.</p>
1022
1023 <pre><code>        new Ext.panel.Panel({
1024             title: 'Some Title',
1025             renderTo: Ext.getBody(),
1026             width: 400, height: 300,
1027             layout: 'form',
1028             items: [{
1029                 xtype: 'textarea',
1030                 style: {
1031                     width: '95%',
1032                     marginBottom: '10px'
1033                 }
1034             },
1035             new Ext.button.Button({
1036                 text: 'Send',
1037                 minWidth: '100',
1038                 style: {
1039                     marginBottom: '10px'
1040                 }
1041             })
1042             ]
1043         });
1044      </code></pre>
1045
1046 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.form.FieldContainer.html#config-styleHtmlCls" rel="config-styleHtmlCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlCls" class="viewSource">view source</a></div><a name="styleHtmlCls"></a><a name="config-styleHtmlCls"></a><a href="Ext.form.FieldContainer.html#" rel="config-styleHtmlCls" class="cls expand">styleHtmlCls</a><span> : String</span></div><div class="description"><div class="short"><p>The class that is added to the content target when you set styleHtmlContent to true.
1047 Defaults to 'x-html'</p>
1048 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
1049 Defaults to 'x-html'</p>
1050 </div></div></div><div id="config-styleHtmlContent" class="member inherited"><a href="Ext.form.FieldContainer.html#config-styleHtmlContent" rel="config-styleHtmlContent" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlContent" class="viewSource">view source</a></div><a name="styleHtmlContent"></a><a name="config-styleHtmlContent"></a><a href="Ext.form.FieldContainer.html#" rel="config-styleHtmlContent" class="cls expand">styleHtmlContent</a><span> : String</span></div><div class="description"><div class="short"><p>True to automatically style the html inside the content target of this component (body for panels).
1051 Defaults to false.</p>
1052 </div><div class="long"><p>True to automatically style the html inside the content target of this component (body for panels).
1053 Defaults to false.</p>
1054 </div></div></div><div id="config-suspendLayout" class="member inherited"><a href="Ext.form.FieldContainer.html#config-suspendLayout" rel="config-suspendLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-suspendLayout" class="viewSource">view source</a></div><a name="suspendLayout"></a><a name="config-suspendLayout"></a><a href="Ext.form.FieldContainer.html#" rel="config-suspendLayout" class="cls expand">suspendLayout</a><span> : Boolean</span></div><div class="description"><div class="short">If true, suspend calls to doLayout.  Useful when batching multiple adds to a container and not passing them
1055 as multip...</div><div class="long"><p>If true, suspend calls to doLayout.  Useful when batching multiple adds to a container and not passing them
1056 as multiple arguments or an array.</p>
1057 </div></div></div><div id="config-toFrontOnShow" class="member inherited"><a href="Ext.form.FieldContainer.html#config-toFrontOnShow" rel="config-toFrontOnShow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-toFrontOnShow" class="viewSource">view source</a></div><a name="toFrontOnShow"></a><a name="config-toFrontOnShow"></a><a href="Ext.form.FieldContainer.html#" rel="config-toFrontOnShow" class="cls expand">toFrontOnShow</a><span> : Boolean</span></div><div class="description"><div class="short">True to automatically call toFront when the show method is called
1058 on an already visible, floating component (default ...</div><div class="long"><p>True to automatically call <a href="Ext.form.FieldContainer.html#toFront" rel="Ext.form.FieldContainer#toFront" class="docClass">toFront</a> when the <a href="Ext.form.FieldContainer.html#show" rel="Ext.form.FieldContainer#show" class="docClass">show</a> method is called
1059 on an already visible, floating component (default is <code>true</code>).</p>
1060
1061 </div></div></div><div id="config-tpl" class="member inherited"><a href="Ext.form.FieldContainer.html#config-tpl" rel="config-tpl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-tpl" class="viewSource">view source</a></div><a name="tpl"></a><a name="config-tpl"></a><a href="Ext.form.FieldContainer.html#" rel="config-tpl" class="cls expand">tpl</a><span> : Mixed</span></div><div class="description"><div class="short">An Ext.Template, Ext.XTemplate
1062 or an array of strings to form an Ext.XTemplate.
1063 Used in conjunction with the data and...</div><div class="long"><p>An <bold><a href="Ext.Template.html" rel="Ext.Template" class="docClass">Ext.Template</a></bold>, <bold><a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">Ext.XTemplate</a></bold>
1064 or an array of strings to form an <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">Ext.XTemplate</a>.
1065 Used in conjunction with the <code><a href="Ext.form.FieldContainer.html#data" rel="Ext.form.FieldContainer#data" class="docClass">data</a></code> and
1066 <code><a href="Ext.form.FieldContainer.html#tplWriteMode" rel="Ext.form.FieldContainer#tplWriteMode" class="docClass">tplWriteMode</a></code> configurations.</p>
1067 </div></div></div><div id="config-tplWriteMode" class="member inherited"><a href="Ext.form.FieldContainer.html#config-tplWriteMode" rel="config-tplWriteMode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-tplWriteMode" class="viewSource">view source</a></div><a name="tplWriteMode"></a><a name="config-tplWriteMode"></a><a href="Ext.form.FieldContainer.html#" rel="config-tplWriteMode" class="cls expand">tplWriteMode</a><span> : String</span></div><div class="description"><div class="short">The Ext.(X)Template method to use when
1068 updating the content area of the Component. Defaults to 'overwrite'
1069 (see Ext.X...</div><div class="long"><p>The Ext.(X)Template method to use when
1070 updating the content area of the Component. Defaults to <code>'overwrite'</code>
1071 (see <code><a href="Ext.XTemplate.html#overwrite" rel="Ext.XTemplate#overwrite" class="docClass">Ext.XTemplate.overwrite</a></code>).</p>
1072 </div></div></div><div id="config-ui" class="member inherited"><a href="Ext.form.FieldContainer.html#config-ui" rel="config-ui" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-ui" class="viewSource">view source</a></div><a name="ui"></a><a name="config-ui"></a><a href="Ext.form.FieldContainer.html#" rel="config-ui" class="cls expand">ui</a><span> : String/Array</span></div><div class="description"><div class="short"><p>A set style for a component. Can be a string or an Array of multiple strings (UIs)</p>
1073 </div><div class="long"><p>A set style for a component. Can be a string or an Array of multiple strings (UIs)</p>
1074 </div></div></div><div id="config-width" class="member inherited"><a href="Ext.form.FieldContainer.html#config-width" rel="config-width" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-width" class="viewSource">view source</a></div><a name="width"></a><a name="config-width"></a><a href="Ext.form.FieldContainer.html#" rel="config-width" class="cls expand">width</a><span> : Number</span></div><div class="description"><div class="short"><p>The width of this component in pixels.</p>
1075 </div><div class="long"><p>The width of this component in pixels.</p>
1076 </div></div></div></div><div class="m-properties"><a name="properties"></a><div class="definedBy">Defined By</div><h3 class="prp p">Properties</h3><div id="property-bodyEl" class="member f inherited"><a href="Ext.form.FieldContainer.html#property-bodyEl" rel="property-bodyEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-property-bodyEl" class="viewSource">view source</a></div><a name="bodyEl"></a><a name="property-bodyEl"></a><a href="Ext.form.FieldContainer.html#" rel="property-bodyEl" class="cls expand">bodyEl</a><span> : Ext.core.Element</span></div><div class="description"><div class="short"><p>The div Element wrapping the component's contents. Only available after the component has been rendered.</p>
1077 </div><div class="long"><p>The div Element wrapping the component's contents. Only available after the component has been rendered.</p>
1078 </div></div></div><div id="property-draggable" class="member inherited"><a href="Ext.form.FieldContainer.html#property-draggable" rel="property-draggable" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-draggable" class="viewSource">view source</a></div><a name="draggable"></a><a name="property-draggable"></a><a href="Ext.form.FieldContainer.html#" rel="property-draggable" class="cls expand">draggable</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Read-only property indicating whether or not the component can be dragged</p>
1079 </div><div class="long"><p>Read-only property indicating whether or not the component can be dragged</p>
1080 </div></div></div><div id="property-errorEl" class="member inherited"><a href="Ext.form.FieldContainer.html#property-errorEl" rel="property-errorEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-property-errorEl" class="viewSource">view source</a></div><a name="errorEl"></a><a name="property-errorEl"></a><a href="Ext.form.FieldContainer.html#" rel="property-errorEl" class="cls expand">errorEl</a><span> : Ext.core.Element</span></div><div class="description"><div class="short">The div Element that will contain the component's error message(s). Note that depending on the
1081 configured msgTarget, ...</div><div class="long"><p>The div Element that will contain the component's error message(s). Note that depending on the
1082 configured <a href="Ext.form.FieldContainer.html#msgTarget" rel="Ext.form.FieldContainer#msgTarget" class="docClass">msgTarget</a>, this element may be hidden in favor of some other form of
1083 presentation, but will always be present in the DOM for use by assistive technologies.</p>
1084 </div></div></div><div id="property-floatParent" class="member inherited"><a href="Ext.form.FieldContainer.html#property-floatParent" rel="property-floatParent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-property-floatParent" class="viewSource">view source</a></div><a name="floatParent"></a><a name="property-floatParent"></a><a href="Ext.form.FieldContainer.html#" rel="property-floatParent" class="cls expand">floatParent</a><span> : Ext.Container</span></div><div class="description"><div class="short">Optional. Only present for floating Components which were inserted as descendant items of floating Containers.
1085
1086
1087 Floa...</div><div class="long"><p>Optional. Only present for <a href="Ext.form.FieldContainer.html#floating" rel="Ext.form.FieldContainer#floating" class="docClass">floating</a> Components which were inserted as descendant items of floating Containers.</p>
1088
1089
1090 <p>Floating Components that are programatically <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a> will not have a <code>floatParent</code> property.</p>
1091
1092
1093 <p>For <a href="Ext.form.FieldContainer.html#floating" rel="Ext.form.FieldContainer#floating" class="docClass">floating</a> Components which are child items of a Container, the floatParent will be the floating ancestor Container which is
1094 responsible for the base z-index value of all its floating descendants. It provides a <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a> which provides
1095 z-indexing services for all its descendant floating Components.</p>
1096
1097
1098 <p>For example, the dropdown <a href="Ext.view.BoundList.html" rel="Ext.view.BoundList" class="docClass">BoundList</a> of a ComboBox which is in a Window will have the Window as its
1099 <code>floatParent</code></p>
1100
1101
1102 <p>See <a href="Ext.form.FieldContainer.html#floating" rel="Ext.form.FieldContainer#floating" class="docClass">floating</a> and <a href="Ext.form.FieldContainer.html#zIndexManager" rel="Ext.form.FieldContainer#zIndexManager" class="docClass">zIndexManager</a></p>
1103
1104 </div></div></div><div id="property-frameSize" class="member inherited"><a href="Ext.form.FieldContainer.html#property-frameSize" rel="property-frameSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-frameSize" class="viewSource">view source</a></div><a name="frameSize"></a><a name="property-frameSize"></a><a href="Ext.form.FieldContainer.html#" rel="property-frameSize" class="cls expand">frameSize</a><span> : Object</span></div><div class="description"><div class="short">Read-only property indicating the width of any framing elements which were added within the encapsulating element
1105 to ...</div><div class="long"><p>Read-only property indicating the width of any framing elements which were added within the encapsulating element
1106 to provide graphical, rounded borders. See the <a href="Ext.form.FieldContainer.html#frame" rel="Ext.form.FieldContainer#frame" class="docClass">frame</a> config.</p>
1107
1108
1109 <p> This is an object containing the frame width in pixels for all four sides of the Component containing
1110 the following properties:</p>
1111
1112
1113 <div class="mdetail-params"><ul>
1114 <li><code>top</code> The width of the top framing element in pixels.</li>
1115 <li><code>right</code> The width of the right framing element in pixels.</li>
1116 <li><code>bottom</code> The width of the bottom framing element in pixels.</li>
1117 <li><code>left</code> The width of the left framing element in pixels.</li>
1118 </ul></div>
1119
1120 </div></div></div><div id="property-hasActiveFx" class="member inherited"><a href="Ext.form.FieldContainer.html#property-hasActiveFx" rel="property-hasActiveFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-property-hasActiveFx" class="viewSource">view source</a></div><a name="hasActiveFx"></a><a name="property-hasActiveFx"></a><a href="Ext.form.FieldContainer.html#" rel="property-hasActiveFx" class="cls expand">hasActiveFx</a><span> : Object</span></div><div class="description"><div class="short">@deprecated 4.0 Replaced by getActiveAnimation
1121 Returns thq current animation if this object has any effects actively ...</div><div class="long"><p>@deprecated 4.0 Replaced by <a href="Ext.form.FieldContainer.html#getActiveAnimation" rel="Ext.form.FieldContainer#getActiveAnimation" class="docClass">getActiveAnimation</a>
1122 Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1123 </div></div></div><div id="property-isFieldLabelable" class="member inherited"><a href="Ext.form.FieldContainer.html#property-isFieldLabelable" rel="property-isFieldLabelable" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-property-isFieldLabelable" class="viewSource">view source</a></div><a name="isFieldLabelable"></a><a name="property-isFieldLabelable"></a><a href="Ext.form.FieldContainer.html#" rel="property-isFieldLabelable" class="cls expand">isFieldLabelable</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Flag denoting that this object is labelable as a field. Always true.</p>
1124 </div><div class="long"><p>Flag denoting that this object is labelable as a field. Always true.</p>
1125 </div></div></div><div id="property-items" class="member inherited"><a href="Ext.form.FieldContainer.html#property-items" rel="property-items" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-property-items" class="viewSource">view source</a></div><a name="items"></a><a name="property-items"></a><a href="Ext.form.FieldContainer.html#" rel="property-items" class="cls expand">items</a><span> : Ext.util.MixedCollection</span></div><div class="description"><div class="short"><p>The MixedCollection containing all the child items of this container.</p>
1126 </div><div class="long"><p>The MixedCollection containing all the child items of this container.</p>
1127 </div></div></div><div id="property-labelEl" class="member inherited"><a href="Ext.form.FieldContainer.html#property-labelEl" rel="property-labelEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-property-labelEl" class="viewSource">view source</a></div><a name="labelEl"></a><a name="property-labelEl"></a><a href="Ext.form.FieldContainer.html#" rel="property-labelEl" class="cls expand">labelEl</a><span> : Ext.core.Element</span></div><div class="description"><div class="short"><p>The label Element for this component. Only available after the component has been rendered.</p>
1128 </div><div class="long"><p>The label Element for this component. Only available after the component has been rendered.</p>
1129 </div></div></div><div id="property-maskOnDisable" class="member inherited"><a href="Ext.form.FieldContainer.html#property-maskOnDisable" rel="property-maskOnDisable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-maskOnDisable" class="viewSource">view source</a></div><a name="maskOnDisable"></a><a name="property-maskOnDisable"></a><a href="Ext.form.FieldContainer.html#" rel="property-maskOnDisable" class="cls expand">maskOnDisable</a><span> : Boolean</span></div><div class="description"><div class="short">This is an internal flag that you use when creating custom components.
1130 By default this is set to true which means tha...</div><div class="long"><p>This is an internal flag that you use when creating custom components.
1131 By default this is set to true which means that every component gets a mask when its disabled.
1132 Components like FieldContainer, FieldSet, Field, Button, Tab override this property to false
1133 since they want to implement custom disable logic.</p>
1134 </div></div></div><div id="property-ownerCt" class="member inherited"><a href="Ext.form.FieldContainer.html#property-ownerCt" rel="property-ownerCt" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-ownerCt" class="viewSource">view source</a></div><a name="ownerCt"></a><a name="property-ownerCt"></a><a href="Ext.form.FieldContainer.html#" rel="property-ownerCt" class="cls expand">ownerCt</a><span> : Ext.Container</span></div><div class="description"><div class="short">This Component's owner Container (defaults to undefined, and is set automatically when
1135 this Component is added to a C...</div><div class="long"><p>This Component's owner <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a> (defaults to undefined, and is set automatically when
1136 this Component is added to a Container).  Read-only.</p>
1137
1138 <p><b>Note</b>: to access items within the Container see <tt><a href="Ext.form.FieldContainer.html#itemId" rel="Ext.form.FieldContainer#itemId" class="docClass">itemId</a></tt>.</p>
1139
1140 </div></div></div><div id="property-rendered" class="member inherited"><a href="Ext.form.FieldContainer.html#property-rendered" rel="property-rendered" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-rendered" class="viewSource">view source</a></div><a name="rendered"></a><a name="property-rendered"></a><a href="Ext.form.FieldContainer.html#" rel="property-rendered" class="cls expand">rendered</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Read-only property indicating whether or not the component has been rendered.</p>
1141 </div><div class="long"><p>Read-only property indicating whether or not the component has been rendered.</p>
1142 </div></div></div><div id="property-stopFx" class="member inherited"><a href="Ext.form.FieldContainer.html#property-stopFx" rel="property-stopFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-property-stopFx" class="viewSource">view source</a></div><a name="stopFx"></a><a name="property-stopFx"></a><a href="Ext.form.FieldContainer.html#" rel="property-stopFx" class="cls expand">stopFx</a><span> : Object</span></div><div class="description"><div class="short">Stops any running effects and clears this object's internal effects queue if it contains
1143 any additional effects that ...</div><div class="long"><p>Stops any running effects and clears this object's internal effects queue if it contains
1144 any additional effects that haven't started yet.</p>
1145 </div></div></div><div id="property-zIndexManager" class="member inherited"><a href="Ext.form.FieldContainer.html#property-zIndexManager" rel="property-zIndexManager" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-property-zIndexManager" class="viewSource">view source</a></div><a name="zIndexManager"></a><a name="property-zIndexManager"></a><a href="Ext.form.FieldContainer.html#" rel="property-zIndexManager" class="cls expand">zIndexManager</a><span> : Ext.ZIndexManager</span></div><div class="description"><div class="short">Optional. Only present for floating Components after they have been rendered.
1146
1147
1148 A reference to the ZIndexManager whic...</div><div class="long"><p>Optional. Only present for <a href="Ext.form.FieldContainer.html#floating" rel="Ext.form.FieldContainer#floating" class="docClass">floating</a> Components after they have been rendered.</p>
1149
1150
1151 <p>A reference to the ZIndexManager which is managing this Component's z-index.</p>
1152
1153
1154 <p>The <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a> maintains a stack of floating Component z-indices, and also provides a single modal
1155 mask which is insert just beneath the topmost visible modal floating Component.</p>
1156
1157
1158 <p>Floating Components may be <a href="Ext.form.FieldContainer.html#toFront" rel="Ext.form.FieldContainer#toFront" class="docClass">brought to the front</a> or <a href="Ext.form.FieldContainer.html#toBack" rel="Ext.form.FieldContainer#toBack" class="docClass">sent to the back</a> of the z-index stack.</p>
1159
1160
1161 <p>This defaults to the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> for floating Components that are programatically
1162 <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a>.</p>
1163
1164
1165 <p>For <a href="Ext.form.FieldContainer.html#floating" rel="Ext.form.FieldContainer#floating" class="docClass">floating</a> Components which are added to a Container, the ZIndexManager is acquired from the first ancestor Container found
1166 which is floating, or if not found the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> is used.</p>
1167
1168
1169 <p>See <a href="Ext.form.FieldContainer.html#floating" rel="Ext.form.FieldContainer#floating" class="docClass">floating</a> and <a href="Ext.form.FieldContainer.html#floatParent" rel="Ext.form.FieldContainer#floatParent" class="docClass">floatParent</a></p>
1170
1171 </div></div></div></div><div class="m-methods"><a name="methods"></a><div class="definedBy">Defined By</div><h3 class="mth p">Methods</h3><div id="method-FieldContainer" class="member f ni"><a href="Ext.form.FieldContainer.html#method-FieldContainer" rel="method-FieldContainer" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.FieldContainer.html" class="definedIn docClass">Ext.form.FieldContainer</a><br/><a href="../source/FieldContainer.html#Ext-form.FieldContainer-method-constructor" class="viewSource">view source</a></div><a name="FieldContainer"></a><a name="method-FieldContainer"></a><a href="Ext.form.FieldContainer.html#" rel="method-FieldContainer" class="cls expand">FieldContainer</a>(
1172 <span class="pre">Object config</span>)
1173  : void</div><div class="description"><div class="short"><p>Creates a new <a href="Ext.form.FieldContainer.html" rel="Ext.form.FieldContainer" class="docClass">Ext.form.FieldContainer</a> instance.</p>
1174 </div><div class="long"><p>Creates a new <a href="Ext.form.FieldContainer.html" rel="Ext.form.FieldContainer" class="docClass">Ext.form.FieldContainer</a> instance.</p>
1175 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The component configuration.</p>
1176 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1177 </li></ul></div></div></div><div id="method-add" class="member inherited"><a href="Ext.form.FieldContainer.html#method-add" rel="method-add" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-add" class="viewSource">view source</a></div><a name="add"></a><a name="method-add"></a><a href="Ext.form.FieldContainer.html#" rel="method-add" class="cls expand">add</a>(
1178 <span class="pre">...Object/Array Component</span>)
1179  : Ext.Component/Array</div><div class="description"><div class="short">Adds Component(s) to this Container.
1180
1181 Description:
1182
1183
1184 Fires the beforeadd event before adding.
1185 The Container's default...</div><div class="long"><p>Adds <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a>(s) to this Container.</p>
1186
1187 <h2>Description:</h2>
1188
1189 <ul>
1190 <li>Fires the <a href="Ext.form.FieldContainer.html#beforeadd" rel="Ext.form.FieldContainer#beforeadd" class="docClass">beforeadd</a> event before adding.</li>
1191 <li>The Container's <a href="Ext.form.FieldContainer.html#defaults" rel="Ext.form.FieldContainer#defaults" class="docClass">default config values</a> will be applied
1192 accordingly (see <code><a href="Ext.form.FieldContainer.html#defaults" rel="Ext.form.FieldContainer#defaults" class="docClass">defaults</a></code> for details).</li>
1193 <li>Fires the <code><a href="Ext.form.FieldContainer.html#add" rel="Ext.form.FieldContainer#add" class="docClass">add</a></code> event after the component has been added.</li>
1194 </ul>
1195
1196
1197 <h2>Notes:</h2>
1198
1199 <p>If the Container is <strong>already rendered</strong> when <code>add</code>
1200 is called, it will render the newly added Component into its content area.</p>
1201
1202 <p><strong><strong>If</strong></strong> the Container was configured with a size-managing <a href="Ext.form.FieldContainer.html#layout" rel="Ext.form.FieldContainer#layout" class="docClass">layout</a> manager, the Container
1203 will recalculate its internal layout at this time too.</p>
1204
1205 <p>Note that the default layout manager simply renders child Components sequentially into the content area and thereafter performs no sizing.</p>
1206
1207 <p>If adding multiple new child Components, pass them as an array to the <code>add</code> method, so that only one layout recalculation is performed.</p>
1208
1209 <pre><code>tb = new <a href="Ext.toolbar.Toolbar.html" rel="Ext.toolbar.Toolbar" class="docClass">Ext.toolbar.Toolbar</a>({
1210     renderTo: document.body
1211 });  // toolbar is rendered
1212 tb.add([{text:'Button 1'}, {text:'Button 2'}]); // add multiple items. (<a href="Ext.form.FieldContainer.html#defaultType" rel="Ext.form.FieldContainer#defaultType" class="docClass">defaultType</a> for <a href="Ext.toolbar.Toolbar.html" rel="Ext.toolbar.Toolbar" class="docClass">Toolbar</a> is 'button')
1213 </code></pre>
1214
1215 <h2>Warning:##</h2>
1216
1217 <p>Components directly managed by the BorderLayout layout manager
1218 may not be removed or added.  See the Notes for <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">BorderLayout</a>
1219 for more details.</p>
1220 <h3 class="pa">Parameters</h3><ul><li><span class="pre">Component</span> : ...Object/Array<div class="sub-desc"><p>Either one or more Components to add or an Array of Components to add.
1221 See <code><a href="Ext.form.FieldContainer.html#items" rel="Ext.form.FieldContainer#items" class="docClass">items</a></code> for additional information.</p>
1222 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component/Array</span>&nbsp; &nbsp;<p>The Components that were added.</p>
1223 </li></ul></div></div></div><div id="method-addClass" class="member inherited"><a href="Ext.form.FieldContainer.html#method-addClass" rel="method-addClass" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-addClass" class="viewSource">view source</a></div><a name="addClass"></a><a name="method-addClass"></a><a href="Ext.form.FieldContainer.html#" rel="method-addClass" class="cls expand">addClass</a>(
1224 <span class="pre">String cls</span>)
1225  : Ext.Component</div><div class="description"><div class="short"><p>@deprecated 4.0 Replaced by {link:#addCls}
1226 Adds a CSS class to the top level element representing this component.</p>
1227 </div><div class="long"><p>@deprecated 4.0 Replaced by {link:#addCls}
1228 Adds a CSS class to the top level element representing this component.</p>
1229 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The CSS class name to add</p>
1230 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>Returns the Component to allow method chaining.</p>
1231 </li></ul></div></div></div><div id="method-addCls" class="member inherited"><a href="Ext.form.FieldContainer.html#method-addCls" rel="method-addCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-addCls" class="viewSource">view source</a></div><a name="addCls"></a><a name="method-addCls"></a><a href="Ext.form.FieldContainer.html#" rel="method-addCls" class="cls expand">addCls</a>(
1232 <span class="pre">String cls</span>)
1233  : Ext.Component</div><div class="description"><div class="short"><p>Adds a CSS class to the top level element representing this component.</p>
1234 </div><div class="long"><p>Adds a CSS class to the top level element representing this component.</p>
1235 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The CSS class name to add</p>
1236 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>Returns the Component to allow method chaining.</p>
1237 </li></ul></div></div></div><div id="method-addClsWithUI" class="member inherited"><a href="Ext.form.FieldContainer.html#method-addClsWithUI" rel="method-addClsWithUI" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-addClsWithUI" class="viewSource">view source</a></div><a name="addClsWithUI"></a><a name="method-addClsWithUI"></a><a href="Ext.form.FieldContainer.html#" rel="method-addClsWithUI" class="cls expand">addClsWithUI</a>(
1238 <span class="pre">String/Array cls</span>)
1239  : void</div><div class="description"><div class="short"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.form.FieldContainer.html#addUIClsToElement" rel="Ext.form.FieldContainer#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
1240 to all elements of this component.</p>
1241 </div><div class="long"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.form.FieldContainer.html#addUIClsToElement" rel="Ext.form.FieldContainer#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
1242 to all elements of this component.</p>
1243 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String/Array<div class="sub-desc"><p>A string or an array of strings to add to the uiCls</p>
1244 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1245 </li></ul></div></div></div><div id="method-addEvents" class="member inherited"><a href="Ext.form.FieldContainer.html#method-addEvents" rel="method-addEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addEvents" class="viewSource">view source</a></div><a name="addEvents"></a><a name="method-addEvents"></a><a href="Ext.form.FieldContainer.html#" rel="method-addEvents" class="cls expand">addEvents</a>(
1246 <span class="pre">Object/String o, String </span>)
1247  : void</div><div class="description"><div class="short"><p>Adds the specified events to the list of events which this Observable may fire.</p>
1248 </div><div class="long"><p>Adds the specified events to the list of events which this Observable may fire.</p>
1249 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Object/String<div class="sub-desc"><p>Either an object with event names as properties with a value of <code>true</code>
1250 or the first event name string if multiple event names are being passed as separate parameters.</p>
1251 </div></li><li><span class="pre"></span> : String<div class="sub-desc"><p>[additional] Optional additional event names if multiple event names are being passed as separate parameters.
1252 Usage:</p>
1253
1254 <pre><code>this.addEvents('storeloaded', 'storecleared');
1255 </code></pre>
1256
1257 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1258 </li></ul></div></div></div><div id="method-addListener" class="member inherited"><a href="Ext.form.FieldContainer.html#method-addListener" rel="method-addListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addListener" class="viewSource">view source</a></div><a name="addListener"></a><a name="method-addListener"></a><a href="Ext.form.FieldContainer.html#" rel="method-addListener" class="cls expand">addListener</a>(
1259 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
1260  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object.</p>
1261 </div><div class="long"><p>Appends an event handler to this object.</p>
1262 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to listen for. May also be an object who's property names are event names. See</p>
1263 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes.</p>
1264 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
1265 <b>If omitted, defaults to the object which fired the event.</b></p>
1266 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.
1267 properties. This may contain any of the following properties:<ul>
1268 <li><b>scope</b> : Object<div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
1269 <b>If omitted, defaults to the object which fired the event.</b></div></li>
1270 <li><b>delay</b> : Number<div class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>
1271 <li><b>single</b> : Boolean<div class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>
1272 <li><b>buffer</b> : Number<div class="sub-desc">Causes the handler to be scheduled to run in an <a href="Ext.util.DelayedTask.html" rel="Ext.util.DelayedTask" class="docClass">Ext.util.DelayedTask</a> delayed
1273 by the specified number of milliseconds. If the event fires again within that time, the original
1274 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
1275 <li><b>target</b> : Observable<div class="sub-desc">Only call the handler if the event was fired on the target Observable, <i>not</i>
1276 if the event was bubbled up from a child Observable.</div></li>
1277 <li><b>element</b> : String<div class="sub-desc"><b>This option is only valid for listeners bound to <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a>.</b>
1278 The name of a Component property which references an element to add a listener to.</p>
1279
1280 <p>This option is useful during Component construction to add DOM event listeners to elements of <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a> which
1281 will exist only after the Component is rendered. For example, to add a click listener to a Panel's body:
1282 <pre><code>new Ext.panel.Panel({
1283     title: 'The title',
1284     listeners: {
1285         click: this.handlePanelClick,
1286         element: 'body'
1287     }
1288 });
1289 </code></pre></p>
1290
1291
1292 <p>When added in this way, the options available are the options applicable to <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">Ext.core.Element.addListener</a></p>
1293
1294
1295 <p></div></li>
1296 </ul><br></p>
1297
1298 <p>
1299 <b>Combining Options</b><br>
1300 Using the options argument, it is possible to combine different types of listeners:<br>
1301 <br>
1302 A delayed, one-time listener.
1303 <pre><code>myPanel.on('hide', this.handleClick, this, {
1304 single: true,
1305 delay: 100
1306 });</code></pre>
1307 <p>
1308 <b>Attaching multiple handlers in 1 call</b><br>
1309 The method also allows for a single argument to be passed which is a config object containing properties
1310 which specify multiple events. For example:
1311 <pre><code>myGridPanel.on({
1312     cellClick: this.onCellClick,
1313     mouseover: this.onMouseOver,
1314     mouseout: this.onMouseOut,
1315     scope: this // Important. Ensure "this" is correct during handler execution
1316 });
1317 </code></pre>.
1318 <p>
1319
1320 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1321 </li></ul></div></div></div><div id="method-addManagedListener" class="member inherited"><a href="Ext.form.FieldContainer.html#method-addManagedListener" rel="method-addManagedListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addManagedListener" class="viewSource">view source</a></div><a name="addManagedListener"></a><a name="method-addManagedListener"></a><a href="Ext.form.FieldContainer.html#" rel="method-addManagedListener" class="cls expand">addManagedListener</a>(
1322 <span class="pre">Observable/Element item, Object/String ename, Function fn, Object scope, Object opt</span>)
1323  : void</div><div class="description"><div class="short"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
1324 is destroyed.
1325
1326 </div><div class="long"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
1327 is destroyed.
1328
1329 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Observable/Element<div class="sub-desc"><p>The item to which to add a listener/listeners.</p>
1330 </div></li><li><span class="pre">ename</span> : Object/String<div class="sub-desc"><p>The event name, or an object containing event name properties.</p>
1331 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1332 is the handler function.</p>
1333 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1334 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
1335 </div></li><li><span class="pre">opt</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1336 is the <a href="Ext.util.Observable.html#addListener" rel="Ext.util.Observable#addListener" class="docClass">addListener</a> options.</p>
1337 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1338 </li></ul></div></div></div><div id="method-addStateEvents" class="member inherited"><a href="Ext.form.FieldContainer.html#method-addStateEvents" rel="method-addStateEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-addStateEvents" class="viewSource">view source</a></div><a name="addStateEvents"></a><a name="method-addStateEvents"></a><a href="Ext.form.FieldContainer.html#" rel="method-addStateEvents" class="cls expand">addStateEvents</a>(
1339 <span class="pre">String/Array events</span>)
1340  : void</div><div class="description"><div class="short"><p>Add events that will trigger the state to be saved.</p>
1341 </div><div class="long"><p>Add events that will trigger the state to be saved.</p>
1342 <h3 class="pa">Parameters</h3><ul><li><span class="pre">events</span> : String/Array<div class="sub-desc"><p>The event name or an array of event names.</p>
1343 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1344 </li></ul></div></div></div><div id="method-afterComponentLayout" class="member inherited"><a href="Ext.form.FieldContainer.html#method-afterComponentLayout" rel="method-afterComponentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-afterComponentLayout" class="viewSource">view source</a></div><a name="afterComponentLayout"></a><a name="method-afterComponentLayout"></a><a href="Ext.form.FieldContainer.html#" rel="method-afterComponentLayout" class="cls expand">afterComponentLayout</a>(
1345 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1346  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
1347 <h3 class="pa">Parameters</h3><ul><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
1348 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1349 </div></li><li><span class="pre">isSetSize</span> : Boolean<div class="sub-desc"><p>Whether or not the height/width are stored on the component permanently</p>
1350 </div></li><li><span class="pre">layoutOwner</span> : Ext.Component<div class="sub-desc"><p>Component which sent the layout. Only used when isSetSize is false.</p>
1351 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1352 </li></ul></div></div></div><div id="method-alignTo" class="member inherited"><a href="Ext.form.FieldContainer.html#method-alignTo" rel="method-alignTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-alignTo" class="viewSource">view source</a></div><a name="alignTo"></a><a name="method-alignTo"></a><a href="Ext.form.FieldContainer.html#" rel="method-alignTo" class="cls expand">alignTo</a>(
1353 <span class="pre">Mixed element, String position, [Array offsets]</span>)
1354  : Component</div><div class="description"><div class="short"><p>Aligns this floating Component to the specified element</p>
1355 </div><div class="long"><p>Aligns this floating Component to the specified element</p>
1356 <h3 class="pa">Parameters</h3><ul><li><span class="pre">element</span> : Mixed<div class="sub-desc"><p>The element or <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> to align to. If passing a component, it must
1357 be a omponent instance. If a string id is passed, it will be used as an element id.</p>
1358 </div></li><li><span class="pre">position</span> : String<div class="sub-desc"><p>(optional, defaults to "tl-bl?") The position to align to (see <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">Ext.core.Element.alignTo</a> for more details).</p>
1359 </div></li><li><span class="pre">offsets</span> : Array<div class="sub-desc"><p>(optional) Offset the positioning by [x, y]</p>
1360 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1361 </li></ul></div></div></div><div id="method-animate" class="member inherited"><a href="Ext.form.FieldContainer.html#method-animate" rel="method-animate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-animate" class="viewSource">view source</a></div><a name="animate"></a><a name="method-animate"></a><a href="Ext.form.FieldContainer.html#" rel="method-animate" class="cls expand">animate</a>(
1362 <span class="pre">Object config</span>)
1363  : Object</div><div class="description"><div class="short">Perform custom animation on this object.
1364 This method is applicable to both the the Component class and the Element cl...</div><div class="long"><p>Perform custom animation on this object.<p>
1365 <p>This method is applicable to both the the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a> class and the <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a> class.
1366 It performs animated transitions of certain properties of this object over a specified timeline.</p>
1367 <p>The sole parameter is an object which specifies start property values, end property values, and properties which
1368 describe the timeline. Of the properties listed below, only <b><code>to</code></b> is mandatory.</p>
1369 <p>Properties include<ul>
1370 <li><code>from</code> <div class="sub-desc">An object which specifies start values for the properties being animated.
1371 If not supplied, properties are animated from current settings. The actual properties which may be animated depend upon
1372 ths object being animated. See the sections below on Element and Component animation.<div></li>
1373 <li><code>to</code> <div class="sub-desc">An object which specifies end values for the properties being animated.</div></li>
1374 <li><code>duration</code><div class="sub-desc">The duration <b>in milliseconds</b> for which the animation will run.</div></li>
1375 <li><code>easing</code> <div class="sub-desc">A string value describing an easing type to modify the rate of change from the default linear to non-linear. Values may be one of:<code><ul>
1376 <li>ease</li>
1377 <li>easeIn</li>
1378 <li>easeOut</li>
1379 <li>easeInOut</li>
1380 <li>backIn</li>
1381 <li>backOut</li>
1382 <li>elasticIn</li>
1383 <li>elasticOut</li>
1384 <li>bounceIn</li>
1385 <li>bounceOut</li>
1386 </ul></code></div></li>
1387 <li><code>keyframes</code> <div class="sub-desc">This is an object which describes the state of animated properties at certain points along the timeline.
1388 it is an object containing properties who's names are the percentage along the timeline being described and who's values specify the animation state at that point.</div></li>
1389 <li><code>listeners</code> <div class="sub-desc">This is a standard <a href="Ext.util.Observable.html#listeners" rel="Ext.util.Observable#listeners" class="docClass">listeners</a> configuration object which may be used
1390 to inject behaviour at either the <code>beforeanimate</code> event or the <code>afteranimate</code> event.</div></li>
1391 </ul></p>
1392 <h3>Animating an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a></h3>
1393 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1394 <li><code>x</code> <div class="sub-desc">The page X position in pixels.</div></li>
1395 <li><code>y</code> <div class="sub-desc">The page Y position in pixels</div></li>
1396 <li><code>left</code> <div class="sub-desc">The element's CSS <code>left</code> value. Units must be supplied.</div></li>
1397 <li><code>top</code> <div class="sub-desc">The element's CSS <code>top</code> value. Units must be supplied.</div></li>
1398 <li><code>width</code> <div class="sub-desc">The element's CSS <code>width</code> value. Units must be supplied.</div></li>
1399 <li><code>height</code> <div class="sub-desc">The element's CSS <code>height</code> value. Units must be supplied.</div></li>
1400 <li><code>scrollLeft</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1401 <li><code>scrollTop</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1402 <li><code>opacity</code> <div class="sub-desc">The element's <code>opacity</code> value. This must be a value between <code>0</code> and <code>1</code>.</div></li>
1403 </ul>
1404 <p><b>Be aware than animating an Element which is being used by an <a href="Ext.html" rel="Ext" class="docClass">Ext</a> Component without in some way informing the Component about the changed element state
1405 will result in incorrect Component behaviour. This is because the Component will be using the old state of the element. To avoid this problem, it is now possible to
1406 directly animate certain properties of Components.</b></p>
1407 <h3>Animating a <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></h3>
1408 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1409 <li><code>x</code> <div class="sub-desc">The Component's page X position in pixels.</div></li>
1410 <li><code>y</code> <div class="sub-desc">The Component's page Y position in pixels</div></li>
1411 <li><code>left</code> <div class="sub-desc">The Component's <code>left</code> value in pixels.</div></li>
1412 <li><code>top</code> <div class="sub-desc">The Component's <code>top</code> value in pixels.</div></li>
1413 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1414 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1415 <li><code>dynamic</code> <div class="sub-desc">Specify as true to update the Component's layout (if it is a Container) at every frame
1416 of the animation. <i>Use sparingly as laying out on every intermediate size change is an expensive operation</i>.</div></li>
1417 </ul>
1418 <p>For example, to animate a Window to a new size, ensuring that its internal layout, and any shadow is correct:</p>
1419 <pre><code>myWindow = Ext.create('Ext.window.Window', {
1420     title: 'Test Component animation',
1421     width: 500,
1422     height: 300,
1423     layout: {
1424         type: 'hbox',
1425         align: 'stretch'
1426     },
1427     items: [{
1428         title: 'Left: 33%',
1429         margins: '5 0 5 5',
1430         flex: 1
1431     }, {
1432         title: 'Left: 66%',
1433         margins: '5 5 5 5',
1434         flex: 2
1435     }]
1436 });
1437 myWindow.show();
1438 myWindow.header.el.on('click', function() {
1439     myWindow.animate({
1440         to: {
1441             width: (myWindow.getWidth() == 500) ? 700 : 500,
1442             height: (myWindow.getHeight() == 300) ? 400 : 300,
1443         }
1444     });
1445 });
1446 </code></pre>
1447 <p>For performance reasons, by default, the internal layout is only updated when the Window reaches its final <code>"to"</code> size. If dynamic updating of the Window's child
1448 Components is required, then configure the animation with <code>dynamic: true</code> and the two child items will maintain their proportions during the animation.</p>
1449
1450 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>An object containing properties which describe the animation's start and end states, and the timeline of the animation.</p>
1451 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>this</p>
1452 </li></ul></div></div></div><div id="method-applyState" class="member inherited"><a href="Ext.form.FieldContainer.html#method-applyState" rel="method-applyState" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-applyState" class="viewSource">view source</a></div><a name="applyState"></a><a name="method-applyState"></a><a href="Ext.form.FieldContainer.html#" rel="method-applyState" class="cls expand">applyState</a>(
1453 <span class="pre">Object state</span>)
1454  : void</div><div class="description"><div class="short">Applies the state to the object. This should be overridden in subclasses to do
1455 more complex state operations. By defa...</div><div class="long"><p>Applies the state to the object. This should be overridden in subclasses to do
1456 more complex state operations. By default it applies the state properties onto
1457 the current object.</p>
1458 <h3 class="pa">Parameters</h3><ul><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The state</p>
1459 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1460 </li></ul></div></div></div><div id="method-beforeComponentLayout" class="member inherited"><a href="Ext.form.FieldContainer.html#method-beforeComponentLayout" rel="method-beforeComponentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-beforeComponentLayout" class="viewSource">view source</a></div><a name="beforeComponentLayout"></a><a name="method-beforeComponentLayout"></a><a href="Ext.form.FieldContainer.html#" rel="method-beforeComponentLayout" class="cls expand">beforeComponentLayout</a>(
1461 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1462  : void</div><div class="description"><div class="short">Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1463 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1464 from being executed.</p>
1465 <h3 class="pa">Parameters</h3><ul><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
1466 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1467 </div></li><li><span class="pre">isSetSize</span> : Boolean<div class="sub-desc"><p>Whether or not the height/width are stored on the component permanently</p>
1468 </div></li><li><span class="pre">layoutOwner</span> : Ext.Component<div class="sub-desc"><p>Component which sent the layout. Only used when isSetSize is false.</p>
1469 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1470 </li></ul></div></div></div><div id="method-beforeLayout" class="member inherited"><a href="Ext.form.FieldContainer.html#method-beforeLayout" rel="method-beforeLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-beforeLayout" class="viewSource">view source</a></div><a name="beforeLayout"></a><a name="method-beforeLayout"></a><a href="Ext.form.FieldContainer.html#" rel="method-beforeLayout" class="cls expand">beforeLayout</a> : void</div><div class="description"><div class="short">Occurs before componentLayout is run. Returning false from this method will prevent the containerLayout
1471 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the containerLayout
1472 from being executed.</p>
1473 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1474 </li></ul></div></div></div><div id="method-bubble" class="member inherited"><a href="Ext.form.FieldContainer.html#method-bubble" rel="method-bubble" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-bubble" class="viewSource">view source</a></div><a name="bubble"></a><a name="method-bubble"></a><a href="Ext.form.FieldContainer.html#" rel="method-bubble" class="cls expand">bubble</a>(
1475 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1476  : Ext.Component</div><div class="description"><div class="short">Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of...</div><div class="long"><p>Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (<i>this</i>) of
1477 function call will be the scope provided or the current component. The arguments to the function
1478 will be the args provided or the current component. If the function returns false at any point,
1479 the bubble is stopped.</p>
1480 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1481 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope of the function (defaults to current node)</p>
1482 </div></li><li><span class="pre">args</span> : Array<div class="sub-desc"><p>(optional) The args to call the function with (default to passing the current component)</p>
1483 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1484 </li></ul></div></div></div><div id="method-capture" class="member inherited"><a href="Ext.form.FieldContainer.html#method-capture" rel="method-capture" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-capture" class="viewSource">view source</a></div><a name="capture"></a><a name="method-capture"></a><a href="Ext.form.FieldContainer.html#" rel="method-capture" class="cls expand">capture</a>(
1485 <span class="pre">Observable o, Function fn, [Object scope]</span>)
1486  : void</div><div class="description"><div class="short">Starts capture on the specified Observable. All events will be passed
1487 to the supplied function with the event name + ...</div><div class="long"><p>Starts capture on the specified Observable. All events will be passed
1488 to the supplied function with the event name + standard signature of the event
1489 <b>before</b> the event is fired. If the supplied function returns false,
1490 the event will not fire.</p>
1491 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to capture events from.</p>
1492 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call when an event is fired.</p>
1493 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Observable firing the event.</p>
1494 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1495 </li></ul></div></div></div><div id="method-cascade" class="member inherited"><a href="Ext.form.FieldContainer.html#method-cascade" rel="method-cascade" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-cascade" class="viewSource">view source</a></div><a name="cascade"></a><a name="method-cascade"></a><a href="Ext.form.FieldContainer.html#" rel="method-cascade" class="cls expand">cascade</a>(
1496 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1497  : Ext.Container</div><div class="description"><div class="short">Cascades down the component/container heirarchy from this component (passed in the first call), calling the specified...</div><div class="long"><p>Cascades down the component/container heirarchy from this component (passed in the first call), calling the specified function with
1498 each component. The scope (<code>this</code> reference) of the
1499 function call will be the scope provided or the current component. The arguments to the function
1500 will be the args provided or the current component. If the function returns false at any point,
1501 the cascade is stopped on that branch.</p>
1502 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1503 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope of the function (defaults to current component)</p>
1504 </div></li><li><span class="pre">args</span> : Array<div class="sub-desc"><p>(optional) The args to call the function with. The current component always passed as the last argument.</p>
1505 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Container</span>&nbsp; &nbsp;<p>this</p>
1506 </li></ul></div></div></div><div id="method-center" class="member inherited"><a href="Ext.form.FieldContainer.html#method-center" rel="method-center" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-center" class="viewSource">view source</a></div><a name="center"></a><a name="method-center"></a><a href="Ext.form.FieldContainer.html#" rel="method-center" class="cls expand">center</a> : Component</div><div class="description"><div class="short"><p>Center this Component in its container.</p>
1507 </div><div class="long"><p>Center this Component in its container.</p>
1508 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1509 </li></ul></div></div></div><div id="method-child" class="member inherited"><a href="Ext.form.FieldContainer.html#method-child" rel="method-child" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-child" class="viewSource">view source</a></div><a name="child"></a><a name="method-child"></a><a href="Ext.form.FieldContainer.html#" rel="method-child" class="cls expand">child</a>(
1510 <span class="pre">String selector</span>)
1511  : void</div><div class="description"><div class="short">Retrieves the first direct child of this container which matches the passed selector.
1512 The passed in selector must com...</div><div class="long"><p>Retrieves the first direct child of this container which matches the passed selector.
1513 The passed in selector must comply with an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector.</p>
1514 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>An <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector</p>
1515 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component</p>
1516 </li></ul></div></div></div><div id="method-clearListeners" class="member inherited"><a href="Ext.form.FieldContainer.html#method-clearListeners" rel="method-clearListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-clearListeners" class="viewSource">view source</a></div><a name="clearListeners"></a><a name="method-clearListeners"></a><a href="Ext.form.FieldContainer.html#" rel="method-clearListeners" class="cls expand">clearListeners</a> : void</div><div class="description"><div class="short"><p>Removes all listeners for this object including the managed listeners</p>
1517 </div><div class="long"><p>Removes all listeners for this object including the managed listeners</p>
1518 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1519 </li></ul></div></div></div><div id="method-clearManagedListeners" class="member inherited"><a href="Ext.form.FieldContainer.html#method-clearManagedListeners" rel="method-clearManagedListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-clearManagedListeners" class="viewSource">view source</a></div><a name="clearManagedListeners"></a><a name="method-clearManagedListeners"></a><a href="Ext.form.FieldContainer.html#" rel="method-clearManagedListeners" class="cls expand">clearManagedListeners</a> : void</div><div class="description"><div class="short"><p>Removes all managed listeners for this object.</p>
1520 </div><div class="long"><p>Removes all managed listeners for this object.</p>
1521 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1522 </li></ul></div></div></div><div id="method-cloneConfig" class="member inherited"><a href="Ext.form.FieldContainer.html#method-cloneConfig" rel="method-cloneConfig" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-cloneConfig" class="viewSource">view source</a></div><a name="cloneConfig"></a><a name="method-cloneConfig"></a><a href="Ext.form.FieldContainer.html#" rel="method-cloneConfig" class="cls expand">cloneConfig</a>(
1523 <span class="pre">Object overrides</span>)
1524  : Ext.Component</div><div class="description"><div class="short"><p>Clone the current component using the original config values passed into this instance by default.</p>
1525 </div><div class="long"><p>Clone the current component using the original config values passed into this instance by default.</p>
1526 <h3 class="pa">Parameters</h3><ul><li><span class="pre">overrides</span> : Object<div class="sub-desc"><p>A new config containing any properties to override in the cloned version.
1527 An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</p>
1528 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>clone The cloned copy of this component</p>
1529 </li></ul></div></div></div><div id="method-destroy" class="member inherited"><a href="Ext.form.FieldContainer.html#method-destroy" rel="method-destroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-destroy" class="viewSource">view source</a></div><a name="destroy"></a><a name="method-destroy"></a><a href="Ext.form.FieldContainer.html#" rel="method-destroy" class="cls expand">destroy</a> : void</div><div class="description"><div class="short"><p>Destroys this stateful object.</p>
1530 </div><div class="long"><p>Destroys this stateful object.</p>
1531 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1532 </li></ul></div></div></div><div id="method-disable" class="member inherited"><a href="Ext.form.FieldContainer.html#method-disable" rel="method-disable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-disable" class="viewSource">view source</a></div><a name="disable"></a><a name="method-disable"></a><a href="Ext.form.FieldContainer.html#" rel="method-disable" class="cls expand">disable</a>(
1533 <span class="pre">Boolean silent</span>)
1534  : void</div><div class="description"><div class="short"><p>Disable the component.</p>
1535 </div><div class="long"><p>Disable the component.</p>
1536 <h3 class="pa">Parameters</h3><ul><li><span class="pre">silent</span> : Boolean<div class="sub-desc"><p>Passing true, will supress the 'disable' event from being fired.</p>
1537 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1538 </li></ul></div></div></div><div id="method-doAutoRender" class="member inherited"><a href="Ext.form.FieldContainer.html#method-doAutoRender" rel="method-doAutoRender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-doAutoRender" class="viewSource">view source</a></div><a name="doAutoRender"></a><a name="method-doAutoRender"></a><a href="Ext.form.FieldContainer.html#" rel="method-doAutoRender" class="cls expand">doAutoRender</a> : void</div><div class="description"><div class="short">Handles autoRender.
1539 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them wit...</div><div class="long"><p>Handles autoRender.
1540 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them within that
1541 ownerCt, and have their z-index managed locally. Floating Components are always rendered to document.body</p>
1542 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1543 </li></ul></div></div></div><div id="method-doComponentLayout" class="member inherited"><a href="Ext.form.FieldContainer.html#method-doComponentLayout" rel="method-doComponentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-doComponentLayout" class="viewSource">view source</a></div><a name="doComponentLayout"></a><a name="method-doComponentLayout"></a><a href="Ext.form.FieldContainer.html#" rel="method-doComponentLayout" class="cls expand">doComponentLayout</a>(
1544 <span class="pre">Object width, Object height, Object isSetSize, Object ownerCt</span>)
1545  : Ext.container.Container</div><div class="description"><div class="short">This method needs to be called whenever you change something on this component that requires the Component's
1546 layout t...</div><div class="long"><p>This method needs to be called whenever you change something on this component that requires the Component's
1547 layout to be recalculated.</p>
1548 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Object<div class="sub-desc">
1549 </div></li><li><span class="pre">height</span> : Object<div class="sub-desc">
1550 </div></li><li><span class="pre">isSetSize</span> : Object<div class="sub-desc">
1551 </div></li><li><span class="pre">ownerCt</span> : Object<div class="sub-desc">
1552 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
1553 </li></ul></div></div></div><div id="method-doConstrain" class="member inherited"><a href="Ext.form.FieldContainer.html#method-doConstrain" rel="method-doConstrain" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-doConstrain" class="viewSource">view source</a></div><a name="doConstrain"></a><a name="method-doConstrain"></a><a href="Ext.form.FieldContainer.html#" rel="method-doConstrain" class="cls expand">doConstrain</a>(
1554 <span class="pre">Mixed constrainTo</span>)
1555  : void</div><div class="description"><div class="short">Moves this floating Component into a constrain region.
1556
1557
1558 By default, this Component is constrained to be within the c...</div><div class="long"><p>Moves this floating Component into a constrain region.</p>
1559
1560
1561 <p>By default, this Component is constrained to be within the container it was added to, or the element
1562 it was rendered to.</p>
1563
1564
1565 <p>An alternative constraint may be passed.</p>
1566
1567 <h3 class="pa">Parameters</h3><ul><li><span class="pre">constrainTo</span> : Mixed<div class="sub-desc"><p>Optional. The Element or <a href="Ext.util.Region.html" rel="Ext.util.Region" class="docClass">Region</a> into which this Component is to be constrained.</p>
1568 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1569 </li></ul></div></div></div><div id="method-doLayout" class="member inherited"><a href="Ext.form.FieldContainer.html#method-doLayout" rel="method-doLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-doLayout" class="viewSource">view source</a></div><a name="doLayout"></a><a name="method-doLayout"></a><a href="Ext.form.FieldContainer.html#" rel="method-doLayout" class="cls expand">doLayout</a> : Ext.container.Container</div><div class="description"><div class="short">Manually force this container's layout to be recalculated.  The framwork uses this internally to refresh layouts
1570 form...</div><div class="long"><p>Manually force this container's layout to be recalculated.  The framwork uses this internally to refresh layouts
1571 form most cases.</p>
1572 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
1573 </li></ul></div></div></div><div id="method-down" class="member inherited"><a href="Ext.form.FieldContainer.html#method-down" rel="method-down" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-down" class="viewSource">view source</a></div><a name="down"></a><a name="method-down"></a><a href="Ext.form.FieldContainer.html#" rel="method-down" class="cls expand">down</a>(
1574 <span class="pre">String selector</span>)
1575  : void</div><div class="description"><div class="short">Retrieves the first descendant of this container which matches the passed selector.
1576 The passed in selector must compl...</div><div class="long"><p>Retrieves the first descendant of this container which matches the passed selector.
1577 The passed in selector must comply with an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector.</p>
1578 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>An <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector</p>
1579 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component</p>
1580 </li></ul></div></div></div><div id="method-enable" class="member inherited"><a href="Ext.form.FieldContainer.html#method-enable" rel="method-enable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-enable" class="viewSource">view source</a></div><a name="enable"></a><a name="method-enable"></a><a href="Ext.form.FieldContainer.html#" rel="method-enable" class="cls expand">enable</a>(
1581 <span class="pre">Boolean silent</span>)
1582  : void</div><div class="description"><div class="short"><p>Enable the component</p>
1583 </div><div class="long"><p>Enable the component</p>
1584 <h3 class="pa">Parameters</h3><ul><li><span class="pre">silent</span> : Boolean<div class="sub-desc"><p>Passing false will supress the 'enable' event from being fired.</p>
1585 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1586 </li></ul></div></div></div><div id="method-enableBubble" class="member inherited"><a href="Ext.form.FieldContainer.html#method-enableBubble" rel="method-enableBubble" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-enableBubble" class="viewSource">view source</a></div><a name="enableBubble"></a><a name="method-enableBubble"></a><a href="Ext.form.FieldContainer.html#" rel="method-enableBubble" class="cls expand">enableBubble</a>(
1587 <span class="pre">String/Array events</span>)
1588  : void</div><div class="description"><div class="short">Enables events fired by this Observable to bubble up an owner hierarchy by calling
1589 this.getBubbleTarget() if present....</div><div class="long"><p>Enables events fired by this Observable to bubble up an owner hierarchy by calling
1590 <code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>
1591
1592
1593 <p>This is commonly used by Ext.Components to bubble events to owner Containers. See <a href="Ext.Component.html#getBubbleTarget" rel="Ext.Component#getBubbleTarget" class="docClass">Ext.Component.getBubbleTarget</a>. The default
1594 implementation in <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> returns the Component's immediate owner. But if a known target is required, this can be overridden to
1595 access the required target more quickly.</p>
1596
1597
1598 <p>Example:</p>
1599
1600
1601 <pre><code>Ext.override(Ext.form.field.Base, {
1602 //  Add functionality to Field&#39;s initComponent to enable the change event to bubble
1603 initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {
1604     this.enableBubble('change');
1605 }),
1606
1607 //  We know that we want Field&#39;s events to bubble directly to the FormPanel.
1608 getBubbleTarget : function() {
1609     if (!this.formPanel) {
1610         this.formPanel = this.findParentByType('form');
1611     }
1612     return this.formPanel;
1613 }
1614 });
1615
1616 var myForm = new Ext.formPanel({
1617 title: 'User Details',
1618 items: [{
1619     ...
1620 }],
1621 listeners: {
1622     change: function() {
1623         // Title goes red if form has been modified.
1624         myForm.header.setStyle('color', 'red');
1625     }
1626 }
1627 });
1628 </code></pre>
1629
1630 <h3 class="pa">Parameters</h3><ul><li><span class="pre">events</span> : String/Array<div class="sub-desc"><p>The event name to bubble, or an Array of event names.</p>
1631 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1632 </li></ul></div></div></div><div id="method-findLayoutController" class="member inherited"><a href="Ext.form.FieldContainer.html#method-findLayoutController" rel="method-findLayoutController" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-findLayoutController" class="viewSource">view source</a></div><a name="findLayoutController"></a><a name="method-findLayoutController"></a><a href="Ext.form.FieldContainer.html#" rel="method-findLayoutController" class="cls expand">findLayoutController</a> : void</div><div class="description"><div class="short">This method finds the topmost active layout who's processing will eventually determine the size and position of this
1633 ...</div><div class="long"><p>This method finds the topmost active layout who's processing will eventually determine the size and position of this
1634 Component.<p>
1635 <p>This method is useful when dynamically adding Components into Containers, and some processing must take place after the
1636 final sizing and positioning of the Component has been performed.</p>
1637
1638 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1639 </li></ul></div></div></div><div id="method-findParentBy" class="member inherited"><a href="Ext.form.FieldContainer.html#method-findParentBy" rel="method-findParentBy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-findParentBy" class="viewSource">view source</a></div><a name="findParentBy"></a><a name="method-findParentBy"></a><a href="Ext.form.FieldContainer.html#" rel="method-findParentBy" class="cls expand">findParentBy</a>(
1640 <span class="pre">Function fn</span>)
1641  : Ext.container.Container</div><div class="description"><div class="short">Find a container above this component at any level by a custom function. If the passed function returns
1642 true, the con...</div><div class="long"><p>Find a container above this component at any level by a custom function. If the passed function returns
1643 true, the container will be returned.</p>
1644 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The custom function to call with the arguments (container, this component).</p>
1645 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>The first Container for which the custom function returns true</p>
1646 </li></ul></div></div></div><div id="method-findParentByType" class="member inherited"><a href="Ext.form.FieldContainer.html#method-findParentByType" rel="method-findParentByType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-findParentByType" class="viewSource">view source</a></div><a name="findParentByType"></a><a name="method-findParentByType"></a><a href="Ext.form.FieldContainer.html#" rel="method-findParentByType" class="cls expand">findParentByType</a>(
1647 <span class="pre">String/Class xtype</span>)
1648  : Ext.container.Container</div><div class="description"><div class="short"><p>Find a container above this component at any level by xtype or class</p>
1649
1650
1651 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1652
1653 </div><div class="long"><p>Find a container above this component at any level by xtype or class</p>
1654
1655
1656 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1657
1658 <h3 class="pa">Parameters</h3><ul><li><span class="pre">xtype</span> : String/Class<div class="sub-desc"><p>The xtype string for a component, or the class of the component directly</p>
1659 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>The first Container which matches the given xtype or class</p>
1660 </li></ul></div></div></div><div id="method-fireEvent" class="member inherited"><a href="Ext.form.FieldContainer.html#method-fireEvent" rel="method-fireEvent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-fireEvent" class="viewSource">view source</a></div><a name="fireEvent"></a><a name="method-fireEvent"></a><a href="Ext.form.FieldContainer.html#" rel="method-fireEvent" class="cls expand">fireEvent</a>(
1661 <span class="pre">String eventName, Object... args</span>)
1662  : Boolean</div><div class="description"><div class="short">Fires the specified event with the passed parameters (minus the event name).
1663
1664
1665 An event may be set to bubble up an Ob...</div><div class="long"><p>Fires the specified event with the passed parameters (minus the event name).</p>
1666
1667
1668 <p>An event may be set to bubble up an Observable parent hierarchy (See <a href="Ext.Component.html#getBubbleTarget" rel="Ext.Component#getBubbleTarget" class="docClass">Ext.Component.getBubbleTarget</a>)
1669 by calling <a href="Ext.form.FieldContainer.html#enableBubble" rel="Ext.form.FieldContainer#enableBubble" class="docClass">enableBubble</a>.</p>
1670
1671 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to fire.</p>
1672 </div></li><li><span class="pre">args</span> : Object...<div class="sub-desc"><p>Variable number of parameters are passed to handlers.</p>
1673 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>returns false if any of the handlers return false otherwise it returns true.</p>
1674 </li></ul></div></div></div><div id="method-focus" class="member inherited"><a href="Ext.form.FieldContainer.html#method-focus" rel="method-focus" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-focus" class="viewSource">view source</a></div><a name="focus"></a><a name="method-focus"></a><a href="Ext.form.FieldContainer.html#" rel="method-focus" class="cls expand">focus</a>(
1675 <span class="pre">[Boolean selectText], [Boolean/Number delay]</span>)
1676  : Ext.Component</div><div class="description"><div class="short"><p>Try to focus this component.</p>
1677 </div><div class="long"><p>Try to focus this component.</p>
1678 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selectText</span> : Boolean<div class="sub-desc"><p>(optional) If applicable, true to also select the text in this component</p>
1679 </div></li><li><span class="pre">delay</span> : Boolean/Number<div class="sub-desc"><p>(optional) Delay the focus this number of milliseconds (true for 10 milliseconds).</p>
1680 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1681 </li></ul></div></div></div><div id="method-getActiveAnimation" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getActiveAnimation" rel="method-getActiveAnimation" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-getActiveAnimation" class="viewSource">view source</a></div><a name="getActiveAnimation"></a><a name="method-getActiveAnimation"></a><a href="Ext.form.FieldContainer.html#" rel="method-getActiveAnimation" class="cls expand">getActiveAnimation</a> : Mixed</div><div class="description"><div class="short"><p>Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1682 </div><div class="long"><p>Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1683 <h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>anim if element has active effects, else false</p>
1684 </li></ul></div></div></div><div id="method-getActiveError" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getActiveError" rel="method-getActiveError" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-getActiveError" class="viewSource">view source</a></div><a name="getActiveError"></a><a name="method-getActiveError"></a><a href="Ext.form.FieldContainer.html#" rel="method-getActiveError" class="cls expand">getActiveError</a> : String</div><div class="description"><div class="short">Gets the active error message for this component, if any. This does not trigger
1685 validation on its own, it merely retu...</div><div class="long"><p>Gets the active error message for this component, if any. This does not trigger
1686 validation on its own, it merely returns any message that the component may already hold.</p>
1687 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The active error message on the component; if there is no error, an empty string is returned.</p>
1688 </li></ul></div></div></div><div id="method-getActiveErrors" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getActiveErrors" rel="method-getActiveErrors" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-getActiveErrors" class="viewSource">view source</a></div><a name="getActiveErrors"></a><a name="method-getActiveErrors"></a><a href="Ext.form.FieldContainer.html#" rel="method-getActiveErrors" class="cls expand">getActiveErrors</a> : Array</div><div class="description"><div class="short">Gets an Array of any active error messages currently applied to the field. This does not trigger
1689 validation on its ow...</div><div class="long"><p>Gets an Array of any active error messages currently applied to the field. This does not trigger
1690 validation on its own, it merely returns any messages that the component may already hold.</p>
1691 <h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>The active error messages on the component; if there are no errors, an empty Array is returned.</p>
1692 </li></ul></div></div></div><div id="method-getBox" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getBox" rel="method-getBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-getBox" class="viewSource">view source</a></div><a name="getBox"></a><a name="method-getBox"></a><a href="Ext.form.FieldContainer.html#" rel="method-getBox" class="cls expand">getBox</a>(
1693 <span class="pre">[Boolean local]</span>)
1694  : Object</div><div class="description"><div class="short"><p>Gets the current box measurements of the component's underlying element.</p>
1695 </div><div class="long"><p>Gets the current box measurements of the component's underlying element.</p>
1696 <h3 class="pa">Parameters</h3><ul><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</p>
1697 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>box An object in the format {x, y, width, height}</p>
1698 </li></ul></div></div></div><div id="method-getBubbleTarget" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getBubbleTarget" rel="method-getBubbleTarget" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getBubbleTarget" class="viewSource">view source</a></div><a name="getBubbleTarget"></a><a name="method-getBubbleTarget"></a><a href="Ext.form.FieldContainer.html#" rel="method-getBubbleTarget" class="cls expand">getBubbleTarget</a> : Ext.container.Container</div><div class="description"><div class="short"><p>Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.</p>
1699 </div><div class="long"><p>Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.</p>
1700 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>the Container which owns this Component.</p>
1701 </li></ul></div></div></div><div id="method-getChildByElement" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getChildByElement" rel="method-getChildByElement" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.Container.html" class="definedIn docClass">Ext.container.Container</a><br/><a href="../source/Container.html#Ext-container.Container-method-getChildByElement" class="viewSource">view source</a></div><a name="getChildByElement"></a><a name="method-getChildByElement"></a><a href="Ext.form.FieldContainer.html#" rel="method-getChildByElement" class="cls expand">getChildByElement</a>(
1702 <span class="pre">Object el</span>)
1703  : Component</div><div class="description"><div class="short"><p>Return the immediate child Component in which the passed element is located.</p>
1704 </div><div class="long"><p>Return the immediate child Component in which the passed element is located.</p>
1705 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Object<div class="sub-desc"><p>The element to test.</p>
1706 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>The child item which contains the passed element.</p>
1707 </li></ul></div></div></div><div id="method-getCombinedErrors" class="member ni"><a href="Ext.form.FieldContainer.html#method-getCombinedErrors" rel="method-getCombinedErrors" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.FieldContainer.html" class="definedIn docClass">Ext.form.FieldContainer</a><br/><a href="../source/FieldContainer.html#Ext-form.FieldContainer-method-getCombinedErrors" class="viewSource">view source</a></div><a name="getCombinedErrors"></a><a name="method-getCombinedErrors"></a><a href="Ext.form.FieldContainer.html#" rel="method-getCombinedErrors" class="cls expand">getCombinedErrors</a>(
1708 <span class="pre">Array invalidFields</span>)
1709  : Array</div><div class="description"><div class="short">Takes an Array of invalid Ext.form.field.Field objects and builds a combined list of error
1710 messages from them. Defaul...</div><div class="long"><p>Takes an Array of invalid <a href="Ext.form.field.Field.html" rel="Ext.form.field.Field" class="docClass">Ext.form.field.Field</a> objects and builds a combined list of error
1711 messages from them. Defaults to prepending each message by the field name and a colon. This
1712 can be overridden to provide custom combined error message handling, for instance changing
1713 the format of each message or sorting the array (it is sorted in order of appearance by default).</p>
1714 <h3 class="pa">Parameters</h3><ul><li><span class="pre">invalidFields</span> : Array<div class="sub-desc"><p>An Array of the sub-fields which are currently invalid.</p>
1715 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>The combined list of error messages</p>
1716 </li></ul></div></div></div><div id="method-getComponent" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getComponent" rel="method-getComponent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-getComponent" class="viewSource">view source</a></div><a name="getComponent"></a><a name="method-getComponent"></a><a href="Ext.form.FieldContainer.html#" rel="method-getComponent" class="cls expand">getComponent</a>(
1717 <span class="pre">String/Number comp</span>)
1718  : void</div><div class="description"><div class="short"><p>Examines this container's <code><a href="Ext.form.FieldContainer.html#items" rel="Ext.form.FieldContainer#items" class="docClass">items</a></code> <b>property</b>
1719 and gets a direct child component of this container.</p>
1720 </div><div class="long"><p>Examines this container's <code><a href="Ext.form.FieldContainer.html#items" rel="Ext.form.FieldContainer#items" class="docClass">items</a></code> <b>property</b>
1721 and gets a direct child component of this container.</p>
1722 <h3 class="pa">Parameters</h3><ul><li><span class="pre">comp</span> : String/Number<div class="sub-desc"><p>This parameter may be any of the following:</p>
1723
1724 <div><ul class="mdetail-params">
1725 <li>a <b><code>String</code></b> : representing the <code><a href="Ext.Component.html#itemId" rel="Ext.Component#itemId" class="docClass">itemId</a></code>
1726 or <code><a href="Ext.Component.html#id" rel="Ext.Component#id" class="docClass">id</a></code> of the child component </li>
1727 <li>a <b><code>Number</code></b> : representing the position of the child component
1728 within the <code><a href="Ext.form.FieldContainer.html#items" rel="Ext.form.FieldContainer#items" class="docClass">items</a></code> <b>property</b></li>
1729 </ul></div>
1730
1731
1732 <p>For additional information see <a href="Ext.util.MixedCollection.html#get" rel="Ext.util.MixedCollection#get" class="docClass">Ext.util.MixedCollection.get</a>.
1733
1734 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component The component (if found).</p>
1735 </li></ul></div></div></div><div id="method-getEl" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getEl" rel="method-getEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getEl" class="viewSource">view source</a></div><a name="getEl"></a><a name="method-getEl"></a><a href="Ext.form.FieldContainer.html#" rel="method-getEl" class="cls expand">getEl</a> : void</div><div class="description"><div class="short"><p>Retrieves the top level element representing this component.</p>
1736 </div><div class="long"><p>Retrieves the top level element representing this component.</p>
1737 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1738 </li></ul></div></div></div><div id="method-getFieldLabel" class="member ni"><a href="Ext.form.FieldContainer.html#method-getFieldLabel" rel="method-getFieldLabel" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.FieldContainer.html" class="definedIn docClass">Ext.form.FieldContainer</a><br/><a href="../source/FieldContainer.html#Ext-form.FieldContainer-method-getFieldLabel" class="viewSource">view source</a></div><a name="getFieldLabel"></a><a name="method-getFieldLabel"></a><a href="Ext.form.FieldContainer.html#" rel="method-getFieldLabel" class="cls expand">getFieldLabel</a> : void</div><div class="description"><div class="short">Returns the combined field label if combineLabels is set to true and if there is no
1739 set fieldLabel. Otherwise returns...</div><div class="long"><p>Returns the combined field label if <a href="Ext.form.FieldContainer.html#combineLabels" rel="Ext.form.FieldContainer#combineLabels" class="docClass">combineLabels</a> is set to true and if there is no
1740 set <a href="Ext.form.FieldContainer.html#fieldLabel" rel="Ext.form.FieldContainer#fieldLabel" class="docClass">fieldLabel</a>. Otherwise returns the fieldLabel like normal. You can also override
1741 this method to provide a custom generated label.</p>
1742 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1743 </li></ul></div></div></div><div id="method-getHeight" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getHeight" rel="method-getHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getHeight" class="viewSource">view source</a></div><a name="getHeight"></a><a name="method-getHeight"></a><a href="Ext.form.FieldContainer.html#" rel="method-getHeight" class="cls expand">getHeight</a> : Number</div><div class="description"><div class="short"><p>Gets the current height of the component's underlying element.</p>
1744 </div><div class="long"><p>Gets the current height of the component's underlying element.</p>
1745 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
1746 </li></ul></div></div></div><div id="method-getId" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getId" rel="method-getId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getId" class="viewSource">view source</a></div><a name="getId"></a><a name="method-getId"></a><a href="Ext.form.FieldContainer.html#" rel="method-getId" class="cls expand">getId</a> : void</div><div class="description"><div class="short"><p>Retrieves the id of this component.
1747 Will autogenerate an id if one has not already been set.</p>
1748 </div><div class="long"><p>Retrieves the id of this component.
1749 Will autogenerate an id if one has not already been set.</p>
1750 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1751 </li></ul></div></div></div><div id="method-getInputId" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getInputId" rel="method-getInputId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-getInputId" class="viewSource">view source</a></div><a name="getInputId"></a><a name="method-getInputId"></a><a href="Ext.form.FieldContainer.html#" rel="method-getInputId" class="cls expand">getInputId</a> : String</div><div class="description"><div class="short">Get the input id, if any, for this component. This is used as the "for" attribute on the label element.
1752 Implementing ...</div><div class="long"><p>Get the input id, if any, for this component. This is used as the "for" attribute on the label element.
1753 Implementing subclasses may also use this as e.g. the id for their own <tt>input</tt> element.</p>
1754 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The input id</p>
1755 </li></ul></div></div></div><div id="method-getInsertPosition" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getInsertPosition" rel="method-getInsertPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getInsertPosition" class="viewSource">view source</a></div><a name="getInsertPosition"></a><a name="method-getInsertPosition"></a><a href="Ext.form.FieldContainer.html#" rel="method-getInsertPosition" class="cls expand">getInsertPosition</a>(
1756 <span class="pre">String/Number/Element/HTMLElement position</span>)
1757  : HTMLElement</div><div class="description"><div class="short">This function takes the position argument passed to onRender and returns a
1758 DOM element that you can use in the insert...</div><div class="long"><p>This function takes the position argument passed to onRender and returns a
1759 DOM element that you can use in the insertBefore.</p>
1760 <h3 class="pa">Parameters</h3><ul><li><span class="pre">position</span> : String/Number/Element/HTMLElement<div class="sub-desc"><p>Index, element id or element you want
1761 to put this component before.</p>
1762 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement</span>&nbsp; &nbsp;<p>DOM element that you can use in the insertBefore</p>
1763 </li></ul></div></div></div><div id="method-getLayout" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getLayout" rel="method-getLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-getLayout" class="viewSource">view source</a></div><a name="getLayout"></a><a name="method-getLayout"></a><a href="Ext.form.FieldContainer.html#" rel="method-getLayout" class="cls expand">getLayout</a> : Ext.layout.container.AbstractContainer</div><div class="description"><div class="short">Returns the layout instance currently associated with this Container.
1764 If a layout has not been instantiated yet, that...</div><div class="long"><p>Returns the <a href="Ext.layout.container.AbstractContainer.html" rel="Ext.layout.container.AbstractContainer" class="docClass">layout</a> instance currently associated with this Container.
1765 If a layout has not been instantiated yet, that is done first</p>
1766 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.layout.container.AbstractContainer</span>&nbsp; &nbsp;<p>The layout</p>
1767 </li></ul></div></div></div><div id="method-getLoader" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getLoader" rel="method-getLoader" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getLoader" class="viewSource">view source</a></div><a name="getLoader"></a><a name="method-getLoader"></a><a href="Ext.form.FieldContainer.html#" rel="method-getLoader" class="cls expand">getLoader</a> : Ext.ComponentLoader</div><div class="description"><div class="short"><p>Gets the <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> for this Component.</p>
1768 </div><div class="long"><p>Gets the <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> for this Component.</p>
1769 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.ComponentLoader</span>&nbsp; &nbsp;<p>The loader instance, null if it doesn't exist.</p>
1770 </li></ul></div></div></div><div id="method-getPlugin" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getPlugin" rel="method-getPlugin" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getPlugin" class="viewSource">view source</a></div><a name="getPlugin"></a><a name="method-getPlugin"></a><a href="Ext.form.FieldContainer.html#" rel="method-getPlugin" class="cls expand">getPlugin</a>(
1771 <span class="pre">Object pluginId</span>)
1772  : Ext.AbstractPlugin</div><div class="description"><div class="short"><p>Retrieves a plugin by its pluginId which has been bound to this
1773 component.</p>
1774 </div><div class="long"><p>Retrieves a plugin by its pluginId which has been bound to this
1775 component.</p>
1776 <h3 class="pa">Parameters</h3><ul><li><span class="pre">pluginId</span> : Object<div class="sub-desc">
1777 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.AbstractPlugin</span>&nbsp; &nbsp;<p>pluginInstance</p>
1778 </li></ul></div></div></div><div id="method-getPosition" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getPosition" rel="method-getPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-getPosition" class="viewSource">view source</a></div><a name="getPosition"></a><a name="method-getPosition"></a><a href="Ext.form.FieldContainer.html#" rel="method-getPosition" class="cls expand">getPosition</a>(
1779 <span class="pre">[Boolean local]</span>)
1780  : Array</div><div class="description"><div class="short"><p>Gets the current XY position of the component's underlying element.</p>
1781 </div><div class="long"><p>Gets the current XY position of the component's underlying element.</p>
1782 <h3 class="pa">Parameters</h3><ul><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</p>
1783 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>The XY position of the element (e.g., [100, 200])</p>
1784 </li></ul></div></div></div><div id="method-getSize" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getSize" rel="method-getSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getSize" class="viewSource">view source</a></div><a name="getSize"></a><a name="method-getSize"></a><a href="Ext.form.FieldContainer.html#" rel="method-getSize" class="cls expand">getSize</a> : Object</div><div class="description"><div class="short"><p>Gets the current size of the component's underlying element.</p>
1785 </div><div class="long"><p>Gets the current size of the component's underlying element.</p>
1786 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>An object containing the element's size {width: (element width), height: (element height)}</p>
1787 </li></ul></div></div></div><div id="method-getState" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getState" rel="method-getState" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-getState" class="viewSource">view source</a></div><a name="getState"></a><a name="method-getState"></a><a href="Ext.form.FieldContainer.html#" rel="method-getState" class="cls expand">getState</a> : Object</div><div class="description"><div class="short">Gets the current state of the object. By default this function returns null,
1788 it should be overridden in subclasses to...</div><div class="long"><p>Gets the current state of the object. By default this function returns null,
1789 it should be overridden in subclasses to implement methods for getting the state.</p>
1790 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The current state</p>
1791 </li></ul></div></div></div><div id="method-getStateId" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getStateId" rel="method-getStateId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-getStateId" class="viewSource">view source</a></div><a name="getStateId"></a><a name="method-getStateId"></a><a href="Ext.form.FieldContainer.html#" rel="method-getStateId" class="cls expand">getStateId</a> : String</div><div class="description"><div class="short"><p>Gets the state id for this object.</p>
1792 </div><div class="long"><p>Gets the state id for this object.</p>
1793 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The state id, null if not found.</p>
1794 </li></ul></div></div></div><div id="method-getWidth" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getWidth" rel="method-getWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getWidth" class="viewSource">view source</a></div><a name="getWidth"></a><a name="method-getWidth"></a><a href="Ext.form.FieldContainer.html#" rel="method-getWidth" class="cls expand">getWidth</a> : Number</div><div class="description"><div class="short"><p>Gets the current width of the component's underlying element.</p>
1795 </div><div class="long"><p>Gets the current width of the component's underlying element.</p>
1796 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
1797 </li></ul></div></div></div><div id="method-getXType" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getXType" rel="method-getXType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-getXType" class="viewSource">view source</a></div><a name="getXType"></a><a name="method-getXType"></a><a href="Ext.form.FieldContainer.html#" rel="method-getXType" class="cls expand">getXType</a> : String</div><div class="description"><div class="short">Gets the xtype for this component as registered with Ext.ComponentManager. For a list of all
1798 available xtypes, see th...</div><div class="long"><p>Gets the xtype for this component as registered with <a href="Ext.ComponentManager.html" rel="Ext.ComponentManager" class="docClass">Ext.ComponentManager</a>. For a list of all
1799 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header. Example usage:</p>
1800
1801 <pre><code>var t = new Ext.form.field.Text();
1802 alert(t.getXType());  // alerts 'textfield'
1803 </code></pre>
1804
1805 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype</p>
1806 </li></ul></div></div></div><div id="method-getXTypes" class="member inherited"><a href="Ext.form.FieldContainer.html#method-getXTypes" rel="method-getXTypes" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getXTypes" class="viewSource">view source</a></div><a name="getXTypes"></a><a name="method-getXTypes"></a><a href="Ext.form.FieldContainer.html#" rel="method-getXTypes" class="cls expand">getXTypes</a> : String</div><div class="description"><div class="short">Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1807 available xtypes, see the Ext...</div><div class="long"><p>Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1808 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header.</p>
1809
1810
1811 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1812 to participate in determination of inherited xtypes.</b></p>
1813
1814
1815 <p>Example usage:</p>
1816
1817
1818 <pre><code>var t = new Ext.form.field.Text();
1819 alert(t.getXTypes());  // alerts 'component/field/textfield'
1820 </code></pre>
1821
1822 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype hierarchy string</p>
1823 </li></ul></div></div></div><div id="method-hasActiveError" class="member inherited"><a href="Ext.form.FieldContainer.html#method-hasActiveError" rel="method-hasActiveError" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-hasActiveError" class="viewSource">view source</a></div><a name="hasActiveError"></a><a name="method-hasActiveError"></a><a href="Ext.form.FieldContainer.html#" rel="method-hasActiveError" class="cls expand">hasActiveError</a> : Boolean</div><div class="description"><div class="short">Tells whether the field currently has an active error message. This does not trigger
1824 validation on its own, it merely...</div><div class="long"><p>Tells whether the field currently has an active error message. This does not trigger
1825 validation on its own, it merely looks for any message that the component may already hold.</p>
1826 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
1827 </li></ul></div></div></div><div id="method-hasListener" class="member inherited"><a href="Ext.form.FieldContainer.html#method-hasListener" rel="method-hasListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-hasListener" class="viewSource">view source</a></div><a name="hasListener"></a><a name="method-hasListener"></a><a href="Ext.form.FieldContainer.html#" rel="method-hasListener" class="cls expand">hasListener</a>(
1828 <span class="pre">String eventName</span>)
1829  : Boolean</div><div class="description"><div class="short"><p>Checks to see if this object has any listeners for a specified event</p>
1830 </div><div class="long"><p>Checks to see if this object has any listeners for a specified event</p>
1831 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to check for</p>
1832 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if the event is being listened for, else false</p>
1833 </li></ul></div></div></div><div id="method-hasUICls" class="member inherited"><a href="Ext.form.FieldContainer.html#method-hasUICls" rel="method-hasUICls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-hasUICls" class="viewSource">view source</a></div><a name="hasUICls"></a><a name="method-hasUICls"></a><a href="Ext.form.FieldContainer.html#" rel="method-hasUICls" class="cls expand">hasUICls</a>(
1834 <span class="pre">String cls</span>)
1835  : void</div><div class="description"><div class="short"><p>Checks if there is currently a specified uiCls</p>
1836 </div><div class="long"><p>Checks if there is currently a specified uiCls</p>
1837 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The cls to check</p>
1838 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1839 </li></ul></div></div></div><div id="method-hide" class="member inherited"><a href="Ext.form.FieldContainer.html#method-hide" rel="method-hide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-hide" class="viewSource">view source</a></div><a name="hide"></a><a name="method-hide"></a><a href="Ext.form.FieldContainer.html#" rel="method-hide" class="cls expand">hide</a>(
1840 <span class="pre">String/Element/Component animateTarget, [Function callback], [Object scope]</span>)
1841  : Ext.Component</div><div class="description"><div class="short"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.form.FieldContainer.html#hideMode" rel="Ext.form.FieldContainer#hideMode" class="docClass">hideMode</a>.</p>
1842 </div><div class="long"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.form.FieldContainer.html#hideMode" rel="Ext.form.FieldContainer#hideMode" class="docClass">hideMode</a>.</p>
1843 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animateTarget</span> : String/Element/Component<div class="sub-desc"><p>Optional, and <b>only valid for <a href="Ext.form.FieldContainer.html#floating" rel="Ext.form.FieldContainer#floating" class="docClass">floating</a> Components such as
1844 <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s or <a href="Ext.tip.ToolTip.html" rel="Ext.tip.ToolTip" class="docClass">ToolTip</a>s, or regular Components which have been configured
1845 with <code>floating: true</code>.</b>.
1846 The target to which the Component should animate while hiding (defaults to null with no animation)</p>
1847 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) A callback function to call after the Component is hidden.</p>
1848 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this Component.</p>
1849 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1850 </li></ul></div></div></div><div id="method-initLabelable" class="member inherited"><a href="Ext.form.FieldContainer.html#method-initLabelable" rel="method-initLabelable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-initLabelable" class="viewSource">view source</a></div><a name="initLabelable"></a><a name="method-initLabelable"></a><a href="Ext.form.FieldContainer.html#" rel="method-initLabelable" class="cls expand">initLabelable</a> : void</div><div class="description"><div class="short">Performs initialization of this mixin. Component classes using this mixin should call this method
1851 during their own in...</div><div class="long"><p>Performs initialization of this mixin. Component classes using this mixin should call this method
1852 during their own initialization.</p>
1853 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1854 </li></ul></div></div></div><div id="method-insert" class="member inherited"><a href="Ext.form.FieldContainer.html#method-insert" rel="method-insert" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-insert" class="viewSource">view source</a></div><a name="insert"></a><a name="method-insert"></a><a href="Ext.form.FieldContainer.html#" rel="method-insert" class="cls expand">insert</a>(
1855 <span class="pre">Number index, Ext.Component component</span>)
1856  : Ext.Component</div><div class="description"><div class="short">Inserts a Component into this Container at a specified index. Fires the
1857 beforeadd event before inserting, then fires ...</div><div class="long"><p>Inserts a Component into this Container at a specified index. Fires the
1858 <a href="Ext.form.FieldContainer.html#beforeadd" rel="Ext.form.FieldContainer#beforeadd" class="docClass">beforeadd</a> event before inserting, then fires the <a href="Ext.form.FieldContainer.html#add" rel="Ext.form.FieldContainer#add" class="docClass">add</a> event after the
1859 Component has been inserted.</p>
1860 <h3 class="pa">Parameters</h3><ul><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index at which the Component will be inserted
1861 into the Container's items collection</p>
1862 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The child Component to insert.<br><br>
1863 <a href="Ext.html" rel="Ext" class="docClass">Ext</a> uses lazy rendering, and will only render the inserted Component should
1864 it become necessary.<br><br>
1865 A Component config object may be passed in order to avoid the overhead of
1866 constructing a real Component object if lazy rendering might mean that the
1867 inserted Component will not be rendered immediately. To take advantage of
1868 this 'lazy instantiation', set the <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">Ext.Component.xtype</a> config
1869 property to the registered type of the Component wanted.<br><br>
1870 For a list of all available xtypes, see <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>.</p>
1871 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>component The Component (or config object) that was
1872 inserted with the Container's default config values applied.</p>
1873 </li></ul></div></div></div><div id="method-is" class="member inherited"><a href="Ext.form.FieldContainer.html#method-is" rel="method-is" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-is" class="viewSource">view source</a></div><a name="is"></a><a name="method-is"></a><a href="Ext.form.FieldContainer.html#" rel="method-is" class="cls expand">is</a>(
1874 <span class="pre">String selector</span>)
1875  : Boolean</div><div class="description"><div class="short"><p>Tests whether this Component matches the selector string.</p>
1876 </div><div class="long"><p>Tests whether this Component matches the selector string.</p>
1877 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>The selector string to test against.</p>
1878 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this Component matches the selector.</p>
1879 </li></ul></div></div></div><div id="method-isDescendantOf" class="member inherited"><a href="Ext.form.FieldContainer.html#method-isDescendantOf" rel="method-isDescendantOf" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDescendantOf" class="viewSource">view source</a></div><a name="isDescendantOf"></a><a name="method-isDescendantOf"></a><a href="Ext.form.FieldContainer.html#" rel="method-isDescendantOf" class="cls expand">isDescendantOf</a>(
1880 <span class="pre">Ext.Container container</span>)
1881  : Boolean</div><div class="description"><div class="short"><p>Determines whether this component is the descendant of a particular container.</p>
1882 </div><div class="long"><p>Determines whether this component is the descendant of a particular container.</p>
1883 <h3 class="pa">Parameters</h3><ul><li><span class="pre">container</span> : Ext.Container<div class="sub-desc">
1884 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>isDescendant</p>
1885 </li></ul></div></div></div><div id="method-isDisabled" class="member inherited"><a href="Ext.form.FieldContainer.html#method-isDisabled" rel="method-isDisabled" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDisabled" class="viewSource">view source</a></div><a name="isDisabled"></a><a name="method-isDisabled"></a><a href="Ext.form.FieldContainer.html#" rel="method-isDisabled" class="cls expand">isDisabled</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is currently disabled.</p>
1886 </div><div class="long"><p>Method to determine whether this Component is currently disabled.</p>
1887 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the disabled state of this Component.</p>
1888 </li></ul></div></div></div><div id="method-isDraggable" class="member inherited"><a href="Ext.form.FieldContainer.html#method-isDraggable" rel="method-isDraggable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDraggable" class="viewSource">view source</a></div><a name="isDraggable"></a><a name="method-isDraggable"></a><a href="Ext.form.FieldContainer.html#" rel="method-isDraggable" class="cls expand">isDraggable</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is draggable.</p>
1889 </div><div class="long"><p>Method to determine whether this Component is draggable.</p>
1890 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the draggable state of this component.</p>
1891 </li></ul></div></div></div><div id="method-isDroppable" class="member inherited"><a href="Ext.form.FieldContainer.html#method-isDroppable" rel="method-isDroppable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDroppable" class="viewSource">view source</a></div><a name="isDroppable"></a><a name="method-isDroppable"></a><a href="Ext.form.FieldContainer.html#" rel="method-isDroppable" class="cls expand">isDroppable</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is droppable.</p>
1892 </div><div class="long"><p>Method to determine whether this Component is droppable.</p>
1893 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the droppable state of this component.</p>
1894 </li></ul></div></div></div><div id="method-isFloating" class="member inherited"><a href="Ext.form.FieldContainer.html#method-isFloating" rel="method-isFloating" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isFloating" class="viewSource">view source</a></div><a name="isFloating"></a><a name="method-isFloating"></a><a href="Ext.form.FieldContainer.html#" rel="method-isFloating" class="cls expand">isFloating</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is floating.</p>
1895 </div><div class="long"><p>Method to determine whether this Component is floating.</p>
1896 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the floating state of this component.</p>
1897 </li></ul></div></div></div><div id="method-isHidden" class="member inherited"><a href="Ext.form.FieldContainer.html#method-isHidden" rel="method-isHidden" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isHidden" class="viewSource">view source</a></div><a name="isHidden"></a><a name="method-isHidden"></a><a href="Ext.form.FieldContainer.html#" rel="method-isHidden" class="cls expand">isHidden</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is currently set to hidden.</p>
1898 </div><div class="long"><p>Method to determine whether this Component is currently set to hidden.</p>
1899 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the hidden state of this Component.</p>
1900 </li></ul></div></div></div><div id="method-isVisible" class="member inherited"><a href="Ext.form.FieldContainer.html#method-isVisible" rel="method-isVisible" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isVisible" class="viewSource">view source</a></div><a name="isVisible"></a><a name="method-isVisible"></a><a href="Ext.form.FieldContainer.html#" rel="method-isVisible" class="cls expand">isVisible</a>(
1901 <span class="pre">Boolean deep</span>)
1902  : Boolean</div><div class="description"><div class="short"><p>Returns true if this component is visible.</p>
1903 </div><div class="long"><p>Returns true if this component is visible.</p>
1904 <h3 class="pa">Parameters</h3><ul><li><span class="pre">deep</span> : Boolean<div class="sub-desc"><p>. <p>Optional. Pass <code>true</code> to interrogate the visibility status of all
1905 parent Containers to determine whether this Component is truly visible to the user.</p></p>
1906
1907 <p>Generally, to determine whether a Component is hidden, the no argument form is needed. For example
1908 when creating dynamically laid out UIs in a hidden Container before showing them.</p>
1909
1910 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this component is visible, false otherwise.</p>
1911 </li></ul></div></div></div><div id="method-isXType" class="member inherited"><a href="Ext.form.FieldContainer.html#method-isXType" rel="method-isXType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isXType" class="viewSource">view source</a></div><a name="isXType"></a><a name="method-isXType"></a><a href="Ext.form.FieldContainer.html#" rel="method-isXType" class="cls expand">isXType</a>(
1912 <span class="pre">String xtype, [Boolean shallow]</span>)
1913  : Boolean</div><div class="description"><div class="short">Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1914 from th...</div><div class="long"><p>Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1915 from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
1916
1917
1918 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1919 to participate in determination of inherited xtypes.</b></p>
1920
1921
1922 <p>For a list of all available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header.</p>
1923
1924
1925 <p>Example usage:</p>
1926
1927
1928 <pre><code>var t = new Ext.form.field.Text();
1929 var isText = t.isXType('textfield');        // true
1930 var isBoxSubclass = t.isXType('field');       // true, descended from <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">Ext.form.field.Base</a>
1931 var isBoxInstance = t.isXType('field', true); // false, not a direct <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">Ext.form.field.Base</a> instance
1932 </code></pre>
1933
1934 <h3 class="pa">Parameters</h3><ul><li><span class="pre">xtype</span> : String<div class="sub-desc"><p>The xtype to check for this Component</p>
1935 </div></li><li><span class="pre">shallow</span> : Boolean<div class="sub-desc"><p>(optional) False to check whether this Component is descended from the xtype (this is
1936 the default), or true to check whether this Component is directly of the specified xtype.</p>
1937 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this component descends from the specified xtype, false otherwise.</p>
1938 </li></ul></div></div></div><div id="method-move" class="member inherited"><a href="Ext.form.FieldContainer.html#method-move" rel="method-move" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-move" class="viewSource">view source</a></div><a name="move"></a><a name="method-move"></a><a href="Ext.form.FieldContainer.html#" rel="method-move" class="cls expand">move</a>(
1939 <span class="pre">Number fromIdx, Number toIdx</span>)
1940  : Ext.Component</div><div class="description"><div class="short"><p>Moves a Component within the Container</p>
1941 </div><div class="long"><p>Moves a Component within the Container</p>
1942 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fromIdx</span> : Number<div class="sub-desc"><p>The index the Component you wish to move is currently at.</p>
1943 </div></li><li><span class="pre">toIdx</span> : Number<div class="sub-desc"><p>The new index for the Component.</p>
1944 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>component The Component (or config object) that was moved.</p>
1945 </li></ul></div></div></div><div id="method-nextNode" class="member inherited"><a href="Ext.form.FieldContainer.html#method-nextNode" rel="method-nextNode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-nextNode" class="viewSource">view source</a></div><a name="nextNode"></a><a name="method-nextNode"></a><a href="Ext.form.FieldContainer.html#" rel="method-nextNode" class="cls expand">nextNode</a>(
1946 <span class="pre">String selector, Object includeSelf</span>)
1947  : void</div><div class="description"><div class="short">Returns the next node in the Component tree in tree traversal order.
1948
1949
1950 Note that this is not limited to siblings, and...</div><div class="long"><p>Returns the next node in the Component tree in tree traversal order.</p>
1951
1952
1953 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
1954 walk the tree to attempt to find a match. Contrast with <a href="Ext.form.FieldContainer.html#pnextSibling" rel="Ext.form.FieldContainer#pnextSibling" class="docClass">pnextSibling</a>.</p>
1955
1956 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the following nodes.</p>
1957 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
1958 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The next node (or the next node which matches the selector). Returns null if there is no matching node.</p>
1959 </li></ul></div></div></div><div id="method-nextSibling" class="member inherited"><a href="Ext.form.FieldContainer.html#method-nextSibling" rel="method-nextSibling" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-nextSibling" class="viewSource">view source</a></div><a name="nextSibling"></a><a name="method-nextSibling"></a><a href="Ext.form.FieldContainer.html#" rel="method-nextSibling" class="cls expand">nextSibling</a>(
1960 <span class="pre">String selector</span>)
1961  : void</div><div class="description"><div class="short">Returns the next sibling of this Component.
1962
1963
1964 Optionally selects the next sibling which matches the passed ComponentQ...</div><div class="long"><p>Returns the next sibling of this Component.</p>
1965
1966
1967 <p>Optionally selects the next sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
1968
1969
1970 <p>May also be refered to as <code><b>next()</b></code></p>
1971
1972
1973 <p>Note that this is limited to siblings, and if no siblings of the item match, <code>null</code> is returned. Contrast with <a href="Ext.form.FieldContainer.html#nextNode" rel="Ext.form.FieldContainer#nextNode" class="docClass">nextNode</a></p>
1974
1975 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the following items.</p>
1976 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The next sibling (or the next sibling which matches the selector). Returns null if there is no matching sibling.</p>
1977 </li></ul></div></div></div><div id="method-observe" class="member inherited"><a href="Ext.form.FieldContainer.html#method-observe" rel="method-observe" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-observe" class="viewSource">view source</a></div><a name="observe"></a><a name="method-observe"></a><a href="Ext.form.FieldContainer.html#" rel="method-observe" class="cls expand">observe</a>(
1978 <span class="pre">Function c, Object listeners</span>)
1979  : void</div><div class="description"><div class="short">Sets observability on the passed class constructor.
1980
1981 This makes any event fired on any instance of the passed class a...</div><div class="long"><p>Sets observability on the passed class constructor.</p>
1982
1983 <p>This makes any event fired on any instance of the passed class also fire a single event through
1984 the <strong>class</strong> allowing for central handling of events on many instances at once.</p>
1985
1986 <p>Usage:</p>
1987
1988 <pre><code>Ext.util.Observable.observe(Ext.data.Connection);
1989 Ext.data.Connection.on('beforerequest', function(con, options) {
1990     console.log('Ajax request made to ' + options.url);
1991 });
1992 </code></pre>
1993 <h3 class="pa">Parameters</h3><ul><li><span class="pre">c</span> : Function<div class="sub-desc"><p>The class constructor to make observable.</p>
1994 </div></li><li><span class="pre">listeners</span> : Object<div class="sub-desc"><p>An object containing a series of listeners to add. See <a href="Ext.form.FieldContainer.html#addListener" rel="Ext.form.FieldContainer#addListener" class="docClass">addListener</a>.</p>
1995 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1996 </li></ul></div></div></div><div id="method-on" class="member inherited"><a href="Ext.form.FieldContainer.html#method-on" rel="method-on" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-on" class="viewSource">view source</a></div><a name="on"></a><a name="method-on"></a><a href="Ext.form.FieldContainer.html#" rel="method-on" class="cls expand">on</a>(
1997 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
1998  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object (shorthand for <a href="Ext.form.FieldContainer.html#addListener" rel="Ext.form.FieldContainer#addListener" class="docClass">addListener</a>.)</p>
1999 </div><div class="long"><p>Appends an event handler to this object (shorthand for <a href="Ext.form.FieldContainer.html#addListener" rel="Ext.form.FieldContainer#addListener" class="docClass">addListener</a>.)</p>
2000 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event to listen for</p>
2001 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes</p>
2002 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
2003 <b>If omitted, defaults to the object which fired the event.</b></p>
2004 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.</p>
2005 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2006 </li></ul></div></div></div><div id="method-previousNode" class="member inherited"><a href="Ext.form.FieldContainer.html#method-previousNode" rel="method-previousNode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-previousNode" class="viewSource">view source</a></div><a name="previousNode"></a><a name="method-previousNode"></a><a href="Ext.form.FieldContainer.html#" rel="method-previousNode" class="cls expand">previousNode</a>(
2007 <span class="pre">String selector, Object includeSelf</span>)
2008  : void</div><div class="description"><div class="short">Returns the previous node in the Component tree in tree traversal order.
2009
2010
2011 Note that this is not limited to siblings,...</div><div class="long"><p>Returns the previous node in the Component tree in tree traversal order.</p>
2012
2013
2014 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
2015 walk the tree in reverse order to attempt to find a match. Contrast with <a href="Ext.form.FieldContainer.html#previousSibling" rel="Ext.form.FieldContainer#previousSibling" class="docClass">previousSibling</a>.</p>
2016
2017 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional. A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the preceding nodes.</p>
2018 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
2019 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The previous node (or the previous node which matches the selector). Returns null if there is no matching node.</p>
2020 </li></ul></div></div></div><div id="method-previousSibling" class="member inherited"><a href="Ext.form.FieldContainer.html#method-previousSibling" rel="method-previousSibling" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-previousSibling" class="viewSource">view source</a></div><a name="previousSibling"></a><a name="method-previousSibling"></a><a href="Ext.form.FieldContainer.html#" rel="method-previousSibling" class="cls expand">previousSibling</a>(
2021 <span class="pre">String selector</span>)
2022  : void</div><div class="description"><div class="short">Returns the previous sibling of this Component.
2023
2024
2025 Optionally selects the previous sibling which matches the passed Co...</div><div class="long"><p>Returns the previous sibling of this Component.</p>
2026
2027
2028 <p>Optionally selects the previous sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
2029
2030
2031 <p>May also be refered to as <code><b>prev()</b></code></p>
2032
2033
2034 <p>Note that this is limited to siblings, and if no siblings of the item match, <code>null</code> is returned. Contrast with <a href="Ext.form.FieldContainer.html#previousNode" rel="Ext.form.FieldContainer#previousNode" class="docClass">previousNode</a></p>
2035
2036 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional. A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the preceding items.</p>
2037 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The previous sibling (or the previous sibling which matches the selector). Returns null if there is no matching sibling.</p>
2038 </li></ul></div></div></div><div id="method-query" class="member inherited"><a href="Ext.form.FieldContainer.html#method-query" rel="method-query" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-query" class="viewSource">view source</a></div><a name="query"></a><a name="method-query"></a><a href="Ext.form.FieldContainer.html#" rel="method-query" class="cls expand">query</a>(
2039 <span class="pre">String selector</span>)
2040  : Array</div><div class="description"><div class="short">Retrieves all descendant components which match the passed selector.
2041 Executes an Ext.ComponentQuery.query using this ...</div><div class="long"><p>Retrieves all descendant components which match the passed selector.
2042 Executes an Ext.ComponentQuery.query using this container as its root.</p>
2043 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Selector complying to an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector</p>
2044 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>Ext.Component's which matched the selector</p>
2045 </li></ul></div></div></div><div id="method-relayEvents" class="member inherited"><a href="Ext.form.FieldContainer.html#method-relayEvents" rel="method-relayEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-relayEvents" class="viewSource">view source</a></div><a name="relayEvents"></a><a name="method-relayEvents"></a><a href="Ext.form.FieldContainer.html#" rel="method-relayEvents" class="cls expand">relayEvents</a>(
2046 <span class="pre">Object origin, Array events, Object prefix</span>)
2047  : void</div><div class="description"><div class="short"><p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>
2048 </div><div class="long"><p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>
2049 <h3 class="pa">Parameters</h3><ul><li><span class="pre">origin</span> : Object<div class="sub-desc"><p>The Observable whose events this object is to relay.</p>
2050 </div></li><li><span class="pre">events</span> : Array<div class="sub-desc"><p>Array of event names to relay.</p>
2051 </div></li><li><span class="pre">prefix</span> : Object<div class="sub-desc">
2052 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2053 </li></ul></div></div></div><div id="method-releaseCapture" class="member inherited"><a href="Ext.form.FieldContainer.html#method-releaseCapture" rel="method-releaseCapture" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-releaseCapture" class="viewSource">view source</a></div><a name="releaseCapture"></a><a name="method-releaseCapture"></a><a href="Ext.form.FieldContainer.html#" rel="method-releaseCapture" class="cls expand">releaseCapture</a>(
2054 <span class="pre">Observable o</span>)
2055  : void</div><div class="description"><div class="short"><p>Removes <b>all</b> added captures from the Observable.</p>
2056 </div><div class="long"><p>Removes <b>all</b> added captures from the Observable.</p>
2057 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to release</p>
2058 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2059 </li></ul></div></div></div><div id="method-remove" class="member inherited"><a href="Ext.form.FieldContainer.html#method-remove" rel="method-remove" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-remove" class="viewSource">view source</a></div><a name="remove"></a><a name="method-remove"></a><a href="Ext.form.FieldContainer.html#" rel="method-remove" class="cls expand">remove</a>(
2060 <span class="pre">Component/String component, [Boolean autoDestroy]</span>)
2061  : Ext.Component</div><div class="description"><div class="short">Removes a component from this container.  Fires the beforeremove event before removing, then fires
2062 the remove event a...</div><div class="long"><p>Removes a component from this container.  Fires the <a href="Ext.form.FieldContainer.html#beforeremove" rel="Ext.form.FieldContainer#beforeremove" class="docClass">beforeremove</a> event before removing, then fires
2063 the <a href="Ext.form.FieldContainer.html#remove" rel="Ext.form.FieldContainer#remove" class="docClass">remove</a> event after the component has been removed.</p>
2064 <h3 class="pa">Parameters</h3><ul><li><span class="pre">component</span> : Component/String<div class="sub-desc"><p>The component reference or id to remove.</p>
2065 </div></li><li><span class="pre">autoDestroy</span> : Boolean<div class="sub-desc"><p>(optional) True to automatically invoke the removed Component's <a href="Ext.Component.html#destroy" rel="Ext.Component#destroy" class="docClass">Ext.Component.destroy</a> function.
2066 Defaults to the value of this Container's <a href="Ext.form.FieldContainer.html#autoDestroy" rel="Ext.form.FieldContainer#autoDestroy" class="docClass">autoDestroy</a> config.</p>
2067 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>component The Component that was removed.</p>
2068 </li></ul></div></div></div><div id="method-removeAll" class="member inherited"><a href="Ext.form.FieldContainer.html#method-removeAll" rel="method-removeAll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-removeAll" class="viewSource">view source</a></div><a name="removeAll"></a><a name="method-removeAll"></a><a href="Ext.form.FieldContainer.html#" rel="method-removeAll" class="cls expand">removeAll</a>(
2069 <span class="pre">[Boolean autoDestroy]</span>)
2070  : Array</div><div class="description"><div class="short"><p>Removes all components from this container.</p>
2071 </div><div class="long"><p>Removes all components from this container.</p>
2072 <h3 class="pa">Parameters</h3><ul><li><span class="pre">autoDestroy</span> : Boolean<div class="sub-desc"><p>(optional) True to automatically invoke the removed Component's <a href="Ext.Component.html#destroy" rel="Ext.Component#destroy" class="docClass">Ext.Component.destroy</a> function.
2073 Defaults to the value of this Container's <a href="Ext.form.FieldContainer.html#autoDestroy" rel="Ext.form.FieldContainer#autoDestroy" class="docClass">autoDestroy</a> config.</p>
2074 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>Array of the destroyed components</p>
2075 </li></ul></div></div></div><div id="method-removeCls" class="member inherited"><a href="Ext.form.FieldContainer.html#method-removeCls" rel="method-removeCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-removeCls" class="viewSource">view source</a></div><a name="removeCls"></a><a name="method-removeCls"></a><a href="Ext.form.FieldContainer.html#" rel="method-removeCls" class="cls expand">removeCls</a>(
2076 <span class="pre">Object className</span>)
2077  : Ext.Component</div><div class="description"><div class="short"><p>Removes a CSS class from the top level element representing this component.</p>
2078 </div><div class="long"><p>Removes a CSS class from the top level element representing this component.</p>
2079 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : Object<div class="sub-desc">
2080 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>Returns the Component to allow method chaining.</p>
2081 </li></ul></div></div></div><div id="method-removeClsWithUI" class="member inherited"><a href="Ext.form.FieldContainer.html#method-removeClsWithUI" rel="method-removeClsWithUI" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-removeClsWithUI" class="viewSource">view source</a></div><a name="removeClsWithUI"></a><a name="method-removeClsWithUI"></a><a href="Ext.form.FieldContainer.html#" rel="method-removeClsWithUI" class="cls expand">removeClsWithUI</a>(
2082 <span class="pre">String/Array cls</span>)
2083  : void</div><div class="description"><div class="short">Removes a cls to the uiCls array, which will also call removeUIClsToElement and removes
2084 it from all elements of this ...</div><div class="long"><p>Removes a cls to the uiCls array, which will also call <a href="Ext.form.FieldContainer.html#removeUIClsToElement" rel="Ext.form.FieldContainer#removeUIClsToElement" class="docClass">removeUIClsToElement</a> and removes
2085 it from all elements of this component.</p>
2086 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String/Array<div class="sub-desc"><p>A string or an array of strings to remove to the uiCls</p>
2087 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2088 </li></ul></div></div></div><div id="method-removeListener" class="member inherited"><a href="Ext.form.FieldContainer.html#method-removeListener" rel="method-removeListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-removeListener" class="viewSource">view source</a></div><a name="removeListener"></a><a name="method-removeListener"></a><a href="Ext.form.FieldContainer.html#" rel="method-removeListener" class="cls expand">removeListener</a>(
2089 <span class="pre">String eventName, Function handler, [Object scope]</span>)
2090  : void</div><div class="description"><div class="short"><p>Removes an event handler.</p>
2091 </div><div class="long"><p>Removes an event handler.</p>
2092 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event the handler was associated with.</p>
2093 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The handler to remove. <b>This must be a reference to the function passed into the <a href="Ext.form.FieldContainer.html#addListener" rel="Ext.form.FieldContainer#addListener" class="docClass">addListener</a> call.</b></p>
2094 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
2095 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2096 </li></ul></div></div></div><div id="method-removeManagedListener" class="member inherited"><a href="Ext.form.FieldContainer.html#method-removeManagedListener" rel="method-removeManagedListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-removeManagedListener" class="viewSource">view source</a></div><a name="removeManagedListener"></a><a name="method-removeManagedListener"></a><a href="Ext.form.FieldContainer.html#" rel="method-removeManagedListener" class="cls expand">removeManagedListener</a>(
2097 <span class="pre">Observable|Element item, Object|String ename, Function fn, Object scope</span>)
2098  : void</div><div class="description"><div class="short"><p>Removes listeners that were added by the <a href="Ext.form.FieldContainer.html#mon" rel="Ext.form.FieldContainer#mon" class="docClass">mon</a> method.</p>
2099 </div><div class="long"><p>Removes listeners that were added by the <a href="Ext.form.FieldContainer.html#mon" rel="Ext.form.FieldContainer#mon" class="docClass">mon</a> method.</p>
2100 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Observable|Element<div class="sub-desc"><p>The item from which to remove a listener/listeners.</p>
2101 </div></li><li><span class="pre">ename</span> : Object|String<div class="sub-desc"><p>The event name, or an object containing event name properties.</p>
2102 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
2103 is the handler function.</p>
2104 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
2105 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
2106 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2107 </li></ul></div></div></div><div id="method-resumeEvents" class="member inherited"><a href="Ext.form.FieldContainer.html#method-resumeEvents" rel="method-resumeEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-resumeEvents" class="viewSource">view source</a></div><a name="resumeEvents"></a><a name="method-resumeEvents"></a><a href="Ext.form.FieldContainer.html#" rel="method-resumeEvents" class="cls expand">resumeEvents</a> : void</div><div class="description"><div class="short">Resume firing events. (see suspendEvents)
2108 If events were suspended using the queueSuspended parameter, then all
2109 event...</div><div class="long"><p>Resume firing events. (see <a href="Ext.form.FieldContainer.html#suspendEvents" rel="Ext.form.FieldContainer#suspendEvents" class="docClass">suspendEvents</a>)
2110 If events were suspended using the <code><b>queueSuspended</b></code> parameter, then all
2111 events fired during event suspension will be sent to any listeners now.</p>
2112 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2113 </li></ul></div></div></div><div id="method-sequenceFx" class="member inherited"><a href="Ext.form.FieldContainer.html#method-sequenceFx" rel="method-sequenceFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-sequenceFx" class="viewSource">view source</a></div><a name="sequenceFx"></a><a name="method-sequenceFx"></a><a href="Ext.form.FieldContainer.html#" rel="method-sequenceFx" class="cls expand">sequenceFx</a> : Ext.core.Element</div><div class="description"><div class="short">Ensures that all effects queued after sequenceFx is called on this object are
2114 run in sequence.  This is the opposite ...</div><div class="long"><p>Ensures that all effects queued after sequenceFx is called on this object are
2115 run in sequence.  This is the opposite of <a href="Ext.form.FieldContainer.html#syncFx" rel="Ext.form.FieldContainer#syncFx" class="docClass">syncFx</a>.</p>
2116 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2117 </li></ul></div></div></div><div id="method-setActive" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setActive" rel="method-setActive" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-setActive" class="viewSource">view source</a></div><a name="setActive"></a><a name="method-setActive"></a><a href="Ext.form.FieldContainer.html#" rel="method-setActive" class="cls expand">setActive</a>(
2118 <span class="pre">Boolean active, Component newActive</span>)
2119  : void</div><div class="description"><div class="short">This method is called internally by Ext.ZIndexManager to signal that a floating
2120 Component has either been moved to th...</div><div class="long"><p>This method is called internally by <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">Ext.ZIndexManager</a> to signal that a floating
2121 Component has either been moved to the top of its zIndex stack, or pushed from the top of its zIndex stack.</p>
2122
2123
2124 <p>If a <i>Window</i> is superceded by another Window, deactivating it hides its shadow.</p>
2125
2126
2127 <p>This method also fires the <a href="Ext.form.FieldContainer.html#activate" rel="Ext.form.FieldContainer#activate" class="docClass">activate</a> or <a href="Ext.form.FieldContainer.html#deactivate" rel="Ext.form.FieldContainer#deactivate" class="docClass">deactivate</a> event depending on which action occurred.</p>
2128
2129 <h3 class="pa">Parameters</h3><ul><li><span class="pre">active</span> : Boolean<div class="sub-desc"><p>True to activate the Component, false to deactivate it (defaults to false)</p>
2130 </div></li><li><span class="pre">newActive</span> : Component<div class="sub-desc"><p>The newly active Component which is taking over topmost zIndex position.</p>
2131 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2132 </li></ul></div></div></div><div id="method-setActiveError" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setActiveError" rel="method-setActiveError" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-setActiveError" class="viewSource">view source</a></div><a name="setActiveError"></a><a name="method-setActiveError"></a><a href="Ext.form.FieldContainer.html#" rel="method-setActiveError" class="cls expand">setActiveError</a>(
2133 <span class="pre">String msg</span>)
2134  : void</div><div class="description"><div class="short">Sets the active error message to the given string. This replaces the entire error message
2135 contents with the given str...</div><div class="long"><p>Sets the active error message to the given string. This replaces the entire error message
2136 contents with the given string. Also see <a href="Ext.form.FieldContainer.html#setActiveErrors" rel="Ext.form.FieldContainer#setActiveErrors" class="docClass">setActiveErrors</a> which accepts an Array of
2137 messages and formats them according to the <a href="Ext.form.FieldContainer.html#activeErrorsTpl" rel="Ext.form.FieldContainer#activeErrorsTpl" class="docClass">activeErrorsTpl</a>.</p>
2138 <h3 class="pa">Parameters</h3><ul><li><span class="pre">msg</span> : String<div class="sub-desc"><p>The error message</p>
2139 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2140 </li></ul></div></div></div><div id="method-setActiveErrors" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setActiveErrors" rel="method-setActiveErrors" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-setActiveErrors" class="viewSource">view source</a></div><a name="setActiveErrors"></a><a name="method-setActiveErrors"></a><a href="Ext.form.FieldContainer.html#" rel="method-setActiveErrors" class="cls expand">setActiveErrors</a>(
2141 <span class="pre">Array errors</span>)
2142  : void</div><div class="description"><div class="short">Set the active error message to an Array of error messages. The messages are formatted into
2143 a single message string u...</div><div class="long"><p>Set the active error message to an Array of error messages. The messages are formatted into
2144 a single message string using the <a href="Ext.form.FieldContainer.html#activeErrorsTpl" rel="Ext.form.FieldContainer#activeErrorsTpl" class="docClass">activeErrorsTpl</a>. Also see <a href="Ext.form.FieldContainer.html#setActiveError" rel="Ext.form.FieldContainer#setActiveError" class="docClass">setActiveError</a>
2145 which allows setting the entire error contents with a single string.</p>
2146 <h3 class="pa">Parameters</h3><ul><li><span class="pre">errors</span> : Array<div class="sub-desc"><p>The error messages</p>
2147 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2148 </li></ul></div></div></div><div id="method-setAutoScroll" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setAutoScroll" rel="method-setAutoScroll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-setAutoScroll" class="viewSource">view source</a></div><a name="setAutoScroll"></a><a name="method-setAutoScroll"></a><a href="Ext.form.FieldContainer.html#" rel="method-setAutoScroll" class="cls expand">setAutoScroll</a>(
2149 <span class="pre">Boolean scroll</span>)
2150  : Ext.Component</div><div class="description"><div class="short"><p>Sets the overflow on the content element of the component.</p>
2151 </div><div class="long"><p>Sets the overflow on the content element of the component.</p>
2152 <h3 class="pa">Parameters</h3><ul><li><span class="pre">scroll</span> : Boolean<div class="sub-desc"><p>True to allow the Component to auto scroll.</p>
2153 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2154 </li></ul></div></div></div><div id="method-setDisabled" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setDisabled" rel="method-setDisabled" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setDisabled" class="viewSource">view source</a></div><a name="setDisabled"></a><a name="method-setDisabled"></a><a href="Ext.form.FieldContainer.html#" rel="method-setDisabled" class="cls expand">setDisabled</a>(
2155 <span class="pre">Boolean disabled</span>)
2156  : void</div><div class="description"><div class="short"><p>Enable or disable the component.</p>
2157 </div><div class="long"><p>Enable or disable the component.</p>
2158 <h3 class="pa">Parameters</h3><ul><li><span class="pre">disabled</span> : Boolean<div class="sub-desc">
2159 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2160 </li></ul></div></div></div><div id="method-setDocked" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setDocked" rel="method-setDocked" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setDocked" class="viewSource">view source</a></div><a name="setDocked"></a><a name="method-setDocked"></a><a href="Ext.form.FieldContainer.html#" rel="method-setDocked" class="cls expand">setDocked</a>(
2161 <span class="pre">Object dock, Object layoutParent</span>)
2162  : Component</div><div class="description"><div class="short">Sets the dock position of this component in its parent panel. Note that
2163 this only has effect if this item is part of ...</div><div class="long"><p>Sets the dock position of this component in its parent panel. Note that
2164 this only has effect if this item is part of the dockedItems collection
2165 of a parent that has a DockLayout (note that any Panel has a DockLayout
2166 by default)</p>
2167 <h3 class="pa">Parameters</h3><ul><li><span class="pre">dock</span> : Object<div class="sub-desc">
2168 </div></li><li><span class="pre">layoutParent</span> : Object<div class="sub-desc">
2169 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2170 </li></ul></div></div></div><div id="method-setFieldDefaults" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setFieldDefaults" rel="method-setFieldDefaults" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-setFieldDefaults" class="viewSource">view source</a></div><a name="setFieldDefaults"></a><a name="method-setFieldDefaults"></a><a href="Ext.form.FieldContainer.html#" rel="method-setFieldDefaults" class="cls expand">setFieldDefaults</a>(
2171 <span class="pre">Object defaults</span>)
2172  : void</div><div class="description"><div class="short">Applies a set of default configuration values to this Labelable instance. For each of the
2173 properties in the given obj...</div><div class="long"><p>Applies a set of default configuration values to this Labelable instance. For each of the
2174 properties in the given object, check if this component hasOwnProperty that config; if not
2175 then it's inheriting a default value from its prototype and we should apply the default value.</p>
2176 <h3 class="pa">Parameters</h3><ul><li><span class="pre">defaults</span> : Object<div class="sub-desc"><p>The defaults to apply to the object.</p>
2177 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2178 </li></ul></div></div></div><div id="method-setHeight" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setHeight" rel="method-setHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setHeight" class="viewSource">view source</a></div><a name="setHeight"></a><a name="method-setHeight"></a><a href="Ext.form.FieldContainer.html#" rel="method-setHeight" class="cls expand">setHeight</a>(
2179 <span class="pre">Number height</span>)
2180  : Ext.Component</div><div class="description"><div class="short"><p>Sets the height of the component.  This method fires the <a href="Ext.form.FieldContainer.html#resize" rel="Ext.form.FieldContainer#resize" class="docClass">resize</a> event.</p>
2181 </div><div class="long"><p>Sets the height of the component.  This method fires the <a href="Ext.form.FieldContainer.html#resize" rel="Ext.form.FieldContainer#resize" class="docClass">resize</a> event.</p>
2182 <h3 class="pa">Parameters</h3><ul><li><span class="pre">height</span> : Number<div class="sub-desc"><p>The new height to set. This may be one of:<div class="mdetail-params"><ul>
2183 <li>A Number specifying the new height in the <a href="Ext.form.FieldContainer.html#getEl" rel="Ext.form.FieldContainer#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2184 <li>A String used to set the CSS height style.</li>
2185 <li><i>undefined</i> to leave the height unchanged.</li>
2186 </ul></div></p>
2187 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2188 </li></ul></div></div></div><div id="method-setLoading" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setLoading" rel="method-setLoading" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setLoading" class="viewSource">view source</a></div><a name="setLoading"></a><a name="method-setLoading"></a><a href="Ext.form.FieldContainer.html#" rel="method-setLoading" class="cls expand">setLoading</a>(
2189 <span class="pre">Boolean/Object/String load, Boolean targetEl</span>)
2190  : Ext.LoadMask</div><div class="description"><div class="short"><p>This method allows you to show or hide a LoadMask on top of this component.</p>
2191 </div><div class="long"><p>This method allows you to show or hide a LoadMask on top of this component.</p>
2192 <h3 class="pa">Parameters</h3><ul><li><span class="pre">load</span> : Boolean/Object/String<div class="sub-desc"><p>True to show the default LoadMask, a config object
2193 that will be passed to the LoadMask constructor, or a message String to show. False to
2194 hide the current LoadMask.</p>
2195 </div></li><li><span class="pre">targetEl</span> : Boolean<div class="sub-desc"><p>True to mask the targetEl of this Component instead of the this.el.
2196 For example, setting this to true on a Panel will cause only the body to be masked. (defaults to false)</p>
2197 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.LoadMask</span>&nbsp; &nbsp;<p>The LoadMask instance that has just been shown.</p>
2198 </li></ul></div></div></div><div id="method-setPagePosition" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setPagePosition" rel="method-setPagePosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-setPagePosition" class="viewSource">view source</a></div><a name="setPagePosition"></a><a name="method-setPagePosition"></a><a href="Ext.form.FieldContainer.html#" rel="method-setPagePosition" class="cls expand">setPagePosition</a>(
2199 <span class="pre">Number x, Number y, Mixed animate</span>)
2200  : Ext.Component</div><div class="description"><div class="short">Sets the page XY position of the component.  To set the left and top instead, use setPosition.
2201 This method fires the ...</div><div class="long"><p>Sets the page XY position of the component.  To set the left and top instead, use <a href="Ext.form.FieldContainer.html#setPosition" rel="Ext.form.FieldContainer#setPosition" class="docClass">setPosition</a>.
2202 This method fires the <a href="Ext.form.FieldContainer.html#move" rel="Ext.form.FieldContainer#move" class="docClass">move</a> event.</p>
2203 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
2204 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
2205 </div></li><li><span class="pre">animate</span> : Mixed<div class="sub-desc"><p>If passed, the Component is <i>animated</i> into its new position. If this parameter
2206 is a number, it is used as the animation duration in milliseconds.</p>
2207 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2208 </li></ul></div></div></div><div id="method-setPosition" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setPosition" rel="method-setPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-setPosition" class="viewSource">view source</a></div><a name="setPosition"></a><a name="method-setPosition"></a><a href="Ext.form.FieldContainer.html#" rel="method-setPosition" class="cls expand">setPosition</a>(
2209 <span class="pre">Number left, Number top, Mixed animate</span>)
2210  : Ext.Component</div><div class="description"><div class="short">Sets the left and top of the component.  To set the page XY position instead, use setPagePosition.
2211 This method fires ...</div><div class="long"><p>Sets the left and top of the component.  To set the page XY position instead, use <a href="Ext.form.FieldContainer.html#setPagePosition" rel="Ext.form.FieldContainer#setPagePosition" class="docClass">setPagePosition</a>.
2212 This method fires the <a href="Ext.form.FieldContainer.html#move" rel="Ext.form.FieldContainer#move" class="docClass">move</a> event.</p>
2213 <h3 class="pa">Parameters</h3><ul><li><span class="pre">left</span> : Number<div class="sub-desc"><p>The new left</p>
2214 </div></li><li><span class="pre">top</span> : Number<div class="sub-desc"><p>The new top</p>
2215 </div></li><li><span class="pre">animate</span> : Mixed<div class="sub-desc"><p>If true, the Component is <i>animated</i> into its new position. You may also pass an animation configuration.</p>
2216 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2217 </li></ul></div></div></div><div id="method-setSize" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setSize" rel="method-setSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setSize" class="viewSource">view source</a></div><a name="setSize"></a><a name="method-setSize"></a><a href="Ext.form.FieldContainer.html#" rel="method-setSize" class="cls expand">setSize</a>(
2218 <span class="pre">Mixed width, Mixed height</span>)
2219  : Ext.Component</div><div class="description"><div class="short">Sets the width and height of this Component. This method fires the resize event. This method can accept
2220 either width ...</div><div class="long"><p>Sets the width and height of this Component. This method fires the <a href="Ext.form.FieldContainer.html#resize" rel="Ext.form.FieldContainer#resize" class="docClass">resize</a> event. This method can accept
2221 either width and height as separate arguments, or you can pass a size object like <code>{width:10, height:20}</code>.</p>
2222 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Mixed<div class="sub-desc"><p>The new width to set. This may be one of:<div class="mdetail-params"><ul>
2223 <li>A Number specifying the new width in the <a href="Ext.form.FieldContainer.html#getEl" rel="Ext.form.FieldContainer#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2224 <li>A String used to set the CSS width style.</li>
2225 <li>A size object in the format <code>{width: widthValue, height: heightValue}</code>.</li>
2226 <li><code>undefined</code> to leave the width unchanged.</li>
2227 </ul></div></p>
2228 </div></li><li><span class="pre">height</span> : Mixed<div class="sub-desc"><p>The new height to set (not required if a size object is passed as the first arg).
2229 This may be one of:<div class="mdetail-params"><ul>
2230 <li>A Number specifying the new height in the <a href="Ext.form.FieldContainer.html#getEl" rel="Ext.form.FieldContainer#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2231 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
2232 <li><code>undefined</code> to leave the height unchanged.</li>
2233 </ul></div></p>
2234 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2235 </li></ul></div></div></div><div id="method-setUI" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setUI" rel="method-setUI" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setUI" class="viewSource">view source</a></div><a name="setUI"></a><a name="method-setUI"></a><a href="Ext.form.FieldContainer.html#" rel="method-setUI" class="cls expand">setUI</a>(
2236 <span class="pre">String ui</span>)
2237  : void</div><div class="description"><div class="short">Sets the UI for the component. This will remove any existing UIs on the component. It will also
2238 loop through any uiCl...</div><div class="long"><p>Sets the UI for the component. This will remove any existing UIs on the component. It will also
2239 loop through any uiCls set on the component and rename them so they include the new UI</p>
2240 <h3 class="pa">Parameters</h3><ul><li><span class="pre">ui</span> : String<div class="sub-desc"><p>The new UI for the component</p>
2241 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2242 </li></ul></div></div></div><div id="method-setVisible" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setVisible" rel="method-setVisible" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setVisible" class="viewSource">view source</a></div><a name="setVisible"></a><a name="method-setVisible"></a><a href="Ext.form.FieldContainer.html#" rel="method-setVisible" class="cls expand">setVisible</a>(
2243 <span class="pre">Boolean visible</span>)
2244  : Ext.Component</div><div class="description"><div class="short"><p>Convenience function to hide or show this component by boolean.</p>
2245 </div><div class="long"><p>Convenience function to hide or show this component by boolean.</p>
2246 <h3 class="pa">Parameters</h3><ul><li><span class="pre">visible</span> : Boolean<div class="sub-desc"><p>True to show, false to hide</p>
2247 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2248 </li></ul></div></div></div><div id="method-setWidth" class="member inherited"><a href="Ext.form.FieldContainer.html#method-setWidth" rel="method-setWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setWidth" class="viewSource">view source</a></div><a name="setWidth"></a><a name="method-setWidth"></a><a href="Ext.form.FieldContainer.html#" rel="method-setWidth" class="cls expand">setWidth</a>(
2249 <span class="pre">Number width</span>)
2250  : Ext.Component</div><div class="description"><div class="short"><p>Sets the width of the component.  This method fires the <a href="Ext.form.FieldContainer.html#resize" rel="Ext.form.FieldContainer#resize" class="docClass">resize</a> event.</p>
2251 </div><div class="long"><p>Sets the width of the component.  This method fires the <a href="Ext.form.FieldContainer.html#resize" rel="Ext.form.FieldContainer#resize" class="docClass">resize</a> event.</p>
2252 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Number<div class="sub-desc"><p>The new width to setThis may be one of:<div class="mdetail-params"><ul>
2253 <li>A Number specifying the new width in the <a href="Ext.form.FieldContainer.html#getEl" rel="Ext.form.FieldContainer#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2254 <li>A String used to set the CSS width style.</li>
2255 </ul></div></p>
2256 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2257 </li></ul></div></div></div><div id="method-show" class="member inherited"><a href="Ext.form.FieldContainer.html#method-show" rel="method-show" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-show" class="viewSource">view source</a></div><a name="show"></a><a name="method-show"></a><a href="Ext.form.FieldContainer.html#" rel="method-show" class="cls expand">show</a>(
2258 <span class="pre">String/Element animateTarget, [Function callback], [Object scope]</span>)
2259  : Component</div><div class="description"><div class="short">Shows this Component, rendering it first if autoRender or {&quot;floating are true.
2260
2261
2262 After being shown, a floating C...</div><div class="long"><p>Shows this Component, rendering it first if <a href="Ext.form.FieldContainer.html#autoRender" rel="Ext.form.FieldContainer#autoRender" class="docClass">autoRender</a> or {<a href="Ext.form.FieldContainer.html"floating" rel=""floating" class="docClass">&quot;floating</a> are <code>true</code>.</p>
2263
2264
2265 <p>After being shown, a <a href="Ext.form.FieldContainer.html#floating" rel="Ext.form.FieldContainer#floating" class="docClass">floating</a> Component (such as a <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Ext.window.Window</a>), is activated it and brought to the front of
2266 its <a href="Ext.form.FieldContainer.html#ZIndexManager" rel="Ext.form.FieldContainer#ZIndexManager" class="docClass">z-index stack</a>.</p>
2267
2268 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animateTarget</span> : String/Element<div class="sub-desc"><p>Optional, and <b>only valid for <a href="Ext.form.FieldContainer.html#floating" rel="Ext.form.FieldContainer#floating" class="docClass">floating</a> Components such as
2269 <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s or <a href="Ext.tip.ToolTip.html" rel="Ext.tip.ToolTip" class="docClass">ToolTip</a>s, or regular Components which have been configured
2270 with <code>floating: true</code>.</b> The target from which the Component should
2271 animate from while opening (defaults to null with no animation)</p>
2272 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) A callback function to call after the Component is displayed. Only necessary if animation was specified.</p>
2273 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this Component.</p>
2274 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2275 </li></ul></div></div></div><div id="method-stopAnimation" class="member inherited"><a href="Ext.form.FieldContainer.html#method-stopAnimation" rel="method-stopAnimation" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-stopAnimation" class="viewSource">view source</a></div><a name="stopAnimation"></a><a name="method-stopAnimation"></a><a href="Ext.form.FieldContainer.html#" rel="method-stopAnimation" class="cls expand">stopAnimation</a> : Ext.core.Element</div><div class="description"><div class="short">@deprecated 4.0 Replaced by stopAnimation
2276 Stops any running effects and clears this object's internal effects queue i...</div><div class="long"><p>@deprecated 4.0 Replaced by <a href="Ext.form.FieldContainer.html#stopAnimation" rel="Ext.form.FieldContainer#stopAnimation" class="docClass">stopAnimation</a>
2277 Stops any running effects and clears this object's internal effects queue if it contains
2278 any additional effects that haven't started yet.</p>
2279 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2280 </li></ul></div></div></div><div id="method-suspendEvents" class="member inherited"><a href="Ext.form.FieldContainer.html#method-suspendEvents" rel="method-suspendEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-suspendEvents" class="viewSource">view source</a></div><a name="suspendEvents"></a><a name="method-suspendEvents"></a><a href="Ext.form.FieldContainer.html#" rel="method-suspendEvents" class="cls expand">suspendEvents</a>(
2281 <span class="pre">Boolean queueSuspended</span>)
2282  : void</div><div class="description"><div class="short"><p>Suspend the firing of all events. (see <a href="Ext.form.FieldContainer.html#resumeEvents" rel="Ext.form.FieldContainer#resumeEvents" class="docClass">resumeEvents</a>)</p>
2283 </div><div class="long"><p>Suspend the firing of all events. (see <a href="Ext.form.FieldContainer.html#resumeEvents" rel="Ext.form.FieldContainer#resumeEvents" class="docClass">resumeEvents</a>)</p>
2284 <h3 class="pa">Parameters</h3><ul><li><span class="pre">queueSuspended</span> : Boolean<div class="sub-desc"><p>Pass as true to queue up suspended events to be fired
2285 after the <a href="Ext.form.FieldContainer.html#resumeEvents" rel="Ext.form.FieldContainer#resumeEvents" class="docClass">resumeEvents</a> call instead of discarding all suspended events;</p>
2286 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2287 </li></ul></div></div></div><div id="method-syncFx" class="member inherited"><a href="Ext.form.FieldContainer.html#method-syncFx" rel="method-syncFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-syncFx" class="viewSource">view source</a></div><a name="syncFx"></a><a name="method-syncFx"></a><a href="Ext.form.FieldContainer.html#" rel="method-syncFx" class="cls expand">syncFx</a> : Ext.core.Element</div><div class="description"><div class="short">Ensures that all effects queued after syncFx is called on this object are
2288 run concurrently.  This is the opposite of ...</div><div class="long"><p>Ensures that all effects queued after syncFx is called on this object are
2289 run concurrently.  This is the opposite of <a href="Ext.form.FieldContainer.html#sequenceFx" rel="Ext.form.FieldContainer#sequenceFx" class="docClass">sequenceFx</a>.</p>
2290 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2291 </li></ul></div></div></div><div id="method-toBack" class="member inherited"><a href="Ext.form.FieldContainer.html#method-toBack" rel="method-toBack" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-toBack" class="viewSource">view source</a></div><a name="toBack"></a><a name="method-toBack"></a><a href="Ext.form.FieldContainer.html#" rel="method-toBack" class="cls expand">toBack</a> : Component</div><div class="description"><div class="short"><p>Sends this Component to the back of (lower z-index than) any other visible windows</p>
2292 </div><div class="long"><p>Sends this Component to the back of (lower z-index than) any other visible windows</p>
2293 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2294 </li></ul></div></div></div><div id="method-toFront" class="member inherited"><a href="Ext.form.FieldContainer.html#method-toFront" rel="method-toFront" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-toFront" class="viewSource">view source</a></div><a name="toFront"></a><a name="method-toFront"></a><a href="Ext.form.FieldContainer.html#" rel="method-toFront" class="cls expand">toFront</a>(
2295 <span class="pre">[Boolean preventFocus]</span>)
2296  : Component</div><div class="description"><div class="short">Brings this floating Component to the front of any other visible, floating Components managed by the same ZIndexManag...</div><div class="long"><p>Brings this floating Component to the front of any other visible, floating Components managed by the same <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a></p>
2297
2298
2299 <p>If this Component is modal, inserts the modal mask just below this Component in the z-index stack.</p>
2300
2301 <h3 class="pa">Parameters</h3><ul><li><span class="pre">preventFocus</span> : Boolean<div class="sub-desc"><p>(optional) Specify <code>true</code> to prevent the Component from being focused.</p>
2302 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2303 </li></ul></div></div></div><div id="method-un" class="member inherited"><a href="Ext.form.FieldContainer.html#method-un" rel="method-un" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-un" class="viewSource">view source</a></div><a name="un"></a><a name="method-un"></a><a href="Ext.form.FieldContainer.html#" rel="method-un" class="cls expand">un</a>(
2304 <span class="pre">String eventName, Function handler, [Object scope]</span>)
2305  : void</div><div class="description"><div class="short"><p>Removes an event handler (shorthand for <a href="Ext.form.FieldContainer.html#removeListener" rel="Ext.form.FieldContainer#removeListener" class="docClass">removeListener</a>.)</p>
2306 </div><div class="long"><p>Removes an event handler (shorthand for <a href="Ext.form.FieldContainer.html#removeListener" rel="Ext.form.FieldContainer#removeListener" class="docClass">removeListener</a>.)</p>
2307 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event the handler was associated with.</p>
2308 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The handler to remove. <b>This must be a reference to the function passed into the <a href="Ext.form.FieldContainer.html#addListener" rel="Ext.form.FieldContainer#addListener" class="docClass">addListener</a> call.</b></p>
2309 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
2310 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2311 </li></ul></div></div></div><div id="method-unsetActiveError" class="member inherited"><a href="Ext.form.FieldContainer.html#method-unsetActiveError" rel="method-unsetActiveError" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-unsetActiveError" class="viewSource">view source</a></div><a name="unsetActiveError"></a><a name="method-unsetActiveError"></a><a href="Ext.form.FieldContainer.html#" rel="method-unsetActiveError" class="cls expand">unsetActiveError</a> : void</div><div class="description"><div class="short"><p>Clears the active error.</p>
2312 </div><div class="long"><p>Clears the active error.</p>
2313 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2314 </li></ul></div></div></div><div id="method-up" class="member inherited"><a href="Ext.form.FieldContainer.html#method-up" rel="method-up" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-up" class="viewSource">view source</a></div><a name="up"></a><a name="method-up"></a><a href="Ext.form.FieldContainer.html#" rel="method-up" class="cls expand">up</a>(
2315 <span class="pre">String selector</span>)
2316  : Container</div><div class="description"><div class="short">Walks up the ownerCt axis looking for an ancestor Container which matches
2317 the passed simple selector.
2318
2319
2320 Example:
2321 var ...</div><div class="long"><p>Walks up the <code>ownerCt</code> axis looking for an ancestor Container which matches
2322 the passed simple selector.</p>
2323
2324
2325 <p>Example:
2326 <pre><code>var owningTabPanel = grid.up('tabpanel');
2327 </code></pre>
2328
2329 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional. The simple selector to test.</p>
2330 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Container</span>&nbsp; &nbsp;<p>The matching ancestor Container (or <code>undefined</code> if no match was found).</p>
2331 </li></ul></div></div></div><div id="method-update" class="member inherited"><a href="Ext.form.FieldContainer.html#method-update" rel="method-update" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-update" class="viewSource">view source</a></div><a name="update"></a><a name="method-update"></a><a href="Ext.form.FieldContainer.html#" rel="method-update" class="cls expand">update</a>(
2332 <span class="pre">Mixed htmlOrData, [Boolean loadScripts], [Function callback]</span>)
2333  : void</div><div class="description"><div class="short"><p>Update the content area of a component.</p>
2334 </div><div class="long"><p>Update the content area of a component.</p>
2335 <h3 class="pa">Parameters</h3><ul><li><span class="pre">htmlOrData</span> : Mixed<div class="sub-desc"><p>If this component has been configured with a template via the tpl config
2336 then it will use this argument as data to populate the template.
2337 If this component was not configured with a template, the components
2338 content area will be updated via <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> update</p>
2339 </div></li><li><span class="pre">loadScripts</span> : Boolean<div class="sub-desc"><p>(optional) Only legitimate when using the html configuration. Defaults to false</p>
2340 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) Only legitimate when using the html configuration. Callback to execute when scripts have finished loading</p>
2341 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2342 </li></ul></div></div></div><div id="method-updateBox" class="member inherited"><a href="Ext.form.FieldContainer.html#method-updateBox" rel="method-updateBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-updateBox" class="viewSource">view source</a></div><a name="updateBox"></a><a name="method-updateBox"></a><a href="Ext.form.FieldContainer.html#" rel="method-updateBox" class="cls expand">updateBox</a>(
2343 <span class="pre">Object box</span>)
2344  : Ext.Component</div><div class="description"><div class="short"><p>Sets the current box measurements of the component's underlying element.</p>
2345 </div><div class="long"><p>Sets the current box measurements of the component's underlying element.</p>
2346 <h3 class="pa">Parameters</h3><ul><li><span class="pre">box</span> : Object<div class="sub-desc"><p>An object in the format {x, y, width, height}</p>
2347 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2348 </li></ul></div></div></div></div><div class="m-events"><a name="events"></a><div class="definedBy">Defined By</div><h3 class="evt p">Events</h3><div id="event-activate" class="member f inherited"><a href="Ext.form.FieldContainer.html#event-activate" rel="event-activate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-activate" class="viewSource">view source</a></div><a name="activate"></a><a name="event-activate"></a><a href="Ext.form.FieldContainer.html#" rel="event-activate" class="cls expand">activate</a>(
2349 <span class="pre">Ext.Component this</span>)
2350 </div><div class="description"><div class="short"><p>Fires after a Component has been visually activated.</p>
2351 </div><div class="long"><p>Fires after a Component has been visually activated.</p>
2352 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2353 </div></li></ul></div></div></div><div id="event-add" class="member inherited"><a href="Ext.form.FieldContainer.html#event-add" rel="event-add" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-add" class="viewSource">view source</a></div><a name="add"></a><a name="event-add"></a><a href="Ext.form.FieldContainer.html#" rel="event-add" class="cls expand">add</a>(
2354 <span class="pre">Ext.container.Container this, Ext.Component component, Number index</span>)
2355 </div><div class="description"><div class="short"><p>@bubbles
2356 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.</p>
2357 </div><div class="long"><p>@bubbles
2358 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.</p>
2359 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2360 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component that was added</p>
2361 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index at which the component was added to the container's items collection</p>
2362 </div></li></ul></div></div></div><div id="event-added" class="member inherited"><a href="Ext.form.FieldContainer.html#event-added" rel="event-added" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-added" class="viewSource">view source</a></div><a name="added"></a><a name="event-added"></a><a href="Ext.form.FieldContainer.html#" rel="event-added" class="cls expand">added</a>(
2363 <span class="pre">Ext.Component this, Ext.container.Container container, Number pos</span>)
2364 </div><div class="description"><div class="short"><p>Fires after a Component had been added to a Container.</p>
2365 </div><div class="long"><p>Fires after a Component had been added to a Container.</p>
2366 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2367 </div></li><li><span class="pre">container</span> : Ext.container.Container<div class="sub-desc"><p>Parent Container</p>
2368 </div></li><li><span class="pre">pos</span> : Number<div class="sub-desc"><p>position of Component</p>
2369 </div></li></ul></div></div></div><div id="event-afterlayout" class="member inherited"><a href="Ext.form.FieldContainer.html#event-afterlayout" rel="event-afterlayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-afterlayout" class="viewSource">view source</a></div><a name="afterlayout"></a><a name="event-afterlayout"></a><a href="Ext.form.FieldContainer.html#" rel="event-afterlayout" class="cls expand">afterlayout</a>(
2370 <span class="pre">Ext.container.Container this, ContainerLayout layout</span>)
2371 </div><div class="description"><div class="short"><p>Fires when the components in this container are arranged by the associated layout manager.</p>
2372 </div><div class="long"><p>Fires when the components in this container are arranged by the associated layout manager.</p>
2373 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2374 </div></li><li><span class="pre">layout</span> : ContainerLayout<div class="sub-desc"><p>The ContainerLayout implementation for this container</p>
2375 </div></li></ul></div></div></div><div id="event-afterrender" class="member inherited"><a href="Ext.form.FieldContainer.html#event-afterrender" rel="event-afterrender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-afterrender" class="viewSource">view source</a></div><a name="afterrender"></a><a name="event-afterrender"></a><a href="Ext.form.FieldContainer.html#" rel="event-afterrender" class="cls expand">afterrender</a>(
2376 <span class="pre">Ext.Component this</span>)
2377 </div><div class="description"><div class="short">Fires after the component rendering is finished.
2378
2379
2380 The afterrender event is fired after this Component has been rende...</div><div class="long"><p>Fires after the component rendering is finished.</p>
2381
2382
2383 <p>The afterrender event is fired after this Component has been <a href="Ext.form.FieldContainer.html#rendered" rel="Ext.form.FieldContainer#rendered" class="docClass">rendered</a>, been postprocesed
2384 by any afterRender method defined for the Component.</p>
2385
2386 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2387 </div></li></ul></div></div></div><div id="event-beforeactivate" class="member inherited"><a href="Ext.form.FieldContainer.html#event-beforeactivate" rel="event-beforeactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforeactivate" class="viewSource">view source</a></div><a name="beforeactivate"></a><a name="event-beforeactivate"></a><a href="Ext.form.FieldContainer.html#" rel="event-beforeactivate" class="cls expand">beforeactivate</a>(
2388 <span class="pre">Ext.Component this</span>)
2389 </div><div class="description"><div class="short">Fires before a Component has been visually activated.
2390 Returning false from an event listener can prevent the activate...</div><div class="long"><p>Fires before a Component has been visually activated.
2391 Returning false from an event listener can prevent the activate
2392 from occurring.</p>
2393 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2394 </div></li></ul></div></div></div><div id="event-beforeadd" class="member inherited"><a href="Ext.form.FieldContainer.html#event-beforeadd" rel="event-beforeadd" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-beforeadd" class="viewSource">view source</a></div><a name="beforeadd"></a><a name="event-beforeadd"></a><a href="Ext.form.FieldContainer.html#" rel="event-beforeadd" class="cls expand">beforeadd</a>(
2395 <span class="pre">Ext.container.Container this, Ext.Component component, Number index</span>)
2396 </div><div class="description"><div class="short"><p>Fires before any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.
2397 A handler can return false to cancel the add.</p>
2398 </div><div class="long"><p>Fires before any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.
2399 A handler can return false to cancel the add.</p>
2400 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2401 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component being added</p>
2402 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index at which the component will be added to the container's items collection</p>
2403 </div></li></ul></div></div></div><div id="event-beforecardswitch" class="member inherited"><a href="Ext.form.FieldContainer.html#event-beforecardswitch" rel="event-beforecardswitch" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-beforecardswitch" class="viewSource">view source</a></div><a name="beforecardswitch"></a><a name="event-beforecardswitch"></a><a href="Ext.form.FieldContainer.html#" rel="event-beforecardswitch" class="cls expand">beforecardswitch</a>(
2404 <span class="pre">Ext.container.Container this, Ext.Component newCard, Ext.Component oldCard, Number index, Boolean animated</span>)
2405 </div><div class="description"><div class="short">Fires before this container switches the active card. This event
2406 is only available if this container uses a CardLayou...</div><div class="long"><p>Fires before this container switches the active card. This event
2407 is only available if this container uses a CardLayout. Note that
2408 TabPanel and Carousel both get a CardLayout by default, so both
2409 will have this event.
2410 A handler can return false to cancel the card switch.</p>
2411 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2412 </div></li><li><span class="pre">newCard</span> : Ext.Component<div class="sub-desc"><p>The card that will be switched to</p>
2413 </div></li><li><span class="pre">oldCard</span> : Ext.Component<div class="sub-desc"><p>The card that will be switched from</p>
2414 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index of the card that will be switched to</p>
2415 </div></li><li><span class="pre">animated</span> : Boolean<div class="sub-desc"><p>True if this cardswitch will be animated</p>
2416 </div></li></ul></div></div></div><div id="event-beforedeactivate" class="member inherited"><a href="Ext.form.FieldContainer.html#event-beforedeactivate" rel="event-beforedeactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforedeactivate" class="viewSource">view source</a></div><a name="beforedeactivate"></a><a name="event-beforedeactivate"></a><a href="Ext.form.FieldContainer.html#" rel="event-beforedeactivate" class="cls expand">beforedeactivate</a>(
2417 <span class="pre">Ext.Component this</span>)
2418 </div><div class="description"><div class="short">Fires before a Component has been visually deactivated.
2419 Returning false from an event listener can prevent the deacti...</div><div class="long"><p>Fires before a Component has been visually deactivated.
2420 Returning false from an event listener can prevent the deactivate
2421 from occurring.</p>
2422 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2423 </div></li></ul></div></div></div><div id="event-beforedestroy" class="member inherited"><a href="Ext.form.FieldContainer.html#event-beforedestroy" rel="event-beforedestroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforedestroy" class="viewSource">view source</a></div><a name="beforedestroy"></a><a name="event-beforedestroy"></a><a href="Ext.form.FieldContainer.html#" rel="event-beforedestroy" class="cls expand">beforedestroy</a>(
2424 <span class="pre">Ext.Component this</span>)
2425 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.form.FieldContainer.html#destroy" rel="Ext.form.FieldContainer#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.form.FieldContainer.html#destroy" rel="Ext.form.FieldContainer#destroy" class="docClass">destroy</a>.</p>
2426 </div><div class="long"><p>Fires before the component is <a href="Ext.form.FieldContainer.html#destroy" rel="Ext.form.FieldContainer#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.form.FieldContainer.html#destroy" rel="Ext.form.FieldContainer#destroy" class="docClass">destroy</a>.</p>
2427 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2428 </div></li></ul></div></div></div><div id="event-beforehide" class="member inherited"><a href="Ext.form.FieldContainer.html#event-beforehide" rel="event-beforehide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforehide" class="viewSource">view source</a></div><a name="beforehide"></a><a name="event-beforehide"></a><a href="Ext.form.FieldContainer.html#" rel="event-beforehide" class="cls expand">beforehide</a>(
2429 <span class="pre">Ext.Component this</span>)
2430 </div><div class="description"><div class="short"><p>Fires before the component is hidden when calling the <a href="Ext.form.FieldContainer.html#hide" rel="Ext.form.FieldContainer#hide" class="docClass">hide</a> method.
2431 Return false from an event handler to stop the hide.</p>
2432 </div><div class="long"><p>Fires before the component is hidden when calling the <a href="Ext.form.FieldContainer.html#hide" rel="Ext.form.FieldContainer#hide" class="docClass">hide</a> method.
2433 Return false from an event handler to stop the hide.</p>
2434 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2435 </div></li></ul></div></div></div><div id="event-beforeremove" class="member inherited"><a href="Ext.form.FieldContainer.html#event-beforeremove" rel="event-beforeremove" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-beforeremove" class="viewSource">view source</a></div><a name="beforeremove"></a><a name="event-beforeremove"></a><a href="Ext.form.FieldContainer.html#" rel="event-beforeremove" class="cls expand">beforeremove</a>(
2436 <span class="pre">Ext.container.Container this, Ext.Component component</span>)
2437 </div><div class="description"><div class="short"><p>Fires before any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.  A handler can return
2438 false to cancel the remove.</p>
2439 </div><div class="long"><p>Fires before any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.  A handler can return
2440 false to cancel the remove.</p>
2441 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2442 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component being removed</p>
2443 </div></li></ul></div></div></div><div id="event-beforerender" class="member inherited"><a href="Ext.form.FieldContainer.html#event-beforerender" rel="event-beforerender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforerender" class="viewSource">view source</a></div><a name="beforerender"></a><a name="event-beforerender"></a><a href="Ext.form.FieldContainer.html#" rel="event-beforerender" class="cls expand">beforerender</a>(
2444 <span class="pre">Ext.Component this</span>)
2445 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.form.FieldContainer.html#rendered" rel="Ext.form.FieldContainer#rendered" class="docClass">rendered</a>. Return false from an
2446 event handler to stop the <a href="Ext.form.FieldContainer.html#render" rel="Ext.form.FieldContainer#render" class="docClass">render</a>.</p>
2447 </div><div class="long"><p>Fires before the component is <a href="Ext.form.FieldContainer.html#rendered" rel="Ext.form.FieldContainer#rendered" class="docClass">rendered</a>. Return false from an
2448 event handler to stop the <a href="Ext.form.FieldContainer.html#render" rel="Ext.form.FieldContainer#render" class="docClass">render</a>.</p>
2449 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2450 </div></li></ul></div></div></div><div id="event-beforeshow" class="member inherited"><a href="Ext.form.FieldContainer.html#event-beforeshow" rel="event-beforeshow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforeshow" class="viewSource">view source</a></div><a name="beforeshow"></a><a name="event-beforeshow"></a><a href="Ext.form.FieldContainer.html#" rel="event-beforeshow" class="cls expand">beforeshow</a>(
2451 <span class="pre">Ext.Component this</span>)
2452 </div><div class="description"><div class="short"><p>Fires before the component is shown when calling the <a href="Ext.form.FieldContainer.html#show" rel="Ext.form.FieldContainer#show" class="docClass">show</a> method.
2453 Return false from an event handler to stop the show.</p>
2454 </div><div class="long"><p>Fires before the component is shown when calling the <a href="Ext.form.FieldContainer.html#show" rel="Ext.form.FieldContainer#show" class="docClass">show</a> method.
2455 Return false from an event handler to stop the show.</p>
2456 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2457 </div></li></ul></div></div></div><div id="event-beforestaterestore" class="member inherited"><a href="Ext.form.FieldContainer.html#event-beforestaterestore" rel="event-beforestaterestore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-beforestaterestore" class="viewSource">view source</a></div><a name="beforestaterestore"></a><a name="event-beforestaterestore"></a><a href="Ext.form.FieldContainer.html#" rel="event-beforestaterestore" class="cls expand">beforestaterestore</a>(
2458 <span class="pre">Ext.state.Stateful this, Object state</span>)
2459 </div><div class="description"><div class="short"><p>Fires before the state of the object is restored. Return false from an event handler to stop the restore.</p>
2460 </div><div class="long"><p>Fires before the state of the object is restored. Return false from an event handler to stop the restore.</p>
2461 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2462 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values returned from the StateProvider. If this
2463 event is not vetoed, then the state object is passed to <b><tt>applyState</tt></b>. By default,
2464 that simply copies property values into this object. The method maybe overriden to
2465 provide custom state restoration.</p>
2466 </div></li></ul></div></div></div><div id="event-beforestatesave" class="member inherited"><a href="Ext.form.FieldContainer.html#event-beforestatesave" rel="event-beforestatesave" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-beforestatesave" class="viewSource">view source</a></div><a name="beforestatesave"></a><a name="event-beforestatesave"></a><a href="Ext.form.FieldContainer.html#" rel="event-beforestatesave" class="cls expand">beforestatesave</a>(
2467 <span class="pre">Ext.state.Stateful this, Object state</span>)
2468 </div><div class="description"><div class="short"><p>Fires before the state of the object is saved to the configured state provider. Return false to stop the save.</p>
2469 </div><div class="long"><p>Fires before the state of the object is saved to the configured state provider. Return false to stop the save.</p>
2470 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2471 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2472 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2473 developer to return whetever representation of state is required, by default, <a href="Ext.state.Stateful.html" rel="Ext.state.Stateful" class="docClass">Ext.state.Stateful</a>
2474 has a null implementation.</p>
2475 </div></li></ul></div></div></div><div id="event-cardswitch" class="member inherited"><a href="Ext.form.FieldContainer.html#event-cardswitch" rel="event-cardswitch" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-cardswitch" class="viewSource">view source</a></div><a name="cardswitch"></a><a name="event-cardswitch"></a><a href="Ext.form.FieldContainer.html#" rel="event-cardswitch" class="cls expand">cardswitch</a>(
2476 <span class="pre">Ext.container.Container this, Ext.Component newCard, Ext.Component oldCard, Number index, Boolean animated</span>)
2477 </div><div class="description"><div class="short">Fires after this container switches the active card. If the card
2478 is switched using an animation, this event will fire...</div><div class="long"><p>Fires after this container switches the active card. If the card
2479 is switched using an animation, this event will fire after the
2480 animation has finished. This event is only available if this container
2481 uses a CardLayout. Note that TabPanel and Carousel both get a CardLayout
2482 by default, so both will have this event.</p>
2483 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2484 </div></li><li><span class="pre">newCard</span> : Ext.Component<div class="sub-desc"><p>The card that has been switched to</p>
2485 </div></li><li><span class="pre">oldCard</span> : Ext.Component<div class="sub-desc"><p>The card that has been switched from</p>
2486 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index of the card that has been switched to</p>
2487 </div></li><li><span class="pre">animated</span> : Boolean<div class="sub-desc"><p>True if this cardswitch was animated</p>
2488 </div></li></ul></div></div></div><div id="event-deactivate" class="member inherited"><a href="Ext.form.FieldContainer.html#event-deactivate" rel="event-deactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-deactivate" class="viewSource">view source</a></div><a name="deactivate"></a><a name="event-deactivate"></a><a href="Ext.form.FieldContainer.html#" rel="event-deactivate" class="cls expand">deactivate</a>(
2489 <span class="pre">Ext.Component this</span>)
2490 </div><div class="description"><div class="short"><p>Fires after a Component has been visually deactivated.</p>
2491 </div><div class="long"><p>Fires after a Component has been visually deactivated.</p>
2492 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2493 </div></li></ul></div></div></div><div id="event-destroy" class="member inherited"><a href="Ext.form.FieldContainer.html#event-destroy" rel="event-destroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-destroy" class="viewSource">view source</a></div><a name="destroy"></a><a name="event-destroy"></a><a href="Ext.form.FieldContainer.html#" rel="event-destroy" class="cls expand">destroy</a>(
2494 <span class="pre">Ext.Component this</span>)
2495 </div><div class="description"><div class="short"><p>Fires after the component is <a href="Ext.form.FieldContainer.html#destroy" rel="Ext.form.FieldContainer#destroy" class="docClass">destroy</a>ed.</p>
2496 </div><div class="long"><p>Fires after the component is <a href="Ext.form.FieldContainer.html#destroy" rel="Ext.form.FieldContainer#destroy" class="docClass">destroy</a>ed.</p>
2497 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2498 </div></li></ul></div></div></div><div id="event-disable" class="member inherited"><a href="Ext.form.FieldContainer.html#event-disable" rel="event-disable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-disable" class="viewSource">view source</a></div><a name="disable"></a><a name="event-disable"></a><a href="Ext.form.FieldContainer.html#" rel="event-disable" class="cls expand">disable</a>(
2499 <span class="pre">Ext.Component this</span>)
2500 </div><div class="description"><div class="short"><p>Fires after the component is disabled.</p>
2501 </div><div class="long"><p>Fires after the component is disabled.</p>
2502 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2503 </div></li></ul></div></div></div><div id="event-enable" class="member inherited"><a href="Ext.form.FieldContainer.html#event-enable" rel="event-enable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-enable" class="viewSource">view source</a></div><a name="enable"></a><a name="event-enable"></a><a href="Ext.form.FieldContainer.html#" rel="event-enable" class="cls expand">enable</a>(
2504 <span class="pre">Ext.Component this</span>)
2505 </div><div class="description"><div class="short"><p>Fires after the component is enabled.</p>
2506 </div><div class="long"><p>Fires after the component is enabled.</p>
2507 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2508 </div></li></ul></div></div></div><div id="event-errorchange" class="member inherited"><a href="Ext.form.FieldContainer.html#event-errorchange" rel="event-errorchange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-event-errorchange" class="viewSource">view source</a></div><a name="errorchange"></a><a name="event-errorchange"></a><a href="Ext.form.FieldContainer.html#" rel="event-errorchange" class="cls expand">errorchange</a>(
2509 <span class="pre">Ext.form.Labelable this, String error</span>)
2510 </div><div class="description"><div class="short"><p>Fires when the active error message is changed via <a href="Ext.form.FieldContainer.html#setActiveError" rel="Ext.form.FieldContainer#setActiveError" class="docClass">setActiveError</a>.</p>
2511 </div><div class="long"><p>Fires when the active error message is changed via <a href="Ext.form.FieldContainer.html#setActiveError" rel="Ext.form.FieldContainer#setActiveError" class="docClass">setActiveError</a>.</p>
2512 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.Labelable<div class="sub-desc">
2513 </div></li><li><span class="pre">error</span> : String<div class="sub-desc"><p>The active error message</p>
2514 </div></li></ul></div></div></div><div id="event-fielderrorchange" class="member inherited"><a href="Ext.form.FieldContainer.html#event-fielderrorchange" rel="event-fielderrorchange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.FieldAncestor.html" class="definedIn docClass">Ext.form.FieldAncestor</a><br/><a href="../source/FieldAncestor.html#Ext-form.FieldAncestor-event-fielderrorchange" class="viewSource">view source</a></div><a name="fielderrorchange"></a><a name="event-fielderrorchange"></a><a href="Ext.form.FieldContainer.html#" rel="event-fielderrorchange" class="cls expand">fielderrorchange</a>(
2515 <span class="pre">Ext.form.FieldAncestor this, Ext.form.Labelable The, String error</span>)
2516 </div><div class="description"><div class="short"><p>Fires when the active error message is changed for any one of the <a href="Ext.form.Labelable.html" rel="Ext.form.Labelable" class="docClass">Ext.form.Labelable</a>
2517 instances within this container.</p>
2518 </div><div class="long"><p>Fires when the active error message is changed for any one of the <a href="Ext.form.Labelable.html" rel="Ext.form.Labelable" class="docClass">Ext.form.Labelable</a>
2519 instances within this container.</p>
2520 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.FieldAncestor<div class="sub-desc">
2521 </div></li><li><span class="pre">The</span> : Ext.form.Labelable<div class="sub-desc"><p>Labelable instance whose active error was changed</p>
2522 </div></li><li><span class="pre">error</span> : String<div class="sub-desc"><p>The active error message</p>
2523 </div></li></ul></div></div></div><div id="event-hide" class="member inherited"><a href="Ext.form.FieldContainer.html#event-hide" rel="event-hide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-hide" class="viewSource">view source</a></div><a name="hide"></a><a name="event-hide"></a><a href="Ext.form.FieldContainer.html#" rel="event-hide" class="cls expand">hide</a>(
2524 <span class="pre">Ext.Component this</span>)
2525 </div><div class="description"><div class="short"><p>Fires after the component is hidden.
2526 Fires after the component is hidden when calling the <a href="Ext.form.FieldContainer.html#hide" rel="Ext.form.FieldContainer#hide" class="docClass">hide</a> method.</p>
2527 </div><div class="long"><p>Fires after the component is hidden.
2528 Fires after the component is hidden when calling the <a href="Ext.form.FieldContainer.html#hide" rel="Ext.form.FieldContainer#hide" class="docClass">hide</a> method.</p>
2529 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2530 </div></li></ul></div></div></div><div id="event-move" class="member inherited"><a href="Ext.form.FieldContainer.html#event-move" rel="event-move" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-move" class="viewSource">view source</a></div><a name="move"></a><a name="event-move"></a><a href="Ext.form.FieldContainer.html#" rel="event-move" class="cls expand">move</a>(
2531 <span class="pre">Ext.Component this, Number x, Number y</span>)
2532 </div><div class="description"><div class="short"><p>Fires after the component is moved.</p>
2533 </div><div class="long"><p>Fires after the component is moved.</p>
2534 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2535 </div></li><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
2536 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
2537 </div></li></ul></div></div></div><div id="event-remove" class="member inherited"><a href="Ext.form.FieldContainer.html#event-remove" rel="event-remove" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-remove" class="viewSource">view source</a></div><a name="remove"></a><a name="event-remove"></a><a href="Ext.form.FieldContainer.html#" rel="event-remove" class="cls expand">remove</a>(
2538 <span class="pre">Ext.container.Container this, Ext.Component component</span>)
2539 </div><div class="description"><div class="short"><p>@bubbles
2540 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.</p>
2541 </div><div class="long"><p>@bubbles
2542 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.</p>
2543 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2544 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component that was removed</p>
2545 </div></li></ul></div></div></div><div id="event-removed" class="member inherited"><a href="Ext.form.FieldContainer.html#event-removed" rel="event-removed" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-removed" class="viewSource">view source</a></div><a name="removed"></a><a name="event-removed"></a><a href="Ext.form.FieldContainer.html#" rel="event-removed" class="cls expand">removed</a>(
2546 <span class="pre">Ext.Component this, Ext.container.Container ownerCt</span>)
2547 </div><div class="description"><div class="short"><p>Fires when a component is removed from an Ext.container.Container</p>
2548 </div><div class="long"><p>Fires when a component is removed from an Ext.container.Container</p>
2549 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2550 </div></li><li><span class="pre">ownerCt</span> : Ext.container.Container<div class="sub-desc"><p>Container which holds the component</p>
2551 </div></li></ul></div></div></div><div id="event-render" class="member inherited"><a href="Ext.form.FieldContainer.html#event-render" rel="event-render" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-render" class="viewSource">view source</a></div><a name="render"></a><a name="event-render"></a><a href="Ext.form.FieldContainer.html#" rel="event-render" class="cls expand">render</a>(
2552 <span class="pre">Ext.Component this</span>)
2553 </div><div class="description"><div class="short"><p>Fires after the component markup is <a href="Ext.form.FieldContainer.html#rendered" rel="Ext.form.FieldContainer#rendered" class="docClass">rendered</a>.</p>
2554 </div><div class="long"><p>Fires after the component markup is <a href="Ext.form.FieldContainer.html#rendered" rel="Ext.form.FieldContainer#rendered" class="docClass">rendered</a>.</p>
2555 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2556 </div></li></ul></div></div></div><div id="event-resize" class="member inherited"><a href="Ext.form.FieldContainer.html#event-resize" rel="event-resize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-resize" class="viewSource">view source</a></div><a name="resize"></a><a name="event-resize"></a><a href="Ext.form.FieldContainer.html#" rel="event-resize" class="cls expand">resize</a>(
2557 <span class="pre">Ext.Component this, Number adjWidth, Number adjHeight</span>)
2558 </div><div class="description"><div class="short"><p>Fires after the component is resized.</p>
2559 </div><div class="long"><p>Fires after the component is resized.</p>
2560 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2561 </div></li><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
2562 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
2563 </div></li></ul></div></div></div><div id="event-show" class="member inherited"><a href="Ext.form.FieldContainer.html#event-show" rel="event-show" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-show" class="viewSource">view source</a></div><a name="show"></a><a name="event-show"></a><a href="Ext.form.FieldContainer.html#" rel="event-show" class="cls expand">show</a>(
2564 <span class="pre">Ext.Component this</span>)
2565 </div><div class="description"><div class="short"><p>Fires after the component is shown when calling the <a href="Ext.form.FieldContainer.html#show" rel="Ext.form.FieldContainer#show" class="docClass">show</a> method.</p>
2566 </div><div class="long"><p>Fires after the component is shown when calling the <a href="Ext.form.FieldContainer.html#show" rel="Ext.form.FieldContainer#show" class="docClass">show</a> method.</p>
2567 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2568 </div></li></ul></div></div></div><div id="event-staterestore" class="member inherited"><a href="Ext.form.FieldContainer.html#event-staterestore" rel="event-staterestore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-staterestore" class="viewSource">view source</a></div><a name="staterestore"></a><a name="event-staterestore"></a><a href="Ext.form.FieldContainer.html#" rel="event-staterestore" class="cls expand">staterestore</a>(
2569 <span class="pre">Ext.state.Stateful this, Object state</span>)
2570 </div><div class="description"><div class="short"><p>Fires after the state of the object is restored.</p>
2571 </div><div class="long"><p>Fires after the state of the object is restored.</p>
2572 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2573 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values returned from the StateProvider. This is passed
2574 to <b><tt>applyState</tt></b>. By default, that simply copies property values into this
2575 object. The method maybe overriden to provide custom state restoration.</p>
2576 </div></li></ul></div></div></div><div id="event-statesave" class="member inherited"><a href="Ext.form.FieldContainer.html#event-statesave" rel="event-statesave" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-statesave" class="viewSource">view source</a></div><a name="statesave"></a><a name="event-statesave"></a><a href="Ext.form.FieldContainer.html#" rel="event-statesave" class="cls expand">statesave</a>(
2577 <span class="pre">Ext.state.Stateful this, Object state</span>)
2578 </div><div class="description"><div class="short"><p>Fires after the state of the object is saved to the configured state provider.</p>
2579 </div><div class="long"><p>Fires after the state of the object is saved to the configured state provider.</p>
2580 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2581 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2582 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2583 developer to return whetever representation of state is required, by default, <a href="Ext.state.Stateful.html" rel="Ext.state.Stateful" class="docClass">Ext.state.Stateful</a>
2584 has a null implementation.</p>
2585 </div></li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>