Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 aperonnet 1
        <div class="body-wrap">
2
        <div class="top-tools">
3
            <a class="inner-link" href="#Ext.Editor-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4
            <a class="inner-link" href="#Ext.Editor-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5
            <a class="inner-link" href="#Ext.Editor-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6
                            <a class="inner-link" href="#Ext.Editor-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7
                        <a class="bookmark" href="../docs/?class=Ext.Editor"><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"/>Editor</pre></div>
13
                <h1>Class Ext.Editor</h1>
14
        <table cellspacing="0">
15
            <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
16
            <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../source/widgets/Editor.js" target="_blank">Editor.js</a></td></tr>
17
            <tr><td class="label">Class:</td><td class="hd-info">Editor</td></tr>
18
                        <tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.tree.TreeEditor" href="output/Ext.tree.TreeEditor.html">TreeEditor</a></td></tr>
19
                                    <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.Component" ext:member="" href="output/Ext.Component.html">Component</a></td></tr>
20
                    </table>
21
        <div class="description">
22
            A base editor field that handles displaying/hiding on demand and has some built-in sizing and event handling logic.        </div>
23
 
24
        <div class="hr"></div>
25
                <a id="Ext.Editor-configs"></a>
26
        <h2>Config Options</h2>
27
        <table cellspacing="0" class="member-table">
28
            <tr>
29
                <th class="sig-header" colspan="2">Config Options</th>
30
                <th class="msource-header">Defined By</th>
31
            </tr>
32
                <tr class="config-row">
33
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
34
        <td class="sig">
35
        <a id="Ext.Editor-alignment"></a>
36
            <b>alignment</b> : String            <div class="mdesc">
37
                            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 "c-c?").                        </div>
38
        </td>
39
        <td class="msource">Editor</td>
40
    </tr>
41
        <tr class="config-row inherited alt">
42
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
43
        <td class="sig">
44
        <a id="Ext.Editor-allowDomMove"></a>
45
            <b>allowDomMove</b> : Boolean            <div class="mdesc">
46
                            Whether the component can move the Dom node when rendering (defaults to true).                        </div>
47
        </td>
48
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>
49
    </tr>
50
        <tr class="config-row inherited expandable">
51
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
52
        <td class="sig">
53
        <a id="Ext.Editor-applyTo"></a>
54
            <b>applyTo</b> : Mixed            <div class="mdesc">
55
                        <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>
56
            <div class="long">
57
                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>
58
                        </div>
59
        </td>
60
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>
61
    </tr>
62
        <tr class="config-row inherited alt expandable">
63
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
64
        <td class="sig">
65
        <a id="Ext.Editor-autoEl"></a>
66
            <b>autoEl</b> : String/Object            <div class="mdesc">
67
                        <div class="short">A tag name or DomHelper spec to create an element with. This is intended to create shorthand utility components inlin...</div>
68
            <div class="long">
69
                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>}
70
{xtype:<em>'box'</em>, autoEl: {tag:<em>'blockquote'</em>, html:<em>'autoEl is cool!'</em>}} // <b>with</b> DomHelper</code></pre>            </div>
71
                        </div>
72
        </td>
73
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoEl" href="output/Ext.Component.html#autoEl">Component</a></td>
74
    </tr>
75
        <tr class="config-row inherited expandable">
76
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
77
        <td class="sig">
78
        <a id="Ext.Editor-autoShow"></a>
79
            <b>autoShow</b> : Boolean            <div class="mdesc">
80
                        <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>
81
            <div class="long">
82
                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>
83
                        </div>
84
        </td>
85
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
86
    </tr>
87
        <tr class="config-row alt expandable">
88
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
89
        <td class="sig">
90
        <a id="Ext.Editor-autosize"></a>
91
            <b>autosize</b> : Boolean/String            <div class="mdesc">
92
                        <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>
93
            <div class="long">
94
                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>
95
                        </div>
96
        </td>
97
        <td class="msource">Editor</td>
98
    </tr>
99
        <tr class="config-row">
100
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
101
        <td class="sig">
102
        <a id="Ext.Editor-cancelOnEsc"></a>
103
            <b>cancelOnEsc</b> : Boolean            <div class="mdesc">
104
                            True to cancel the edit when the escape key is pressed (defaults to false)                        </div>
105
        </td>
106
        <td class="msource">Editor</td>
107
    </tr>
108
        <tr class="config-row inherited alt expandable">
109
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
110
        <td class="sig">
111
        <a id="Ext.Editor-cls"></a>
112
            <b>cls</b> : String            <div class="mdesc">
113
                        <div class="short">An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for a...</div>
114
            <div class="long">
115
                An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for adding customized styles to the component or any of its children using standard CSS rules.            </div>
116
                        </div>
117
        </td>
118
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
119
    </tr>
120
        <tr class="config-row">
121
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
122
        <td class="sig">
123
        <a id="Ext.Editor-completeOnEnter"></a>
124
            <b>completeOnEnter</b> : Boolean            <div class="mdesc">
125
                            True to complete the edit when the enter key is pressed (defaults to false)                        </div>
126
        </td>
127
        <td class="msource">Editor</td>
128
    </tr>
129
        <tr class="config-row alt">
130
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
131
        <td class="sig">
132
        <a id="Ext.Editor-constrain"></a>
133
            <b>constrain</b> : Boolean            <div class="mdesc">
134
                            True to constrain the editor to the viewport                        </div>
135
        </td>
136
        <td class="msource">Editor</td>
137
    </tr>
138
        <tr class="config-row inherited expandable">
139
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
140
        <td class="sig">
141
        <a id="Ext.Editor-ctCls"></a>
142
            <b>ctCls</b> : String            <div class="mdesc">
143
                        <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>
144
            <div class="long">
145
                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>
146
                        </div>
147
        </td>
148
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
149
    </tr>
150
        <tr class="config-row inherited alt">
151
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
152
        <td class="sig">
153
        <a id="Ext.Editor-disabledClass"></a>
154
            <b>disabledClass</b> : String            <div class="mdesc">
155
                            CSS class added to the component when it is disabled (defaults to "x-item-disabled").                        </div>
156
        </td>
157
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
158
    </tr>
159
        <tr class="config-row">
160
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
161
        <td class="sig">
162
        <a id="Ext.Editor-hideEl"></a>
163
            <b>hideEl</b> : Boolean            <div class="mdesc">
164
                            False to keep the bound element visible while the editor is displayed (defaults to true)                        </div>
165
        </td>
166
        <td class="msource">Editor</td>
167
    </tr>
168
        <tr class="config-row inherited alt expandable">
169
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
170
        <td class="sig">
171
        <a id="Ext.Editor-hideMode"></a>
172
            <b>hideMode</b> : String            <div class="mdesc">
173
                        <div class="short">How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset posi...</div>
174
            <div class="long">
175
                How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display".            </div>
176
                        </div>
177
        </td>
178
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>
179
    </tr>
180
        <tr class="config-row inherited expandable">
181
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
182
        <td class="sig">
183
        <a id="Ext.Editor-hideParent"></a>
184
            <b>hideParent</b> : Boolean            <div class="mdesc">
185
                        <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>
