source: trunk/web/addons/job_monarch/lib/extjs/docs/output/Ext.tree.TreeEditor.html @ 619

Last change on this file since 619 was 619, checked in by ramonb, 15 years ago

lib/:

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