Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.Editor.html
1 <!DOCTYPE html><html><head><title>Ext.Editor | 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.Editor',
13         docClass: 'Ext.Editor',
14         docReq: 'Ext.Editor',
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 = 'Editor.html#Ext-Editor';
33     clsInfo = {"methods":["Editor","addClass","addCls","addClsWithUI","addEvents","addListener","addManagedListener","addStateEvents","afterComponentLayout","alignTo","animate","applyState","beforeComponentLayout","bubble","cancelEdit","capture","center","clearListeners","clearManagedListeners","cloneConfig","completeEdit","destroy","disable","doAutoRender","doComponentLayout","doConstrain","enable","enableBubble","findLayoutController","findParentBy","findParentByType","fireEvent","focus","getActiveAnimation","getBox","getBubbleTarget","getEl","getHeight","getId","getInsertPosition","getLoader","getPlugin","getPosition","getSize","getState","getStateId","getValue","getWidth","getXType","getXTypes","hasListener","hasUICls","hide","is","isDescendantOf","isDisabled","isDraggable","isDroppable","isFloating","isHidden","isVisible","isXType","nextNode","nextSibling","observe","on","previousNode","previousSibling","realign","relayEvents","releaseCapture","removeCls","removeClsWithUI","removeListener","removeManagedListener","resumeEvents","sequenceFx","setActive","setAutoScroll","setDisabled","setDocked","setHeight","setLoading","setPagePosition","setPosition","setSize","setUI","setValue","setVisible","setWidth","show","startEdit","stopAnimation","suspendEvents","syncFx","toBack","toFront","un","up","update","updateBox"],"cfgs":["alignment","allowBlur","autoEl","autoRender","autoScroll","autoShow","autoSize","baseCls","border","cancelOnEsc","cls","completeOnEnter","componentCls","componentLayout","constrain","contentEl","data","disabled","disabledCls","draggable","field","floating","focusOnToFront","frame","height","hidden","hideEl","hideMode","html","id","ignoreNoChange","itemId","listeners","loader","maintainFlex","margin","maxHeight","maxWidth","minHeight","minWidth","offsets","overCls","padding","parentEl","plugins","renderSelectors","renderTo","renderTpl","resizable","resizeHandles","revertInvalid","saveBuffer","shadow","stateEvents","stateId","stateful","style","styleHtmlCls","styleHtmlContent","swallowKeys","toFrontOnShow","tpl","tplWriteMode","ui","updateEl","value","width"],"properties":["draggable","floatParent","frameSize","hasActiveFx","maskOnDisable","ownerCt","rendered","stopFx","zIndexManager"],"events":["activate","added","afterrender","beforeactivate","beforecomplete","beforedeactivate","beforedestroy","beforehide","beforerender","beforeshow","beforestartedit","beforestaterestore","beforestatesave","canceledit","complete","deactivate","destroy","disable","enable","hide","move","removed","render","resize","show","specialkey","startedit","staterestore","statesave"],"subclasses":["Ext.grid.CellEditor"]};
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/Editor.html#Ext-Editor" target="_blank">Ext.Editor</a><span>xtype: editor</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"><strong>Ext.Editor</strong></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></pre><p>
38 The Editor class is used to provide inline editing for elements on the page. The editor
39 is backed by a <a href="Ext.form.field.Field.html" rel="Ext.form.field.Field" class="docClass">Ext.form.field.Field</a> that will be displayed to edit the underlying content.
40 The editor is a floating Component, when the editor is shown it is automatically aligned to
41 display over the top of the bound element it is editing. The Editor contains several options
42 for how to handle key presses:
43 <ul>
44 <li><a href="Ext.Editor.html#completeOnEnter" rel="Ext.Editor#completeOnEnter" class="docClass">completeOnEnter</a></li>
45 <li><a href="Ext.Editor.html#cancelOnEsc" rel="Ext.Editor#cancelOnEsc" class="docClass">cancelOnEsc</a></li>
46 <li><a href="Ext.Editor.html#swallowKeys" rel="Ext.Editor#swallowKeys" class="docClass">swallowKeys</a></li>
47 </ul>
48 It also has options for how to use the value once the editor has been activated:
49 <ul>
50 <li><a href="Ext.Editor.html#revertInvalid" rel="Ext.Editor#revertInvalid" class="docClass">revertInvalid</a></li>
51 <li><a href="Ext.Editor.html#ignoreNoChange" rel="Ext.Editor#ignoreNoChange" class="docClass">ignoreNoChange</a></li>
52 <li><a href="Ext.Editor.html#updateEl" rel="Ext.Editor#updateEl" class="docClass">updateEl</a></li>
53 </ul>
54 Sample usage:
55 </p>
56
57
58 <pre class="prettyprint"><code>var editor = new Ext.Editor({
59     updateEl: true, // update the innerHTML of the bound element when editing completes
60     field: {
61         xtype: 'textfield'
62     }
63 });
64 var el = Ext.get('my-text'); // The element to 'edit'
65 editor.startEdit(el); // The value of the field will be taken as the innerHTML of the element.
66 </code></pre>
67
68
69 <p><img class="screenshot" src="../Ext.Editor.png" alt="Ext.Editor component" /></p>
70 <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-baseCls" class="member f inherited"><a href="Ext.Editor.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.Editor.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
71 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
72 elements within this component like Panel's body will get a class x-panel-body. This means
73 that if you create a subclass of Panel, and you want it to get all the Panels styling for the
74 element and the body, you leave the baseCls x-panel and use componentCls to add specific styling for this
75 component.</p>
76 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.Editor.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.Editor.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
77 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
78 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
79 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.Editor.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.Editor.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
80 via styling.</p>
81 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
82 via styling.</p>
83 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.Editor.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.Editor.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>
84 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
85 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.Editor.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.Editor.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
86 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
87 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
88 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
89 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.Editor.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.Editor.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.
90 Defaults to 'x-html'</p>
91 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
92 Defaults to 'x-html'</p>
93 </div></div></div><h4 class="cfgGroup">Other Configs</h4><div id="config-alignment" class="member f ni"><a href="Ext.Editor.html#config-alignment" rel="config-alignment" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-alignment" class="viewSource">view source</a></div><a name="alignment"></a><a name="config-alignment"></a><a href="Ext.Editor.html#" rel="config-alignment" class="cls expand">alignment</a><span> : String</span></div><div class="description"><div class="short"><p>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, defaults to "c-c?").</p>
94 </div><div class="long"><p>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, defaults to "c-c?").</p>
95 </div></div></div><div id="config-allowBlur" class="member ni"><a href="Ext.Editor.html#config-allowBlur" rel="config-allowBlur" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-allowBlur" class="viewSource">view source</a></div><a name="allowBlur"></a><a name="config-allowBlur"></a><a href="Ext.Editor.html#" rel="config-allowBlur" class="cls expand">allowBlur</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to <a href="Ext.Editor.html#completeEdit" rel="Ext.Editor#completeEdit" class="docClass">complete the editing process</a> if in edit mode when the
96 field is blurred. Defaults to <tt>true</tt>.</p>
97 </div><div class="long"><p>True to <a href="Ext.Editor.html#completeEdit" rel="Ext.Editor#completeEdit" class="docClass">complete the editing process</a> if in edit mode when the
98 field is blurred. Defaults to <tt>true</tt>.</p>
99 </div></div></div><div id="config-autoEl" class="member inherited"><a href="Ext.Editor.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.Editor.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
100 encapsulate this Component.
101
102
103 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.Editor.html#getEl" rel="Ext.Editor#getEl" class="docClass">Element</a> which will
104 encapsulate this Component.</p>
105
106
107 <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>,
108 this defaults to <b><tt>'div'</tt></b>. The more complex Sencha classes use a more complex
109 DOM structure specified by their own <a href="Ext.Editor.html#renderTpl" rel="Ext.Editor#renderTpl" class="docClass">renderTpl</a>s.</p>
110
111
112 <p>This is intended to allow the developer to create application-specific utility Components encapsulated by
113 different DOM elements. Example usage:</p>
114
115
116 <pre><code>{
117     xtype: 'component',
118     autoEl: {
119         tag: 'img',
120         src: 'http://www.example.com/example.jpg'
121     }
122 }, {
123     xtype: 'component',
124     autoEl: {
125         tag: 'blockquote',
126         html: 'autoEl is cool!'
127     }
128 }, {
129     xtype: 'container',
130     autoEl: 'ul',
131     cls: 'ux-unordered-list',
132     items: {
133         xtype: 'component',
134         autoEl: 'li',
135         html: 'First list item'
136     }
137 }
138 </code></pre>
139
140 </div></div></div><div id="config-autoRender" class="member inherited"><a href="Ext.Editor.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.Editor.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
141 of using renderTo in th...</div><div class="long"><p>This config is intended mainly for <a href="Ext.Editor.html#floating" rel="Ext.Editor#floating" class="docClass">floating</a> Components which may or may not be shown. Instead
142 of using <a href="Ext.Editor.html#renderTo" rel="Ext.Editor#renderTo" class="docClass">renderTo</a> in the configuration, and rendering upon construction, this allows a Component
143 to render itself upon first <i><a href="Ext.Editor.html#show" rel="Ext.Editor#show" class="docClass">show</a></i>.</p>
144
145
146 <p>Specify as <code>true</code> to have this Component render to the document body upon first show.</p>
147
148
149 <p>Specify as an element, or the ID of an element to have this Component render to a specific element upon first show.</p>
150
151
152 <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>
153
154 </div></div></div><div id="config-autoScroll" class="member inherited"><a href="Ext.Editor.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.Editor.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
155 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
156 necessary, <code>false</code> to clip any overflowing content (defaults to <code>false</code>).</p>
157 </div></div></div><div id="config-autoShow" class="member inherited"><a href="Ext.Editor.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.Editor.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.
158 This config option may only be used for floating components o...</div><div class="long"><p>True to automatically show the component upon creation.
159 This config option may only be used for <a href="Ext.Editor.html#floating" rel="Ext.Editor#floating" class="docClass">floating</a> components or components
160 that use <a href="Ext.Editor.html#autoRender" rel="Ext.Editor#autoRender" class="docClass">autoRender</a>. Defaults to <tt>false</tt>.</p>
161 </div></div></div><div id="config-autoSize" class="member ni"><a href="Ext.Editor.html#config-autoSize" rel="config-autoSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-autoSize" class="viewSource">view source</a></div><a name="autoSize"></a><a name="config-autoSize"></a><a href="Ext.Editor.html#" rel="config-autoSize" class="cls expand">autoSize</a><span> : Boolean/Object</span></div><div class="description"><div class="short">True for the editor to automatically adopt the size of the underlying field. Otherwise, an object
162 can be passed to in...</div><div class="long"><p>True for the editor to automatically adopt the size of the underlying field. Otherwise, an object
163 can be passed to indicate where to get each dimension. The available properties are 'boundEl' and
164 'field'. If a dimension is not specified, it will use the underlying height/width specified on
165 the editor object.
166 Examples:</p>
167
168 <pre><code>autoSize: true // The editor will be sized to the height/width of the field
169
170 height: 21,
171 autoSize: {
172     width: 'boundEl' // The width will be determined by the width of the boundEl, the height from the editor (21)
173 }
174
175 autoSize: {
176     width: 'field', // Width from the field
177     height: 'boundEl' // Height from the boundEl
178 }
179 </pre>
180
181
182 <p></code></p>
183 </div></div></div><div id="config-baseCls" class="member inherited"><a href="Ext.Editor.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.Editor.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
184 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
185 elements within this component like Panel's body will get a class x-panel-body. This means
186 that if you create a subclass of Panel, and you want it to get all the Panels styling for the
187 element and the body, you leave the baseCls x-panel and use componentCls to add specific styling for this
188 component.</p>
189 </div></div></div><div id="config-border" class="member inherited"><a href="Ext.Editor.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.Editor.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
190 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
191 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
192 </div></div></div><div id="config-cancelOnEsc" class="member ni"><a href="Ext.Editor.html#config-cancelOnEsc" rel="config-cancelOnEsc" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-cancelOnEsc" class="viewSource">view source</a></div><a name="cancelOnEsc"></a><a name="config-cancelOnEsc"></a><a href="Ext.Editor.html#" rel="config-cancelOnEsc" class="cls expand">cancelOnEsc</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to cancel the edit when the escape key is pressed. Defaults to <tt>true</tt>.</p>
193 </div><div class="long"><p>True to cancel the edit when the escape key is pressed. Defaults to <tt>true</tt>.</p>
194 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.Editor.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.Editor.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
195 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
196 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
197 </div></div></div><div id="config-completeOnEnter" class="member ni"><a href="Ext.Editor.html#config-completeOnEnter" rel="config-completeOnEnter" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-completeOnEnter" class="viewSource">view source</a></div><a name="completeOnEnter"></a><a name="config-completeOnEnter"></a><a href="Ext.Editor.html#" rel="config-completeOnEnter" class="cls expand">completeOnEnter</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to complete the edit when the enter key is pressed. Defaults to <tt>true</tt>.</p>
198 </div><div class="long"><p>True to complete the edit when the enter key is pressed. Defaults to <tt>true</tt>.</p>
199 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.Editor.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.Editor.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
200 via styling.</p>
201 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
202 via styling.</p>
203 </div></div></div><div id="config-componentLayout" class="member inherited"><a href="Ext.Editor.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.Editor.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
204 the Component's layout manager...</div><div class="long"><p>The sizing and positioning of a Component's internal Elements is the responsibility of
205 the Component's layout manager which sizes a Component's internal structure in response to the Component being sized.</p>
206
207
208 <p>Generally, developers will not use this configuration as all provided Components which need their internal
209 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>
210
211
212 <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
213 which simply sizes the Component's encapsulating element to the height and width specified in the <a href="Ext.Editor.html#setSize" rel="Ext.Editor#setSize" class="docClass">setSize</a> method.</p>
214
215 </div></div></div><div id="config-constrain" class="member ni"><a href="Ext.Editor.html#config-constrain" rel="config-constrain" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-constrain" class="viewSource">view source</a></div><a name="constrain"></a><a name="config-constrain"></a><a href="Ext.Editor.html#" rel="config-constrain" class="cls expand">constrain</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to constrain the editor to the viewport</p>
216 </div><div class="long"><p>True to constrain the editor to the viewport</p>
217 </div></div></div><div id="config-contentEl" class="member inherited"><a href="Ext.Editor.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.Editor.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
218 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
219 for this component.</p>
220
221
222 <ul>
223 <li><b>Description</b> :
224 <div class="sub-desc">This config option is used to take an existing HTML element and place it in the layout element
225 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>
226 <li><b>Notes</b> :
227 <div class="sub-desc">The specified HTML element is appended to the layout element of the component <i>after any configured
228 <a href="Ext.Editor.html#html" rel="Ext.Editor#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.Editor.html#render" rel="Ext.Editor#render" class="docClass">render</a> event is fired.</div>
229 <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>
230 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>
231 <div class="sub-desc">Add either the <code>x-hidden</code> or the <code>x-hide-display</code> CSS class to
232 prevent a brief flicker of the content before it is rendered to the panel.</div></li>
233 </ul>
234
235 </div></div></div><div id="config-data" class="member inherited"><a href="Ext.Editor.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.Editor.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.Editor.html#tpl" rel="Ext.Editor#tpl" class="docClass">tpl</a></code> to
236 update the content area of the Component.</p>
237 </div><div class="long"><p>The initial set of data to apply to the <code><a href="Ext.Editor.html#tpl" rel="Ext.Editor#tpl" class="docClass">tpl</a></code> to
238 update the content area of the Component.</p>
239 </div></div></div><div id="config-disabled" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="config-disabled" class="cls expand">disabled</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to false.</p>
240 </div><div class="long"><p>Defaults to false.</p>
241 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.Editor.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.Editor.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>
242 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
243 </div></div></div><div id="config-draggable" class="member inherited"><a href="Ext.Editor.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.Editor.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.Editor.html#floating" rel="Ext.Editor#floating" class="docClass">floating</a> Component draggable using the Component's encapsulating element as the drag handle.</p>
244
245
246 <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>
247
248
249 <p>For example to create a Component which may only be dragged around using a certain internal element as the drag handle,
250 use the delegate option:</p>
251
252
253 <p><code></p>
254
255 <pre>new Ext.Component({
256     constrain: true,
257     floating:true,
258     style: {
259         backgroundColor: '#fff',
260         border: '1px solid black'
261     },
262     html: '&lt;h1 style="cursor:move"&gt;The title&lt;/h1&gt;&lt;p&gt;The content&lt;/p&gt;',
263     draggable: {
264         delegate: 'h1'
265     }
266 }).show();
267 </pre>
268
269
270 <p></code></p>
271 </div></div></div><div id="config-field" class="member ni"><a href="Ext.Editor.html#config-field" rel="config-field" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-field" class="viewSource">view source</a></div><a name="field"></a><a name="config-field"></a><a href="Ext.Editor.html#" rel="config-field" class="cls expand">field</a><span> : Ext.form.field.Field</span></div><div class="description"><div class="short"><p>The Field object (or descendant) or config object for field</p>
272 </div><div class="long"><p>The Field object (or descendant) or config object for field</p>
273 </div></div></div><div id="config-floating" class="member inherited"><a href="Ext.Editor.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.Editor.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.
274
275
276 Components such...</div><div class="long"><p>Specify as true to float the Component outside of the document flow using CSS absolute positioning.</p>
277
278
279 <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
280 by default.</p>
281
282
283 <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
284 <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a></p>
285
286
287 <h3 class="pa">Floating Components as child items of a Container</h3>
288
289
290 <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
291 examining the ownerCt chain.</p>
292
293
294 <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
295 of related floating Components. The ZIndexManager brings a single floating Component to the top of its stack when
296 the Component's <a href="Ext.Editor.html#toFront" rel="Ext.Editor#toFront" class="docClass">toFront</a> method is called.</p>
297
298
299 <p>The ZIndexManager is found by traversing up the <a href="Ext.Editor.html#ownerCt" rel="Ext.Editor#ownerCt" class="docClass">ownerCt</a> chain to find an ancestor which itself is floating. This is so that
300 descendant floating Components of floating <i>Containers</i> (Such as a ComboBox dropdown within a Window) can have its zIndex managed relative
301 to any siblings, but always <b>above</b> that floating ancestor Container.</p>
302
303
304 <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>
305
306
307 <p>Floating components <i>do not participate in the Container's layout</i>. Because of this, they are not rendered until you explicitly
308 <a href="Ext.Editor.html#show" rel="Ext.Editor#show" class="docClass">show</a> them.</p>
309
310
311 <p>After rendering, the ownerCt reference is deleted, and the <a href="Ext.Editor.html#floatParent" rel="Ext.Editor#floatParent" class="docClass">floatParent</a> property is set to the found floating ancestor Container.
312 If no floating ancestor Container was found the <a href="Ext.Editor.html#floatParent" rel="Ext.Editor#floatParent" class="docClass">floatParent</a> property will not be set.</p>
313
314 </div></div></div><div id="config-focusOnToFront" class="member inherited"><a href="Ext.Editor.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.Editor.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
315 brought to the front. Defaults to ...</div><div class="long"><p>Specifies whether the floated component should be automatically <a href="Ext.Editor.html#focus" rel="Ext.Editor#focus" class="docClass">focused</a> when it is
316 <a href="Ext.Editor.html#toFront" rel="Ext.Editor#toFront" class="docClass">brought to the front</a>. Defaults to true.</p>
317 </div></div></div><div id="config-frame" class="member inherited"><a href="Ext.Editor.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.Editor.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
318 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
319 provide a graphical rounded frame around the Component content.</p>
320
321
322 <p>This is only necessary when running on outdated, or non standard-compliant browsers such as Microsoft's Internet Explorer
323 prior to version 9 which do not support rounded corners natively.</p>
324
325
326 <p>The extra space taken up by this framing is available from the read only property <a href="Ext.Editor.html#frameSize" rel="Ext.Editor#frameSize" class="docClass">frameSize</a>.</p>
327
328 </div></div></div><div id="config-height" class="member inherited"><a href="Ext.Editor.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.Editor.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>
329 </div><div class="long"><p>The height of this component in pixels.</p>
330 </div></div></div><div id="config-hidden" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="config-hidden" class="cls expand">hidden</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to false.</p>
331 </div><div class="long"><p>Defaults to false.</p>
332 </div></div></div><div id="config-hideEl" class="member ni"><a href="Ext.Editor.html#config-hideEl" rel="config-hideEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-hideEl" class="viewSource">view source</a></div><a name="hideEl"></a><a name="config-hideEl"></a><a href="Ext.Editor.html#" rel="config-hideEl" class="cls expand">hideEl</a><span> : Boolean</span></div><div class="description"><div class="short"><p>False to keep the bound element visible while the editor is displayed (defaults to true)</p>
333 </div><div class="long"><p>False to keep the bound element visible while the editor is displayed (defaults to true)</p>
334 </div></div></div><div id="config-hideMode" class="member inherited"><a href="Ext.Editor.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.Editor.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.
335 Values may be
336 'display' : The...</div><div class="long"><p>A String which specifies how this Component's encapsulating DOM element will be hidden.
337 Values may be<div class="mdetail-params"><ul>
338 <li><code>'display'</code> : The Component will be hidden using the <code>display: none</code> style.</li>
339 <li><code>'visibility'</code> : The Component will be hidden using the <code>visibility: hidden</code> style.</li>
340 <li><code>'offsets'</code> : The Component will be hidden by absolutely positioning it out of the visible area of the document. This
341 is useful when a hidden Component must maintain measurable dimensions. Hiding using <code>display</code> results
342 in a Component having zero dimensions.</li></ul></div>
343 Defaults to <code>'display'</code>.</p>
344 </div></div></div><div id="config-html" class="member inherited"><a href="Ext.Editor.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.Editor.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
345 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
346 content (defaults to ''). The HTML content is added after the component is rendered,
347 so the document will not contain this HTML at the time the <a href="Ext.Editor.html#render" rel="Ext.Editor#render" class="docClass">render</a> event is fired.
348 This content is inserted into the body <i>before</i> any configured <a href="Ext.Editor.html#contentEl" rel="Ext.Editor#contentEl" class="docClass">contentEl</a> is appended.</p>
349 </div></div></div><div id="config-id" class="member inherited"><a href="Ext.Editor.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.Editor.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).
350
351
352 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.Editor.html#getId" rel="Ext.Editor#getId" class="docClass">auto-assigned id</a>).</p>
353
354
355 <p>It should not be necessary to use this configuration except for singleton objects in your application.
356 Components created with an id may be accessed globally using <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp</a>.</p>
357
358
359 <p>Instead of using assigned ids, use the <a href="Ext.Editor.html#itemId" rel="Ext.Editor#itemId" class="docClass">itemId</a> config, and <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> which
360 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>
361 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>
362
363
364 <p>Note that this id will also be used as the element id for the containing HTML element
365 that is rendered to the page for this component. This allows you to write id-based CSS
366 rules to style the specific instance of this component uniquely, and also to select
367 sub-elements using this component's id as the parent.</p>
368
369
370 <p><b>Note</b>: to avoid complications imposed by a unique <tt>id</tt> also see <code><a href="Ext.Editor.html#itemId" rel="Ext.Editor#itemId" class="docClass">itemId</a></code>.</p>
371
372
373 <p><b>Note</b>: to access the container of a Component see <code><a href="Ext.Editor.html#ownerCt" rel="Ext.Editor#ownerCt" class="docClass">ownerCt</a></code>.</p>
374
375 </div></div></div><div id="config-ignoreNoChange" class="member ni"><a href="Ext.Editor.html#config-ignoreNoChange" rel="config-ignoreNoChange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-ignoreNoChange" class="viewSource">view source</a></div><a name="ignoreNoChange"></a><a name="config-ignoreNoChange"></a><a href="Ext.Editor.html#" rel="config-ignoreNoChange" class="cls expand">ignoreNoChange</a><span> : Boolean</span></div><div class="description"><div class="short">True to skip the edit completion process (no save, no events fired) if the user completes an edit and
376 the value has n...</div><div class="long"><p>True to skip the edit completion process (no save, no events fired) if the user completes an edit and
377 the value has not changed (defaults to false).  Applies only to string values - edits for other data types
378 will never be ignored.</p>
379 </div></div></div><div id="config-itemId" class="member inherited"><a href="Ext.Editor.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.Editor.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
380 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
381 when no object reference is available.  Instead of using an <code><a href="Ext.Editor.html#id" rel="Ext.Editor#id" class="docClass">id</a></code> with
382 <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
383 <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
384 <code>itemId</code>'s or <tt><a href="Ext.Editor.html#id" rel="Ext.Editor#id" class="docClass">id</a></tt>'s. Since <code>itemId</code>'s are an index to the
385 container's internal MixedCollection, the <code>itemId</code> is scoped locally to the container --
386 avoiding potential conflicts with <a href="Ext.ComponentManager.html" rel="Ext.ComponentManager" class="docClass">Ext.ComponentManager</a> which requires a <b>unique</b>
387 <code><a href="Ext.Editor.html#id" rel="Ext.Editor#id" class="docClass">id</a></code>.</p>
388
389
390 <pre><code>var c = new Ext.panel.Panel({ //
391     <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 300,
392     <a href="Ext.Editor.html#renderTo" rel="Ext.Editor#renderTo" class="docClass">renderTo</a>: document.body,
393     <a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout</a>: 'auto',
394     <a href="Ext.container.Container.html#items" rel="Ext.container.Container#items" class="docClass">items</a>: [
395         {
396             itemId: 'p1',
397             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 1',
398             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
399         },
400         {
401             itemId: 'p2',
402             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 2',
403             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
404         }
405     ]
406 })
407 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>
408 p2 = p1.<a href="Ext.Editor.html#ownerCt" rel="Ext.Editor#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
409 </code></pre>
410
411
412 <p>Also see <tt><a href="Ext.Editor.html#id" rel="Ext.Editor#id" class="docClass">id</a></tt>, <code><a href="Ext.Editor.html#query" rel="Ext.Editor#query" class="docClass">query</a></code>, <code><a href="Ext.Editor.html#down" rel="Ext.Editor#down" class="docClass">down</a></code> and <code><a href="Ext.Editor.html#child" rel="Ext.Editor#child" class="docClass">child</a></code>.</p>
413
414
415 <p><b>Note</b>: to access the container of an item see <tt><a href="Ext.Editor.html#ownerCt" rel="Ext.Editor#ownerCt" class="docClass">ownerCt</a></tt>.</p>
416
417 </div></div></div><div id="config-listeners" class="member inherited"><a href="Ext.Editor.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.Editor.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
418 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
419 object during initialization.  This should be a valid listeners config object as specified in the
420 <a href="Ext.Editor.html#addListener" rel="Ext.Editor#addListener" class="docClass">addListener</a> example for attaching multiple handlers at once.</p></p>
421
422 <br><p><b><u>DOM events from ExtJs <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a></u></b></p>
423
424
425 <br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
426
427
428 <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
429 <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
430 events directly from a child element of a Component, we need to specify the <code>element</code> option to
431 identify the Component property to add a DOM listener to:</p>
432
433 <pre><code>new Ext.panel.Panel({
434     width: 400,
435     height: 200,
436     dockedItems: [{
437         xtype: 'toolbar'
438     }],
439     listeners: {
440         click: {
441             element: 'el', //bind to the underlying el property on the panel
442             fn: function(){ console.log('click el'); }
443         },
444         dblclick: {
445             element: 'body', //bind to the underlying body property on the panel
446             fn: function(){ console.log('dblclick body'); }
447         }
448     }
449 });
450 </code></pre>
451
452
453 <p></p></p>
454 </div></div></div><div id="config-loader" class="member inherited"><a href="Ext.Editor.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.Editor.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
455 content for this Component.</p>
456 </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
457 content for this Component.</p>
458 </div></div></div><div id="config-maintainFlex" class="member inherited"><a href="Ext.Editor.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.Editor.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
459 HBox layout.
460
461
462 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
463 <a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">HBox</a> layout.</b></p>
464
465
466 <p>Specifies that if an immediate sibling Splitter is moved, the Component on the <i>other</i> side is resized, and this
467 Component maintains its configured <a href="Ext.layout.container.Box.html#flex" rel="Ext.layout.container.Box#flex" class="docClass">flex</a> value.</p>
468
469 </div></div></div><div id="config-margin" class="member inherited"><a href="Ext.Editor.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.Editor.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
470 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
471 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
472 </div></div></div><div id="config-maxHeight" class="member inherited"><a href="Ext.Editor.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.Editor.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.
473
474
475 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>
476
477
478 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
479
480 </div></div></div><div id="config-maxWidth" class="member inherited"><a href="Ext.Editor.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.Editor.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.
481
482
483 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>
484
485
486 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
487
488 </div></div></div><div id="config-minHeight" class="member inherited"><a href="Ext.Editor.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.Editor.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.
489
490
491 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>
492
493
494 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
495
496 </div></div></div><div id="config-minWidth" class="member inherited"><a href="Ext.Editor.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.Editor.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.
497
498
499 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>
500
501
502 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
503
504 </div></div></div><div id="config-offsets" class="member ni"><a href="Ext.Editor.html#config-offsets" rel="config-offsets" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-offsets" class="viewSource">view source</a></div><a name="offsets"></a><a name="config-offsets"></a><a href="Ext.Editor.html#" rel="config-offsets" class="cls expand">offsets</a><span> : Array</span></div><div class="description"><div class="short"><p>The offsets to use when aligning (see <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">Ext.core.Element.alignTo</a> for more details. Defaults to <tt>[0, 0]</tt>.</p>
505 </div><div class="long"><p>The offsets to use when aligning (see <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">Ext.core.Element.alignTo</a> for more details. Defaults to <tt>[0, 0]</tt>.</p>
506 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.Editor.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.Editor.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
507 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
508 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
509 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
510 </div></div></div><div id="config-padding" class="member inherited"><a href="Ext.Editor.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.Editor.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
511 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
512 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
513 </div></div></div><div id="config-parentEl" class="member ni"><a href="Ext.Editor.html#config-parentEl" rel="config-parentEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-parentEl" class="viewSource">view source</a></div><a name="parentEl"></a><a name="config-parentEl"></a><a href="Ext.Editor.html#" rel="config-parentEl" class="cls expand">parentEl</a><span> : Mixed</span></div><div class="description"><div class="short"><p>An element to render to. Defaults to the <tt>document.body</tt>.</p>
514 </div><div class="long"><p>An element to render to. Defaults to the <tt>document.body</tt>.</p>
515 </div></div></div><div id="config-plugins" class="member inherited"><a href="Ext.Editor.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.Editor.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
516 requirement for a ...</div><div class="long"><p>An object or array of objects that will provide custom functionality for this component.  The only
517 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>.
518 When a component is created, if any plugins are available, the component will call the init method on each
519 plugin, passing a reference to itself.  Each plugin can then call methods or respond to events on the
520 component as needed to provide its functionality.</p>
521 </div></div></div><div id="config-renderSelectors" class="member inherited"><a href="Ext.Editor.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.Editor.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
522 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
523 created by the render process.</p>
524
525 <p>After the Component's internal structure is rendered according to the <a href="Ext.Editor.html#renderTpl" rel="Ext.Editor#renderTpl" class="docClass">renderTpl</a>, this object is iterated through,
526 and the found Elements are added as properties to the Component using the <code>renderSelector</code> property name.</p>
527
528 <p>For example, a Component which rendered an image, and description into its element might use the following properties
529 coded into its prototype:</p>
530
531 <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;',
532
533 renderSelectors: {
534     image: 'img.x-image-component-img',
535     descEl: 'div.x-image-component-desc'
536 }
537 </code></pre>
538
539 <p>After rendering, the Component would have a property <code>image</code> referencing its child <code>img</code> Element,
540 and a property <code>descEl</code> referencing the <code>div</code> Element which contains the description.</p>
541 </div></div></div><div id="config-renderTo" class="member inherited"><a href="Ext.Editor.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.Editor.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
542 will be rendered into.
543
544
545
546 Not...</div><div class="long"><p>Specify the id of the element, a DOM element or an existing Element that this component
547 will be rendered into.</p>
548
549
550 <div><ul>
551 <li><b>Notes</b> : <ul>
552 <div class="sub-desc">Do <u>not</u> use this option if the Component is to be a child item of
553 a <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>. It is the responsibility of the
554 <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>
555 to render and manage its child items.</div>
556 <div class="sub-desc">When using this config, a call to render() is not required.</div>
557 </ul></li>
558 </ul></div>
559
560
561 <p>See <code><a href="Ext.Editor.html#render" rel="Ext.Editor#render" class="docClass">render</a></code> also.</p>
562
563 </div></div></div><div id="config-renderTpl" class="member inherited"><a href="Ext.Editor.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.Editor.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
564 encapsulating Element.
565
566
567 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
568 encapsulating <a href="Ext.Editor.html#getEl" rel="Ext.Editor#getEl" class="docClass">Element</a>.</p>
569
570
571 <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>
572 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
573 with no internal structure; they render their <a href="Ext.Editor.html#getEl" rel="Ext.Editor#getEl" class="docClass">Element</a> empty. The more specialized ExtJS and Touch classes
574 which use a more complex DOM structure, provide their own template definitions.</p>
575
576
577 <p>This is intended to allow the developer to create application-specific utility Components with customized
578 internal structure.</p>
579
580
581 <p>Upon rendering, any created child elements may be automatically imported into object properties using the
582 <a href="Ext.Editor.html#renderSelectors" rel="Ext.Editor#renderSelectors" class="docClass">renderSelectors</a> option.</p>
583
584 </div></div></div><div id="config-resizable" class="member inherited"><a href="Ext.Editor.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.Editor.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
585 after rendering.
586
587
588 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
589 after rendering.</p>
590
591
592 <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>
593 to override any defaults. By default the Component passes its minimum and maximum size, and uses
594 <code><a href="Ext.resizer.Resizer.html#dynamic" rel="Ext.resizer.Resizer#dynamic" class="docClass">Ext.resizer.Resizer.dynamic</a>: false</code></p>
595
596 </div></div></div><div id="config-resizeHandles" class="member inherited"><a href="Ext.Editor.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.Editor.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>
597 </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>
598 </div></div></div><div id="config-revertInvalid" class="member ni"><a href="Ext.Editor.html#config-revertInvalid" rel="config-revertInvalid" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-revertInvalid" class="viewSource">view source</a></div><a name="revertInvalid"></a><a name="config-revertInvalid"></a><a href="Ext.Editor.html#" rel="config-revertInvalid" class="cls expand">revertInvalid</a><span> : Boolean</span></div><div class="description"><div class="short">True to automatically revert the field value and cancel the edit when the user completes an edit and the field
599 valida...</div><div class="long"><p>True to automatically revert the field value and cancel the edit when the user completes an edit and the field
600 validation fails (defaults to true)</p>
601 </div></div></div><div id="config-saveBuffer" class="member inherited"><a href="Ext.Editor.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.Editor.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
602 a short period. Defaults to 100.</p>
603 </div><div class="long"><p>A buffer to be applied if many state events are fired within
604 a short period. Defaults to 100.</p>
605 </div></div></div><div id="config-shadow" class="member ni"><a href="Ext.Editor.html#config-shadow" rel="config-shadow" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-shadow" class="viewSource">view source</a></div><a name="shadow"></a><a name="config-shadow"></a><a href="Ext.Editor.html#" rel="config-shadow" class="cls expand">shadow</a><span> : Boolean/String</span></div><div class="description"><div class="short"><p>"sides" for sides/bottom only, "frame" for 4-way shadow, and "drop"
606 for bottom-right shadow (defaults to "frame")</p>
607 </div><div class="long"><p>"sides" for sides/bottom only, "frame" for 4-way shadow, and "drop"
608 for bottom-right shadow (defaults to "frame")</p>
609 </div></div></div><div id="config-stateEvents" class="member inherited"><a href="Ext.Editor.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.Editor.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
610 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
611 save its state (defaults to none). <code>stateEvents</code> may be any type
612 of event supported by this object, including browser or custom events
613 (e.g., <tt>['click', 'customerchange']</tt>).</p>
614
615
616 <p>See <code><a href="Ext.Editor.html#stateful" rel="Ext.Editor#stateful" class="docClass">stateful</a></code> for an explanation of saving and
617 restoring object state.</p>
618
619 </div></div></div><div id="config-stateId" class="member inherited"><a href="Ext.Editor.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.Editor.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.
620
621 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>
622
623 <p>See <a href="Ext.Editor.html#stateful" rel="Ext.Editor#stateful" class="docClass">stateful</a> for an explanation of saving and restoring state.</p>
624
625 </div></div></div><div id="config-stateful" class="member inherited"><a href="Ext.Editor.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.Editor.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
626 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
627 internal properties from a saved state on startup. The object must have
628 a <code><a href="Ext.Editor.html#stateId" rel="Ext.Editor#stateId" class="docClass">stateId</a></code> for state to be managed. 
629 Auto-generated ids are not guaranteed to be stable across page loads and 
630 cannot be relied upon to save and restore the same state for a object.<p>
631 <p>For state saving to work, the state manager's provider must have been
632 set to an implementation of <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> which overrides the
633 <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>
634 methods to save and recall name/value pairs. A built-in implementation,
635 <a href="Ext.state.CookieProvider.html" rel="Ext.state.CookieProvider" class="docClass">Ext.state.CookieProvider</a> is available.</p>
636 <p>To set the state provider for the current page:</p>
637 <pre><code>Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
638     expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now
639 }));
640 </code></pre>
641 <p>A stateful object attempts to save state when one of the events
642 listed in the <code><a href="Ext.Editor.html#stateEvents" rel="Ext.Editor#stateEvents" class="docClass">stateEvents</a></code> configuration fires.</p>
643 <p>To save state, a stateful object first serializes its state by
644 calling <b><code><a href="Ext.Editor.html#getState" rel="Ext.Editor#getState" class="docClass">getState</a></code></b>. By default, this function does
645 nothing. The developer must provide an implementation which returns an
646 object hash which represents the restorable state of the object.</p>
647 <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>
648 which uses the configured <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> to save the object
649 keyed by the <code><a href="stateId.html" rel="stateId" class="docClass">stateId</a></code></p>.
650 <p>During construction, a stateful object attempts to <i>restore</i>
651 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
652 <code><a href="Ext.Editor.html#stateId" rel="Ext.Editor#stateId" class="docClass">stateId</a></code></p>
653 <p>The resulting object is passed to <b><code><a href="Ext.Editor.html#applyState" rel="Ext.Editor#applyState" class="docClass">applyState</a></code></b>.
654 The default implementation of <code><a href="Ext.Editor.html#applyState" rel="Ext.Editor#applyState" class="docClass">applyState</a></code> simply copies
655 properties into the object, but a developer may override this to support
656 more behaviour.</p>
657 <p>You can perform extra processing on state save and restore by attaching
658 handlers to the <a href="Ext.Editor.html#beforestaterestore" rel="Ext.Editor#beforestaterestore" class="docClass">beforestaterestore</a>, <a href="Ext.Editor.html#staterestore" rel="Ext.Editor#staterestore" class="docClass">staterestore</a>,
659 <a href="Ext.Editor.html#beforestatesave" rel="Ext.Editor#beforestatesave" class="docClass">beforestatesave</a> and <a href="Ext.Editor.html#statesave" rel="Ext.Editor#statesave" class="docClass">statesave</a> events.</p>
660
661 </div></div></div><div id="config-style" class="member inherited"><a href="Ext.Editor.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.Editor.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
662 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
663 <a href="Ext.core.Element.html#applyStyles" rel="Ext.core.Element#applyStyles" class="docClass">Ext.core.Element.applyStyles</a>.</p>
664
665 <pre><code>        new Ext.panel.Panel({
666             title: 'Some Title',
667             renderTo: Ext.getBody(),
668             width: 400, height: 300,
669             layout: 'form',
670             items: [{
671                 xtype: 'textarea',
672                 style: {
673                     width: '95%',
674                     marginBottom: '10px'
675                 }
676             },
677             new Ext.button.Button({
678                 text: 'Send',
679                 minWidth: '100',
680                 style: {
681                     marginBottom: '10px'
682                 }
683             })
684             ]
685         });
686      </code></pre>
687
688 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.Editor.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.Editor.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.
689 Defaults to 'x-html'</p>
690 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
691 Defaults to 'x-html'</p>
692 </div></div></div><div id="config-styleHtmlContent" class="member inherited"><a href="Ext.Editor.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.Editor.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).
693 Defaults to false.</p>
694 </div><div class="long"><p>True to automatically style the html inside the content target of this component (body for panels).
695 Defaults to false.</p>
696 </div></div></div><div id="config-swallowKeys" class="member ni"><a href="Ext.Editor.html#config-swallowKeys" rel="config-swallowKeys" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-swallowKeys" class="viewSource">view source</a></div><a name="swallowKeys"></a><a name="config-swallowKeys"></a><a href="Ext.Editor.html#" rel="config-swallowKeys" class="cls expand">swallowKeys</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Handle the keydown/keypress events so they don't propagate (defaults to true)</p>
697 </div><div class="long"><p>Handle the keydown/keypress events so they don't propagate (defaults to true)</p>
698 </div></div></div><div id="config-toFrontOnShow" class="member inherited"><a href="Ext.Editor.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.Editor.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
699 on an already visible, floating component (default ...</div><div class="long"><p>True to automatically call <a href="Ext.Editor.html#toFront" rel="Ext.Editor#toFront" class="docClass">toFront</a> when the <a href="Ext.Editor.html#show" rel="Ext.Editor#show" class="docClass">show</a> method is called
700 on an already visible, floating component (default is <code>true</code>).</p>
701
702 </div></div></div><div id="config-tpl" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="config-tpl" class="cls expand">tpl</a><span> : Mixed</span></div><div class="description"><div class="short">An Ext.Template, Ext.XTemplate
703 or an array of strings to form an Ext.XTemplate.
704 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>
705 or an array of strings to form an <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">Ext.XTemplate</a>.
706 Used in conjunction with the <code><a href="Ext.Editor.html#data" rel="Ext.Editor#data" class="docClass">data</a></code> and
707 <code><a href="Ext.Editor.html#tplWriteMode" rel="Ext.Editor#tplWriteMode" class="docClass">tplWriteMode</a></code> configurations.</p>
708 </div></div></div><div id="config-tplWriteMode" class="member inherited"><a href="Ext.Editor.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.Editor.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
709 updating the content area of the Component. Defaults to 'overwrite'
710 (see Ext.X...</div><div class="long"><p>The Ext.(X)Template method to use when
711 updating the content area of the Component. Defaults to <code>'overwrite'</code>
712 (see <code><a href="Ext.XTemplate.html#overwrite" rel="Ext.XTemplate#overwrite" class="docClass">Ext.XTemplate.overwrite</a></code>).</p>
713 </div></div></div><div id="config-ui" class="member inherited"><a href="Ext.Editor.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.Editor.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>
714 </div><div class="long"><p>A set style for a component. Can be a string or an Array of multiple strings (UIs)</p>
715 </div></div></div><div id="config-updateEl" class="member ni"><a href="Ext.Editor.html#config-updateEl" rel="config-updateEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-updateEl" class="viewSource">view source</a></div><a name="updateEl"></a><a name="config-updateEl"></a><a href="Ext.Editor.html#" rel="config-updateEl" class="cls expand">updateEl</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to update the innerHTML of the bound element when the update completes (defaults to false)</p>
716 </div><div class="long"><p>True to update the innerHTML of the bound element when the update completes (defaults to false)</p>
717 </div></div></div><div id="config-value" class="member ni"><a href="Ext.Editor.html#config-value" rel="config-value" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-cfg-value" class="viewSource">view source</a></div><a name="value"></a><a name="config-value"></a><a href="Ext.Editor.html#" rel="config-value" class="cls expand">value</a><span> : Mixed</span></div><div class="description"><div class="short"><p>The data value of the underlying field (defaults to "")</p>
718 </div><div class="long"><p>The data value of the underlying field (defaults to "")</p>
719 </div></div></div><div id="config-width" class="member inherited"><a href="Ext.Editor.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.Editor.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>
720 </div><div class="long"><p>The width of this component in pixels.</p>
721 </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-draggable" class="member f inherited"><a href="Ext.Editor.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.Editor.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>
722 </div><div class="long"><p>Read-only property indicating whether or not the component can be dragged</p>
723 </div></div></div><div id="property-floatParent" class="member inherited"><a href="Ext.Editor.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.Editor.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.
724
725
726 Floa...</div><div class="long"><p>Optional. Only present for <a href="Ext.Editor.html#floating" rel="Ext.Editor#floating" class="docClass">floating</a> Components which were inserted as descendant items of floating Containers.</p>
727
728
729 <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>
730
731
732 <p>For <a href="Ext.Editor.html#floating" rel="Ext.Editor#floating" class="docClass">floating</a> Components which are child items of a Container, the floatParent will be the floating ancestor Container which is
733 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
734 z-indexing services for all its descendant floating Components.</p>
735
736
737 <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
738 <code>floatParent</code></p>
739
740
741 <p>See <a href="Ext.Editor.html#floating" rel="Ext.Editor#floating" class="docClass">floating</a> and <a href="Ext.Editor.html#zIndexManager" rel="Ext.Editor#zIndexManager" class="docClass">zIndexManager</a></p>
742
743 </div></div></div><div id="property-frameSize" class="member inherited"><a href="Ext.Editor.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.Editor.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
744 to ...</div><div class="long"><p>Read-only property indicating the width of any framing elements which were added within the encapsulating element
745 to provide graphical, rounded borders. See the <a href="Ext.Editor.html#frame" rel="Ext.Editor#frame" class="docClass">frame</a> config.</p>
746
747
748 <p> This is an object containing the frame width in pixels for all four sides of the Component containing
749 the following properties:</p>
750
751
752 <div class="mdetail-params"><ul>
753 <li><code>top</code> The width of the top framing element in pixels.</li>
754 <li><code>right</code> The width of the right framing element in pixels.</li>
755 <li><code>bottom</code> The width of the bottom framing element in pixels.</li>
756 <li><code>left</code> The width of the left framing element in pixels.</li>
757 </ul></div>
758
759 </div></div></div><div id="property-hasActiveFx" class="member inherited"><a href="Ext.Editor.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.Editor.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
760 Returns thq current animation if this object has any effects actively ...</div><div class="long"><p>@deprecated 4.0 Replaced by <a href="Ext.Editor.html#getActiveAnimation" rel="Ext.Editor#getActiveAnimation" class="docClass">getActiveAnimation</a>
761 Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
762 </div></div></div><div id="property-maskOnDisable" class="member inherited"><a href="Ext.Editor.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.Editor.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.
763 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.
764 By default this is set to true which means that every component gets a mask when its disabled.
765 Components like FieldContainer, FieldSet, Field, Button, Tab override this property to false
766 since they want to implement custom disable logic.</p>
767 </div></div></div><div id="property-ownerCt" class="member inherited"><a href="Ext.Editor.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.Editor.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
768 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
769 this Component is added to a Container).  Read-only.</p>
770
771 <p><b>Note</b>: to access items within the Container see <tt><a href="Ext.Editor.html#itemId" rel="Ext.Editor#itemId" class="docClass">itemId</a></tt>.</p>
772
773 </div></div></div><div id="property-rendered" class="member inherited"><a href="Ext.Editor.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.Editor.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>
774 </div><div class="long"><p>Read-only property indicating whether or not the component has been rendered.</p>
775 </div></div></div><div id="property-stopFx" class="member inherited"><a href="Ext.Editor.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.Editor.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
776 any additional effects that ...</div><div class="long"><p>Stops any running effects and clears this object's internal effects queue if it contains
777 any additional effects that haven't started yet.</p>
778 </div></div></div><div id="property-zIndexManager" class="member inherited"><a href="Ext.Editor.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.Editor.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.
779
780
781 A reference to the ZIndexManager whic...</div><div class="long"><p>Optional. Only present for <a href="Ext.Editor.html#floating" rel="Ext.Editor#floating" class="docClass">floating</a> Components after they have been rendered.</p>
782
783
784 <p>A reference to the ZIndexManager which is managing this Component's z-index.</p>
785
786
787 <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
788 mask which is insert just beneath the topmost visible modal floating Component.</p>
789
790
791 <p>Floating Components may be <a href="Ext.Editor.html#toFront" rel="Ext.Editor#toFront" class="docClass">brought to the front</a> or <a href="Ext.Editor.html#toBack" rel="Ext.Editor#toBack" class="docClass">sent to the back</a> of the z-index stack.</p>
792
793
794 <p>This defaults to the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> for floating Components that are programatically
795 <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a>.</p>
796
797
798 <p>For <a href="Ext.Editor.html#floating" rel="Ext.Editor#floating" class="docClass">floating</a> Components which are added to a Container, the ZIndexManager is acquired from the first ancestor Container found
799 which is floating, or if not found the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> is used.</p>
800
801
802 <p>See <a href="Ext.Editor.html#floating" rel="Ext.Editor#floating" class="docClass">floating</a> and <a href="Ext.Editor.html#floatParent" rel="Ext.Editor#floatParent" class="docClass">floatParent</a></p>
803
804 </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-Editor" class="member f ni"><a href="Ext.Editor.html#method-Editor" rel="method-Editor" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-method-constructor" class="viewSource">view source</a></div><a name="Editor"></a><a name="method-Editor"></a><a href="Ext.Editor.html#" rel="method-Editor" class="cls expand">Editor</a>(
805 <span class="pre">Object config</span>)
806  : void</div><div class="description"><div class="short"><p>Create a new Editor</p>
807 </div><div class="long"><p>Create a new Editor</p>
808 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The config object</p>
809 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
810 </li></ul></div></div></div><div id="method-addClass" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-addClass" class="cls expand">addClass</a>(
811 <span class="pre">String cls</span>)
812  : Ext.Component</div><div class="description"><div class="short"><p>@deprecated 4.0 Replaced by {link:#addCls}
813 Adds a CSS class to the top level element representing this component.</p>
814 </div><div class="long"><p>@deprecated 4.0 Replaced by {link:#addCls}
815 Adds a CSS class to the top level element representing this component.</p>
816 <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>
817 </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>
818 </li></ul></div></div></div><div id="method-addCls" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-addCls" class="cls expand">addCls</a>(
819 <span class="pre">String cls</span>)
820  : Ext.Component</div><div class="description"><div class="short"><p>Adds a CSS class to the top level element representing this component.</p>
821 </div><div class="long"><p>Adds a CSS class to the top level element representing this component.</p>
822 <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>
823 </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>
824 </li></ul></div></div></div><div id="method-addClsWithUI" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-addClsWithUI" class="cls expand">addClsWithUI</a>(
825 <span class="pre">String/Array cls</span>)
826  : void</div><div class="description"><div class="short"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.Editor.html#addUIClsToElement" rel="Ext.Editor#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
827 to all elements of this component.</p>
828 </div><div class="long"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.Editor.html#addUIClsToElement" rel="Ext.Editor#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
829 to all elements of this component.</p>
830 <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>
831 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
832 </li></ul></div></div></div><div id="method-addEvents" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-addEvents" class="cls expand">addEvents</a>(
833 <span class="pre">Object/String o, String </span>)
834  : void</div><div class="description"><div class="short"><p>Adds the specified events to the list of events which this Observable may fire.</p>
835 </div><div class="long"><p>Adds the specified events to the list of events which this Observable may fire.</p>
836 <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>
837 or the first event name string if multiple event names are being passed as separate parameters.</p>
838 </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.
839 Usage:</p>
840
841 <pre><code>this.addEvents('storeloaded', 'storecleared');
842 </code></pre>
843
844 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
845 </li></ul></div></div></div><div id="method-addListener" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-addListener" class="cls expand">addListener</a>(
846 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
847  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object.</p>
848 </div><div class="long"><p>Appends an event handler to this object.</p>
849 <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>
850 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes.</p>
851 </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.
852 <b>If omitted, defaults to the object which fired the event.</b></p>
853 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.
854 properties. This may contain any of the following properties:<ul>
855 <li><b>scope</b> : Object<div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
856 <b>If omitted, defaults to the object which fired the event.</b></div></li>
857 <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>
858 <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>
859 <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
860 by the specified number of milliseconds. If the event fires again within that time, the original
861 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
862 <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>
863 if the event was bubbled up from a child Observable.</div></li>
864 <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>
865 The name of a Component property which references an element to add a listener to.</p>
866
867 <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
868 will exist only after the Component is rendered. For example, to add a click listener to a Panel's body:
869 <pre><code>new Ext.panel.Panel({
870     title: 'The title',
871     listeners: {
872         click: this.handlePanelClick,
873         element: 'body'
874     }
875 });
876 </code></pre></p>
877
878
879 <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>
880
881
882 <p></div></li>
883 </ul><br></p>
884
885 <p>
886 <b>Combining Options</b><br>
887 Using the options argument, it is possible to combine different types of listeners:<br>
888 <br>
889 A delayed, one-time listener.
890 <pre><code>myPanel.on('hide', this.handleClick, this, {
891 single: true,
892 delay: 100
893 });</code></pre>
894 <p>
895 <b>Attaching multiple handlers in 1 call</b><br>
896 The method also allows for a single argument to be passed which is a config object containing properties
897 which specify multiple events. For example:
898 <pre><code>myGridPanel.on({
899     cellClick: this.onCellClick,
900     mouseover: this.onMouseOver,
901     mouseout: this.onMouseOut,
902     scope: this // Important. Ensure "this" is correct during handler execution
903 });
904 </code></pre>.
905 <p>
906
907 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
908 </li></ul></div></div></div><div id="method-addManagedListener" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-addManagedListener" class="cls expand">addManagedListener</a>(
909 <span class="pre">Observable/Element item, Object/String ename, Function fn, Object scope, Object opt</span>)
910  : void</div><div class="description"><div class="short"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
911 is destroyed.
912
913 </div><div class="long"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
914 is destroyed.
915
916 <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>
917 </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>
918 </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
919 is the handler function.</p>
920 </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
921 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
922 </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
923 is the <a href="Ext.util.Observable.html#addListener" rel="Ext.util.Observable#addListener" class="docClass">addListener</a> options.</p>
924 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
925 </li></ul></div></div></div><div id="method-addStateEvents" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-addStateEvents" class="cls expand">addStateEvents</a>(
926 <span class="pre">String/Array events</span>)
927  : void</div><div class="description"><div class="short"><p>Add events that will trigger the state to be saved.</p>
928 </div><div class="long"><p>Add events that will trigger the state to be saved.</p>
929 <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>
930 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
931 </li></ul></div></div></div><div id="method-afterComponentLayout" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-afterComponentLayout" class="cls expand">afterComponentLayout</a>(
932 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
933  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
934 <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>
935 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
936 </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>
937 </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>
938 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
939 </li></ul></div></div></div><div id="method-alignTo" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-alignTo" class="cls expand">alignTo</a>(
940 <span class="pre">Mixed element, String position, [Array offsets]</span>)
941  : Component</div><div class="description"><div class="short"><p>Aligns this floating Component to the specified element</p>
942 </div><div class="long"><p>Aligns this floating Component to the specified element</p>
943 <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
944 be a omponent instance. If a string id is passed, it will be used as an element id.</p>
945 </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>
946 </div></li><li><span class="pre">offsets</span> : Array<div class="sub-desc"><p>(optional) Offset the positioning by [x, y]</p>
947 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
948 </li></ul></div></div></div><div id="method-animate" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-animate" class="cls expand">animate</a>(
949 <span class="pre">Object config</span>)
950  : Object</div><div class="description"><div class="short">Perform custom animation on this object.
951 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>
952 <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.
953 It performs animated transitions of certain properties of this object over a specified timeline.</p>
954 <p>The sole parameter is an object which specifies start property values, end property values, and properties which
955 describe the timeline. Of the properties listed below, only <b><code>to</code></b> is mandatory.</p>
956 <p>Properties include<ul>
957 <li><code>from</code> <div class="sub-desc">An object which specifies start values for the properties being animated.
958 If not supplied, properties are animated from current settings. The actual properties which may be animated depend upon
959 ths object being animated. See the sections below on Element and Component animation.<div></li>
960 <li><code>to</code> <div class="sub-desc">An object which specifies end values for the properties being animated.</div></li>
961 <li><code>duration</code><div class="sub-desc">The duration <b>in milliseconds</b> for which the animation will run.</div></li>
962 <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>
963 <li>ease</li>
964 <li>easeIn</li>
965 <li>easeOut</li>
966 <li>easeInOut</li>
967 <li>backIn</li>
968 <li>backOut</li>
969 <li>elasticIn</li>
970 <li>elasticOut</li>
971 <li>bounceIn</li>
972 <li>bounceOut</li>
973 </ul></code></div></li>
974 <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.
975 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>
976 <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
977 to inject behaviour at either the <code>beforeanimate</code> event or the <code>afteranimate</code> event.</div></li>
978 </ul></p>
979 <h3>Animating an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a></h3>
980 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
981 <li><code>x</code> <div class="sub-desc">The page X position in pixels.</div></li>
982 <li><code>y</code> <div class="sub-desc">The page Y position in pixels</div></li>
983 <li><code>left</code> <div class="sub-desc">The element's CSS <code>left</code> value. Units must be supplied.</div></li>
984 <li><code>top</code> <div class="sub-desc">The element's CSS <code>top</code> value. Units must be supplied.</div></li>
985 <li><code>width</code> <div class="sub-desc">The element's CSS <code>width</code> value. Units must be supplied.</div></li>
986 <li><code>height</code> <div class="sub-desc">The element's CSS <code>height</code> value. Units must be supplied.</div></li>
987 <li><code>scrollLeft</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
988 <li><code>scrollTop</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
989 <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>
990 </ul>
991 <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
992 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
993 directly animate certain properties of Components.</b></p>
994 <h3>Animating a <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></h3>
995 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
996 <li><code>x</code> <div class="sub-desc">The Component's page X position in pixels.</div></li>
997 <li><code>y</code> <div class="sub-desc">The Component's page Y position in pixels</div></li>
998 <li><code>left</code> <div class="sub-desc">The Component's <code>left</code> value in pixels.</div></li>
999 <li><code>top</code> <div class="sub-desc">The Component's <code>top</code> value in pixels.</div></li>
1000 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1001 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1002 <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
1003 of the animation. <i>Use sparingly as laying out on every intermediate size change is an expensive operation</i>.</div></li>
1004 </ul>
1005 <p>For example, to animate a Window to a new size, ensuring that its internal layout, and any shadow is correct:</p>
1006 <pre><code>myWindow = Ext.create('Ext.window.Window', {
1007     title: 'Test Component animation',
1008     width: 500,
1009     height: 300,
1010     layout: {
1011         type: 'hbox',
1012         align: 'stretch'
1013     },
1014     items: [{
1015         title: 'Left: 33%',
1016         margins: '5 0 5 5',
1017         flex: 1
1018     }, {
1019         title: 'Left: 66%',
1020         margins: '5 5 5 5',
1021         flex: 2
1022     }]
1023 });
1024 myWindow.show();
1025 myWindow.header.el.on('click', function() {
1026     myWindow.animate({
1027         to: {
1028             width: (myWindow.getWidth() == 500) ? 700 : 500,
1029             height: (myWindow.getHeight() == 300) ? 400 : 300,
1030         }
1031     });
1032 });
1033 </code></pre>
1034 <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
1035 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>
1036
1037 <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>
1038 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>this</p>
1039 </li></ul></div></div></div><div id="method-applyState" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-applyState" class="cls expand">applyState</a>(
1040 <span class="pre">Object state</span>)
1041  : void</div><div class="description"><div class="short">Applies the state to the object. This should be overridden in subclasses to do
1042 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
1043 more complex state operations. By default it applies the state properties onto
1044 the current object.</p>
1045 <h3 class="pa">Parameters</h3><ul><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The state</p>
1046 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1047 </li></ul></div></div></div><div id="method-beforeComponentLayout" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-beforeComponentLayout" class="cls expand">beforeComponentLayout</a>(
1048 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1049  : void</div><div class="description"><div class="short">Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1050 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1051 from being executed.</p>
1052 <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>
1053 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1054 </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>
1055 </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>
1056 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1057 </li></ul></div></div></div><div id="method-bubble" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-bubble" class="cls expand">bubble</a>(
1058 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1059  : 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
1060 function call will be the scope provided or the current component. The arguments to the function
1061 will be the args provided or the current component. If the function returns false at any point,
1062 the bubble is stopped.</p>
1063 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1064 </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>
1065 </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>
1066 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1067 </li></ul></div></div></div><div id="method-cancelEdit" class="member ni"><a href="Ext.Editor.html#method-cancelEdit" rel="method-cancelEdit" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-method-cancelEdit" class="viewSource">view source</a></div><a name="cancelEdit"></a><a name="method-cancelEdit"></a><a href="Ext.Editor.html#" rel="method-cancelEdit" class="cls expand">cancelEdit</a>(
1068 <span class="pre">Boolean remainVisible</span>)
1069  : void</div><div class="description"><div class="short">Cancels the editing process and hides the editor without persisting any changes.  The field value will be
1070 reverted to...</div><div class="long"><p>Cancels the editing process and hides the editor without persisting any changes.  The field value will be
1071 reverted to the original starting value.</p>
1072 <h3 class="pa">Parameters</h3><ul><li><span class="pre">remainVisible</span> : Boolean<div class="sub-desc"><p>Override the default behavior and keep the editor visible after
1073 cancel (defaults to false)</p>
1074 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1075 </li></ul></div></div></div><div id="method-capture" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-capture" class="cls expand">capture</a>(
1076 <span class="pre">Observable o, Function fn, [Object scope]</span>)
1077  : void</div><div class="description"><div class="short">Starts capture on the specified Observable. All events will be passed
1078 to the supplied function with the event name + ...</div><div class="long"><p>Starts capture on the specified Observable. All events will be passed
1079 to the supplied function with the event name + standard signature of the event
1080 <b>before</b> the event is fired. If the supplied function returns false,
1081 the event will not fire.</p>
1082 <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>
1083 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call when an event is fired.</p>
1084 </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>
1085 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1086 </li></ul></div></div></div><div id="method-center" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1087 </div><div class="long"><p>Center this Component in its container.</p>
1088 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1089 </li></ul></div></div></div><div id="method-clearListeners" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1090 </div><div class="long"><p>Removes all listeners for this object including the managed listeners</p>
1091 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1092 </li></ul></div></div></div><div id="method-clearManagedListeners" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1093 </div><div class="long"><p>Removes all managed listeners for this object.</p>
1094 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1095 </li></ul></div></div></div><div id="method-cloneConfig" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-cloneConfig" class="cls expand">cloneConfig</a>(
1096 <span class="pre">Object overrides</span>)
1097  : 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>
1098 </div><div class="long"><p>Clone the current component using the original config values passed into this instance by default.</p>
1099 <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.
1100 An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</p>
1101 </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>
1102 </li></ul></div></div></div><div id="method-completeEdit" class="member ni"><a href="Ext.Editor.html#method-completeEdit" rel="method-completeEdit" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-method-completeEdit" class="viewSource">view source</a></div><a name="completeEdit"></a><a name="method-completeEdit"></a><a href="Ext.Editor.html#" rel="method-completeEdit" class="cls expand">completeEdit</a>(
1103 <span class="pre">Boolean remainVisible</span>)
1104  : void</div><div class="description"><div class="short"><p>Ends the editing process, persists the changed value to the underlying field, and hides the editor.</p>
1105 </div><div class="long"><p>Ends the editing process, persists the changed value to the underlying field, and hides the editor.</p>
1106 <h3 class="pa">Parameters</h3><ul><li><span class="pre">remainVisible</span> : Boolean<div class="sub-desc"><p>Override the default behavior and keep the editor visible after edit (defaults to false)</p>
1107 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1108 </li></ul></div></div></div><div id="method-destroy" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-destroy" class="cls expand">destroy</a> : void</div><div class="description"><div class="short"><p>Destroys this stateful object.</p>
1109 </div><div class="long"><p>Destroys this stateful object.</p>
1110 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1111 </li></ul></div></div></div><div id="method-disable" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-disable" class="cls expand">disable</a>(
1112 <span class="pre">Boolean silent</span>)
1113  : void</div><div class="description"><div class="short"><p>Disable the component.</p>
1114 </div><div class="long"><p>Disable the component.</p>
1115 <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>
1116 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1117 </li></ul></div></div></div><div id="method-doAutoRender" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-doAutoRender" class="cls expand">doAutoRender</a> : void</div><div class="description"><div class="short">Handles autoRender.
1118 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them wit...</div><div class="long"><p>Handles autoRender.
1119 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them within that
1120 ownerCt, and have their z-index managed locally. Floating Components are always rendered to document.body</p>
1121 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1122 </li></ul></div></div></div><div id="method-doComponentLayout" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-doComponentLayout" class="cls expand">doComponentLayout</a>(
1123 <span class="pre">Object width, Object height, Object isSetSize, Object ownerCt</span>)
1124  : 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
1125 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
1126 layout to be recalculated.</p>
1127 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Object<div class="sub-desc">
1128 </div></li><li><span class="pre">height</span> : Object<div class="sub-desc">
1129 </div></li><li><span class="pre">isSetSize</span> : Object<div class="sub-desc">
1130 </div></li><li><span class="pre">ownerCt</span> : Object<div class="sub-desc">
1131 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
1132 </li></ul></div></div></div><div id="method-doConstrain" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-doConstrain" class="cls expand">doConstrain</a>(
1133 <span class="pre">Mixed constrainTo</span>)
1134  : void</div><div class="description"><div class="short">Moves this floating Component into a constrain region.
1135
1136
1137 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>
1138
1139
1140 <p>By default, this Component is constrained to be within the container it was added to, or the element
1141 it was rendered to.</p>
1142
1143
1144 <p>An alternative constraint may be passed.</p>
1145
1146 <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>
1147 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1148 </li></ul></div></div></div><div id="method-enable" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-enable" class="cls expand">enable</a>(
1149 <span class="pre">Boolean silent</span>)
1150  : void</div><div class="description"><div class="short"><p>Enable the component</p>
1151 </div><div class="long"><p>Enable the component</p>
1152 <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>
1153 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1154 </li></ul></div></div></div><div id="method-enableBubble" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-enableBubble" class="cls expand">enableBubble</a>(
1155 <span class="pre">String/Array events</span>)
1156  : void</div><div class="description"><div class="short">Enables events fired by this Observable to bubble up an owner hierarchy by calling
1157 this.getBubbleTarget() if present....</div><div class="long"><p>Enables events fired by this Observable to bubble up an owner hierarchy by calling
1158 <code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>
1159
1160
1161 <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
1162 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
1163 access the required target more quickly.</p>
1164
1165
1166 <p>Example:</p>
1167
1168
1169 <pre><code>Ext.override(Ext.form.field.Base, {
1170 //  Add functionality to Field&#39;s initComponent to enable the change event to bubble
1171 initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {
1172     this.enableBubble('change');
1173 }),
1174
1175 //  We know that we want Field&#39;s events to bubble directly to the FormPanel.
1176 getBubbleTarget : function() {
1177     if (!this.formPanel) {
1178         this.formPanel = this.findParentByType('form');
1179     }
1180     return this.formPanel;
1181 }
1182 });
1183
1184 var myForm = new Ext.formPanel({
1185 title: 'User Details',
1186 items: [{
1187     ...
1188 }],
1189 listeners: {
1190     change: function() {
1191         // Title goes red if form has been modified.
1192         myForm.header.setStyle('color', 'red');
1193     }
1194 }
1195 });
1196 </code></pre>
1197
1198 <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>
1199 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1200 </li></ul></div></div></div><div id="method-findLayoutController" class="member inherited"><a href="Ext.Editor.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.Editor.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
1201 ...</div><div class="long"><p>This method finds the topmost active layout who's processing will eventually determine the size and position of this
1202 Component.<p>
1203 <p>This method is useful when dynamically adding Components into Containers, and some processing must take place after the
1204 final sizing and positioning of the Component has been performed.</p>
1205
1206 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1207 </li></ul></div></div></div><div id="method-findParentBy" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-findParentBy" class="cls expand">findParentBy</a>(
1208 <span class="pre">Function fn</span>)
1209  : 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
1210 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
1211 true, the container will be returned.</p>
1212 <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>
1213 </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>
1214 </li></ul></div></div></div><div id="method-findParentByType" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-findParentByType" class="cls expand">findParentByType</a>(
1215 <span class="pre">String/Class xtype</span>)
1216  : 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>
1217
1218
1219 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1220
1221 </div><div class="long"><p>Find a container above this component at any level by xtype or class</p>
1222
1223
1224 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1225
1226 <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>
1227 </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>
1228 </li></ul></div></div></div><div id="method-fireEvent" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-fireEvent" class="cls expand">fireEvent</a>(
1229 <span class="pre">String eventName, Object... args</span>)
1230  : Boolean</div><div class="description"><div class="short">Fires the specified event with the passed parameters (minus the event name).
1231
1232
1233 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>
1234
1235
1236 <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>)
1237 by calling <a href="Ext.Editor.html#enableBubble" rel="Ext.Editor#enableBubble" class="docClass">enableBubble</a>.</p>
1238
1239 <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>
1240 </div></li><li><span class="pre">args</span> : Object...<div class="sub-desc"><p>Variable number of parameters are passed to handlers.</p>
1241 </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>
1242 </li></ul></div></div></div><div id="method-focus" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-focus" class="cls expand">focus</a>(
1243 <span class="pre">[Boolean selectText], [Boolean/Number delay]</span>)
1244  : Ext.Component</div><div class="description"><div class="short"><p>Try to focus this component.</p>
1245 </div><div class="long"><p>Try to focus this component.</p>
1246 <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>
1247 </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>
1248 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1249 </li></ul></div></div></div><div id="method-getActiveAnimation" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1250 </div><div class="long"><p>Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1251 <h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>anim if element has active effects, else false</p>
1252 </li></ul></div></div></div><div id="method-getBox" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-getBox" class="cls expand">getBox</a>(
1253 <span class="pre">[Boolean local]</span>)
1254  : Object</div><div class="description"><div class="short"><p>Gets the current box measurements of the component's underlying element.</p>
1255 </div><div class="long"><p>Gets the current box measurements of the component's underlying element.</p>
1256 <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>
1257 </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>
1258 </li></ul></div></div></div><div id="method-getBubbleTarget" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1259 </div><div class="long"><p>Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.</p>
1260 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>the Container which owns this Component.</p>
1261 </li></ul></div></div></div><div id="method-getEl" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1262 </div><div class="long"><p>Retrieves the top level element representing this component.</p>
1263 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1264 </li></ul></div></div></div><div id="method-getHeight" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1265 </div><div class="long"><p>Gets the current height of the component's underlying element.</p>
1266 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
1267 </li></ul></div></div></div><div id="method-getId" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-getId" class="cls expand">getId</a> : void</div><div class="description"><div class="short"><p>Retrieves the id of this component.
1268 Will autogenerate an id if one has not already been set.</p>
1269 </div><div class="long"><p>Retrieves the id of this component.
1270 Will autogenerate an id if one has not already been set.</p>
1271 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1272 </li></ul></div></div></div><div id="method-getInsertPosition" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-getInsertPosition" class="cls expand">getInsertPosition</a>(
1273 <span class="pre">String/Number/Element/HTMLElement position</span>)
1274  : HTMLElement</div><div class="description"><div class="short">This function takes the position argument passed to onRender and returns a
1275 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
1276 DOM element that you can use in the insertBefore.</p>
1277 <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
1278 to put this component before.</p>
1279 </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>
1280 </li></ul></div></div></div><div id="method-getLoader" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1281 </div><div class="long"><p>Gets the <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> for this Component.</p>
1282 <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>
1283 </li></ul></div></div></div><div id="method-getPlugin" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-getPlugin" class="cls expand">getPlugin</a>(
1284 <span class="pre">Object pluginId</span>)
1285  : Ext.AbstractPlugin</div><div class="description"><div class="short"><p>Retrieves a plugin by its pluginId which has been bound to this
1286 component.</p>
1287 </div><div class="long"><p>Retrieves a plugin by its pluginId which has been bound to this
1288 component.</p>
1289 <h3 class="pa">Parameters</h3><ul><li><span class="pre">pluginId</span> : Object<div class="sub-desc">
1290 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.AbstractPlugin</span>&nbsp; &nbsp;<p>pluginInstance</p>
1291 </li></ul></div></div></div><div id="method-getPosition" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-getPosition" class="cls expand">getPosition</a>(
1292 <span class="pre">[Boolean local]</span>)
1293  : Array</div><div class="description"><div class="short"><p>Gets the current XY position of the component's underlying element.</p>
1294 </div><div class="long"><p>Gets the current XY position of the component's underlying element.</p>
1295 <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>
1296 </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>
1297 </li></ul></div></div></div><div id="method-getSize" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1298 </div><div class="long"><p>Gets the current size of the component's underlying element.</p>
1299 <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>
1300 </li></ul></div></div></div><div id="method-getState" class="member inherited"><a href="Ext.Editor.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.Editor.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,
1301 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,
1302 it should be overridden in subclasses to implement methods for getting the state.</p>
1303 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The current state</p>
1304 </li></ul></div></div></div><div id="method-getStateId" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1305 </div><div class="long"><p>Gets the state id for this object.</p>
1306 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The state id, null if not found.</p>
1307 </li></ul></div></div></div><div id="method-getValue" class="member ni"><a href="Ext.Editor.html#method-getValue" rel="method-getValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-method-getValue" class="viewSource">view source</a></div><a name="getValue"></a><a name="method-getValue"></a><a href="Ext.Editor.html#" rel="method-getValue" class="cls expand">getValue</a> : Mixed</div><div class="description"><div class="short"><p>Gets the data value of the editor</p>
1308 </div><div class="long"><p>Gets the data value of the editor</p>
1309 <h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>The data value</p>
1310 </li></ul></div></div></div><div id="method-getWidth" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1311 </div><div class="long"><p>Gets the current width of the component's underlying element.</p>
1312 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
1313 </li></ul></div></div></div><div id="method-getXType" class="member inherited"><a href="Ext.Editor.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.Editor.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
1314 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
1315 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header. Example usage:</p>
1316
1317 <pre><code>var t = new Ext.form.field.Text();
1318 alert(t.getXType());  // alerts 'textfield'
1319 </code></pre>
1320
1321 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype</p>
1322 </li></ul></div></div></div><div id="method-getXTypes" class="member inherited"><a href="Ext.Editor.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.Editor.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
1323 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
1324 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header.</p>
1325
1326
1327 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1328 to participate in determination of inherited xtypes.</b></p>
1329
1330
1331 <p>Example usage:</p>
1332
1333
1334 <pre><code>var t = new Ext.form.field.Text();
1335 alert(t.getXTypes());  // alerts 'component/field/textfield'
1336 </code></pre>
1337
1338 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype hierarchy string</p>
1339 </li></ul></div></div></div><div id="method-hasListener" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-hasListener" class="cls expand">hasListener</a>(
1340 <span class="pre">String eventName</span>)
1341  : Boolean</div><div class="description"><div class="short"><p>Checks to see if this object has any listeners for a specified event</p>
1342 </div><div class="long"><p>Checks to see if this object has any listeners for a specified event</p>
1343 <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>
1344 </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>
1345 </li></ul></div></div></div><div id="method-hasUICls" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-hasUICls" class="cls expand">hasUICls</a>(
1346 <span class="pre">String cls</span>)
1347  : void</div><div class="description"><div class="short"><p>Checks if there is currently a specified uiCls</p>
1348 </div><div class="long"><p>Checks if there is currently a specified uiCls</p>
1349 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The cls to check</p>
1350 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1351 </li></ul></div></div></div><div id="method-hide" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-hide" class="cls expand">hide</a>(
1352 <span class="pre">String/Element/Component animateTarget, [Function callback], [Object scope]</span>)
1353  : Ext.Component</div><div class="description"><div class="short"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.Editor.html#hideMode" rel="Ext.Editor#hideMode" class="docClass">hideMode</a>.</p>
1354 </div><div class="long"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.Editor.html#hideMode" rel="Ext.Editor#hideMode" class="docClass">hideMode</a>.</p>
1355 <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.Editor.html#floating" rel="Ext.Editor#floating" class="docClass">floating</a> Components such as
1356 <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
1357 with <code>floating: true</code>.</b>.
1358 The target to which the Component should animate while hiding (defaults to null with no animation)</p>
1359 </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>
1360 </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>
1361 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1362 </li></ul></div></div></div><div id="method-is" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-is" class="cls expand">is</a>(
1363 <span class="pre">String selector</span>)
1364  : Boolean</div><div class="description"><div class="short"><p>Tests whether this Component matches the selector string.</p>
1365 </div><div class="long"><p>Tests whether this Component matches the selector string.</p>
1366 <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>
1367 </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>
1368 </li></ul></div></div></div><div id="method-isDescendantOf" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-isDescendantOf" class="cls expand">isDescendantOf</a>(
1369 <span class="pre">Ext.Container container</span>)
1370  : Boolean</div><div class="description"><div class="short"><p>Determines whether this component is the descendant of a particular container.</p>
1371 </div><div class="long"><p>Determines whether this component is the descendant of a particular container.</p>
1372 <h3 class="pa">Parameters</h3><ul><li><span class="pre">container</span> : Ext.Container<div class="sub-desc">
1373 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>isDescendant</p>
1374 </li></ul></div></div></div><div id="method-isDisabled" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1375 </div><div class="long"><p>Method to determine whether this Component is currently disabled.</p>
1376 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the disabled state of this Component.</p>
1377 </li></ul></div></div></div><div id="method-isDraggable" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1378 </div><div class="long"><p>Method to determine whether this Component is draggable.</p>
1379 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the draggable state of this component.</p>
1380 </li></ul></div></div></div><div id="method-isDroppable" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1381 </div><div class="long"><p>Method to determine whether this Component is droppable.</p>
1382 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the droppable state of this component.</p>
1383 </li></ul></div></div></div><div id="method-isFloating" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1384 </div><div class="long"><p>Method to determine whether this Component is floating.</p>
1385 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the floating state of this component.</p>
1386 </li></ul></div></div></div><div id="method-isHidden" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1387 </div><div class="long"><p>Method to determine whether this Component is currently set to hidden.</p>
1388 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the hidden state of this Component.</p>
1389 </li></ul></div></div></div><div id="method-isVisible" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-isVisible" class="cls expand">isVisible</a>(
1390 <span class="pre">Boolean deep</span>)
1391  : Boolean</div><div class="description"><div class="short"><p>Returns true if this component is visible.</p>
1392 </div><div class="long"><p>Returns true if this component is visible.</p>
1393 <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
1394 parent Containers to determine whether this Component is truly visible to the user.</p></p>
1395
1396 <p>Generally, to determine whether a Component is hidden, the no argument form is needed. For example
1397 when creating dynamically laid out UIs in a hidden Container before showing them.</p>
1398
1399 </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>
1400 </li></ul></div></div></div><div id="method-isXType" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-isXType" class="cls expand">isXType</a>(
1401 <span class="pre">String xtype, [Boolean shallow]</span>)
1402  : 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
1403 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
1404 from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
1405
1406
1407 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1408 to participate in determination of inherited xtypes.</b></p>
1409
1410
1411 <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>
1412
1413
1414 <p>Example usage:</p>
1415
1416
1417 <pre><code>var t = new Ext.form.field.Text();
1418 var isText = t.isXType('textfield');        // true
1419 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>
1420 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
1421 </code></pre>
1422
1423 <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>
1424 </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
1425 the default), or true to check whether this Component is directly of the specified xtype.</p>
1426 </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>
1427 </li></ul></div></div></div><div id="method-nextNode" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-nextNode" class="cls expand">nextNode</a>(
1428 <span class="pre">String selector, Object includeSelf</span>)
1429  : void</div><div class="description"><div class="short">Returns the next node in the Component tree in tree traversal order.
1430
1431
1432 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>
1433
1434
1435 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
1436 walk the tree to attempt to find a match. Contrast with <a href="Ext.Editor.html#pnextSibling" rel="Ext.Editor#pnextSibling" class="docClass">pnextSibling</a>.</p>
1437
1438 <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>
1439 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
1440 </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>
1441 </li></ul></div></div></div><div id="method-nextSibling" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-nextSibling" class="cls expand">nextSibling</a>(
1442 <span class="pre">String selector</span>)
1443  : void</div><div class="description"><div class="short">Returns the next sibling of this Component.
1444
1445
1446 Optionally selects the next sibling which matches the passed ComponentQ...</div><div class="long"><p>Returns the next sibling of this Component.</p>
1447
1448
1449 <p>Optionally selects the next sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
1450
1451
1452 <p>May also be refered to as <code><b>next()</b></code></p>
1453
1454
1455 <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.Editor.html#nextNode" rel="Ext.Editor#nextNode" class="docClass">nextNode</a></p>
1456
1457 <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>
1458 </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>
1459 </li></ul></div></div></div><div id="method-observe" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-observe" class="cls expand">observe</a>(
1460 <span class="pre">Function c, Object listeners</span>)
1461  : void</div><div class="description"><div class="short">Sets observability on the passed class constructor.
1462
1463 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>
1464
1465 <p>This makes any event fired on any instance of the passed class also fire a single event through
1466 the <strong>class</strong> allowing for central handling of events on many instances at once.</p>
1467
1468 <p>Usage:</p>
1469
1470 <pre><code>Ext.util.Observable.observe(Ext.data.Connection);
1471 Ext.data.Connection.on('beforerequest', function(con, options) {
1472     console.log('Ajax request made to ' + options.url);
1473 });
1474 </code></pre>
1475 <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>
1476 </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.Editor.html#addListener" rel="Ext.Editor#addListener" class="docClass">addListener</a>.</p>
1477 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1478 </li></ul></div></div></div><div id="method-on" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-on" class="cls expand">on</a>(
1479 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
1480  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object (shorthand for <a href="Ext.Editor.html#addListener" rel="Ext.Editor#addListener" class="docClass">addListener</a>.)</p>
1481 </div><div class="long"><p>Appends an event handler to this object (shorthand for <a href="Ext.Editor.html#addListener" rel="Ext.Editor#addListener" class="docClass">addListener</a>.)</p>
1482 <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>
1483 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes</p>
1484 </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.
1485 <b>If omitted, defaults to the object which fired the event.</b></p>
1486 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.</p>
1487 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1488 </li></ul></div></div></div><div id="method-previousNode" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-previousNode" class="cls expand">previousNode</a>(
1489 <span class="pre">String selector, Object includeSelf</span>)
1490  : void</div><div class="description"><div class="short">Returns the previous node in the Component tree in tree traversal order.
1491
1492
1493 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>
1494
1495
1496 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
1497 walk the tree in reverse order to attempt to find a match. Contrast with <a href="Ext.Editor.html#previousSibling" rel="Ext.Editor#previousSibling" class="docClass">previousSibling</a>.</p>
1498
1499 <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>
1500 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
1501 </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>
1502 </li></ul></div></div></div><div id="method-previousSibling" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-previousSibling" class="cls expand">previousSibling</a>(
1503 <span class="pre">String selector</span>)
1504  : void</div><div class="description"><div class="short">Returns the previous sibling of this Component.
1505
1506
1507 Optionally selects the previous sibling which matches the passed Co...</div><div class="long"><p>Returns the previous sibling of this Component.</p>
1508
1509
1510 <p>Optionally selects the previous sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
1511
1512
1513 <p>May also be refered to as <code><b>prev()</b></code></p>
1514
1515
1516 <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.Editor.html#previousNode" rel="Ext.Editor#previousNode" class="docClass">previousNode</a></p>
1517
1518 <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>
1519 </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>
1520 </li></ul></div></div></div><div id="method-realign" class="member ni"><a href="Ext.Editor.html#method-realign" rel="method-realign" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-method-realign" class="viewSource">view source</a></div><a name="realign"></a><a name="method-realign"></a><a href="Ext.Editor.html#" rel="method-realign" class="cls expand">realign</a>(
1521 <span class="pre">[Boolean autoSize]</span>)
1522  : void</div><div class="description"><div class="short"><p>Realigns the editor to the bound field based on the current alignment config value.</p>
1523 </div><div class="long"><p>Realigns the editor to the bound field based on the current alignment config value.</p>
1524 <h3 class="pa">Parameters</h3><ul><li><span class="pre">autoSize</span> : Boolean<div class="sub-desc"><p>(optional) True to size the field to the dimensions of the bound element.</p>
1525 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1526 </li></ul></div></div></div><div id="method-relayEvents" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-relayEvents" class="cls expand">relayEvents</a>(
1527 <span class="pre">Object origin, Array events, Object prefix</span>)
1528  : 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>
1529 </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>
1530 <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>
1531 </div></li><li><span class="pre">events</span> : Array<div class="sub-desc"><p>Array of event names to relay.</p>
1532 </div></li><li><span class="pre">prefix</span> : Object<div class="sub-desc">
1533 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1534 </li></ul></div></div></div><div id="method-releaseCapture" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-releaseCapture" class="cls expand">releaseCapture</a>(
1535 <span class="pre">Observable o</span>)
1536  : void</div><div class="description"><div class="short"><p>Removes <b>all</b> added captures from the Observable.</p>
1537 </div><div class="long"><p>Removes <b>all</b> added captures from the Observable.</p>
1538 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to release</p>
1539 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1540 </li></ul></div></div></div><div id="method-removeCls" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-removeCls" class="cls expand">removeCls</a>(
1541 <span class="pre">Object className</span>)
1542  : Ext.Component</div><div class="description"><div class="short"><p>Removes a CSS class from the top level element representing this component.</p>
1543 </div><div class="long"><p>Removes a CSS class from the top level element representing this component.</p>
1544 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : Object<div class="sub-desc">
1545 </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>
1546 </li></ul></div></div></div><div id="method-removeClsWithUI" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-removeClsWithUI" class="cls expand">removeClsWithUI</a>(
1547 <span class="pre">String/Array cls</span>)
1548  : void</div><div class="description"><div class="short">Removes a cls to the uiCls array, which will also call removeUIClsToElement and removes
1549 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.Editor.html#removeUIClsToElement" rel="Ext.Editor#removeUIClsToElement" class="docClass">removeUIClsToElement</a> and removes
1550 it from all elements of this component.</p>
1551 <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>
1552 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1553 </li></ul></div></div></div><div id="method-removeListener" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-removeListener" class="cls expand">removeListener</a>(
1554 <span class="pre">String eventName, Function handler, [Object scope]</span>)
1555  : void</div><div class="description"><div class="short"><p>Removes an event handler.</p>
1556 </div><div class="long"><p>Removes an event handler.</p>
1557 <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>
1558 </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.Editor.html#addListener" rel="Ext.Editor#addListener" class="docClass">addListener</a> call.</b></p>
1559 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
1560 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1561 </li></ul></div></div></div><div id="method-removeManagedListener" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-removeManagedListener" class="cls expand">removeManagedListener</a>(
1562 <span class="pre">Observable|Element item, Object|String ename, Function fn, Object scope</span>)
1563  : void</div><div class="description"><div class="short"><p>Removes listeners that were added by the <a href="Ext.Editor.html#mon" rel="Ext.Editor#mon" class="docClass">mon</a> method.</p>
1564 </div><div class="long"><p>Removes listeners that were added by the <a href="Ext.Editor.html#mon" rel="Ext.Editor#mon" class="docClass">mon</a> method.</p>
1565 <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>
1566 </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>
1567 </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
1568 is the handler function.</p>
1569 </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
1570 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
1571 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1572 </li></ul></div></div></div><div id="method-resumeEvents" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-resumeEvents" class="cls expand">resumeEvents</a> : void</div><div class="description"><div class="short">Resume firing events. (see suspendEvents)
1573 If events were suspended using the queueSuspended parameter, then all
1574 event...</div><div class="long"><p>Resume firing events. (see <a href="Ext.Editor.html#suspendEvents" rel="Ext.Editor#suspendEvents" class="docClass">suspendEvents</a>)
1575 If events were suspended using the <code><b>queueSuspended</b></code> parameter, then all
1576 events fired during event suspension will be sent to any listeners now.</p>
1577 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1578 </li></ul></div></div></div><div id="method-sequenceFx" class="member inherited"><a href="Ext.Editor.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.Editor.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
1579 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
1580 run in sequence.  This is the opposite of <a href="Ext.Editor.html#syncFx" rel="Ext.Editor#syncFx" class="docClass">syncFx</a>.</p>
1581 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
1582 </li></ul></div></div></div><div id="method-setActive" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-setActive" class="cls expand">setActive</a>(
1583 <span class="pre">Boolean active, Component newActive</span>)
1584  : void</div><div class="description"><div class="short">This method is called internally by Ext.ZIndexManager to signal that a floating
1585 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
1586 Component has either been moved to the top of its zIndex stack, or pushed from the top of its zIndex stack.</p>
1587
1588
1589 <p>If a <i>Window</i> is superceded by another Window, deactivating it hides its shadow.</p>
1590
1591
1592 <p>This method also fires the <a href="Ext.Editor.html#activate" rel="Ext.Editor#activate" class="docClass">activate</a> or <a href="Ext.Editor.html#deactivate" rel="Ext.Editor#deactivate" class="docClass">deactivate</a> event depending on which action occurred.</p>
1593
1594 <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>
1595 </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>
1596 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1597 </li></ul></div></div></div><div id="method-setAutoScroll" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-setAutoScroll" class="cls expand">setAutoScroll</a>(
1598 <span class="pre">Boolean scroll</span>)
1599  : Ext.Component</div><div class="description"><div class="short"><p>Sets the overflow on the content element of the component.</p>
1600 </div><div class="long"><p>Sets the overflow on the content element of the component.</p>
1601 <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>
1602 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1603 </li></ul></div></div></div><div id="method-setDisabled" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-setDisabled" class="cls expand">setDisabled</a>(
1604 <span class="pre">Boolean disabled</span>)
1605  : void</div><div class="description"><div class="short"><p>Enable or disable the component.</p>
1606 </div><div class="long"><p>Enable or disable the component.</p>
1607 <h3 class="pa">Parameters</h3><ul><li><span class="pre">disabled</span> : Boolean<div class="sub-desc">
1608 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1609 </li></ul></div></div></div><div id="method-setDocked" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-setDocked" class="cls expand">setDocked</a>(
1610 <span class="pre">Object dock, Object layoutParent</span>)
1611  : Component</div><div class="description"><div class="short">Sets the dock position of this component in its parent panel. Note that
1612 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
1613 this only has effect if this item is part of the dockedItems collection
1614 of a parent that has a DockLayout (note that any Panel has a DockLayout
1615 by default)</p>
1616 <h3 class="pa">Parameters</h3><ul><li><span class="pre">dock</span> : Object<div class="sub-desc">
1617 </div></li><li><span class="pre">layoutParent</span> : Object<div class="sub-desc">
1618 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1619 </li></ul></div></div></div><div id="method-setHeight" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-setHeight" class="cls expand">setHeight</a>(
1620 <span class="pre">Number height</span>)
1621  : Ext.Component</div><div class="description"><div class="short"><p>Sets the height of the component.  This method fires the <a href="Ext.Editor.html#resize" rel="Ext.Editor#resize" class="docClass">resize</a> event.</p>
1622 </div><div class="long"><p>Sets the height of the component.  This method fires the <a href="Ext.Editor.html#resize" rel="Ext.Editor#resize" class="docClass">resize</a> event.</p>
1623 <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>
1624 <li>A Number specifying the new height in the <a href="Ext.Editor.html#getEl" rel="Ext.Editor#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>
1625 <li>A String used to set the CSS height style.</li>
1626 <li><i>undefined</i> to leave the height unchanged.</li>
1627 </ul></div></p>
1628 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1629 </li></ul></div></div></div><div id="method-setLoading" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-setLoading" class="cls expand">setLoading</a>(
1630 <span class="pre">Boolean/Object/String load, Boolean targetEl</span>)
1631  : 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>
1632 </div><div class="long"><p>This method allows you to show or hide a LoadMask on top of this component.</p>
1633 <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
1634 that will be passed to the LoadMask constructor, or a message String to show. False to
1635 hide the current LoadMask.</p>
1636 </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.
1637 For example, setting this to true on a Panel will cause only the body to be masked. (defaults to false)</p>
1638 </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>
1639 </li></ul></div></div></div><div id="method-setPagePosition" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-setPagePosition" class="cls expand">setPagePosition</a>(
1640 <span class="pre">Number x, Number y, Mixed animate</span>)
1641  : 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.
1642 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.Editor.html#setPosition" rel="Ext.Editor#setPosition" class="docClass">setPosition</a>.
1643 This method fires the <a href="Ext.Editor.html#move" rel="Ext.Editor#move" class="docClass">move</a> event.</p>
1644 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
1645 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
1646 </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
1647 is a number, it is used as the animation duration in milliseconds.</p>
1648 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1649 </li></ul></div></div></div><div id="method-setPosition" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-setPosition" class="cls expand">setPosition</a>(
1650 <span class="pre">Number left, Number top, Mixed animate</span>)
1651  : 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.
1652 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.Editor.html#setPagePosition" rel="Ext.Editor#setPagePosition" class="docClass">setPagePosition</a>.
1653 This method fires the <a href="Ext.Editor.html#move" rel="Ext.Editor#move" class="docClass">move</a> event.</p>
1654 <h3 class="pa">Parameters</h3><ul><li><span class="pre">left</span> : Number<div class="sub-desc"><p>The new left</p>
1655 </div></li><li><span class="pre">top</span> : Number<div class="sub-desc"><p>The new top</p>
1656 </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>
1657 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1658 </li></ul></div></div></div><div id="method-setSize" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-setSize" class="cls expand">setSize</a>(
1659 <span class="pre">Mixed width, Mixed height</span>)
1660  : 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
1661 either width ...</div><div class="long"><p>Sets the width and height of this Component. This method fires the <a href="Ext.Editor.html#resize" rel="Ext.Editor#resize" class="docClass">resize</a> event. This method can accept
1662 either width and height as separate arguments, or you can pass a size object like <code>{width:10, height:20}</code>.</p>
1663 <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>
1664 <li>A Number specifying the new width in the <a href="Ext.Editor.html#getEl" rel="Ext.Editor#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>
1665 <li>A String used to set the CSS width style.</li>
1666 <li>A size object in the format <code>{width: widthValue, height: heightValue}</code>.</li>
1667 <li><code>undefined</code> to leave the width unchanged.</li>
1668 </ul></div></p>
1669 </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).
1670 This may be one of:<div class="mdetail-params"><ul>
1671 <li>A Number specifying the new height in the <a href="Ext.Editor.html#getEl" rel="Ext.Editor#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>
1672 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
1673 <li><code>undefined</code> to leave the height unchanged.</li>
1674 </ul></div></p>
1675 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1676 </li></ul></div></div></div><div id="method-setUI" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-setUI" class="cls expand">setUI</a>(
1677 <span class="pre">String ui</span>)
1678  : 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
1679 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
1680 loop through any uiCls set on the component and rename them so they include the new UI</p>
1681 <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>
1682 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1683 </li></ul></div></div></div><div id="method-setValue" class="member ni"><a href="Ext.Editor.html#method-setValue" rel="method-setValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-method-setValue" class="viewSource">view source</a></div><a name="setValue"></a><a name="method-setValue"></a><a href="Ext.Editor.html#" rel="method-setValue" class="cls expand">setValue</a>(
1684 <span class="pre">Mixed value</span>)
1685  : void</div><div class="description"><div class="short"><p>Sets the data value of the editor</p>
1686 </div><div class="long"><p>Sets the data value of the editor</p>
1687 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>Any valid value supported by the underlying field</p>
1688 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1689 </li></ul></div></div></div><div id="method-setVisible" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-setVisible" class="cls expand">setVisible</a>(
1690 <span class="pre">Boolean visible</span>)
1691  : Ext.Component</div><div class="description"><div class="short"><p>Convenience function to hide or show this component by boolean.</p>
1692 </div><div class="long"><p>Convenience function to hide or show this component by boolean.</p>
1693 <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>
1694 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1695 </li></ul></div></div></div><div id="method-setWidth" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-setWidth" class="cls expand">setWidth</a>(
1696 <span class="pre">Number width</span>)
1697  : Ext.Component</div><div class="description"><div class="short"><p>Sets the width of the component.  This method fires the <a href="Ext.Editor.html#resize" rel="Ext.Editor#resize" class="docClass">resize</a> event.</p>
1698 </div><div class="long"><p>Sets the width of the component.  This method fires the <a href="Ext.Editor.html#resize" rel="Ext.Editor#resize" class="docClass">resize</a> event.</p>
1699 <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>
1700 <li>A Number specifying the new width in the <a href="Ext.Editor.html#getEl" rel="Ext.Editor#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>
1701 <li>A String used to set the CSS width style.</li>
1702 </ul></div></p>
1703 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1704 </li></ul></div></div></div><div id="method-show" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-show" class="cls expand">show</a>(
1705 <span class="pre">String/Element animateTarget, [Function callback], [Object scope]</span>)
1706  : Component</div><div class="description"><div class="short">Shows this Component, rendering it first if autoRender or {&quot;floating are true.
1707
1708
1709 After being shown, a floating C...</div><div class="long"><p>Shows this Component, rendering it first if <a href="Ext.Editor.html#autoRender" rel="Ext.Editor#autoRender" class="docClass">autoRender</a> or {<a href="Ext.Editor.html"floating" rel=""floating" class="docClass">&quot;floating</a> are <code>true</code>.</p>
1710
1711
1712 <p>After being shown, a <a href="Ext.Editor.html#floating" rel="Ext.Editor#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
1713 its <a href="Ext.Editor.html#ZIndexManager" rel="Ext.Editor#ZIndexManager" class="docClass">z-index stack</a>.</p>
1714
1715 <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.Editor.html#floating" rel="Ext.Editor#floating" class="docClass">floating</a> Components such as
1716 <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
1717 with <code>floating: true</code>.</b> The target from which the Component should
1718 animate from while opening (defaults to null with no animation)</p>
1719 </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>
1720 </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>
1721 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1722 </li></ul></div></div></div><div id="method-startEdit" class="member ni"><a href="Ext.Editor.html#method-startEdit" rel="method-startEdit" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-method-startEdit" class="viewSource">view source</a></div><a name="startEdit"></a><a name="method-startEdit"></a><a href="Ext.Editor.html#" rel="method-startEdit" class="cls expand">startEdit</a>(
1723 <span class="pre">Mixed el, [String value]</span>)
1724  : void</div><div class="description"><div class="short"><p>Starts the editing process and shows the editor.</p>
1725 </div><div class="long"><p>Starts the editing process and shows the editor.</p>
1726 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed<div class="sub-desc"><p>The element to edit</p>
1727 </div></li><li><span class="pre">value</span> : String<div class="sub-desc"><p>(optional) A value to initialize the editor with. If a value is not provided, it defaults
1728 to the innerHTML of el.</p>
1729 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1730 </li></ul></div></div></div><div id="method-stopAnimation" class="member inherited"><a href="Ext.Editor.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.Editor.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
1731 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.Editor.html#stopAnimation" rel="Ext.Editor#stopAnimation" class="docClass">stopAnimation</a>
1732 Stops any running effects and clears this object's internal effects queue if it contains
1733 any additional effects that haven't started yet.</p>
1734 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
1735 </li></ul></div></div></div><div id="method-suspendEvents" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-suspendEvents" class="cls expand">suspendEvents</a>(
1736 <span class="pre">Boolean queueSuspended</span>)
1737  : void</div><div class="description"><div class="short"><p>Suspend the firing of all events. (see <a href="Ext.Editor.html#resumeEvents" rel="Ext.Editor#resumeEvents" class="docClass">resumeEvents</a>)</p>
1738 </div><div class="long"><p>Suspend the firing of all events. (see <a href="Ext.Editor.html#resumeEvents" rel="Ext.Editor#resumeEvents" class="docClass">resumeEvents</a>)</p>
1739 <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
1740 after the <a href="Ext.Editor.html#resumeEvents" rel="Ext.Editor#resumeEvents" class="docClass">resumeEvents</a> call instead of discarding all suspended events;</p>
1741 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1742 </li></ul></div></div></div><div id="method-syncFx" class="member inherited"><a href="Ext.Editor.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.Editor.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
1743 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
1744 run concurrently.  This is the opposite of <a href="Ext.Editor.html#sequenceFx" rel="Ext.Editor#sequenceFx" class="docClass">sequenceFx</a>.</p>
1745 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
1746 </li></ul></div></div></div><div id="method-toBack" class="member inherited"><a href="Ext.Editor.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.Editor.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>
1747 </div><div class="long"><p>Sends this Component to the back of (lower z-index than) any other visible windows</p>
1748 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1749 </li></ul></div></div></div><div id="method-toFront" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-toFront" class="cls expand">toFront</a>(
1750 <span class="pre">[Boolean preventFocus]</span>)
1751  : 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>
1752
1753
1754 <p>If this Component is modal, inserts the modal mask just below this Component in the z-index stack.</p>
1755
1756 <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>
1757 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1758 </li></ul></div></div></div><div id="method-un" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-un" class="cls expand">un</a>(
1759 <span class="pre">String eventName, Function handler, [Object scope]</span>)
1760  : void</div><div class="description"><div class="short"><p>Removes an event handler (shorthand for <a href="Ext.Editor.html#removeListener" rel="Ext.Editor#removeListener" class="docClass">removeListener</a>.)</p>
1761 </div><div class="long"><p>Removes an event handler (shorthand for <a href="Ext.Editor.html#removeListener" rel="Ext.Editor#removeListener" class="docClass">removeListener</a>.)</p>
1762 <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>
1763 </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.Editor.html#addListener" rel="Ext.Editor#addListener" class="docClass">addListener</a> call.</b></p>
1764 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
1765 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1766 </li></ul></div></div></div><div id="method-up" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-up" class="cls expand">up</a>(
1767 <span class="pre">String selector</span>)
1768  : Container</div><div class="description"><div class="short">Walks up the ownerCt axis looking for an ancestor Container which matches
1769 the passed simple selector.
1770
1771
1772 Example:
1773 var ...</div><div class="long"><p>Walks up the <code>ownerCt</code> axis looking for an ancestor Container which matches
1774 the passed simple selector.</p>
1775
1776
1777 <p>Example:
1778 <pre><code>var owningTabPanel = grid.up('tabpanel');
1779 </code></pre>
1780
1781 <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>
1782 </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>
1783 </li></ul></div></div></div><div id="method-update" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-update" class="cls expand">update</a>(
1784 <span class="pre">Mixed htmlOrData, [Boolean loadScripts], [Function callback]</span>)
1785  : void</div><div class="description"><div class="short"><p>Update the content area of a component.</p>
1786 </div><div class="long"><p>Update the content area of a component.</p>
1787 <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
1788 then it will use this argument as data to populate the template.
1789 If this component was not configured with a template, the components
1790 content area will be updated via <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> update</p>
1791 </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>
1792 </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>
1793 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1794 </li></ul></div></div></div><div id="method-updateBox" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="method-updateBox" class="cls expand">updateBox</a>(
1795 <span class="pre">Object box</span>)
1796  : Ext.Component</div><div class="description"><div class="short"><p>Sets the current box measurements of the component's underlying element.</p>
1797 </div><div class="long"><p>Sets the current box measurements of the component's underlying element.</p>
1798 <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>
1799 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1800 </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.Editor.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.Editor.html#" rel="event-activate" class="cls expand">activate</a>(
1801 <span class="pre">Ext.Component this</span>)
1802 </div><div class="description"><div class="short"><p>Fires after a Component has been visually activated.</p>
1803 </div><div class="long"><p>Fires after a Component has been visually activated.</p>
1804 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1805 </div></li></ul></div></div></div><div id="event-added" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-added" class="cls expand">added</a>(
1806 <span class="pre">Ext.Component this, Ext.container.Container container, Number pos</span>)
1807 </div><div class="description"><div class="short"><p>Fires after a Component had been added to a Container.</p>
1808 </div><div class="long"><p>Fires after a Component had been added to a Container.</p>
1809 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1810 </div></li><li><span class="pre">container</span> : Ext.container.Container<div class="sub-desc"><p>Parent Container</p>
1811 </div></li><li><span class="pre">pos</span> : Number<div class="sub-desc"><p>position of Component</p>
1812 </div></li></ul></div></div></div><div id="event-afterrender" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-afterrender" class="cls expand">afterrender</a>(
1813 <span class="pre">Ext.Component this</span>)
1814 </div><div class="description"><div class="short">Fires after the component rendering is finished.
1815
1816
1817 The afterrender event is fired after this Component has been rende...</div><div class="long"><p>Fires after the component rendering is finished.</p>
1818
1819
1820 <p>The afterrender event is fired after this Component has been <a href="Ext.Editor.html#rendered" rel="Ext.Editor#rendered" class="docClass">rendered</a>, been postprocesed
1821 by any afterRender method defined for the Component.</p>
1822
1823 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1824 </div></li></ul></div></div></div><div id="event-beforeactivate" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-beforeactivate" class="cls expand">beforeactivate</a>(
1825 <span class="pre">Ext.Component this</span>)
1826 </div><div class="description"><div class="short">Fires before a Component has been visually activated.
1827 Returning false from an event listener can prevent the activate...</div><div class="long"><p>Fires before a Component has been visually activated.
1828 Returning false from an event listener can prevent the activate
1829 from occurring.</p>
1830 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1831 </div></li></ul></div></div></div><div id="event-beforecomplete" class="member ni"><a href="Ext.Editor.html#event-beforecomplete" rel="event-beforecomplete" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-event-beforecomplete" class="viewSource">view source</a></div><a name="beforecomplete"></a><a name="event-beforecomplete"></a><a href="Ext.Editor.html#" rel="event-beforecomplete" class="cls expand">beforecomplete</a>(
1832 <span class="pre">Editor this, Mixed value, Mixed startValue</span>)
1833 </div><div class="description"><div class="short">Fires after a change has been made to the field, but before the change is reflected in the underlying
1834 field.  Saving ...</div><div class="long"><p>Fires after a change has been made to the field, but before the change is reflected in the underlying
1835 field.  Saving the change to the field can be canceled by returning false from the handler of this event.
1836 Note that if the value has not changed and ignoreNoChange = true, the editing will still end but this
1837 event will not fire since no edit actually occurred.</p>
1838 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Editor<div class="sub-desc">
1839 </div></li><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The current field value</p>
1840 </div></li><li><span class="pre">startValue</span> : Mixed<div class="sub-desc"><p>The original field value</p>
1841 </div></li></ul></div></div></div><div id="event-beforedeactivate" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-beforedeactivate" class="cls expand">beforedeactivate</a>(
1842 <span class="pre">Ext.Component this</span>)
1843 </div><div class="description"><div class="short">Fires before a Component has been visually deactivated.
1844 Returning false from an event listener can prevent the deacti...</div><div class="long"><p>Fires before a Component has been visually deactivated.
1845 Returning false from an event listener can prevent the deactivate
1846 from occurring.</p>
1847 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1848 </div></li></ul></div></div></div><div id="event-beforedestroy" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-beforedestroy" class="cls expand">beforedestroy</a>(
1849 <span class="pre">Ext.Component this</span>)
1850 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.Editor.html#destroy" rel="Ext.Editor#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.Editor.html#destroy" rel="Ext.Editor#destroy" class="docClass">destroy</a>.</p>
1851 </div><div class="long"><p>Fires before the component is <a href="Ext.Editor.html#destroy" rel="Ext.Editor#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.Editor.html#destroy" rel="Ext.Editor#destroy" class="docClass">destroy</a>.</p>
1852 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1853 </div></li></ul></div></div></div><div id="event-beforehide" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-beforehide" class="cls expand">beforehide</a>(
1854 <span class="pre">Ext.Component this</span>)
1855 </div><div class="description"><div class="short"><p>Fires before the component is hidden when calling the <a href="Ext.Editor.html#hide" rel="Ext.Editor#hide" class="docClass">hide</a> method.
1856 Return false from an event handler to stop the hide.</p>
1857 </div><div class="long"><p>Fires before the component is hidden when calling the <a href="Ext.Editor.html#hide" rel="Ext.Editor#hide" class="docClass">hide</a> method.
1858 Return false from an event handler to stop the hide.</p>
1859 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1860 </div></li></ul></div></div></div><div id="event-beforerender" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-beforerender" class="cls expand">beforerender</a>(
1861 <span class="pre">Ext.Component this</span>)
1862 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.Editor.html#rendered" rel="Ext.Editor#rendered" class="docClass">rendered</a>. Return false from an
1863 event handler to stop the <a href="Ext.Editor.html#render" rel="Ext.Editor#render" class="docClass">render</a>.</p>
1864 </div><div class="long"><p>Fires before the component is <a href="Ext.Editor.html#rendered" rel="Ext.Editor#rendered" class="docClass">rendered</a>. Return false from an
1865 event handler to stop the <a href="Ext.Editor.html#render" rel="Ext.Editor#render" class="docClass">render</a>.</p>
1866 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1867 </div></li></ul></div></div></div><div id="event-beforeshow" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-beforeshow" class="cls expand">beforeshow</a>(
1868 <span class="pre">Ext.Component this</span>)
1869 </div><div class="description"><div class="short"><p>Fires before the component is shown when calling the <a href="Ext.Editor.html#show" rel="Ext.Editor#show" class="docClass">show</a> method.
1870 Return false from an event handler to stop the show.</p>
1871 </div><div class="long"><p>Fires before the component is shown when calling the <a href="Ext.Editor.html#show" rel="Ext.Editor#show" class="docClass">show</a> method.
1872 Return false from an event handler to stop the show.</p>
1873 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1874 </div></li></ul></div></div></div><div id="event-beforestartedit" class="member ni"><a href="Ext.Editor.html#event-beforestartedit" rel="event-beforestartedit" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-event-beforestartedit" class="viewSource">view source</a></div><a name="beforestartedit"></a><a name="event-beforestartedit"></a><a href="Ext.Editor.html#" rel="event-beforestartedit" class="cls expand">beforestartedit</a>(
1875 <span class="pre">Ext.Editor this, Ext.core.Element boundEl, Mixed value</span>)
1876 </div><div class="description"><div class="short">Fires when editing is initiated, but before the value changes.  Editing can be canceled by returning
1877 false from the h...</div><div class="long"><p>Fires when editing is initiated, but before the value changes.  Editing can be canceled by returning
1878 false from the handler of this event.</p>
1879 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Editor<div class="sub-desc">
1880 </div></li><li><span class="pre">boundEl</span> : Ext.core.Element<div class="sub-desc"><p>The underlying element bound to this editor</p>
1881 </div></li><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The field value being set</p>
1882 </div></li></ul></div></div></div><div id="event-beforestaterestore" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-beforestaterestore" class="cls expand">beforestaterestore</a>(
1883 <span class="pre">Ext.state.Stateful this, Object state</span>)
1884 </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>
1885 </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>
1886 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
1887 </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
1888 event is not vetoed, then the state object is passed to <b><tt>applyState</tt></b>. By default,
1889 that simply copies property values into this object. The method maybe overriden to
1890 provide custom state restoration.</p>
1891 </div></li></ul></div></div></div><div id="event-beforestatesave" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-beforestatesave" class="cls expand">beforestatesave</a>(
1892 <span class="pre">Ext.state.Stateful this, Object state</span>)
1893 </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>
1894 </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>
1895 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
1896 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
1897 <b><tt>getState()</tt></b> on the object. This method must be provided by the
1898 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>
1899 has a null implementation.</p>
1900 </div></li></ul></div></div></div><div id="event-canceledit" class="member ni"><a href="Ext.Editor.html#event-canceledit" rel="event-canceledit" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-event-canceledit" class="viewSource">view source</a></div><a name="canceledit"></a><a name="event-canceledit"></a><a href="Ext.Editor.html#" rel="event-canceledit" class="cls expand">canceledit</a>(
1901 <span class="pre">Ext.Editor this, Mixed value, Mixed startValue</span>)
1902 </div><div class="description"><div class="short"><p>Fires after editing has been canceled and the editor's value has been reset.</p>
1903 </div><div class="long"><p>Fires after editing has been canceled and the editor's value has been reset.</p>
1904 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Editor<div class="sub-desc">
1905 </div></li><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The user-entered field value that was discarded</p>
1906 </div></li><li><span class="pre">startValue</span> : Mixed<div class="sub-desc"><p>The original field value that was set back into the editor after cancel</p>
1907 </div></li></ul></div></div></div><div id="event-complete" class="member ni"><a href="Ext.Editor.html#event-complete" rel="event-complete" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-event-complete" class="viewSource">view source</a></div><a name="complete"></a><a name="event-complete"></a><a href="Ext.Editor.html#" rel="event-complete" class="cls expand">complete</a>(
1908 <span class="pre">Ext.Editor this, Mixed value, Mixed startValue</span>)
1909 </div><div class="description"><div class="short"><p>Fires after editing is complete and any changed value has been written to the underlying field.</p>
1910 </div><div class="long"><p>Fires after editing is complete and any changed value has been written to the underlying field.</p>
1911 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Editor<div class="sub-desc">
1912 </div></li><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The current field value</p>
1913 </div></li><li><span class="pre">startValue</span> : Mixed<div class="sub-desc"><p>The original field value</p>
1914 </div></li></ul></div></div></div><div id="event-deactivate" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-deactivate" class="cls expand">deactivate</a>(
1915 <span class="pre">Ext.Component this</span>)
1916 </div><div class="description"><div class="short"><p>Fires after a Component has been visually deactivated.</p>
1917 </div><div class="long"><p>Fires after a Component has been visually deactivated.</p>
1918 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1919 </div></li></ul></div></div></div><div id="event-destroy" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-destroy" class="cls expand">destroy</a>(
1920 <span class="pre">Ext.Component this</span>)
1921 </div><div class="description"><div class="short"><p>Fires after the component is <a href="Ext.Editor.html#destroy" rel="Ext.Editor#destroy" class="docClass">destroy</a>ed.</p>
1922 </div><div class="long"><p>Fires after the component is <a href="Ext.Editor.html#destroy" rel="Ext.Editor#destroy" class="docClass">destroy</a>ed.</p>
1923 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1924 </div></li></ul></div></div></div><div id="event-disable" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-disable" class="cls expand">disable</a>(
1925 <span class="pre">Ext.Component this</span>)
1926 </div><div class="description"><div class="short"><p>Fires after the component is disabled.</p>
1927 </div><div class="long"><p>Fires after the component is disabled.</p>
1928 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1929 </div></li></ul></div></div></div><div id="event-enable" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-enable" class="cls expand">enable</a>(
1930 <span class="pre">Ext.Component this</span>)
1931 </div><div class="description"><div class="short"><p>Fires after the component is enabled.</p>
1932 </div><div class="long"><p>Fires after the component is enabled.</p>
1933 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1934 </div></li></ul></div></div></div><div id="event-hide" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-hide" class="cls expand">hide</a>(
1935 <span class="pre">Ext.Component this</span>)
1936 </div><div class="description"><div class="short"><p>Fires after the component is hidden.
1937 Fires after the component is hidden when calling the <a href="Ext.Editor.html#hide" rel="Ext.Editor#hide" class="docClass">hide</a> method.</p>
1938 </div><div class="long"><p>Fires after the component is hidden.
1939 Fires after the component is hidden when calling the <a href="Ext.Editor.html#hide" rel="Ext.Editor#hide" class="docClass">hide</a> method.</p>
1940 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1941 </div></li></ul></div></div></div><div id="event-move" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-move" class="cls expand">move</a>(
1942 <span class="pre">Ext.Component this, Number x, Number y</span>)
1943 </div><div class="description"><div class="short"><p>Fires after the component is moved.</p>
1944 </div><div class="long"><p>Fires after the component is moved.</p>
1945 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1946 </div></li><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
1947 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
1948 </div></li></ul></div></div></div><div id="event-removed" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-removed" class="cls expand">removed</a>(
1949 <span class="pre">Ext.Component this, Ext.container.Container ownerCt</span>)
1950 </div><div class="description"><div class="short"><p>Fires when a component is removed from an Ext.container.Container</p>
1951 </div><div class="long"><p>Fires when a component is removed from an Ext.container.Container</p>
1952 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1953 </div></li><li><span class="pre">ownerCt</span> : Ext.container.Container<div class="sub-desc"><p>Container which holds the component</p>
1954 </div></li></ul></div></div></div><div id="event-render" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-render" class="cls expand">render</a>(
1955 <span class="pre">Ext.Component this</span>)
1956 </div><div class="description"><div class="short"><p>Fires after the component markup is <a href="Ext.Editor.html#rendered" rel="Ext.Editor#rendered" class="docClass">rendered</a>.</p>
1957 </div><div class="long"><p>Fires after the component markup is <a href="Ext.Editor.html#rendered" rel="Ext.Editor#rendered" class="docClass">rendered</a>.</p>
1958 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1959 </div></li></ul></div></div></div><div id="event-resize" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-resize" class="cls expand">resize</a>(
1960 <span class="pre">Ext.Component this, Number adjWidth, Number adjHeight</span>)
1961 </div><div class="description"><div class="short"><p>Fires after the component is resized.</p>
1962 </div><div class="long"><p>Fires after the component is resized.</p>
1963 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1964 </div></li><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
1965 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1966 </div></li></ul></div></div></div><div id="event-show" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-show" class="cls expand">show</a>(
1967 <span class="pre">Ext.Component this</span>)
1968 </div><div class="description"><div class="short"><p>Fires after the component is shown when calling the <a href="Ext.Editor.html#show" rel="Ext.Editor#show" class="docClass">show</a> method.</p>
1969 </div><div class="long"><p>Fires after the component is shown when calling the <a href="Ext.Editor.html#show" rel="Ext.Editor#show" class="docClass">show</a> method.</p>
1970 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
1971 </div></li></ul></div></div></div><div id="event-specialkey" class="member ni"><a href="Ext.Editor.html#event-specialkey" rel="event-specialkey" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-event-specialkey" class="viewSource">view source</a></div><a name="specialkey"></a><a name="event-specialkey"></a><a href="Ext.Editor.html#" rel="event-specialkey" class="cls expand">specialkey</a>(
1972 <span class="pre">Ext.Editor this, Ext.form.field.Field The, Ext.EventObject event</span>)
1973 </div><div class="description"><div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.  You can check
1974 Ext.EventObject.g...</div><div class="long"><p>Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.  You can check
1975 <a href="Ext.EventObject.html#getKey" rel="Ext.EventObject#getKey" class="docClass">Ext.EventObject.getKey</a> to determine which key was pressed.</p>
1976 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Editor<div class="sub-desc">
1977 </div></li><li><span class="pre">The</span> : Ext.form.field.Field<div class="sub-desc"><p>field attached to this editor</p>
1978 </div></li><li><span class="pre">event</span> : Ext.EventObject<div class="sub-desc"><p>The event object</p>
1979 </div></li></ul></div></div></div><div id="event-startedit" class="member ni"><a href="Ext.Editor.html#event-startedit" rel="event-startedit" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Editor.html" class="definedIn docClass">Ext.Editor</a><br/><a href="../source/Editor.html#Ext-Editor-event-startedit" class="viewSource">view source</a></div><a name="startedit"></a><a name="event-startedit"></a><a href="Ext.Editor.html#" rel="event-startedit" class="cls expand">startedit</a>(
1980 <span class="pre">Ext.Editor this, Ext.core.Element boundEl, Mixed value</span>)
1981 </div><div class="description"><div class="short"><p>Fires when this editor is displayed</p>
1982 </div><div class="long"><p>Fires when this editor is displayed</p>
1983 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Editor<div class="sub-desc">
1984 </div></li><li><span class="pre">boundEl</span> : Ext.core.Element<div class="sub-desc"><p>The underlying element bound to this editor</p>
1985 </div></li><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The starting field value</p>
1986 </div></li></ul></div></div></div><div id="event-staterestore" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-staterestore" class="cls expand">staterestore</a>(
1987 <span class="pre">Ext.state.Stateful this, Object state</span>)
1988 </div><div class="description"><div class="short"><p>Fires after the state of the object is restored.</p>
1989 </div><div class="long"><p>Fires after the state of the object is restored.</p>
1990 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
1991 </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
1992 to <b><tt>applyState</tt></b>. By default, that simply copies property values into this
1993 object. The method maybe overriden to provide custom state restoration.</p>
1994 </div></li></ul></div></div></div><div id="event-statesave" class="member inherited"><a href="Ext.Editor.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.Editor.html#" rel="event-statesave" class="cls expand">statesave</a>(
1995 <span class="pre">Ext.state.Stateful this, Object state</span>)
1996 </div><div class="description"><div class="short"><p>Fires after the state of the object is saved to the configured state provider.</p>
1997 </div><div class="long"><p>Fires after the state of the object is saved to the configured state provider.</p>
1998 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
1999 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2000 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2001 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>
2002 has a null implementation.</p>
2003 </div></li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>