186
            <div class="long">
187
                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>
188
                        </div>
189
        </td>
190
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>
191
    </tr>
192
        <tr class="config-row inherited alt">
193
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
194
        <td class="sig">
195
        <a id="Ext.Editor-id"></a>
196
            <b>id</b> : String            <div class="mdesc">
197
                            The unique id of this component (defaults to an auto-assigned id).                        </div>
198
        </td>
199
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>
200
    </tr>
201
        <tr class="config-row expandable">
202
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
203
        <td class="sig">
204
        <a id="Ext.Editor-ignoreNoChange"></a>
205
            <b>ignoreNoChange</b> : Boolean            <div class="mdesc">
206
                        <div class="short">True to skip the the edit completion process (no save, no events fired) if the user completes an edit and the value h...</div>
207
            <div class="long">
208
                True to skip the 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>
209
                        </div>
210
        </td>
211
        <td class="msource">Editor</td>
212
    </tr>
213
        <tr class="config-row inherited alt expandable">
214
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
215
        <td class="sig">
216
        <a id="Ext.Editor-listeners"></a>
217
            <b>listeners</b> : Object            <div class="mdesc">
218
                        <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
219
            <div class="long">
220
                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>
221
                        </div>
222
        </td>
223
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
224
    </tr>
225
        <tr class="config-row inherited expandable">
226
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
227
        <td class="sig">
228
        <a id="Ext.Editor-plugins"></a>
229
            <b>plugins</b> : Object/Array            <div class="mdesc">
230
                        <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>
231
            <div class="long">
232
                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>
233
                        </div>
234
        </td>
235
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
236
    </tr>
237
        <tr class="config-row inherited alt expandable">
238
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
239
        <td class="sig">
240
        <a id="Ext.Editor-renderTo"></a>
241
            <b>renderTo</b> : Mixed            <div class="mdesc">
242
                        <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>
243
            <div class="long">
244
                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>
245
                        </div>
246
        </td>
247
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
248
    </tr>
249
        <tr class="config-row expandable">
250
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
251
        <td class="sig">
252
        <a id="Ext.Editor-revertInvalid"></a>
253
            <b>revertInvalid</b> : Boolean            <div class="mdesc">
254
                        <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>
255
            <div class="long">
256
                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>
257
                        </div>
258
        </td>
259
        <td class="msource">Editor</td>
260
    </tr>
261
        <tr class="config-row alt">
262
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
263
        <td class="sig">
264
        <a id="Ext.Editor-shadow"></a>
265
            <b>shadow</b> : Boolean/String            <div class="mdesc">
266
                            "sides" for sides/bottom only, "frame" for 4-way shadow, and "drop" for bottom-right shadow (defaults to "frame")                        </div>
267
        </td>
268
        <td class="msource">Editor</td>
269
    </tr>
270
        <tr class="config-row inherited expandable">
271
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
272
        <td class="sig">
273
        <a id="Ext.Editor-stateEvents"></a>
274
            <b>stateEvents</b> : Array            <div class="mdesc">
275
                        <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>
276
            <div class="long">
277
                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>
278
                        </div>
279
        </td>
280
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
281
    </tr>
282
        <tr class="config-row inherited alt expandable">
283
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
284
        <td class="sig">
285
        <a id="Ext.Editor-stateId"></a>
286
            <b>stateId</b> : String            <div class="mdesc">
287
                        <div class="short">The unique id for this component to use for state management purposes (defaults to the component id). See stateful fo...</div>
288
            <div class="long">
289
                The unique id for this component to use for state management purposes (defaults to the component 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>
290
                        </div>
291
        </td>
292
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
293
    </tr>
294
        <tr class="config-row inherited expandable">
295
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
296
        <td class="sig">
297
        <a id="Ext.Editor-stateful"></a>
298
            <b>stateful</b> : Boolean            <div class="mdesc">
299
                        <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>
300
            <div class="long">
301
                A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startup.<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="staterestore" href="output/staterestore.html">staterestore</a>, <a ext:cls="beforestatesave" href="output/beforestatesave.html">beforestatesave</a> and <a ext:cls="statesave" href="output/statesave.html">statesave</a> events</p>            </div>
302
                        </div>
303
        </td>
304
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>
305
    </tr>
306
        <tr class="config-row inherited alt expandable">
307
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
308
        <td class="sig">
309
        <a id="Ext.Editor-style"></a>
310
            <b>style</b> : String            <div class="mdesc">
311
                        <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>
312
            <div class="long">
313
                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>
314
                        </div>
315
        </td>
316
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
317
    </tr>
318
        <tr class="config-row">
319
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
320
        <td class="sig">
321
        <a id="Ext.Editor-swallowKeys"></a>
322
            <b>swallowKeys</b> : Boolean            <div class="mdesc">
323
                            Handle the keydown/keypress events so they don't propagate (defaults to true)                        </div>
324
        </td>
325
        <td class="msource">Editor</td>
326
    </tr>
327
        <tr class="config-row alt">
328
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
329
        <td class="sig">
330
        <a id="Ext.Editor-updateEl"></a>
331
            <b>updateEl</b> : Boolean            <div class="mdesc">
332
                            True to update the innerHTML of the bound element when the update completes (defaults to false)                        </div>
333
        </td>
334
        <td class="msource">Editor</td>
335
    </tr>
336
        <tr class="config-row">
337
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
338
        <td class="sig">
339
        <a id="Ext.Editor-value"></a>
340
            <b>value</b> : Mixed            <div class="mdesc">
341
                            The data value of the underlying field (defaults to "")                        </div>
342
        </td>
343
        <td class="msource">Editor</td>
344
    </tr>
345
        <tr class="config-row inherited alt expandable">
346
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
347
        <td class="sig">
348
        <a id="Ext.Editor-xtype"></a>
349
            <b>xtype</b> : String            <div class="mdesc">
350
                        <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
351
            <div class="long">
352
                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>
353
                        </div>
354
        </td>
355
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
356
    </tr>
357
            </table>
358
                <a id="Ext.Editor-props"></a>
359
        <h2>Public Properties</h2>
360
                <table cellspacing="0" class="member-table">
361
            <tr>
362
                <th class="sig-header" colspan="2">Property</th>
363
                <th class="msource-header">Defined By</th>
364
            </tr>
365
                <tr class="property-row inherited">
366
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
367
        <td class="sig">
368
        <a id="Ext.Editor-disabled"></a>
369
            <b>disabled</b> : Boolean            <div class="mdesc">
370
                            True if this component is disabled. Read-only.                        </div>
371
        </td>
372
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
373
    </tr>
374
        <tr class="property-row inherited alt">
375
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
376
        <td class="sig">
377
        <a id="Ext.Editor-hidden"></a>
378
            <b>hidden</b> : Boolean            <div class="mdesc">
379
 
380
True if this component is hidden. Read-only.                        </div>
381
        </td>
382
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
383
    </tr>
384
        <tr class="property-row inherited">
385
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
386
        <td class="sig">
387
        <a id="Ext.Editor-initialConfig"></a>
388
            <b>initialConfig</b> : Object            <div class="mdesc">
389
                            This Component's initial configuration specification. Read-only.                        </div>
390
        </td>
391
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
392
    </tr>
393
        <tr class="property-row inherited alt expandable">
394
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
395
        <td class="sig">
396
        <a id="Ext.Editor-ownerCt"></a>
397
            <b>ownerCt</b> : Ext.Container            <div class="mdesc">
398
                        <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
399
the component is added to a...</div>
400
            <div class="long">
401
                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
402
the component is added to a container).  Read-only.            </div>
403
                        </div>
404
        </td>
405
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
406
    </tr>
407
        <tr class="property-row inherited">
408
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
409
        <td class="sig">
410
        <a id="Ext.Editor-rendered"></a>
411
            <b>rendered</b> : Boolean            <div class="mdesc">
412
                            True if this component has been rendered. Read-only.                        </div>
413
        </td>
414
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
415
    </tr>
416
            </table>
417
                <a id="Ext.Editor-methods"></a>
418
        <h2>Public Methods</h2>
419
                <table cellspacing="0" class="member-table">
420
            <tr>
421
                <th class="sig-header" colspan="2">Method</th>
422
                <th class="msource-header">Defined By</th>
423
            </tr>
424
                <tr class="method-row expandable">
425
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
426
        <td class="sig">
427
        <a id="Ext.Editor-Editor"></a>
428
            <b>Editor</b>(&nbsp;<code>Ext.form.Field field</code>, <code>Object config</code>&nbsp;)            <div class="mdesc">
429
                        <div class="short">Create a new Editor</div>
430
            <div class="long">
431
                Create a new Editor    <div class="mdetail-params">
432
        <strong>Parameters:</strong>
433
        <ul><li><code>field</code> : Ext.form.Field<div class="sub-desc">The Field object (or descendant)</div></li><li><code>config</code> : Object<div class="sub-desc">The config object</div></li>        </ul>
434
        <strong>Returns:</strong>
435
        <ul>
436
            <li><code></code></li>
437
        </ul>
438
    </div>
439
                </div>
440
                        </div>
441
        </td>
442
        <td class="msource">Editor</td>
443
    </tr>
444
        <tr class="method-row inherited alt expandable">
445
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
446
        <td class="sig">
447
        <a id="Ext.Editor-addClass"></a>
448
            <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">
449
                        <div class="short">Adds a CSS class to the component's underlying element.</div>
450
            <div class="long">
451
                Adds a CSS class to the component's underlying element.    <div class="mdetail-params">
452
        <strong>Parameters:</strong>
453
        <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li>        </ul>
454
        <strong>Returns:</strong>
455
        <ul>
456
            <li><code>void</code></li>
457
        </ul>
458
    </div>
459
                </div>
460
                        </div>
461
        </td>
462
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
463
    </tr>
464
        <tr class="method-row inherited expandable">
465
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
466
        <td class="sig">
467
        <a id="Ext.Editor-addEvents"></a>
468
            <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">
469
                        <div class="short">Used to define events on this Observable</div>
470
            <div class="long">
471
                Used to define events on this Observable    <div class="mdetail-params">
472
        <strong>Parameters:</strong>
473
        <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>
474
        <strong>Returns:</strong>
475
        <ul>
476
            <li><code>void</code></li>
477
        </ul>
478
    </div>
479
                </div>
480
                        </div>
481
        </td>
482
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
483
    </tr>
484
        <tr class="method-row inherited alt expandable">
485
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
486
        <td class="sig">
487
        <a id="Ext.Editor-addListener"></a>
488
            <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">
489
                        <div class="short">Appends an event handler to this component</div>
490
            <div class="long">
491
                Appends an event handler to this component    <div class="mdetail-params">
492
        <strong>Parameters:</strong>
493
        <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
494
function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
495
properties. This may contain any of the following properties:<ul>
496
<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>
497
<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>
498
<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>
499
<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
500
by the specified number of milliseconds. If the event fires again within that time, the original
501
handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
502
</ul><br>
503
<p>
504
<b>Combining Options</b><br>
505
Using the options argument, it is possible to combine different types of listeners:<br>
506
<br>
507
A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
508
<pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
509
    single: true,
510
    delay: 100,
511
    forumId: 4
512
});</code></pre>
513
<p>
514
<b>Attaching multiple handlers in 1 call</b><br>
515
The method also allows for a single argument to be passed which is a config object containing properties
516
which specify multiple handlers.
517
<p>
518
<pre><code>foo.on({
519
    <em>'click'</em> : {
520
        fn: <b>this</b>.onClick,
521
        scope: <b>this</b>,
522
        delay: 100
523
    },
524
    <em>'mouseover'</em> : {
525
        fn: <b>this</b>.onMouseOver,
526
        scope: <b>this</b>
527
    },
528
    <em>'mouseout'</em> : {
529
        fn: <b>this</b>.onMouseOut,
530
        scope: <b>this</b>
531
    }
532
});</code></pre>
533
<p>
534
Or a shorthand syntax:<br>
535
<pre><code>foo.on({
536
    <em>'click'</em> : <b>this</b>.onClick,
537
    <em>'mouseover'</em> : <b>this</b>.onMouseOver,
538
    <em>'mouseout'</em> : <b>this</b>.onMouseOut,
539
     scope: <b>this</b>
540
});</code></pre></div></li>        </ul>
541
        <strong>Returns:</strong>
542
        <ul>
543
            <li><code>void</code></li>
544
        </ul>
545
    </div>
546
                </div>
547
                        </div>
548
        </td>
549
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
550
    </tr>
551
        <tr class="method-row inherited expandable">
552
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
553
        <td class="sig">
554
        <a id="Ext.Editor-applyToMarkup"></a>
555
            <b>applyToMarkup</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void            <div class="mdesc">
556
                        <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>
557
            <div class="long">
558
                Apply this component to existing markup that is valid. With this function, no call to render() is required.    <div class="mdetail-params">
559
        <strong>Parameters:</strong>
560
        <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></li>        </ul>
561
        <strong>Returns:</strong>
562
        <ul>
563
            <li><code>void</code></li>
564
        </ul>
565
    </div>
566
                </div>
567
                        </div>
568
        </td>
569
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
570
    </tr>
571
        <tr class="method-row alt expandable">
572
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
573
        <td class="sig">
574
        <a id="Ext.Editor-cancelEdit"></a>
575
            <b>cancelEdit</b>(&nbsp;<code>Boolean remainVisible</code>&nbsp;) : void            <div class="mdesc">
576
                        <div class="short">Cancels the editing process and hides the editor without persisting any changes.  The field value will be
577
reverted to...</div>
578
            <div class="long">
579
                Cancels the editing process and hides the editor without persisting any changes.  The field value will be
580
reverted to the original starting value.    <div class="mdetail-params">
581
        <strong>Parameters:</strong>
582
        <ul><li><code>remainVisible</code> : Boolean<div class="sub-desc">Override the default behavior and keep the editor visible after
583
cancel (defaults to false)</div></li>        </ul>
584
        <strong>Returns:</strong>
585
        <ul>
586
            <li><code>void</code></li>
587
        </ul>
588
    </div>
589
                </div>
590
                        </div>
591
        </td>
592
        <td class="msource">Editor</td>
593
    </tr>
594
        <tr class="method-row inherited expandable">
595
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
596
        <td class="sig">
597
        <a id="Ext.Editor-cloneConfig"></a>
598
            <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component            <div class="mdesc">
599
                        <div class="short">Clone the current component using the original config values passed into this instance by default.</div>
600
            <div class="long">
601
                Clone the current component using the original config values passed into this instance by default.    <div class="mdetail-params">
602
        <strong>Parameters:</strong>
603
        <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
604
An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li>        </ul>
605
        <strong>Returns:</strong>
606
        <ul>
607
            <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
608
        </ul>
609
    </div>
610
                </div>
611
                        </div>
612
        </td>
613
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
614
    </tr>
615
        <tr class="method-row alt expandable">
616
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
617
        <td class="sig">
618
        <a id="Ext.Editor-completeEdit"></a>
619
            <b>completeEdit</b>(&nbsp;<code>Boolean remainVisible</code>&nbsp;) : void            <div class="mdesc">
620
                        <div class="short">Ends the editing process, persists the changed value to the underlying field, and hides the editor.</div>
621
            <div class="long">
622
                Ends the editing process, persists the changed value to the underlying field, and hides the editor.    <div class="mdetail-params">
623
        <strong>Parameters:</strong>
624
        <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>
625
        <strong>Returns:</strong>
626
        <ul>
627
            <li><code>void</code></li>
628
        </ul>
629
    </div>
630
                </div>
631
                        </div>
632
        </td>
633
        <td class="msource">Editor</td>
634
    </tr>
635
        <tr class="method-row inherited expandable">
636
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
637
        <td class="sig">
638
        <a id="Ext.Editor-destroy"></a>
639
            <b>destroy</b>() : void            <div class="mdesc">
640
                        <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
641
removing the c...</div>
642
            <div class="long">
643
                Destroys this component by purging any event listeners, removing the component's element from the DOM,
644
removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
645
<a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>.  Destruction is generally handled automatically by the framework and this method
646
should usually not need to be called directly.    <div class="mdetail-params">
647
        <strong>Parameters:</strong>
648
        <ul><li>None.</li>        </ul>
649
        <strong>Returns:</strong>
650
        <ul>
651
            <li><code>void</code></li>
652
        </ul>
653
    </div>
654
                </div>
655
                        </div>
656
        </td>
657
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
658
    </tr>
659
        <tr class="method-row inherited alt expandable">
660
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
661
        <td class="sig">
662
        <a id="Ext.Editor-disable"></a>
663
            <b>disable</b>() : Ext.Component            <div class="mdesc">
664
                        <div class="short">Disable this component.</div>
665
            <div class="long">
666
                Disable this component.    <div class="mdetail-params">
667
        <strong>Parameters:</strong>
668
        <ul><li>None.</li>        </ul>
669
        <strong>Returns:</strong>
670
        <ul>
671
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
672
        </ul>
673
    </div>
674
                </div>
675
                        </div>
676
        </td>
677
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
678
    </tr>
679
        <tr class="method-row inherited expandable">
680
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
681
        <td class="sig">
682
        <a id="Ext.Editor-enable"></a>
683
            <b>enable</b>() : Ext.Component            <div class="mdesc">
684
                        <div class="short">Enable this component.</div>
685
            <div class="long">
686
                Enable this component.    <div class="mdetail-params">
687
        <strong>Parameters:</strong>
688
        <ul><li>None.</li>        </ul>
689
        <strong>Returns:</strong>
690
        <ul>
691
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
692
        </ul>
693
    </div>
694
                </div>
695
                        </div>
696
        </td>
697
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
698
    </tr>
699
        <tr class="method-row inherited alt expandable">
700
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
701
        <td class="sig">
702
        <a id="Ext.Editor-findParentBy"></a>
703
            <b>findParentBy</b>(&nbsp;<code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Array            <div class="mdesc">
704
                        <div class="short">Find a container above this component at any level by a custom function. If the passed function returns
705
true, the con...</div>
706
            <div class="long">
707
                Find a container above this component at any level by a custom function. If the passed function returns
708
true, the container will be returned. The passed function is called with the arguments (container, this component).    <div class="mdetail-params">
709
        <strong>Parameters:</strong>
710
        <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>
711
        <strong>Returns:</strong>
712
        <ul>
713
            <li><code>Array</code><div class="sub-desc">Array of Ext.Components</div></li>
714
        </ul>
715
    </div>
716
                </div>
717
                        </div>
718
        </td>
719
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>
720
    </tr>
721
        <tr class="method-row inherited expandable">
722
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
723
        <td class="sig">
724
        <a id="Ext.Editor-findParentByType"></a>
725
            <b>findParentByType</b>(&nbsp;<code>String/Class xtype</code>&nbsp;) : Container            <div class="mdesc">
726
                        <div class="short">Find a container above this component at any level by xtype or class</div>
727
            <div class="long">
728
                Find a container above this component at any level by xtype or class    <div class="mdetail-params">
729
        <strong>Parameters:</strong>
730
        <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>
731
        <strong>Returns:</strong>
732
        <ul>
733
            <li><code>Container</code><div class="sub-desc">The found container</div></li>
734
        </ul>
735
    </div>
736
                </div>
737
                        </div>
738
        </td>
739
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>
740
    </tr>
741
        <tr class="method-row inherited alt expandable">
742
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
743
        <td class="sig">
744
        <a id="Ext.Editor-fireEvent"></a>
745
            <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">
746
                        <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
747
            <div class="long">
748
                Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">
749
        <strong>Parameters:</strong>
750
        <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>
751
        <strong>Returns:</strong>
752
        <ul>
753
            <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
754
        </ul>
755
    </div>
756
                </div>
757
                        </div>
758
        </td>
759
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
760
    </tr>
761
        <tr class="method-row inherited expandable">
762
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
763
        <td class="sig">
764
        <a id="Ext.Editor-focus"></a>
765
            <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">
766
                        <div class="short">Try to focus this component.</div>
767
            <div class="long">
768
                Try to focus this component.    <div class="mdetail-params">
769
        <strong>Parameters:</strong>
770
        <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>
771
        <strong>Returns:</strong>
772
        <ul>
773
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
774
        </ul>
775
    </div>
776
                </div>
777
                        </div>
778
        </td>
779
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
780
    </tr>
781
        <tr class="method-row inherited alt expandable">
782
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
783
        <td class="sig">
784
        <a id="Ext.Editor-getEl"></a>
785
            <b>getEl</b>() : Ext.Element            <div class="mdesc">
786
                        <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
787
            <div class="long">
788
                Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">
789
        <strong>Parameters:</strong>
790
        <ul><li>None.</li>        </ul>
791
        <strong>Returns:</strong>
792
        <ul>
793
            <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
794
        </ul>
795
    </div>
796
                </div>
797
                        </div>
798
        </td>
799
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
800
    </tr>
801
        <tr class="method-row inherited expandable">
802
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
803
        <td class="sig">
804
        <a id="Ext.Editor-getId"></a>
805
            <b>getId</b>() : String            <div class="mdesc">
806
                        <div class="short">Returns the id of this component.</div>
807
            <div class="long">
808
                Returns the id of this component.    <div class="mdetail-params">
809
        <strong>Parameters:</strong>
810
        <ul><li>None.</li>        </ul>
811
        <strong>Returns:</strong>
812
        <ul>
813
            <li><code>String</code></li>
814
        </ul>
815
    </div>
816
                </div>
817
                        </div>
818
        </td>
819
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
820
    </tr>
821
        <tr class="method-row inherited alt expandable">
822
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
823
        <td class="sig">
824
        <a id="Ext.Editor-getItemId"></a>
825
            <b>getItemId</b>() : String            <div class="mdesc">
826
                        <div class="short">Returns the item id of this component.</div>
827
            <div class="long">
828
                Returns the item id of this component.    <div class="mdetail-params">
829
        <strong>Parameters:</strong>
830
        <ul><li>None.</li>        </ul>
831
        <strong>Returns:</strong>
832
        <ul>
833
            <li><code>String</code></li>
834
        </ul>
835
    </div>
836
                </div>
837
                        </div>
838
        </td>
839
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
840
    </tr>
841
        <tr class="method-row expandable">
842
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
843
        <td class="sig">
844
        <a id="Ext.Editor-getValue"></a>
845
            <b>getValue</b>() : Mixed            <div class="mdesc">
846
                        <div class="short">Gets the data value of the editor</div>
847
            <div class="long">
848
                Gets the data value of the editor    <div class="mdetail-params">
849
        <strong>Parameters:</strong>
850
        <ul><li>None.</li>        </ul>
851
        <strong>Returns:</strong>
852
        <ul>
853
            <li><code>Mixed</code><div class="sub-desc">The data value</div></li>
854
        </ul>
855
    </div>
856
                </div>
857
                        </div>
858
        </td>
859
        <td class="msource">Editor</td>
860
    </tr>
861
        <tr class="method-row inherited alt expandable">
862
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
863
        <td class="sig">
864
        <a id="Ext.Editor-getXType"></a>
865
            <b>getXType</b>() : String            <div class="mdesc">
866
                        <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
867
available xtypes, see the Ex...</div>
868
            <div class="long">
869
                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
870
available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
871
<pre><code>var t = <b>new</b> Ext.form.TextField();
872
alert(t.getXType());  // alerts <em>'textfield'</em></code></pre>    <div class="mdetail-params">
873
        <strong>Parameters:</strong>
874
        <ul><li>None.</li>        </ul>
875
        <strong>Returns:</strong>
876
        <ul>
877
            <li><code>String</code><div class="sub-desc">The xtype</div></li>
878
        </ul>
879
    </div>
880
                </div>
881
                        </div>
882
        </td>
883
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
884
    </tr>
885
        <tr class="method-row inherited expandable">
886
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
887
        <td class="sig">
888
        <a id="Ext.Editor-getXTypes"></a>
889
            <b>getXTypes</b>() : String            <div class="mdesc">
890
                        <div class="short">Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
891
available xtypes, see the Ext...</div>
892
            <div class="long">
893
                Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
894
available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
895
<pre><code>
896
var t = new Ext.form.TextField();
897
alert(t.getXTypes());  // alerts 'component/box/field/textfield'</pre></code>    <div class="mdetail-params">
898
        <strong>Parameters:</strong>
899
        <ul><li>None.</li>        </ul>
900
        <strong>Returns:</strong>
901
        <ul>
902
            <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
903
        </ul>
904
    </div>
905
                </div>
906
                        </div>
907
        </td>
908
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
909
    </tr>
910
        <tr class="method-row inherited alt expandable">
911
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
912
        <td class="sig">
913
        <a id="Ext.Editor-hasListener"></a>
914
            <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">
915
                        <div class="short">Checks to see if this object has any listeners for a specified event</div>
916
            <div class="long">
917
                Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">
918
        <strong>Parameters:</strong>
919
        <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>
920
        <strong>Returns:</strong>
921
        <ul>
922
            <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
923
        </ul>
924
    </div>
925
                </div>
926
                        </div>
927
        </td>
928
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
929
    </tr>
930
        <tr class="method-row inherited expandable">
931
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
932
        <td class="sig">
933
        <a id="Ext.Editor-hide"></a>
934
            <b>hide</b>() : Ext.Component            <div class="mdesc">
935
                        <div class="short">Hide this component.</div>
936
            <div class="long">
937
                Hide this component.    <div class="mdetail-params">
938
        <strong>Parameters:</strong>
939
        <ul><li>None.</li>        </ul>
940
        <strong>Returns:</strong>
941
        <ul>
942
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
943
        </ul>
944
    </div>
945
                </div>
946
                        </div>
947
        </td>
948
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
949
    </tr>
950
        <tr class="method-row inherited alt expandable">
951
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
952
        <td class="sig">
953
        <a id="Ext.Editor-isVisible"></a>
954
            <b>isVisible</b>() : void            <div class="mdesc">
955
                        <div class="short">Returns true if this component is visible.</div>
956
            <div class="long">
957
                Returns true if this component is visible.    <div class="mdetail-params">
958
        <strong>Parameters:</strong>
959
        <ul><li>None.</li>        </ul>
960
        <strong>Returns:</strong>
961
        <ul>
962
            <li><code>void</code></li>
963
        </ul>
964
    </div>
965
                </div>
966
                        </div>
967
        </td>
968
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
969
    </tr>
970
        <tr class="method-row inherited expandable">
971
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
972
        <td class="sig">
973
        <a id="Ext.Editor-isXType"></a>
974
            <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void            <div class="mdesc">
975
                        <div class="short">Tests whether or not this component is of a specific xtype. This can test whether this component is descended
976
from th...</div>
977
            <div class="long">
978
                Tests whether or not this component is of a specific xtype. This can test whether this component is descended
979
from the xtype (default) or whether it is directly of the xtype specified (shallow = true). For a list of all
980
available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
981
<pre><code>var t = <b>new</b> Ext.form.TextField();
982
<b>var</b> isText = t.isXType(<em>'textfield'</em>);        <i>// true</i>
983
<b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>);       <i>// true, descended from BoxComponent</i>
984
<b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre>    <div class="mdetail-params">
985
        <strong>Parameters:</strong>
986
        <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
987
the default), or true to check whether this component is directly of the specified xtype.</div></li>        </ul>
988
        <strong>Returns:</strong>
989
        <ul>
990
            <li><code>void</code></li>
991
        </ul>
992
    </div>
993
                </div>
994
                        </div>
995
        </td>
996
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
997
    </tr>
998
        <tr class="method-row inherited alt expandable">
999
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1000
        <td class="sig">
1001
        <a id="Ext.Editor-on"></a>
1002
            <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">
1003
                        <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1004
            <div class="long">
1005
                Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">
1006
        <strong>Parameters:</strong>
1007
        <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
1008
function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
1009
        <strong>Returns:</strong>
1010
        <ul>
1011
            <li><code>void</code></li>
1012
        </ul>
1013
    </div>
1014
                </div>
1015
                        </div>
1016
        </td>
1017
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
1018
    </tr>
1019
        <tr class="method-row inherited expandable">
1020
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1021
        <td class="sig">
1022
        <a id="Ext.Editor-purgeListeners"></a>
1023
            <b>purgeListeners</b>() : void            <div class="mdesc">
1024
                        <div class="short">Removes all listeners for this object</div>
1025
            <div class="long">
1026
                Removes all listeners for this object    <div class="mdetail-params">
1027
        <strong>Parameters:</strong>
1028
        <ul><li>None.</li>        </ul>
1029
        <strong>Returns:</strong>
1030
        <ul>
1031
            <li><code>void</code></li>
1032
        </ul>
1033
    </div>
1034
                </div>
1035
                        </div>
1036
        </td>
1037
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
1038
    </tr>
1039
        <tr class="method-row alt expandable">
1040
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1041
        <td class="sig">
1042
        <a id="Ext.Editor-realign"></a>
1043
            <b>realign</b>() : void            <div class="mdesc">
1044
                        <div class="short">Realigns the editor to the bound field based on the current alignment config value.</div>
1045
            <div class="long">
1046
                Realigns the editor to the bound field based on the current alignment config value.    <div class="mdetail-params">
1047
        <strong>Parameters:</strong>
1048
        <ul><li>None.</li>        </ul>
1049
        <strong>Returns:</strong>
1050
        <ul>
1051
            <li><code>void</code></li>
1052
        </ul>
1053
    </div>
1054
                </div>
1055
                        </div>
1056
        </td>
1057
        <td class="msource">Editor</td>
1058
    </tr>
1059
        <tr class="method-row inherited expandable">
1060
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1061
        <td class="sig">
1062
        <a id="Ext.Editor-removeClass"></a>
1063
            <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">
1064
                        <div class="short">Removes a CSS class from the component's underlying element.</div>
1065
            <div class="long">
1066
                Removes a CSS class from the component's underlying element.    <div class="mdetail-params">
1067
        <strong>Parameters:</strong>
1068
        <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li>        </ul>
1069
        <strong>Returns:</strong>
1070
        <ul>
1071
            <li><code>void</code></li>
1072
        </ul>
1073
    </div>
1074
                </div>
1075
                        </div>
1076
        </td>
1077
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
1078
    </tr>
1079
        <tr class="method-row inherited alt expandable">
1080
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1081
        <td class="sig">
1082
        <a id="Ext.Editor-removeListener"></a>
1083
            <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">
1084
                        <div class="short">Removes a listener</div>
1085
            <div class="long">
1086
                Removes a listener    <div class="mdetail-params">
1087
        <strong>Parameters:</strong>
1088
        <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>
1089
        <strong>Returns:</strong>
1090
        <ul>
1091
            <li><code>void</code></li>
1092
        </ul>
1093
    </div>
1094
                </div>
1095
                        </div>
1096
        </td>
1097
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
1098
    </tr>
1099
        <tr class="method-row inherited expandable">
1100
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1101
        <td class="sig">
1102
        <a id="Ext.Editor-render"></a>
1103
            <b>render</b>(&nbsp;<span class="optional" title="Optional">[<code>Mixed container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span>&nbsp;) : void            <div class="mdesc">
1104
                        <div class="short">If this is a lazy rendering component, render it to its container element.</div>
1105
            <div class="long">
1106
                If this is a lazy rendering component, render it to its container element.    <div class="mdetail-params">
1107
        <strong>Parameters:</strong>
1108
        <ul><li><code>container</code> : Mixed<div class="sub-desc">(optional) The element this component should be rendered into. If it is being
1109
applied to existing markup, this should be left off.</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>
1110
which this component will be inserted (defaults to appending to the end of the container)</div></li>        </ul>
1111
        <strong>Returns:</strong>
1112
        <ul>
1113
            <li><code>void</code></li>
1114
        </ul>
1115
    </div>
1116
                </div>
1117
                        </div>
1118
        </td>
1119
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
1120
    </tr>
1121
        <tr class="method-row inherited alt expandable">
1122
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1123
        <td class="sig">
1124
        <a id="Ext.Editor-resumeEvents"></a>
1125
            <b>resumeEvents</b>() : void            <div class="mdesc">
1126
                        <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>
1127
            <div class="long">
1128
                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">
1129
        <strong>Parameters:</strong>
1130
        <ul><li>None.</li>        </ul>
1131
        <strong>Returns:</strong>
1132
        <ul>
1133
            <li><code>void</code></li>
1134
        </ul>
1135
    </div>
1136
                </div>
1137
                        </div>
1138
        </td>
1139
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
1140
    </tr>
1141
        <tr class="method-row inherited expandable">
1142
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1143
        <td class="sig">
1144
        <a id="Ext.Editor-setDisabled"></a>
1145
            <b>setDisabled</b>(&nbsp;<code>Boolean disabled</code>&nbsp;) : void            <div class="mdesc">
1146
                        <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
1147
            <div class="long">
1148
                Convenience function for setting disabled/enabled by boolean.    <div class="mdetail-params">
1149
        <strong>Parameters:</strong>
1150
        <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li>        </ul>
1151
        <strong>Returns:</strong>
1152
        <ul>
1153
            <li><code>void</code></li>
1154
        </ul>
1155
    </div>
1156
                </div>
1157
                        </div>
1158
        </td>
1159
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
1160
    </tr>
1161
        <tr class="method-row alt expandable">
1162
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1163
        <td class="sig">
1164
        <a id="Ext.Editor-setSize"></a>
1165
            <b>setSize</b>(&nbsp;<code>Number width</code>, <code>Number height</code>&nbsp;) : void            <div class="mdesc">
1166
                        <div class="short">Sets the height and width of this editor.</div>
1167
            <div class="long">
1168
                Sets the height and width of this editor.    <div class="mdetail-params">
1169
        <strong>Parameters:</strong>
1170
        <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>
1171
        <strong>Returns:</strong>
1172
        <ul>
1173
            <li><code>void</code></li>
1174
        </ul>
1175
    </div>
1176
                </div>
1177
                        </div>
1178
        </td>
1179
        <td class="msource">Editor</td>
1180
    </tr>
1181
        <tr class="method-row expandable">
1182
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1183
        <td class="sig">
1184
        <a id="Ext.Editor-setValue"></a>
1185
            <b>setValue</b>(&nbsp;<code>Mixed value</code>&nbsp;) : void            <div class="mdesc">
1186
                        <div class="short">Sets the data value of the editor</div>
1187
            <div class="long">
1188
                Sets the data value of the editor    <div class="mdetail-params">
1189
        <strong>Parameters:</strong>
1190
        <ul><li><code>value</code> : Mixed<div class="sub-desc">Any valid value supported by the underlying field</div></li>        </ul>
1191
        <strong>Returns:</strong>
1192
        <ul>
1193
            <li><code>void</code></li>
1194
        </ul>
1195
    </div>
1196
                </div>
1197
                        </div>
1198
        </td>
1199
        <td class="msource">Editor</td>
1200
    </tr>
1201
        <tr class="method-row inherited alt expandable">
1202
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1203
        <td class="sig">
1204
        <a id="Ext.Editor-setVisible"></a>
1205
            <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component            <div class="mdesc">
1206
                        <div class="short">Convenience function to hide or show this component by boolean.</div>
1207
            <div class="long">
1208
                Convenience function to hide or show this component by boolean.    <div class="mdetail-params">
1209
        <strong>Parameters:</strong>
1210
        <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li>        </ul>
1211
        <strong>Returns:</strong>
1212
        <ul>
1213
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1214
        </ul>
1215
    </div>
1216
                </div>
1217
                        </div>
1218
        </td>
1219
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
1220
    </tr>
1221
        <tr class="method-row inherited expandable">
1222
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1223
        <td class="sig">
1224
        <a id="Ext.Editor-show"></a>
1225
            <b>show</b>() : Ext.Component            <div class="mdesc">
1226
                        <div class="short">Show this component.</div>
1227
            <div class="long">
1228
                Show this component.    <div class="mdetail-params">
1229
        <strong>Parameters:</strong>
1230
        <ul><li>None.</li>        </ul>
1231
        <strong>Returns:</strong>
1232
        <ul>
1233
            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1234
        </ul>
1235
    </div>
1236
                </div>
1237
                        </div>
1238
        </td>
1239
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
1240
    </tr>
1241
        <tr class="method-row alt expandable">
1242
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1243
        <td class="sig">
1244
        <a id="Ext.Editor-startEdit"></a>
1245
            <b>startEdit</b>(&nbsp;<code>Mixed el</code>, <span class="optional" title="Optional">[<code>String value</code>]</span>&nbsp;) : void            <div class="mdesc">
1246
                        <div class="short">Starts the editing process and shows the editor.</div>
1247
            <div class="long">
1248
                Starts the editing process and shows the editor.    <div class="mdetail-params">
1249
        <strong>Parameters:</strong>
1250
        <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
1251
to the innerHTML of el.</div></li>        </ul>
1252
        <strong>Returns:</strong>
1253
        <ul>
1254
            <li><code>void</code></li>
1255
        </ul>
1256
    </div>
1257
                </div>
1258
                        </div>
1259
        </td>
1260
        <td class="msource">Editor</td>
1261
    </tr>
1262
        <tr class="method-row inherited expandable">
1263
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1264
        <td class="sig">
1265
        <a id="Ext.Editor-suspendEvents"></a>
1266
            <b>suspendEvents</b>() : void            <div class="mdesc">
1267
                        <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>
1268
            <div class="long">
1269
                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">
1270
        <strong>Parameters:</strong>
1271
        <ul><li>None.</li>        </ul>
1272
        <strong>Returns:</strong>
1273
        <ul>
1274
            <li><code>void</code></li>
1275
        </ul>
1276
    </div>
1277
                </div>
1278
                        </div>
1279
        </td>
1280
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
1281
    </tr>
1282
        <tr class="method-row inherited alt expandable">
1283
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1284
        <td class="sig">
1285
        <a id="Ext.Editor-un"></a>
1286
            <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">
1287
                        <div class="short">Removes a listener (shorthand for removeListener)</div>
1288
            <div class="long">
1289
                Removes a listener (shorthand for removeListener)    <div class="mdetail-params">
1290
        <strong>Parameters:</strong>
1291
        <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>
1292
        <strong>Returns:</strong>
1293
        <ul>
1294
            <li><code>void</code></li>
1295
        </ul>
1296
    </div>
1297
                </div>
1298
                        </div>
1299
        </td>
1300
        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
1301
    </tr>
1302
            </table>
1303
                <a id="Ext.Editor-events"></a>
1304
        <h2>Public Events</h2>
1305
                <table cellspacing="0" class="member-table">
1306
            <tr>
1307
                <th class="sig-header" colspan="2">Event</th>
1308
                <th class="msource-header">Defined By</th>
1309
            </tr>
1310
                <tr class="event-row expandable">
1311
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1312
        <td class="sig">
1313
        <a id="Ext.Editor-beforecomplete"></a>
1314
            <b>beforecomplete</b> : (&nbsp;<code>Editor this</code>, <code>Mixed value</code>, <code>Mixed startValue</code>&nbsp;)            <div class="mdesc">
1315
                        <div class="short">Fires after a change has been made to the field, but before the change is reflected in the underlying
1316
field.  Saving ...</div>
1317
            <div class="long">
1318
                Fires after a change has been made to the field, but before the change is reflected in the underlying
1319
field.  Saving the change to the field can be canceled by returning false from the handler of this event.
1320
Note that if the value has not changed and ignoreNoChange = true, the editing will still end but this
1321
event will not fire since no edit actually occurred.    <div class="mdetail-params">
1322
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1323
        <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>
1324
    </div>
1325
                </div>
1326
                        </div>
1327
        </td>
1328
        <td class="msource">Editor</td>
1329
    </tr>
1330
        <tr class="event-row inherited alt expandable">
1331
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1332
        <td class="sig">
1333
        <a id="Ext.Editor-beforedestroy"></a>
1334
            <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1335
                        <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>
1336
            <div class="long">
1337
                Fires before the component is destroyed. Return false to stop the destroy.    <div class="mdetail-params">
1338
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1339
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1340
    </div>
1341
                </div>
1342
                        </div>
1343
        </td>
1344
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
1345
    </tr>
1346
        <tr class="event-row inherited expandable">
1347
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1348
        <td class="sig">
1349
        <a id="Ext.Editor-beforehide"></a>
1350
            <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1351
                        <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>
1352
            <div class="long">
1353
                Fires before the component is hidden. Return false to stop the hide.    <div class="mdetail-params">
1354
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1355
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1356
    </div>
1357
                </div>
1358
                        </div>
1359
        </td>
1360
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
1361
    </tr>
1362
        <tr class="event-row inherited alt expandable">
1363
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1364
        <td class="sig">
1365
        <a id="Ext.Editor-beforerender"></a>
1366
            <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1367
                        <div class="short">Fires before the component is rendered. Return false to stop the render.</div>
1368
            <div class="long">
1369
                Fires before the component is rendered. Return false to stop the render.    <div class="mdetail-params">
1370
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1371
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1372
    </div>
1373
                </div>
1374
                        </div>
1375
        </td>
1376
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
1377
    </tr>
1378
        <tr class="event-row inherited expandable">
1379
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1380
        <td class="sig">
1381
        <a id="Ext.Editor-beforeshow"></a>
1382
            <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1383
                        <div class="short">Fires before the component is shown. Return false to stop the show.</div>
1384
            <div class="long">
1385
                Fires before the component is shown. Return false to stop the show.    <div class="mdetail-params">
1386
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1387
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1388
    </div>
1389
                </div>
1390
                        </div>
1391
        </td>
1392
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
1393
    </tr>
1394
        <tr class="event-row alt expandable">
1395
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1396
        <td class="sig">
1397
        <a id="Ext.Editor-beforestartedit"></a>
1398
            <b>beforestartedit</b> : (&nbsp;<code>Editor this</code>, <code>Ext.Element boundEl</code>, <code>Mixed value</code>&nbsp;)            <div class="mdesc">
1399
                        <div class="short">Fires when editing is initiated, but before the value changes.  Editing can be canceled by returning
1400
false from the h...</div>
1401
            <div class="long">
1402
                Fires when editing is initiated, but before the value changes.  Editing can be canceled by returning
1403
false from the handler of this event.    <div class="mdetail-params">
1404
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1405
        <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>
1406
    </div>
1407
                </div>
1408
                        </div>
1409
        </td>
1410
        <td class="msource">Editor</td>
1411
    </tr>
1412
        <tr class="event-row inherited expandable">
1413
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1414
        <td class="sig">
1415
        <a id="Ext.Editor-beforestaterestore"></a>
1416
            <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1417
                        <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>
1418
            <div class="long">
1419
                Fires before the state of the component is restored. Return false to stop the restore.    <div class="mdetail-params">
1420
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1421
        <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>
1422
    </div>
1423
                </div>
1424
                        </div>
1425
        </td>
1426
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
1427
    </tr>
1428
        <tr class="event-row inherited alt expandable">
1429
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1430
        <td class="sig">
1431
        <a id="Ext.Editor-beforestatesave"></a>
1432
            <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1433
                        <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>
1434
            <div class="long">
1435
                Fires before the state of the component is saved to the configured state provider. Return false to stop the save.    <div class="mdetail-params">
1436
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1437
        <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>
1438
    </div>
1439
                </div>
1440
                        </div>
1441
        </td>
1442
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
1443
    </tr>
1444
        <tr class="event-row expandable">
1445
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1446
        <td class="sig">
1447
        <a id="Ext.Editor-complete"></a>
1448
            <b>complete</b> : (&nbsp;<code>Editor this</code>, <code>Mixed value</code>, <code>Mixed startValue</code>&nbsp;)            <div class="mdesc">
1449
                        <div class="short">Fires after editing is complete and any changed value has been written to the underlying field.</div>
1450
            <div class="long">
1451
                Fires after editing is complete and any changed value has been written to the underlying field.    <div class="mdetail-params">
1452
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1453
        <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>
1454
    </div>
1455
                </div>
1456
                        </div>
1457
        </td>
1458
        <td class="msource">Editor</td>
1459
    </tr>
1460
        <tr class="event-row inherited alt expandable">
1461
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1462
        <td class="sig">
1463
        <a id="Ext.Editor-destroy"></a>
1464
            <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1465
                        <div class="short">Fires after the component is destroyed.</div>
1466
            <div class="long">
1467
                Fires after the component is destroyed.    <div class="mdetail-params">
1468
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1469
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1470
    </div>
1471
                </div>
1472
                        </div>
1473
        </td>
1474
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
1475
    </tr>
1476
        <tr class="event-row inherited expandable">
1477
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1478
        <td class="sig">
1479
        <a id="Ext.Editor-disable"></a>
1480
            <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1481
                        <div class="short">Fires after the component is disabled.</div>
1482
            <div class="long">
1483
                Fires after the component is disabled.    <div class="mdetail-params">
1484
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1485
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1486
    </div>
1487
                </div>
1488
                        </div>
1489
        </td>
1490
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
1491
    </tr>
1492
        <tr class="event-row inherited alt expandable">
1493
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1494
        <td class="sig">
1495
        <a id="Ext.Editor-enable"></a>
1496
            <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1497
                        <div class="short">Fires after the component is enabled.</div>
1498
            <div class="long">
1499
                Fires after the component is enabled.    <div class="mdetail-params">
1500
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1501
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1502
    </div>
1503
                </div>
1504
                        </div>
1505
        </td>
1506
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
1507
    </tr>
1508
        <tr class="event-row inherited expandable">
1509
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1510
        <td class="sig">
1511
        <a id="Ext.Editor-hide"></a>
1512
            <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1513
                        <div class="short">Fires after the component is hidden.</div>
1514
            <div class="long">
1515
                Fires after the component is hidden.    <div class="mdetail-params">
1516
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1517
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1518
    </div>
1519
                </div>
1520
                        </div>
1521
        </td>
1522
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
1523
    </tr>
1524
        <tr class="event-row inherited alt expandable">
1525
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1526
        <td class="sig">
1527
        <a id="Ext.Editor-render"></a>
1528
            <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1529
                        <div class="short">Fires after the component is rendered.</div>
1530
            <div class="long">
1531
                Fires after the component is rendered.    <div class="mdetail-params">
1532
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1533
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1534
    </div>
1535
                </div>
1536
                        </div>
1537
        </td>
1538
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
1539
    </tr>
1540
        <tr class="event-row inherited expandable">
1541
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1542
        <td class="sig">
1543
        <a id="Ext.Editor-show"></a>
1544
            <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1545
                        <div class="short">Fires after the component is shown.</div>
1546
            <div class="long">
1547
                Fires after the component is shown.    <div class="mdetail-params">
1548
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1549
        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1550
    </div>
1551
                </div>
1552
                        </div>
1553
        </td>
1554
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
1555
    </tr>
1556
        <tr class="event-row alt expandable">
1557
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1558
        <td class="sig">
1559
        <a id="Ext.Editor-specialkey"></a>
1560
            <b>specialkey</b> : (&nbsp;<code>Ext.form.Field this</code>, <code>Ext.EventObject e</code>&nbsp;)            <div class="mdesc">
1561
                        <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.  You can check
1562
Ext.EventObject.g...</div>
1563
            <div class="long">
1564
                Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.  You can check
1565
<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">
1566
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1567
        <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>
1568
    </div>
1569
                </div>
1570
                        </div>
1571
        </td>
1572
        <td class="msource">Editor</td>
1573
    </tr>
1574
        <tr class="event-row expandable">
1575
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1576
        <td class="sig">
1577
        <a id="Ext.Editor-startedit"></a>
1578
            <b>startedit</b> : (&nbsp;<code>Ext.Element boundEl</code>, <code>Mixed value</code>&nbsp;)            <div class="mdesc">
1579
                        <div class="short">Fires when this editor is displayed</div>
1580
            <div class="long">
1581
                Fires when this editor is displayed    <div class="mdetail-params">
1582
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1583
        <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>
1584
    </div>
1585
                </div>
1586
                        </div>
1587
        </td>
1588
        <td class="msource">Editor</td>
1589
    </tr>
1590
        <tr class="event-row inherited alt expandable">
1591
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1592
        <td class="sig">
1593
        <a id="Ext.Editor-staterestore"></a>
1594
            <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1595
                        <div class="short">Fires after the state of the component is restored.</div>
1596
            <div class="long">
1597
                Fires after the state of the component is restored.    <div class="mdetail-params">
1598
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1599
        <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>
1600
    </div>
1601
                </div>
1602
                        </div>
1603
        </td>
1604
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
1605
    </tr>
1606
        <tr class="event-row inherited expandable">
1607
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1608
        <td class="sig">
1609
        <a id="Ext.Editor-statesave"></a>
1610
            <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1611
                        <div class="short">Fires after the state of the component is saved to the configured state provider.</div>
1612
            <div class="long">
1613
                Fires after the state of the component is saved to the configured state provider.    <div class="mdetail-params">
1614
        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1615
        <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>
1616
    </div>
1617
                </div>
1618
                        </div>
1619
        </td>
1620
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
1621
    </tr>
1622
            </table>
1623
 
1624
        </div>