commit extjs-2.2.1
[extjs.git] / docs / output / Ext.form.HtmlEditor.html
1         <div class="body-wrap">
2         <div class="top-tools">
3             <a class="inner-link" href="#Ext.form.HtmlEditor-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4             <a class="inner-link" href="#Ext.form.HtmlEditor-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5             <a class="inner-link" href="#Ext.form.HtmlEditor-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6                             <a class="inner-link" href="#Ext.form.HtmlEditor-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7                         <a class="bookmark" href="../docs/?class=Ext.form.HtmlEditor"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
8         </div>
9                 <div class="inheritance res-block">
10 <pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a>
11   <img src="resources/elbow-end.gif"/><a ext:cls="Ext.Component" ext:member="" href="output/Ext.Component.html">Component</a>
12     <img src="resources/elbow-end.gif"/><a ext:cls="Ext.BoxComponent" ext:member="" href="output/Ext.BoxComponent.html">BoxComponent</a>
13       <img src="resources/elbow-end.gif"/><a ext:cls="Ext.form.Field" ext:member="" href="output/Ext.form.Field.html">Field</a>
14         <img src="resources/elbow-end.gif"/>HtmlEditor</pre></div>
15                 <h1>Class Ext.form.HtmlEditor</h1>
16         <table cellspacing="0">
17             <tr><td class="label">Package:</td><td class="hd-info">Ext.form</td></tr>
18             <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/HtmlEditor.js" target="_blank">HtmlEditor.js</a></td></tr>
19             <tr><td class="label">Class:</td><td class="hd-info">HtmlEditor</td></tr>
20                                     <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.form.Field" ext:member="" href="output/Ext.form.Field.html">Field</a></td></tr>
21                     </table>
22         <div class="description">
23             *
24 Provides a lightweight HTML Editor component. Some toolbar features are not supported by Safari and will be 
25 automatically hidden when needed.  These are noted in the config options where appropriate.
26 <br><br>The editor's toolbar buttons have tooltips defined in the <a ext:cls="Ext.form.HtmlEditor" ext:member="buttonTips" href="output/Ext.form.HtmlEditor.html#buttonTips">buttonTips</a> property, but they are not 
27 enabled by default unless the global <a ext:cls="Ext.QuickTips" href="output/Ext.QuickTips.html">Ext.QuickTips</a> singleton is <a ext:cls="Ext.QuickTips" ext:member="init" href="output/Ext.QuickTips.html#init">initialized</a>.
28 <br><br><b>Note: The focus/blur and validation marking functionality inherited from Ext.form.Field is NOT
29 supported by this editor.</b>
30 <br><br>An Editor is a sensitive component that can't be used in all spots standard fields can be used. Putting an Editor within
31 any element that has display set to 'none' can cause problems in Safari and Firefox due to their default iframe reloading bugs.
32 <br><br>Example usage:
33 <pre><code><i>// Simple example rendered <b>with</b> default options:</i>
34 Ext.QuickTips.init();  <i>// enable tooltips</i>
35 <b>new</b> Ext.form.HtmlEditor({
36     renderTo: Ext.getBody(),
37     width: 800,
38     height: 300
39 });
40
41 <i>// Passed via xtype into a container and <b>with</b> custom options:</i>
42 Ext.QuickTips.init();  <i>// enable tooltips</i>
43 <b>new</b> Ext.Panel({
44     title: <em>'HTML Editor'</em>,
45     renderTo: Ext.getBody(),
46     width: 600,
47     height: 300,
48     frame: true,
49     layout: <em>'fit'</em>,
50     items: {
51         xtype: <em>'htmleditor'</em>,
52         enableColors: false,
53         enableAlignments: false
54     }
55 });</code></pre>        </div>
56         
57         <div class="hr"></div>
58                 <a id="Ext.form.HtmlEditor-configs"></a>
59         <h2>Config Options</h2>
60         <table cellspacing="0" class="member-table">
61             <tr>
62                 <th class="sig-header" colspan="2">Config Options</th>
63                 <th class="msource-header">Defined By</th>
64             </tr>
65                 <tr class="config-row inherited expandable">\r
66         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
67         <td class="sig">\r
68         <a id="Ext.form.HtmlEditor-autoEl"></a>\r
69             <b>autoEl</b> : String/Object            <div class="mdesc">\r
70                         <div class="short">A tag name or DomHelper spec to create an element with. This is intended to create shorthand utility components inlin...</div>\r
71             <div class="long">\r
72                 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>}
73 {xtype:<em>'box'</em>, autoEl: {tag:<em>'blockquote'</em>, html:<em>'autoEl is cool!'</em>}} // <b>with</b> DomHelper</code></pre>            </div>\r
74                         </div>\r
75         </td>\r
76         <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoEl" href="output/Ext.Component.html#autoEl">Component</a></td>\r
77     </tr>\r
78         <tr class="config-row inherited alt expandable">\r
79         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
80         <td class="sig">\r
81         <a id="Ext.form.HtmlEditor-autoShow"></a>\r
82             <b>autoShow</b> : Boolean            <div class="mdesc">\r
83                         <div class="short">True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render...</div>\r
84             <div class="long">\r
85                 True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render (defaults to false).            </div>\r
86                         </div>\r
87         </td>\r
88         <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>\r
89     </tr>\r
90         <tr class="config-row inherited expandable">\r
91         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
92         <td class="sig">\r
93         <a id="Ext.form.HtmlEditor-clearCls"></a>\r
94             <b>clearCls</b> : String            <div class="mdesc">\r
95                         <div class="short">The CSS class used to provide field clearing (defaults to 'x-form-clear-left'). This config is only used when this Co...</div>\r
96             <div class="long">\r
97                 The CSS class used to provide field clearing (defaults to 'x-form-clear-left'). <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p>            </div>\r
98                         </div>\r
99         </td>\r
100         <td class="msource"><a ext:cls="Ext.Component" ext:member="#clearCls" href="output/Ext.Component.html#clearCls">Component</a></td>\r
101     </tr>\r
102         <tr class="config-row alt">\r
103         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
104         <td class="sig">\r
105         <a id="Ext.form.HtmlEditor-createLinkText"></a>\r
106             <b>createLinkText</b> : String            <div class="mdesc">\r
107                             The default text for the create link prompt                        </div>\r
108         </td>\r
109         <td class="msource">HtmlEditor</td>\r
110     </tr>\r
111         <tr class="config-row inherited expandable">\r
112         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
113         <td class="sig">\r
114         <a id="Ext.form.HtmlEditor-ctCls"></a>\r
115             <b>ctCls</b> : String            <div class="mdesc">\r
116                         <div class="short">An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for...</div>\r
117             <div class="long">\r
118                 An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules.            </div>\r
119                         </div>\r
120         </td>\r
121         <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>\r
122     </tr>\r
123         <tr class="config-row alt">\r
124         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
125         <td class="sig">\r
126         <a id="Ext.form.HtmlEditor-defaultLinkValue"></a>\r
127             <b>defaultLinkValue</b> : String            <div class="mdesc">\r
128                             The default value for the create link prompt (defaults to http:/ /)                        </div>\r
129         </td>\r
130         <td class="msource">HtmlEditor</td>\r
131     </tr>\r
132         <tr class="config-row">\r
133         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
134         <td class="sig">\r
135         <a id="Ext.form.HtmlEditor-enableAlignments"></a>\r
136             <b>enableAlignments</b> : Boolean            <div class="mdesc">\r
137                             Enable the left, center, right alignment buttons (defaults to true)                        </div>\r
138         </td>\r
139         <td class="msource">HtmlEditor</td>\r
140     </tr>\r
141         <tr class="config-row alt">\r
142         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
143         <td class="sig">\r
144         <a id="Ext.form.HtmlEditor-enableColors"></a>\r
145             <b>enableColors</b> : Boolean            <div class="mdesc">\r
146                             Enable the fore/highlight color buttons (defaults to true)                        </div>\r
147         </td>\r
148         <td class="msource">HtmlEditor</td>\r
149     </tr>\r
150         <tr class="config-row">\r
151         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
152         <td class="sig">\r
153         <a id="Ext.form.HtmlEditor-enableFont"></a>\r
154             <b>enableFont</b> : Boolean            <div class="mdesc">\r
155                             Enable font selection. Not available in Safari. (defaults to true)                        </div>\r
156         </td>\r
157         <td class="msource">HtmlEditor</td>\r
158     </tr>\r
159         <tr class="config-row alt">\r
160         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
161         <td class="sig">\r
162         <a id="Ext.form.HtmlEditor-enableFontSize"></a>\r
163             <b>enableFontSize</b> : Boolean            <div class="mdesc">\r
164                             Enable the increase/decrease font size buttons (defaults to true)                        </div>\r
165         </td>\r
166         <td class="msource">HtmlEditor</td>\r
167     </tr>\r
168         <tr class="config-row">\r
169         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
170         <td class="sig">\r
171         <a id="Ext.form.HtmlEditor-enableFormat"></a>\r
172             <b>enableFormat</b> : Boolean            <div class="mdesc">\r
173                             Enable the bold, italic and underline buttons (defaults to true)                        </div>\r
174         </td>\r
175         <td class="msource">HtmlEditor</td>\r
176     </tr>\r
177         <tr class="config-row alt">\r
178         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
179         <td class="sig">\r
180         <a id="Ext.form.HtmlEditor-enableLinks"></a>\r
181             <b>enableLinks</b> : Boolean            <div class="mdesc">\r
182                             Enable the create link button. Not available in Safari. (defaults to true)                        </div>\r
183         </td>\r
184         <td class="msource">HtmlEditor</td>\r
185     </tr>\r
186         <tr class="config-row">\r
187         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
188         <td class="sig">\r
189         <a id="Ext.form.HtmlEditor-enableLists"></a>\r
190             <b>enableLists</b> : Boolean            <div class="mdesc">\r
191                             Enable the bullet and numbered list buttons. Not available in Safari. (defaults to true)                        </div>\r
192         </td>\r
193         <td class="msource">HtmlEditor</td>\r
194     </tr>\r
195         <tr class="config-row alt">\r
196         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
197         <td class="sig">\r
198         <a id="Ext.form.HtmlEditor-enableSourceEdit"></a>\r
199             <b>enableSourceEdit</b> : Boolean            <div class="mdesc">\r
200                             Enable the switch to source edit button. Not available in Safari. (defaults to true)                        </div>\r
201         </td>\r
202         <td class="msource">HtmlEditor</td>\r
203     </tr>\r
204         <tr class="config-row inherited expandable">\r
205         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
206         <td class="sig">\r
207         <a id="Ext.form.HtmlEditor-fieldLabel"></a>\r
208             <b>fieldLabel</b> : String            <div class="mdesc">\r
209                         <div class="short">The label text to display next to this Component (defaults to '') This config is only used when this Component is ren...</div>\r
210             <div class="long">\r
211                 The label text to display next to this Component (defaults to '') <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
212     height: 100,
213     renderTo: Ext.getBody(),
214     items: [{
215         xtype: <em>'textfield'</em>,
216         fieldLabel: <em>'Name'</em>
217     }]
218 });</code></pre>            </div>\r
219                         </div>\r
220         </td>\r
221         <td class="msource"><a ext:cls="Ext.Component" ext:member="#fieldLabel" href="output/Ext.Component.html#fieldLabel">Component</a></td>\r
222     </tr>\r
223         <tr class="config-row alt">\r
224         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
225         <td class="sig">\r
226         <a id="Ext.form.HtmlEditor-fontFamilies"></a>\r
227             <b>fontFamilies</b> : Array            <div class="mdesc">\r
228                             An array of available font families                        </div>\r
229         </td>\r
230         <td class="msource">HtmlEditor</td>\r
231     </tr>\r
232         <tr class="config-row inherited">\r
233         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
234         <td class="sig">\r
235         <a id="Ext.form.HtmlEditor-height"></a>\r
236             <b>height</b> : Number            <div class="mdesc">\r
237                             The height of this component in pixels (defaults to auto).                        </div>\r
238         </td>\r
239         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#height" href="output/Ext.BoxComponent.html#height">BoxComponent</a></td>\r
240     </tr>\r
241         <tr class="config-row inherited alt">\r
242         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
243         <td class="sig">\r
244         <a id="Ext.form.HtmlEditor-hidden"></a>\r
245             <b>hidden</b> : Boolean            <div class="mdesc">\r
246                             Render this component hidden (default is false).                        </div>\r
247         </td>\r
248         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>\r
249     </tr>\r
250         <tr class="config-row inherited expandable">\r
251         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
252         <td class="sig">\r
253         <a id="Ext.form.HtmlEditor-hideLabel"></a>\r
254             <b>hideLabel</b> : Boolean            <div class="mdesc">\r
255                         <div class="short">True to completely hide the label element (defaults to false). By default, even if you do not specify a fieldLabel th...</div>\r
256             <div class="long">\r
257                 True to completely hide the label element (defaults to false). By default, even if you do not specify a <a ext:cls="fieldLabel" href="output/fieldLabel.html">fieldLabel</a> the space will still be reserved so that the field will line up with other fields that do have labels. Setting this to true will cause the field to not reserve that space. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
258     height: 100,
259     renderTo: Ext.getBody(),
260     items: [{
261         xtype: <em>'textfield'</em>
262         hideLabel: true
263     }]
264 });</code></pre>            </div>\r
265                         </div>\r
266         </td>\r
267         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideLabel" href="output/Ext.Component.html#hideLabel">Component</a></td>\r
268     </tr>\r
269         <tr class="config-row inherited alt expandable">\r
270         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
271         <td class="sig">\r
272         <a id="Ext.form.HtmlEditor-hideMode"></a>\r
273             <b>hideMode</b> : String            <div class="mdesc">\r
274                         <div class="short">How this component should be hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset p...</div>\r
275             <div class="long">\r
276                 <p>How this component should be hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display".</p> <p>For Containers which may be hidden and shown as part of a <a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">card layout</a> Container such as a <a ext:cls="Ext.TabPanel" href="output/Ext.TabPanel.html">TabPanel</a>, it is recommended that hideMode is configured as "offsets". This ensures that hidden Components still have height and width so that layout managers can perform measurements when calculating layouts.</p>            </div>\r
277                         </div>\r
278         </td>\r
279         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>\r
280     </tr>\r
281         <tr class="config-row inherited expandable">\r
282         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
283         <td class="sig">\r
284         <a id="Ext.form.HtmlEditor-hideParent"></a>\r
285             <b>hideParent</b> : Boolean            <div class="mdesc">\r
286                         <div class="short">True to hide and show the component's container when hide/show is called on the component, false to hide and show the...</div>\r
287             <div class="long">\r
288                 True to hide and show the component's container when hide/show is called on the component, false to hide and show the component itself (defaults to false). For example, this can be used as a shortcut for a hide button on a window by setting hide:true on the button when adding it to its parent container.            </div>\r
289                         </div>\r
290         </td>\r
291         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>\r
292     </tr>\r
293         <tr class="config-row inherited alt expandable">\r
294         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
295         <td class="sig">\r
296         <a id="Ext.form.HtmlEditor-id"></a>\r
297             <b>id</b> : String            <div class="mdesc">\r
298                         <div class="short">The unique id of this component (defaults to an auto-assigned id). You should assign an id if you need to be able to ...</div>\r
299             <div class="long">\r
300                 The unique id of this component (defaults to an auto-assigned id). You should assign an id if you need to be able to access the component later and you do not have an object reference available (e.g., using <a ext:cls="Ext.ComponentMgr" ext:member="getCmp" href="output/Ext.ComponentMgr.html#getCmp">Ext.ComponentMgr.getCmp</a>). Note that this id will also be used as the element id for the containing HTML element that is rendered to the page for this component. This allows you to write id-based CSS rules to style the specific instance of this component uniquely, and also to select sub-elements using this component's id as the parent.            </div>\r
301                         </div>\r
302         </td>\r
303         <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>\r
304     </tr>\r
305         <tr class="config-row inherited expandable">\r
306         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
307         <td class="sig">\r
308         <a id="Ext.form.HtmlEditor-itemCls"></a>\r
309             <b>itemCls</b> : String            <div class="mdesc">\r
310                         <div class="short">An additional CSS class to apply to the wrapper's form item element of this field (defaults to the container's itemCl...</div>\r
311             <div class="long">\r
312                 An additional CSS class to apply to the wrapper's form item element of this field (defaults to the container's itemCls value if set, or ''). Since it is applied to the item wrapper, it allows you to write standard CSS rules that can apply to the field, the label (if specified) or any other element within the markup for the field. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code><i>// Apply a style to the field's label:</i>
313 &lt;style>
314     .required .x-form-item-label {font-weight:bold;color:red;}
315 &lt;/style>
316
317 <b>new</b> Ext.FormPanel({
318     height: 100,
319     renderTo: Ext.getBody(),
320     items: [{
321         xtype: <em>'textfield'</em>,
322         fieldLabel: <em>'Name'</em>,
323         itemCls: <em>'required'</em> <i>//<b>this</b> label will be styled</i>
324     },{
325         xtype: <em>'textfield'</em>,
326         fieldLabel: <em>'Favorite Color'</em>
327     }]
328 });</code></pre>            </div>\r
329                         </div>\r
330         </td>\r
331         <td class="msource"><a ext:cls="Ext.Component" ext:member="#itemCls" href="output/Ext.Component.html#itemCls">Component</a></td>\r
332     </tr>\r
333         <tr class="config-row inherited alt expandable">\r
334         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
335         <td class="sig">\r
336         <a id="Ext.form.HtmlEditor-labelSeparator"></a>\r
337             <b>labelSeparator</b> : String            <div class="mdesc">\r
338                         <div class="short">The standard separator to display after the text of each form label (defaults to the value of Ext.layout.FormLayout.l...</div>\r
339             <div class="long">\r
340                 The standard separator to display after the text of each form label (defaults to the value of <a ext:cls="Ext.layout.FormLayout" ext:member="labelSeparator" href="output/Ext.layout.FormLayout.html#labelSeparator">Ext.layout.FormLayout.labelSeparator</a>, which is a colon ':' by default). To display no separator for this field's label specify empty string ''. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
341     height: 100,
342     renderTo: Ext.getBody(),
343     items: [{
344         xtype: <em>'textfield'</em>,
345         fieldLabel: <em>'Name'</em>,
346         labelSeparator: <em>'...'</em>
347     }]
348 });</code></pre>            </div>\r
349                         </div>\r
350         </td>\r
351         <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelSeparator" href="output/Ext.Component.html#labelSeparator">Component</a></td>\r
352     </tr>\r
353         <tr class="config-row inherited expandable">\r
354         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
355         <td class="sig">\r
356         <a id="Ext.form.HtmlEditor-labelStyle"></a>\r
357             <b>labelStyle</b> : String            <div class="mdesc">\r
358                         <div class="short">A CSS style specification to apply directly to this field's label (defaults to the container's labelStyle value if se...</div>\r
359             <div class="long">\r
360                 A CSS style specification to apply directly to this field's label (defaults to the container's labelStyle value if set, or '').<code></code>. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
361     height: 100,
362     renderTo: Ext.getBody(),
363     items: [{
364         xtype: <em>'textfield'</em>,
365         fieldLabel: <em>'Name'</em>,
366         labelStyle: <em>'font-weight:bold;'</em>
367     }]
368 });</code></pre>            </div>\r
369                         </div>\r
370         </td>\r
371         <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelStyle" href="output/Ext.Component.html#labelStyle">Component</a></td>\r
372     </tr>\r
373         <tr class="config-row inherited alt expandable">\r
374         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
375         <td class="sig">\r
376         <a id="Ext.form.HtmlEditor-listeners"></a>\r
377             <b>listeners</b> : Object            <div class="mdesc">\r
378                         <div class="short">(optional) A config object containing one or more event handlers to be added to this object during initialization. Th...</div>\r
379             <div class="long">\r
380                 (optional) A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once.            </div>\r
381                         </div>\r
382         </td>\r
383         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>\r
384     </tr>\r
385         <tr class="config-row inherited">\r
386         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
387         <td class="sig">\r
388         <a id="Ext.form.HtmlEditor-name"></a>\r
389             <b>name</b> : String            <div class="mdesc">\r
390                             The field's HTML name attribute (defaults to "").                        </div>\r
391         </td>\r
392         <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#name" href="output/Ext.form.Field.html#name">Field</a></td>\r
393     </tr>\r
394         <tr class="config-row inherited alt expandable">\r
395         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
396         <td class="sig">\r
397         <a id="Ext.form.HtmlEditor-overCls"></a>\r
398             <b>overCls</b> : String            <div class="mdesc">\r
399                         <div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and...</div>\r
400             <div class="long">\r
401                 An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and removed when the mouse moves out. (defaults to ''). This can be useful for adding customized "active" or "hover" styles to the component or any of its children using standard CSS rules.            </div>\r
402                         </div>\r
403         </td>\r
404         <td class="msource"><a ext:cls="Ext.Component" ext:member="#overCls" href="output/Ext.Component.html#overCls">Component</a></td>\r
405     </tr>\r
406         <tr class="config-row inherited">\r
407         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
408         <td class="sig">\r
409         <a id="Ext.form.HtmlEditor-pageX"></a>\r
410             <b>pageX</b> : Number            <div class="mdesc">\r
411                             The page level x coordinate for this component if contained within a positioning container.                        </div>\r
412         </td>\r
413         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#pageX" href="output/Ext.BoxComponent.html#pageX">BoxComponent</a></td>\r
414     </tr>\r
415         <tr class="config-row inherited alt">\r
416         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
417         <td class="sig">\r
418         <a id="Ext.form.HtmlEditor-pageY"></a>\r
419             <b>pageY</b> : Number            <div class="mdesc">\r
420                             The page level y coordinate for this component if contained within a positioning container.                        </div>\r
421         </td>\r
422         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#pageY" href="output/Ext.BoxComponent.html#pageY">BoxComponent</a></td>\r
423     </tr>\r
424         <tr class="config-row inherited expandable">\r
425         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
426         <td class="sig">\r
427         <a id="Ext.form.HtmlEditor-plugins"></a>\r
428             <b>plugins</b> : Object/Array            <div class="mdesc">\r
429                         <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>\r
430             <div class="long">\r
431                 An object or array of objects that will provide custom functionality for this component. The only requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component is created, if any plugins are available, the component will call the init method on each plugin, passing a reference to itself. Each plugin can then call methods or respond to events on the component as needed to provide its functionality.            </div>\r
432                         </div>\r
433         </td>\r
434         <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>\r
435     </tr>\r
436         <tr class="config-row inherited alt expandable">\r
437         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
438         <td class="sig">\r
439         <a id="Ext.form.HtmlEditor-renderTo"></a>\r
440             <b>renderTo</b> : Mixed            <div class="mdesc">\r
441                         <div class="short">The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using...</div>\r
442             <div class="long">\r
443                 The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using this config, a call to render() is not required.            </div>\r
444                         </div>\r
445         </td>\r
446         <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>\r
447     </tr>\r
448         <tr class="config-row inherited expandable">\r
449         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
450         <td class="sig">\r
451         <a id="Ext.form.HtmlEditor-stateEvents"></a>\r
452             <b>stateEvents</b> : Array            <div class="mdesc">\r
453                         <div class="short">An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be...</div>\r
454             <div class="long">\r
455                 An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p>            </div>\r
456                         </div>\r
457         </td>\r
458         <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>\r
459     </tr>\r
460         <tr class="config-row inherited alt expandable">\r
461         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
462         <td class="sig">\r
463         <a id="Ext.form.HtmlEditor-stateId"></a>\r
464             <b>stateId</b> : String            <div class="mdesc">\r
465                         <div class="short">The unique id for this component to use for state management purposes (defaults to the component id if one was set, o...</div>\r
466             <div class="long">\r
467                 The unique id for this component to use for state management purposes (defaults to the component id if one was set, otherwise null if the component is using a generated id). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p>            </div>\r
468                         </div>\r
469         </td>\r
470         <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>\r
471     </tr>\r
472         <tr class="config-row inherited expandable">\r
473         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
474         <td class="sig">\r
475         <a id="Ext.form.HtmlEditor-stateful"></a>\r
476             <b>stateful</b> : Boolean            <div class="mdesc">\r
477                         <div class="short">A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startu...</div>\r
478             <div class="long">\r
479                 <p>A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startup. The component must have either a <a ext:cls="Ext.Component" ext:member="stateId" href="output/Ext.Component.html#stateId">stateId</a> or <a ext:cls="Ext.Component" ext:member="id" href="output/Ext.Component.html#id">id</a> assigned for state to be managed. Auto-generated ids are not guaranteed to be stable across page loads and cannot be relied upon to save and restore the same state for a component.<p> For state saving to work, the state manager's provider must have been set to an implementation of <a ext:cls="Ext.state.Provider" href="output/Ext.state.Provider.html">Ext.state.Provider</a> which overrides the <a ext:cls="Ext.state.Provider" ext:member="set" href="output/Ext.state.Provider.html#set">set</a> and <a ext:cls="Ext.state.Provider" ext:member="get" href="output/Ext.state.Provider.html#get">get</a> methods to save and recall name/value pairs. A built-in implementation, <a ext:cls="Ext.state.CookieProvider" href="output/Ext.state.CookieProvider.html">Ext.state.CookieProvider</a> is available.</p> <p>To set the state provider for the current page:</p> <pre><code>Ext.state.Manager.setProvider(<b>new</b> Ext.state.CookieProvider());</code></pre> <p>Components attempt to save state when one of the events listed in the <a ext:cls="Ext.Component" ext:member="stateEvents" href="output/Ext.Component.html#stateEvents">stateEvents</a> configuration fires.</p> <p>You can perform extra processing on state save and restore by attaching handlers to the <a ext:cls="Ext.Component" ext:member="beforestaterestore" href="output/Ext.Component.html#beforestaterestore">beforestaterestore</a>, <a ext:cls="Ext.Component" ext:member="staterestore" href="output/Ext.Component.html#staterestore">staterestore</a>, <a ext:cls="Ext.Component" ext:member="beforestatesave" href="output/Ext.Component.html#beforestatesave">beforestatesave</a> and <a ext:cls="Ext.Component" ext:member="statesave" href="output/Ext.Component.html#statesave">statesave</a> events</p>            </div>\r
480                         </div>\r
481         </td>\r
482         <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>\r
483     </tr>\r
484         <tr class="config-row inherited alt">\r
485         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
486         <td class="sig">\r
487         <a id="Ext.form.HtmlEditor-value"></a>\r
488             <b>value</b> : Mixed            <div class="mdesc">\r
489                             A value to initialize this field with (defaults to undefined).                        </div>\r
490         </td>\r
491         <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#value" href="output/Ext.form.Field.html#value">Field</a></td>\r
492     </tr>\r
493         <tr class="config-row inherited">\r
494         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
495         <td class="sig">\r
496         <a id="Ext.form.HtmlEditor-width"></a>\r
497             <b>width</b> : Number            <div class="mdesc">\r
498                             The width of this component in pixels (defaults to auto).                        </div>\r
499         </td>\r
500         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#width" href="output/Ext.BoxComponent.html#width">BoxComponent</a></td>\r
501     </tr>\r
502         <tr class="config-row inherited alt">\r
503         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
504         <td class="sig">\r
505         <a id="Ext.form.HtmlEditor-x"></a>\r
506             <b>x</b> : Number            <div class="mdesc">\r
507                             The local x (left) coordinate for this component if contained within a positioning container.                        </div>\r
508         </td>\r
509         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#x" href="output/Ext.BoxComponent.html#x">BoxComponent</a></td>\r
510     </tr>\r
511         <tr class="config-row inherited expandable">\r
512         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
513         <td class="sig">\r
514         <a id="Ext.form.HtmlEditor-xtype"></a>\r
515             <b>xtype</b> : String            <div class="mdesc">\r
516                         <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>\r
517             <div class="long">\r
518                 The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child item of a Container is being specified not as a fully instantiated Component, but as a <i>Component config object</i>. The xtype will be looked up at render time up to determine what type of child Component to create.<br><br> The predefined xtypes are listed <a ext:cls="Ext.Component" href="output/Ext.Component.html">here</a>. <br><br> If you subclass Components to create your own Components, you may register them using <a ext:cls="Ext.ComponentMgr" ext:member="registerType" href="output/Ext.ComponentMgr.html#registerType">Ext.ComponentMgr.registerType</a> in order to be able to take advantage of lazy instantiation and rendering.            </div>\r
519                         </div>\r
520         </td>\r
521         <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>\r
522     </tr>\r
523         <tr class="config-row inherited alt">\r
524         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
525         <td class="sig">\r
526         <a id="Ext.form.HtmlEditor-y"></a>\r
527             <b>y</b> : Number            <div class="mdesc">\r
528                             The local y (top) coordinate for this component if contained within a positioning container.                        </div>\r
529         </td>\r
530         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#y" href="output/Ext.BoxComponent.html#y">BoxComponent</a></td>\r
531     </tr>\r
532             </table>
533                 <a id="Ext.form.HtmlEditor-props"></a>
534         <h2>Public Properties</h2>
535                 <table cellspacing="0" class="member-table">
536             <tr>
537                 <th class="sig-header" colspan="2">Property</th>
538                 <th class="msource-header">Defined By</th>
539             </tr>
540                 <tr class="property-row expandable">\r
541         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
542         <td class="sig">\r
543         <a id="Ext.form.HtmlEditor-buttonTips"></a>\r
544             <b>buttonTips</b> : Object            <div class="mdesc">\r
545                         <div class="short">Object collection of toolbar tooltips for the buttons in the editor. The key
546 is the command id associated with that b...</div>\r
547             <div class="long">\r
548                 Object collection of toolbar tooltips for the buttons in the editor. The key
549 is the command id associated with that button and the value is a valid QuickTips object.
550 For example:\r
551 <pre><code>{
552     bold : {
553         title: <em>'Bold (Ctrl+B)'</em>,
554         text: <em>'Make the selected text bold.'</em>,
555         cls: <em>'x-html-editor-tip'</em>
556     },
557     italic : {
558         title: <em>'Italic (Ctrl+I)'</em>,
559         text: <em>'Make the selected text italic.'</em>,
560         cls: <em>'x-html-editor-tip'</em>
561     },
562     ...</code></pre>            </div>\r
563                         </div>\r
564         </td>\r
565         <td class="msource">HtmlEditor</td>\r
566     </tr>\r
567         <tr class="property-row inherited alt">\r
568         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
569         <td class="sig">\r
570         <a id="Ext.form.HtmlEditor-hidden"></a>\r
571             <b>hidden</b> : Boolean            <div class="mdesc">\r
572                             
573 True if this component is hidden. Read-only.                        </div>\r
574         </td>\r
575         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>\r
576     </tr>\r
577         <tr class="property-row inherited">\r
578         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
579         <td class="sig">\r
580         <a id="Ext.form.HtmlEditor-initialConfig"></a>\r
581             <b>initialConfig</b> : Object            <div class="mdesc">\r
582                             This Component's initial configuration specification. Read-only.                        </div>\r
583         </td>\r
584         <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>\r
585     </tr>\r
586         <tr class="property-row inherited alt expandable">\r
587         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
588         <td class="sig">\r
589         <a id="Ext.form.HtmlEditor-ownerCt"></a>\r
590             <b>ownerCt</b> : Ext.Container            <div class="mdesc">\r
591                         <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
592 the component is added to a...</div>\r
593             <div class="long">\r
594                 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
595 the component is added to a container).  Read-only.            </div>\r
596                         </div>\r
597         </td>\r
598         <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>\r
599     </tr>\r
600         <tr class="property-row inherited">\r
601         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
602         <td class="sig">\r
603         <a id="Ext.form.HtmlEditor-rendered"></a>\r
604             <b>rendered</b> : Boolean            <div class="mdesc">\r
605                             True if this component has been rendered. Read-only.                        </div>\r
606         </td>\r
607         <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>\r
608     </tr>\r
609             </table>
610                 <a id="Ext.form.HtmlEditor-methods"></a>
611         <h2>Public Methods</h2>
612                 <table cellspacing="0" class="member-table">
613             <tr>
614                 <th class="sig-header" colspan="2">Method</th>
615                 <th class="msource-header">Defined By</th>
616             </tr>
617                 <tr class="method-row expandable">\r
618         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
619         <td class="sig">\r
620         <a id="Ext.form.HtmlEditor-HtmlEditor"></a>\r
621             <b>HtmlEditor</b>(&nbsp;<code>Object config</code>&nbsp;)            <div class="mdesc">\r
622                         <div class="short">Create a new HtmlEditor</div>\r
623             <div class="long">\r
624                 Create a new HtmlEditor    <div class="mdetail-params">\r
625         <strong>Parameters:</strong>\r
626         <ul><li><code>config</code> : Object<div class="sub-desc"></div></li>        </ul>\r
627         <strong>Returns:</strong>\r
628         <ul>\r
629             <li><code></code></li>\r
630         </ul>\r
631     </div>\r
632                 </div>\r
633                         </div>\r
634         </td>\r
635         <td class="msource">HtmlEditor</td>\r
636     </tr>\r
637         <tr class="method-row inherited alt expandable">\r
638         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
639         <td class="sig">\r
640         <a id="Ext.form.HtmlEditor-addClass"></a>\r
641             <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">\r
642                         <div class="short">Adds a CSS class to the component's underlying element.</div>\r
643             <div class="long">\r
644                 Adds a CSS class to the component's underlying element.    <div class="mdetail-params">\r
645         <strong>Parameters:</strong>\r
646         <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li>        </ul>\r
647         <strong>Returns:</strong>\r
648         <ul>\r
649             <li><code>void</code></li>\r
650         </ul>\r
651     </div>\r
652                 </div>\r
653                         </div>\r
654         </td>\r
655         <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>\r
656     </tr>\r
657         <tr class="method-row inherited expandable">\r
658         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
659         <td class="sig">\r
660         <a id="Ext.form.HtmlEditor-addEvents"></a>\r
661             <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">\r
662                         <div class="short">Used to define events on this Observable</div>\r
663             <div class="long">\r
664                 Used to define events on this Observable    <div class="mdetail-params">\r
665         <strong>Parameters:</strong>\r
666         <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>\r
667         <strong>Returns:</strong>\r
668         <ul>\r
669             <li><code>void</code></li>\r
670         </ul>\r
671     </div>\r
672                 </div>\r
673                         </div>\r
674         </td>\r
675         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>\r
676     </tr>\r
677         <tr class="method-row inherited alt expandable">\r
678         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
679         <td class="sig">\r
680         <a id="Ext.form.HtmlEditor-addListener"></a>\r
681             <b>addListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">\r
682                         <div class="short">Appends an event handler to this component</div>\r
683             <div class="long">\r
684                 Appends an event handler to this component    <div class="mdetail-params">\r
685         <strong>Parameters:</strong>\r
686         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
687 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
688 properties. This may contain any of the following properties:<ul>
689 <li><b>scope</b> : Object<p class="sub-desc">The scope in which to execute the handler function. The handler function's "this" context.</p></li>
690 <li><b>delay</b> : Number<p class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>
691 <li><b>single</b> : Boolean<p class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>
692 <li><b>buffer</b> : Number<p class="sub-desc">Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
693 by the specified number of milliseconds. If the event fires again within that time, the original
694 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
695 </ul><br>
696 <p>
697 <b>Combining Options</b><br>
698 Using the options argument, it is possible to combine different types of listeners:<br>
699 <br>
700 A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
701 <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
702     single: true,
703     delay: 100,
704     forumId: 4
705 });</code></pre>
706 <p>
707 <b>Attaching multiple handlers in 1 call</b><br>
708 The method also allows for a single argument to be passed which is a config object containing properties
709 which specify multiple handlers.
710 <p>
711 <pre><code>foo.on({
712     <em>'click'</em> : {
713         fn: <b>this</b>.onClick,
714         scope: <b>this</b>,
715         delay: 100
716     },
717     <em>'mouseover'</em> : {
718         fn: <b>this</b>.onMouseOver,
719         scope: <b>this</b>
720     },
721     <em>'mouseout'</em> : {
722         fn: <b>this</b>.onMouseOut,
723         scope: <b>this</b>
724     }
725 });</code></pre>
726 <p>
727 Or a shorthand syntax:<br>
728 <pre><code>foo.on({
729     <em>'click'</em> : <b>this</b>.onClick,
730     <em>'mouseover'</em> : <b>this</b>.onMouseOver,
731     <em>'mouseout'</em> : <b>this</b>.onMouseOut,
732      scope: <b>this</b>
733 });</code></pre></div></li>        </ul>\r
734         <strong>Returns:</strong>\r
735         <ul>\r
736             <li><code>void</code></li>\r
737         </ul>\r
738     </div>\r
739                 </div>\r
740                         </div>\r
741         </td>\r
742         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>\r
743     </tr>\r
744         <tr class="method-row expandable">\r
745         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
746         <td class="sig">\r
747         <a id="Ext.form.HtmlEditor-cleanHtml"></a>\r
748             <b>cleanHtml</b>(&nbsp;<code>String html</code>&nbsp;) : String            <div class="mdesc">\r
749                         <div class="short">Protected method that will not generally be called directly. If you need/want
750 custom HTML cleanup, this is the method...</div>\r
751             <div class="long">\r
752                 Protected method that will not generally be called directly. If you need/want
753 custom HTML cleanup, this is the method you should override.    <div class="mdetail-params">\r
754         <strong>Parameters:</strong>\r
755         <ul><li><code>html</code> : String<div class="sub-desc">The HTML to be cleaned</div></li>        </ul>\r
756         <strong>Returns:</strong>\r
757         <ul>\r
758             <li><code>String</code><div class="sub-desc">The cleaned HTML</div></li>\r
759         </ul>\r
760     </div>\r
761                 </div>\r
762                         </div>\r
763         </td>\r
764         <td class="msource">HtmlEditor</td>\r
765     </tr>\r
766         <tr class="method-row inherited alt expandable">\r
767         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
768         <td class="sig">\r
769         <a id="Ext.form.HtmlEditor-cloneConfig"></a>\r
770             <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component            <div class="mdesc">\r
771                         <div class="short">Clone the current component using the original config values passed into this instance by default.</div>\r
772             <div class="long">\r
773                 Clone the current component using the original config values passed into this instance by default.    <div class="mdetail-params">\r
774         <strong>Parameters:</strong>\r
775         <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
776 An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li>        </ul>\r
777         <strong>Returns:</strong>\r
778         <ul>\r
779             <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>\r
780         </ul>\r
781     </div>\r
782                 </div>\r
783                         </div>\r
784         </td>\r
785         <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>\r
786     </tr>\r
787         <tr class="method-row inherited expandable">\r
788         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
789         <td class="sig">\r
790         <a id="Ext.form.HtmlEditor-destroy"></a>\r
791             <b>destroy</b>() : void            <div class="mdesc">\r
792                         <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
793 removing the c...</div>\r
794             <div class="long">\r
795                 Destroys this component by purging any event listeners, removing the component's element from the DOM,
796 removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
797 <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>.  Destruction is generally handled automatically by the framework and this method
798 should usually not need to be called directly.    <div class="mdetail-params">\r
799         <strong>Parameters:</strong>\r
800         <ul><li>None.</li>        </ul>\r
801         <strong>Returns:</strong>\r
802         <ul>\r
803             <li><code>void</code></li>\r
804         </ul>\r
805     </div>\r
806                 </div>\r
807                         </div>\r
808         </td>\r
809         <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>\r
810     </tr>\r
811         <tr class="method-row alt expandable">\r
812         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
813         <td class="sig">\r
814         <a id="Ext.form.HtmlEditor-execCmd"></a>\r
815             <b>execCmd</b>(&nbsp;<code>String cmd</code>, <span class="optional" title="Optional">[<code>String/Boolean value</code>]</span>&nbsp;) : void            <div class="mdesc">\r
816                         <div class="short">Executes a Midas editor command directly on the editor document.
817 For visual commands, you should use relayCmd instead...</div>\r
818             <div class="long">\r
819                 Executes a Midas editor command directly on the editor document.
820 For visual commands, you should use <a ext:cls="Ext.form.HtmlEditor" ext:member="relayCmd" href="output/Ext.form.HtmlEditor.html#relayCmd">relayCmd</a> instead.
821 <b>This should only be called after the editor is initialized.</b>    <div class="mdetail-params">\r
822         <strong>Parameters:</strong>\r
823         <ul><li><code>cmd</code> : String<div class="sub-desc">The Midas command</div></li><li><code>value</code> : String/Boolean<div class="sub-desc">(optional) The value to pass to the command (defaults to null)</div></li>        </ul>\r
824         <strong>Returns:</strong>\r
825         <ul>\r
826             <li><code>void</code></li>\r
827         </ul>\r
828     </div>\r
829                 </div>\r
830                         </div>\r
831         </td>\r
832         <td class="msource">HtmlEditor</td>\r
833     </tr>\r
834         <tr class="method-row inherited expandable">\r
835         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
836         <td class="sig">\r
837         <a id="Ext.form.HtmlEditor-findParentBy"></a>\r
838             <b>findParentBy</b>(&nbsp;<code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Ext.Container            <div class="mdesc">\r
839                         <div class="short">Find a container above this component at any level by a custom function. If the passed function returns
840 true, the con...</div>\r
841             <div class="long">\r
842                 Find a container above this component at any level by a custom function. If the passed function returns
843 true, the container will be returned. The passed function is called with the arguments (container, this component).    <div class="mdetail-params">\r
844         <strong>Parameters:</strong>\r
845         <ul><li><code>fcn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>\r
846         <strong>Returns:</strong>\r
847         <ul>\r
848             <li><code>Ext.Container</code><div class="sub-desc">The first Container for which the custom function returns true</div></li>\r
849         </ul>\r
850     </div>\r
851                 </div>\r
852                         </div>\r
853         </td>\r
854         <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>\r
855     </tr>\r
856         <tr class="method-row inherited alt expandable">\r
857         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
858         <td class="sig">\r
859         <a id="Ext.form.HtmlEditor-findParentByType"></a>\r
860             <b>findParentByType</b>(&nbsp;<code>String/Class xtype</code>&nbsp;) : Ext.Container            <div class="mdesc">\r
861                         <div class="short">Find a container above this component at any level by xtype or class</div>\r
862             <div class="long">\r
863                 Find a container above this component at any level by xtype or class    <div class="mdetail-params">\r
864         <strong>Parameters:</strong>\r
865         <ul><li><code>xtype</code> : String/Class<div class="sub-desc">The xtype string for a component, or the class of the component directly</div></li>        </ul>\r
866         <strong>Returns:</strong>\r
867         <ul>\r
868             <li><code>Ext.Container</code><div class="sub-desc">The first Container which matches the given xtype or class</div></li>\r
869         </ul>\r
870     </div>\r
871                 </div>\r
872                         </div>\r
873         </td>\r
874         <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>\r
875     </tr>\r
876         <tr class="method-row inherited expandable">\r
877         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
878         <td class="sig">\r
879         <a id="Ext.form.HtmlEditor-fireEvent"></a>\r
880             <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">\r
881                         <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>\r
882             <div class="long">\r
883                 Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">\r
884         <strong>Parameters:</strong>\r
885         <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li>        </ul>\r
886         <strong>Returns:</strong>\r
887         <ul>\r
888             <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>\r
889         </ul>\r
890     </div>\r
891                 </div>\r
892                         </div>\r
893         </td>\r
894         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>\r
895     </tr>\r
896         <tr class="method-row inherited alt expandable">\r
897         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
898         <td class="sig">\r
899         <a id="Ext.form.HtmlEditor-focus"></a>\r
900             <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">\r
901                         <div class="short">Try to focus this component.</div>\r
902             <div class="long">\r
903                 Try to focus this component.    <div class="mdetail-params">\r
904         <strong>Parameters:</strong>\r
905         <ul><li><code>selectText</code> : Boolean<div class="sub-desc">(optional) If applicable, true to also select the text in this component</div></li><li><code>delay</code> : Boolean/Number<div class="sub-desc">(optional) Delay the focus this number of milliseconds (true for 10 milliseconds)</div></li>        </ul>\r
906         <strong>Returns:</strong>\r
907         <ul>\r
908             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
909         </ul>\r
910     </div>\r
911                 </div>\r
912                         </div>\r
913         </td>\r
914         <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>\r
915     </tr>\r
916         <tr class="method-row inherited expandable">\r
917         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
918         <td class="sig">\r
919         <a id="Ext.form.HtmlEditor-getBox"></a>\r
920             <b>getBox</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Object            <div class="mdesc">\r
921                         <div class="short">Gets the current box measurements of the component's underlying element.</div>\r
922             <div class="long">\r
923                 Gets the current box measurements of the component's underlying element.    <div class="mdetail-params">\r
924         <strong>Parameters:</strong>\r
925         <ul><li><code>local</code> : Boolean<div class="sub-desc">(optional) If true the element's left and top are returned instead of page XY (defaults to false)</div></li>        </ul>\r
926         <strong>Returns:</strong>\r
927         <ul>\r
928             <li><code>Object</code><div class="sub-desc">box An object in the format {x, y, width, height}</div></li>\r
929         </ul>\r
930     </div>\r
931                 </div>\r
932                         </div>\r
933         </td>\r
934         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getBox" href="output/Ext.BoxComponent.html#getBox">BoxComponent</a></td>\r
935     </tr>\r
936         <tr class="method-row alt expandable">\r
937         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
938         <td class="sig">\r
939         <a id="Ext.form.HtmlEditor-getDocMarkup"></a>\r
940             <b>getDocMarkup</b>() : void            <div class="mdesc">\r
941                         <div class="short">Protected method that will not generally be called directly. It
942 is called when the editor initializes the iframe with...</div>\r
943             <div class="long">\r
944                 Protected method that will not generally be called directly. It
945 is called when the editor initializes the iframe with HTML contents. Override this method if you
946 want to change the initialization markup of the iframe (e.g. to add stylesheets).    <div class="mdetail-params">\r
947         <strong>Parameters:</strong>\r
948         <ul><li>None.</li>        </ul>\r
949         <strong>Returns:</strong>\r
950         <ul>\r
951             <li><code>void</code></li>\r
952         </ul>\r
953     </div>\r
954                 </div>\r
955                         </div>\r
956         </td>\r
957         <td class="msource">HtmlEditor</td>\r
958     </tr>\r
959         <tr class="method-row inherited expandable">\r
960         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
961         <td class="sig">\r
962         <a id="Ext.form.HtmlEditor-getEl"></a>\r
963             <b>getEl</b>() : Ext.Element            <div class="mdesc">\r
964                         <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>\r
965             <div class="long">\r
966                 Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">\r
967         <strong>Parameters:</strong>\r
968         <ul><li>None.</li>        </ul>\r
969         <strong>Returns:</strong>\r
970         <ul>\r
971             <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>\r
972         </ul>\r
973     </div>\r
974                 </div>\r
975                         </div>\r
976         </td>\r
977         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>\r
978     </tr>\r
979         <tr class="method-row inherited alt expandable">\r
980         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
981         <td class="sig">\r
982         <a id="Ext.form.HtmlEditor-getId"></a>\r
983             <b>getId</b>() : String            <div class="mdesc">\r
984                         <div class="short">Returns the id of this component.</div>\r
985             <div class="long">\r
986                 Returns the id of this component.    <div class="mdetail-params">\r
987         <strong>Parameters:</strong>\r
988         <ul><li>None.</li>        </ul>\r
989         <strong>Returns:</strong>\r
990         <ul>\r
991             <li><code>String</code></li>\r
992         </ul>\r
993     </div>\r
994                 </div>\r
995                         </div>\r
996         </td>\r
997         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>\r
998     </tr>\r
999         <tr class="method-row inherited expandable">\r
1000         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1001         <td class="sig">\r
1002         <a id="Ext.form.HtmlEditor-getItemId"></a>\r
1003             <b>getItemId</b>() : String            <div class="mdesc">\r
1004                         <div class="short">Returns the item id of this component.</div>\r
1005             <div class="long">\r
1006                 Returns the item id of this component.    <div class="mdetail-params">\r
1007         <strong>Parameters:</strong>\r
1008         <ul><li>None.</li>        </ul>\r
1009         <strong>Returns:</strong>\r
1010         <ul>\r
1011             <li><code>String</code></li>\r
1012         </ul>\r
1013     </div>\r
1014                 </div>\r
1015                         </div>\r
1016         </td>\r
1017         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>\r
1018     </tr>\r
1019         <tr class="method-row inherited alt expandable">\r
1020         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1021         <td class="sig">\r
1022         <a id="Ext.form.HtmlEditor-getName"></a>\r
1023             <b>getName</b>() : String            <div class="mdesc">\r
1024                         <div class="short">Returns the name attribute of the field if available</div>\r
1025             <div class="long">\r
1026                 Returns the name attribute of the field if available    <div class="mdetail-params">\r
1027         <strong>Parameters:</strong>\r
1028         <ul><li>None.</li>        </ul>\r
1029         <strong>Returns:</strong>\r
1030         <ul>\r
1031             <li><code>String</code><div class="sub-desc">name The field name</div></li>\r
1032         </ul>\r
1033     </div>\r
1034                 </div>\r
1035                         </div>\r
1036         </td>\r
1037         <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#getName" href="output/Ext.form.Field.html#getName">Field</a></td>\r
1038     </tr>\r
1039         <tr class="method-row inherited expandable">\r
1040         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1041         <td class="sig">\r
1042         <a id="Ext.form.HtmlEditor-getPosition"></a>\r
1043             <b>getPosition</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Array            <div class="mdesc">\r
1044                         <div class="short">Gets the current XY position of the component's underlying element.</div>\r
1045             <div class="long">\r
1046                 Gets the current XY position of the component's underlying element.    <div class="mdetail-params">\r
1047         <strong>Parameters:</strong>\r
1048         <ul><li><code>local</code> : Boolean<div class="sub-desc">(optional) If true the element's left and top are returned instead of page XY (defaults to false)</div></li>        </ul>\r
1049         <strong>Returns:</strong>\r
1050         <ul>\r
1051             <li><code>Array</code><div class="sub-desc">The XY position of the element (e.g., [100, 200])</div></li>\r
1052         </ul>\r
1053     </div>\r
1054                 </div>\r
1055                         </div>\r
1056         </td>\r
1057         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getPosition" href="output/Ext.BoxComponent.html#getPosition">BoxComponent</a></td>\r
1058     </tr>\r
1059         <tr class="method-row inherited alt expandable">\r
1060         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1061         <td class="sig">\r
1062         <a id="Ext.form.HtmlEditor-getRawValue"></a>\r
1063             <b>getRawValue</b>() : Mixed            <div class="mdesc">\r
1064                         <div class="short">Returns the raw data value which may or may not be a valid, defined value.  To return a normalized value see <a ext:cls="Ext.form.Field" ext:member="getValue" href="output/Ext.form.Field.html#getValue">getValue</a>.</div>\r
1065             <div class="long">\r
1066                 Returns the raw data value which may or may not be a valid, defined value.  To return a normalized value see <a ext:cls="Ext.form.Field" ext:member="getValue" href="output/Ext.form.Field.html#getValue">getValue</a>.    <div class="mdetail-params">\r
1067         <strong>Parameters:</strong>\r
1068         <ul><li>None.</li>        </ul>\r
1069         <strong>Returns:</strong>\r
1070         <ul>\r
1071             <li><code>Mixed</code><div class="sub-desc">value The field value</div></li>\r
1072         </ul>\r
1073     </div>\r
1074                 </div>\r
1075                         </div>\r
1076         </td>\r
1077         <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#getRawValue" href="output/Ext.form.Field.html#getRawValue">Field</a></td>\r
1078     </tr>\r
1079         <tr class="method-row inherited expandable">\r
1080         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1081         <td class="sig">\r
1082         <a id="Ext.form.HtmlEditor-getSize"></a>\r
1083             <b>getSize</b>() : Object            <div class="mdesc">\r
1084                         <div class="short">Gets the current size of the component's underlying element.</div>\r
1085             <div class="long">\r
1086                 Gets the current size of the component's underlying element.    <div class="mdetail-params">\r
1087         <strong>Parameters:</strong>\r
1088         <ul><li>None.</li>        </ul>\r
1089         <strong>Returns:</strong>\r
1090         <ul>\r
1091             <li><code>Object</code><div class="sub-desc">An object containing the element's size {width: (element width), height: (element height)}</div></li>\r
1092         </ul>\r
1093     </div>\r
1094                 </div>\r
1095                         </div>\r
1096         </td>\r
1097         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getSize" href="output/Ext.BoxComponent.html#getSize">BoxComponent</a></td>\r
1098     </tr>\r
1099         <tr class="method-row alt expandable">\r
1100         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1101         <td class="sig">\r
1102         <a id="Ext.form.HtmlEditor-getToolbar"></a>\r
1103             <b>getToolbar</b>() : Ext.Toolbar            <div class="mdesc">\r
1104                         <div class="short">Returns the editor's toolbar. <b>This is only available after the editor has been rendered.</b></div>\r
1105             <div class="long">\r
1106                 Returns the editor's toolbar. <b>This is only available after the editor has been rendered.</b>    <div class="mdetail-params">\r
1107         <strong>Parameters:</strong>\r
1108         <ul><li>None.</li>        </ul>\r
1109         <strong>Returns:</strong>\r
1110         <ul>\r
1111             <li><code>Ext.Toolbar</code></li>\r
1112         </ul>\r
1113     </div>\r
1114                 </div>\r
1115                         </div>\r
1116         </td>\r
1117         <td class="msource">HtmlEditor</td>\r
1118     </tr>\r
1119         <tr class="method-row inherited expandable">\r
1120         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1121         <td class="sig">\r
1122         <a id="Ext.form.HtmlEditor-getValue"></a>\r
1123             <b>getValue</b>() : Mixed            <div class="mdesc">\r
1124                         <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').  To return the raw value see getRa...</div>\r
1125             <div class="long">\r
1126                 Returns the normalized data value (undefined or emptyText will be returned as '').  To return the raw value see <a ext:cls="Ext.form.Field" ext:member="getRawValue" href="output/Ext.form.Field.html#getRawValue">getRawValue</a>.    <div class="mdetail-params">\r
1127         <strong>Parameters:</strong>\r
1128         <ul><li>None.</li>        </ul>\r
1129         <strong>Returns:</strong>\r
1130         <ul>\r
1131             <li><code>Mixed</code><div class="sub-desc">value The field value</div></li>\r
1132         </ul>\r
1133     </div>\r
1134                 </div>\r
1135                         </div>\r
1136         </td>\r
1137         <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#getValue" href="output/Ext.form.Field.html#getValue">Field</a></td>\r
1138     </tr>\r
1139         <tr class="method-row inherited alt expandable">\r
1140         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1141         <td class="sig">\r
1142         <a id="Ext.form.HtmlEditor-getXType"></a>\r
1143             <b>getXType</b>() : String            <div class="mdesc">\r
1144                         <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
1145 available xtypes, see the Ex...</div>\r
1146             <div class="long">\r
1147                 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
1148 available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
1149 <pre><code>var t = <b>new</b> Ext.form.TextField();
1150 alert(t.getXType());  // alerts <em>'textfield'</em></code></pre>    <div class="mdetail-params">\r
1151         <strong>Parameters:</strong>\r
1152         <ul><li>None.</li>        </ul>\r
1153         <strong>Returns:</strong>\r
1154         <ul>\r
1155             <li><code>String</code><div class="sub-desc">The xtype</div></li>\r
1156         </ul>\r
1157     </div>\r
1158                 </div>\r
1159                         </div>\r
1160         </td>\r
1161         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>\r
1162     </tr>\r
1163         <tr class="method-row inherited expandable">\r
1164         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1165         <td class="sig">\r
1166         <a id="Ext.form.HtmlEditor-getXTypes"></a>\r
1167             <b>getXTypes</b>() : String            <div class="mdesc">\r
1168                         <div class="short">Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1169 available xtypes, see the Ext...</div>\r
1170             <div class="long">\r
1171                 <p>Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1172 available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header.</p>
1173 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1174 to participate in determination of inherited xtypes.</b></p>
1175 <p>Example usage:</p>
1176 <pre><code>\r
1177 var t = new Ext.form.TextField();\r
1178 alert(t.getXTypes());  // alerts 'component/box/field/textfield'</pre></code>    <div class="mdetail-params">\r
1179         <strong>Parameters:</strong>\r
1180         <ul><li>None.</li>        </ul>\r
1181         <strong>Returns:</strong>\r
1182         <ul>\r
1183             <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>\r
1184         </ul>\r
1185     </div>\r
1186                 </div>\r
1187                         </div>\r
1188         </td>\r
1189         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>\r
1190     </tr>\r
1191         <tr class="method-row inherited alt expandable">\r
1192         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1193         <td class="sig">\r
1194         <a id="Ext.form.HtmlEditor-hasListener"></a>\r
1195             <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">\r
1196                         <div class="short">Checks to see if this object has any listeners for a specified event</div>\r
1197             <div class="long">\r
1198                 Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">\r
1199         <strong>Parameters:</strong>\r
1200         <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>\r
1201         <strong>Returns:</strong>\r
1202         <ul>\r
1203             <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>\r
1204         </ul>\r
1205     </div>\r
1206                 </div>\r
1207                         </div>\r
1208         </td>\r
1209         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>\r
1210     </tr>\r
1211         <tr class="method-row inherited expandable">\r
1212         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1213         <td class="sig">\r
1214         <a id="Ext.form.HtmlEditor-hide"></a>\r
1215             <b>hide</b>() : Ext.Component            <div class="mdesc">\r
1216                         <div class="short">Hide this component.</div>\r
1217             <div class="long">\r
1218                 Hide this component.    <div class="mdetail-params">\r
1219         <strong>Parameters:</strong>\r
1220         <ul><li>None.</li>        </ul>\r
1221         <strong>Returns:</strong>\r
1222         <ul>\r
1223             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
1224         </ul>\r
1225     </div>\r
1226                 </div>\r
1227                         </div>\r
1228         </td>\r
1229         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>\r
1230     </tr>\r
1231         <tr class="method-row alt expandable">\r
1232         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1233         <td class="sig">\r
1234         <a id="Ext.form.HtmlEditor-insertAtCursor"></a>\r
1235             <b>insertAtCursor</b>(&nbsp;<code>String text</code>&nbsp;) : void            <div class="mdesc">\r
1236                         <div class="short">Inserts the passed text at the current cursor position. Note: the editor must be initialized and activated
1237 to insert ...</div>\r
1238             <div class="long">\r
1239                 Inserts the passed text at the current cursor position. Note: the editor must be initialized and activated
1240 to insert text.    <div class="mdetail-params">\r
1241         <strong>Parameters:</strong>\r
1242         <ul><li><code>text</code> : String<div class="sub-desc"></div></li>        </ul>\r
1243         <strong>Returns:</strong>\r
1244         <ul>\r
1245             <li><code>void</code></li>\r
1246         </ul>\r
1247     </div>\r
1248                 </div>\r
1249                         </div>\r
1250         </td>\r
1251         <td class="msource">HtmlEditor</td>\r
1252     </tr>\r
1253         <tr class="method-row inherited expandable">\r
1254         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1255         <td class="sig">\r
1256         <a id="Ext.form.HtmlEditor-isDirty"></a>\r
1257             <b>isDirty</b>() : void            <div class="mdesc">\r
1258                         <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>\r
1259             <div class="long">\r
1260                 Returns true if this field has been changed since it was originally loaded and is not disabled.    <div class="mdetail-params">\r
1261         <strong>Parameters:</strong>\r
1262         <ul><li>None.</li>        </ul>\r
1263         <strong>Returns:</strong>\r
1264         <ul>\r
1265             <li><code>void</code></li>\r
1266         </ul>\r
1267     </div>\r
1268                 </div>\r
1269                         </div>\r
1270         </td>\r
1271         <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#isDirty" href="output/Ext.form.Field.html#isDirty">Field</a></td>\r
1272     </tr>\r
1273         <tr class="method-row inherited alt expandable">\r
1274         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1275         <td class="sig">\r
1276         <a id="Ext.form.HtmlEditor-isValid"></a>\r
1277             <b>isValid</b>(&nbsp;<code>Boolean preventMark</code>&nbsp;) : Boolean            <div class="mdesc">\r
1278                         <div class="short">Returns whether or not the field value is currently valid</div>\r
1279             <div class="long">\r
1280                 Returns whether or not the field value is currently valid    <div class="mdetail-params">\r
1281         <strong>Parameters:</strong>\r
1282         <ul><li><code>preventMark</code> : Boolean<div class="sub-desc">True to disable marking the field invalid</div></li>        </ul>\r
1283         <strong>Returns:</strong>\r
1284         <ul>\r
1285             <li><code>Boolean</code><div class="sub-desc">True if the value is valid, else false</div></li>\r
1286         </ul>\r
1287     </div>\r
1288                 </div>\r
1289                         </div>\r
1290         </td>\r
1291         <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#isValid" href="output/Ext.form.Field.html#isValid">Field</a></td>\r
1292     </tr>\r
1293         <tr class="method-row inherited expandable">\r
1294         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1295         <td class="sig">\r
1296         <a id="Ext.form.HtmlEditor-isVisible"></a>\r
1297             <b>isVisible</b>() : void            <div class="mdesc">\r
1298                         <div class="short">Returns true if this component is visible.</div>\r
1299             <div class="long">\r
1300                 Returns true if this component is visible.    <div class="mdetail-params">\r
1301         <strong>Parameters:</strong>\r
1302         <ul><li>None.</li>        </ul>\r
1303         <strong>Returns:</strong>\r
1304         <ul>\r
1305             <li><code>void</code></li>\r
1306         </ul>\r
1307     </div>\r
1308                 </div>\r
1309                         </div>\r
1310         </td>\r
1311         <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>\r
1312     </tr>\r
1313         <tr class="method-row inherited alt expandable">\r
1314         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1315         <td class="sig">\r
1316         <a id="Ext.form.HtmlEditor-isXType"></a>\r
1317             <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void            <div class="mdesc">\r
1318                         <div class="short">Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1319 from th...</div>\r
1320             <div class="long">\r
1321                 <p>Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1322 from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
1323 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1324 to participate in determination of inherited xtypes.</b></p>
1325 <p>For a list of all available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header.</p>
1326 <p>Example usage:</p>
1327 <pre><code>var t = <b>new</b> Ext.form.TextField();
1328 <b>var</b> isText = t.isXType(<em>'textfield'</em>);        <i>// true</i>
1329 <b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>);       <i>// true, descended from BoxComponent</i>
1330 <b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre>    <div class="mdetail-params">\r
1331         <strong>Parameters:</strong>\r
1332         <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
1333 the default), or true to check whether this Component is directly of the specified xtype.</div></li>        </ul>\r
1334         <strong>Returns:</strong>\r
1335         <ul>\r
1336             <li><code>void</code></li>\r
1337         </ul>\r
1338     </div>\r
1339                 </div>\r
1340                         </div>\r
1341         </td>\r
1342         <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>\r
1343     </tr>\r
1344         <tr class="method-row inherited expandable">\r
1345         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1346         <td class="sig">\r
1347         <a id="Ext.form.HtmlEditor-on"></a>\r
1348             <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">\r
1349                         <div class="short">Appends an event handler to this element (shorthand for addListener)</div>\r
1350             <div class="long">\r
1351                 Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">\r
1352         <strong>Parameters:</strong>\r
1353         <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
1354 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>\r
1355         <strong>Returns:</strong>\r
1356         <ul>\r
1357             <li><code>void</code></li>\r
1358         </ul>\r
1359     </div>\r
1360                 </div>\r
1361                         </div>\r
1362         </td>\r
1363         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>\r
1364     </tr>\r
1365         <tr class="method-row inherited alt expandable">\r
1366         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1367         <td class="sig">\r
1368         <a id="Ext.form.HtmlEditor-purgeListeners"></a>\r
1369             <b>purgeListeners</b>() : void            <div class="mdesc">\r
1370                         <div class="short">Removes all listeners for this object</div>\r
1371             <div class="long">\r
1372                 Removes all listeners for this object    <div class="mdetail-params">\r
1373         <strong>Parameters:</strong>\r
1374         <ul><li>None.</li>        </ul>\r
1375         <strong>Returns:</strong>\r
1376         <ul>\r
1377             <li><code>void</code></li>\r
1378         </ul>\r
1379     </div>\r
1380                 </div>\r
1381                         </div>\r
1382         </td>\r
1383         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>\r
1384     </tr>\r
1385         <tr class="method-row expandable">\r
1386         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1387         <td class="sig">\r
1388         <a id="Ext.form.HtmlEditor-pushValue"></a>\r
1389             <b>pushValue</b>() : void            <div class="mdesc">\r
1390                         <div class="short">Protected method that will not generally be called directly. Pushes the value of the textarea
1391 into the iframe editor.</div>\r
1392             <div class="long">\r
1393                 Protected method that will not generally be called directly. Pushes the value of the textarea
1394 into the iframe editor.    <div class="mdetail-params">\r
1395         <strong>Parameters:</strong>\r
1396         <ul><li>None.</li>        </ul>\r
1397         <strong>Returns:</strong>\r
1398         <ul>\r
1399             <li><code>void</code></li>\r
1400         </ul>\r
1401     </div>\r
1402                 </div>\r
1403                         </div>\r
1404         </td>\r
1405         <td class="msource">HtmlEditor</td>\r
1406     </tr>\r
1407         <tr class="method-row alt expandable">\r
1408         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1409         <td class="sig">\r
1410         <a id="Ext.form.HtmlEditor-relayCmd"></a>\r
1411             <b>relayCmd</b>(&nbsp;<code>String cmd</code>, <span class="optional" title="Optional">[<code>String/Boolean value</code>]</span>&nbsp;) : void            <div class="mdesc">\r
1412                         <div class="short">Executes a Midas editor command on the editor document and performs necessary focus and
1413 toolbar updates. This should ...</div>\r
1414             <div class="long">\r
1415                 Executes a Midas editor command on the editor document and performs necessary focus and
1416 toolbar updates. <b>This should only be called after the editor is initialized.</b>    <div class="mdetail-params">\r
1417         <strong>Parameters:</strong>\r
1418         <ul><li><code>cmd</code> : String<div class="sub-desc">The Midas command</div></li><li><code>value</code> : String/Boolean<div class="sub-desc">(optional) The value to pass to the command (defaults to null)</div></li>        </ul>\r
1419         <strong>Returns:</strong>\r
1420         <ul>\r
1421             <li><code>void</code></li>\r
1422         </ul>\r
1423     </div>\r
1424                 </div>\r
1425                         </div>\r
1426         </td>\r
1427         <td class="msource">HtmlEditor</td>\r
1428     </tr>\r
1429         <tr class="method-row inherited expandable">\r
1430         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1431         <td class="sig">\r
1432         <a id="Ext.form.HtmlEditor-relayEvents"></a>\r
1433             <b>relayEvents</b>(&nbsp;<code>Object o</code>, <code>Array events</code>&nbsp;) : void            <div class="mdesc">\r
1434                         <div class="short">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.</div>\r
1435             <div class="long">\r
1436                 Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.    <div class="mdetail-params">\r
1437         <strong>Parameters:</strong>\r
1438         <ul><li><code>o</code> : Object<div class="sub-desc">The Observable whose events this object is to relay.</div></li><li><code>events</code> : Array<div class="sub-desc">Array of event names to relay.</div></li>        </ul>\r
1439         <strong>Returns:</strong>\r
1440         <ul>\r
1441             <li><code>void</code></li>\r
1442         </ul>\r
1443     </div>\r
1444                 </div>\r
1445                         </div>\r
1446         </td>\r
1447         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#relayEvents" href="output/Ext.util.Observable.html#relayEvents">Observable</a></td>\r
1448     </tr>\r
1449         <tr class="method-row inherited alt expandable">\r
1450         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1451         <td class="sig">\r
1452         <a id="Ext.form.HtmlEditor-removeClass"></a>\r
1453             <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">\r
1454                         <div class="short">Removes a CSS class from the component's underlying element.</div>\r
1455             <div class="long">\r
1456                 Removes a CSS class from the component's underlying element.    <div class="mdetail-params">\r
1457         <strong>Parameters:</strong>\r
1458         <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li>        </ul>\r
1459         <strong>Returns:</strong>\r
1460         <ul>\r
1461             <li><code>void</code></li>\r
1462         </ul>\r
1463     </div>\r
1464                 </div>\r
1465                         </div>\r
1466         </td>\r
1467         <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>\r
1468     </tr>\r
1469         <tr class="method-row inherited expandable">\r
1470         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1471         <td class="sig">\r
1472         <a id="Ext.form.HtmlEditor-removeListener"></a>\r
1473             <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">\r
1474                         <div class="short">Removes a listener</div>\r
1475             <div class="long">\r
1476                 Removes a listener    <div class="mdetail-params">\r
1477         <strong>Parameters:</strong>\r
1478         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>\r
1479         <strong>Returns:</strong>\r
1480         <ul>\r
1481             <li><code>void</code></li>\r
1482         </ul>\r
1483     </div>\r
1484                 </div>\r
1485                         </div>\r
1486         </td>\r
1487         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>\r
1488     </tr>\r
1489         <tr class="method-row inherited alt expandable">\r
1490         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1491         <td class="sig">\r
1492         <a id="Ext.form.HtmlEditor-render"></a>\r
1493             <b>render</b>(&nbsp;<span class="optional" title="Optional">[<code>Element/HTMLElement/String container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span>&nbsp;) : void            <div class="mdesc">\r
1494                         <div class="short">Render this Component into the passed HTML element.
1495 If you are using a Container object to house this Component, then...</div>\r
1496             <div class="long">\r
1497                 <p>Render this Component into the passed HTML element.</p>
1498 <p><b>If you are using a <a ext:cls="Ext.Container" href="output/Ext.Container.html">Container</a> object to house this Component, then
1499 do not use the render method.</b></p>
1500 <p>A Container's child Components are rendered by that Container's
1501 <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> manager when the Container is first rendered.</p>
1502 <p>Certain layout managers allow dynamic addition of child components. Those that do
1503 include <a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">Ext.layout.CardLayout</a>, <a ext:cls="Ext.layout.AnchorLayout" href="output/Ext.layout.AnchorLayout.html">Ext.layout.AnchorLayout</a>,
1504 <a ext:cls="Ext.layout.FormLayout" href="output/Ext.layout.FormLayout.html">Ext.layout.FormLayout</a>, <a ext:cls="Ext.layout.TableLayout" href="output/Ext.layout.TableLayout.html">Ext.layout.TableLayout</a>.</p>
1505 <p>If the Container is already rendered when a new child Component is added, you may need to call
1506 the Container's <a ext:cls="Ext.Container" ext:member="doLayout" href="output/Ext.Container.html#doLayout">doLayout</a> to refresh the view which causes any
1507 unrendered child Components to be rendered. This is required so that you can add multiple
1508 child components if needed while only refreshing the layout once.</p>
1509 <p>When creating complex UIs, it is important to remember that sizing and positioning
1510 of child items is the responsibility of the Container's <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> manager.
1511 If you expect child items to be sized in response to user interactions, you must
1512 configure the Container with a layout manager which creates and manages the type of layout you
1513 have in mind.</p>
1514 <p><b>Omitting the Container's <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> config means that a basic
1515 layout manager is used which does nothing but render child components sequentially into the
1516 Container. No sizing or positioning will be performed in this situation.</b></p>    <div class="mdetail-params">\r
1517         <strong>Parameters:</strong>\r
1518         <ul><li><code>container</code> : Element/HTMLElement/String<div class="sub-desc">(optional) The element this Component should be
1519 rendered into. If it is being created from existing markup, this should be omitted.</div></li><li><code>position</code> : String/Number<div class="sub-desc">(optional) The element ID or DOM node index within the container <b>before</b>
1520 which this component will be inserted (defaults to appending to the end of the container)</div></li>        </ul>\r
1521         <strong>Returns:</strong>\r
1522         <ul>\r
1523             <li><code>void</code></li>\r
1524         </ul>\r
1525     </div>\r
1526                 </div>\r
1527                         </div>\r
1528         </td>\r
1529         <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>\r
1530     </tr>\r
1531         <tr class="method-row inherited expandable">\r
1532         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1533         <td class="sig">\r
1534         <a id="Ext.form.HtmlEditor-reset"></a>\r
1535             <b>reset</b>() : void            <div class="mdesc">\r
1536                         <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>\r
1537             <div class="long">\r
1538                 Resets the current field value to the originally loaded value and clears any validation messages    <div class="mdetail-params">\r
1539         <strong>Parameters:</strong>\r
1540         <ul><li>None.</li>        </ul>\r
1541         <strong>Returns:</strong>\r
1542         <ul>\r
1543             <li><code>void</code></li>\r
1544         </ul>\r
1545     </div>\r
1546                 </div>\r
1547                         </div>\r
1548         </td>\r
1549         <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#reset" href="output/Ext.form.Field.html#reset">Field</a></td>\r
1550     </tr>\r
1551         <tr class="method-row inherited alt expandable">\r
1552         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1553         <td class="sig">\r
1554         <a id="Ext.form.HtmlEditor-resumeEvents"></a>\r
1555             <b>resumeEvents</b>() : void            <div class="mdesc">\r
1556                         <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>\r
1557             <div class="long">\r
1558                 Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)    <div class="mdetail-params">\r
1559         <strong>Parameters:</strong>\r
1560         <ul><li>None.</li>        </ul>\r
1561         <strong>Returns:</strong>\r
1562         <ul>\r
1563             <li><code>void</code></li>\r
1564         </ul>\r
1565     </div>\r
1566                 </div>\r
1567                         </div>\r
1568         </td>\r
1569         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>\r
1570     </tr>\r
1571         <tr class="method-row inherited expandable">\r
1572         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1573         <td class="sig">\r
1574         <a id="Ext.form.HtmlEditor-setHeight"></a>\r
1575             <b>setHeight</b>(&nbsp;<code>Number height</code>&nbsp;) : Ext.BoxComponent            <div class="mdesc">\r
1576                         <div class="short">Sets the height of the component.  This method fires the <a ext:cls="Ext.BoxComponent" ext:member="resize" href="output/Ext.BoxComponent.html#resize">resize</a> event.</div>\r
1577             <div class="long">\r
1578                 Sets the height of the component.  This method fires the <a ext:cls="Ext.BoxComponent" ext:member="resize" href="output/Ext.BoxComponent.html#resize">resize</a> event.    <div class="mdetail-params">\r
1579         <strong>Parameters:</strong>\r
1580         <ul><li><code>height</code> : Number<div class="sub-desc">The new height to set</div></li>        </ul>\r
1581         <strong>Returns:</strong>\r
1582         <ul>\r
1583             <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>\r
1584         </ul>\r
1585     </div>\r
1586                 </div>\r
1587                         </div>\r
1588         </td>\r
1589         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setHeight" href="output/Ext.BoxComponent.html#setHeight">BoxComponent</a></td>\r
1590     </tr>\r
1591         <tr class="method-row inherited alt expandable">\r
1592         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1593         <td class="sig">\r
1594         <a id="Ext.form.HtmlEditor-setPagePosition"></a>\r
1595             <b>setPagePosition</b>(&nbsp;<code>Number x</code>, <code>Number y</code>&nbsp;) : Ext.BoxComponent            <div class="mdesc">\r
1596                         <div class="short">Sets the page XY position of the component.  To set the left and top instead, use setPosition.
1597 This method fires the ...</div>\r
1598             <div class="long">\r
1599                 Sets the page XY position of the component.  To set the left and top instead, use <a ext:cls="Ext.BoxComponent" ext:member="setPosition" href="output/Ext.BoxComponent.html#setPosition">setPosition</a>.
1600 This method fires the <a ext:cls="Ext.BoxComponent" ext:member="move" href="output/Ext.BoxComponent.html#move">move</a> event.    <div class="mdetail-params">\r
1601         <strong>Parameters:</strong>\r
1602         <ul><li><code>x</code> : Number<div class="sub-desc">The new x position</div></li><li><code>y</code> : Number<div class="sub-desc">The new y position</div></li>        </ul>\r
1603         <strong>Returns:</strong>\r
1604         <ul>\r
1605             <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>\r
1606         </ul>\r
1607     </div>\r
1608                 </div>\r
1609                         </div>\r
1610         </td>\r
1611         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPagePosition" href="output/Ext.BoxComponent.html#setPagePosition">BoxComponent</a></td>\r
1612     </tr>\r
1613         <tr class="method-row inherited expandable">\r
1614         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1615         <td class="sig">\r
1616         <a id="Ext.form.HtmlEditor-setPosition"></a>\r
1617             <b>setPosition</b>(&nbsp;<code>Number left</code>, <code>Number top</code>&nbsp;) : Ext.BoxComponent            <div class="mdesc">\r
1618                         <div class="short">Sets the left and top of the component.  To set the page XY position instead, use setPagePosition.
1619 This method fires ...</div>\r
1620             <div class="long">\r
1621                 Sets the left and top of the component.  To set the page XY position instead, use <a ext:cls="Ext.BoxComponent" ext:member="setPagePosition" href="output/Ext.BoxComponent.html#setPagePosition">setPagePosition</a>.
1622 This method fires the <a ext:cls="Ext.BoxComponent" ext:member="move" href="output/Ext.BoxComponent.html#move">move</a> event.    <div class="mdetail-params">\r
1623         <strong>Parameters:</strong>\r
1624         <ul><li><code>left</code> : Number<div class="sub-desc">The new left</div></li><li><code>top</code> : Number<div class="sub-desc">The new top</div></li>        </ul>\r
1625         <strong>Returns:</strong>\r
1626         <ul>\r
1627             <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>\r
1628         </ul>\r
1629     </div>\r
1630                 </div>\r
1631                         </div>\r
1632         </td>\r
1633         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPosition" href="output/Ext.BoxComponent.html#setPosition">BoxComponent</a></td>\r
1634     </tr>\r
1635         <tr class="method-row inherited alt expandable">\r
1636         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1637         <td class="sig">\r
1638         <a id="Ext.form.HtmlEditor-setRawValue"></a>\r
1639             <b>setRawValue</b>(&nbsp;<code>Mixed value</code>&nbsp;) : Mixed            <div class="mdesc">\r
1640                         <div class="short">Sets the underlying DOM field's value directly, bypassing validation.  To set the value with validation see <a ext:cls="Ext.form.Field" ext:member="setValue" href="output/Ext.form.Field.html#setValue">setValue</a>.</div>\r
1641             <div class="long">\r
1642                 Sets the underlying DOM field's value directly, bypassing validation.  To set the value with validation see <a ext:cls="Ext.form.Field" ext:member="setValue" href="output/Ext.form.Field.html#setValue">setValue</a>.    <div class="mdetail-params">\r
1643         <strong>Parameters:</strong>\r
1644         <ul><li><code>value</code> : Mixed<div class="sub-desc">The value to set</div></li>        </ul>\r
1645         <strong>Returns:</strong>\r
1646         <ul>\r
1647             <li><code>Mixed</code><div class="sub-desc">value The field value that is set</div></li>\r
1648         </ul>\r
1649     </div>\r
1650                 </div>\r
1651                         </div>\r
1652         </td>\r
1653         <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#setRawValue" href="output/Ext.form.Field.html#setRawValue">Field</a></td>\r
1654     </tr>\r
1655         <tr class="method-row inherited expandable">\r
1656         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1657         <td class="sig">\r
1658         <a id="Ext.form.HtmlEditor-setSize"></a>\r
1659             <b>setSize</b>(&nbsp;<code>Number/Object width</code>, <code>Number height</code>&nbsp;) : Ext.BoxComponent            <div class="mdesc">\r
1660                         <div class="short">Sets the width and height of the component.  This method fires the resize event.  This method can accept
1661 either width...</div>\r
1662             <div class="long">\r
1663                 Sets the width and height of the component.  This method fires the <a ext:cls="Ext.BoxComponent" ext:member="resize" href="output/Ext.BoxComponent.html#resize">resize</a> event.  This method can accept
1664 either width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}.    <div class="mdetail-params">\r
1665         <strong>Parameters:</strong>\r
1666         <ul><li><code>width</code> : Number/Object<div class="sub-desc">The new width to set, or a size object in the format {width, height}</div></li><li><code>height</code> : Number<div class="sub-desc">The new height to set (not required if a size object is passed as the first arg)</div></li>        </ul>\r
1667         <strong>Returns:</strong>\r
1668         <ul>\r
1669             <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>\r
1670         </ul>\r
1671     </div>\r
1672                 </div>\r
1673                         </div>\r
1674         </td>\r
1675         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setSize" href="output/Ext.BoxComponent.html#setSize">BoxComponent</a></td>\r
1676     </tr>\r
1677         <tr class="method-row inherited alt expandable">\r
1678         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1679         <td class="sig">\r
1680         <a id="Ext.form.HtmlEditor-setValue"></a>\r
1681             <b>setValue</b>(&nbsp;<code>Mixed value</code>&nbsp;) : void            <div class="mdesc">\r
1682                         <div class="short">Sets a data value into the field and validates it.  To set the value directly without validation see <a ext:cls="Ext.form.Field" ext:member="setRawValue" href="output/Ext.form.Field.html#setRawValue">setRawValue</a>.</div>\r
1683             <div class="long">\r
1684                 Sets a data value into the field and validates it.  To set the value directly without validation see <a ext:cls="Ext.form.Field" ext:member="setRawValue" href="output/Ext.form.Field.html#setRawValue">setRawValue</a>.    <div class="mdetail-params">\r
1685         <strong>Parameters:</strong>\r
1686         <ul><li><code>value</code> : Mixed<div class="sub-desc">The value to set</div></li>        </ul>\r
1687         <strong>Returns:</strong>\r
1688         <ul>\r
1689             <li><code>void</code></li>\r
1690         </ul>\r
1691     </div>\r
1692                 </div>\r
1693                         </div>\r
1694         </td>\r
1695         <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#setValue" href="output/Ext.form.Field.html#setValue">Field</a></td>\r
1696     </tr>\r
1697         <tr class="method-row inherited expandable">\r
1698         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1699         <td class="sig">\r
1700         <a id="Ext.form.HtmlEditor-setVisible"></a>\r
1701             <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component            <div class="mdesc">\r
1702                         <div class="short">Convenience function to hide or show this component by boolean.</div>\r
1703             <div class="long">\r
1704                 Convenience function to hide or show this component by boolean.    <div class="mdetail-params">\r
1705         <strong>Parameters:</strong>\r
1706         <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li>        </ul>\r
1707         <strong>Returns:</strong>\r
1708         <ul>\r
1709             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
1710         </ul>\r
1711     </div>\r
1712                 </div>\r
1713                         </div>\r
1714         </td>\r
1715         <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>\r
1716     </tr>\r
1717         <tr class="method-row inherited alt expandable">\r
1718         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1719         <td class="sig">\r
1720         <a id="Ext.form.HtmlEditor-setWidth"></a>\r
1721             <b>setWidth</b>(&nbsp;<code>Number width</code>&nbsp;) : Ext.BoxComponent            <div class="mdesc">\r
1722                         <div class="short">Sets the width of the component.  This method fires the <a ext:cls="Ext.BoxComponent" ext:member="resize" href="output/Ext.BoxComponent.html#resize">resize</a> event.</div>\r
1723             <div class="long">\r
1724                 Sets the width of the component.  This method fires the <a ext:cls="Ext.BoxComponent" ext:member="resize" href="output/Ext.BoxComponent.html#resize">resize</a> event.    <div class="mdetail-params">\r
1725         <strong>Parameters:</strong>\r
1726         <ul><li><code>width</code> : Number<div class="sub-desc">The new width to set</div></li>        </ul>\r
1727         <strong>Returns:</strong>\r
1728         <ul>\r
1729             <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>\r
1730         </ul>\r
1731     </div>\r
1732                 </div>\r
1733                         </div>\r
1734         </td>\r
1735         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setWidth" href="output/Ext.BoxComponent.html#setWidth">BoxComponent</a></td>\r
1736     </tr>\r
1737         <tr class="method-row inherited expandable">\r
1738         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1739         <td class="sig">\r
1740         <a id="Ext.form.HtmlEditor-show"></a>\r
1741             <b>show</b>() : Ext.Component            <div class="mdesc">\r
1742                         <div class="short">Show this component.</div>\r
1743             <div class="long">\r
1744                 Show this component.    <div class="mdetail-params">\r
1745         <strong>Parameters:</strong>\r
1746         <ul><li>None.</li>        </ul>\r
1747         <strong>Returns:</strong>\r
1748         <ul>\r
1749             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
1750         </ul>\r
1751     </div>\r
1752                 </div>\r
1753                         </div>\r
1754         </td>\r
1755         <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>\r
1756     </tr>\r
1757         <tr class="method-row inherited alt expandable">\r
1758         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1759         <td class="sig">\r
1760         <a id="Ext.form.HtmlEditor-suspendEvents"></a>\r
1761             <b>suspendEvents</b>() : void            <div class="mdesc">\r
1762                         <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>\r
1763             <div class="long">\r
1764                 Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)    <div class="mdetail-params">\r
1765         <strong>Parameters:</strong>\r
1766         <ul><li>None.</li>        </ul>\r
1767         <strong>Returns:</strong>\r
1768         <ul>\r
1769             <li><code>void</code></li>\r
1770         </ul>\r
1771     </div>\r
1772                 </div>\r
1773                         </div>\r
1774         </td>\r
1775         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>\r
1776     </tr>\r
1777         <tr class="method-row inherited expandable">\r
1778         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1779         <td class="sig">\r
1780         <a id="Ext.form.HtmlEditor-syncSize"></a>\r
1781             <b>syncSize</b>() : Ext.BoxComponent            <div class="mdesc">\r
1782                         <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>\r
1783             <div class="long">\r
1784                 Force the component's size to recalculate based on the underlying element's current height and width.    <div class="mdetail-params">\r
1785         <strong>Parameters:</strong>\r
1786         <ul><li>None.</li>        </ul>\r
1787         <strong>Returns:</strong>\r
1788         <ul>\r
1789             <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>\r
1790         </ul>\r
1791     </div>\r
1792                 </div>\r
1793                         </div>\r
1794         </td>\r
1795         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#syncSize" href="output/Ext.BoxComponent.html#syncSize">BoxComponent</a></td>\r
1796     </tr>\r
1797         <tr class="method-row alt expandable">\r
1798         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1799         <td class="sig">\r
1800         <a id="Ext.form.HtmlEditor-syncValue"></a>\r
1801             <b>syncValue</b>() : void            <div class="mdesc">\r
1802                         <div class="short">Protected method that will not generally be called directly. Syncs the contents
1803 of the editor iframe with the textarea.</div>\r
1804             <div class="long">\r
1805                 Protected method that will not generally be called directly. Syncs the contents
1806 of the editor iframe with the textarea.    <div class="mdetail-params">\r
1807         <strong>Parameters:</strong>\r
1808         <ul><li>None.</li>        </ul>\r
1809         <strong>Returns:</strong>\r
1810         <ul>\r
1811             <li><code>void</code></li>\r
1812         </ul>\r
1813     </div>\r
1814                 </div>\r
1815                         </div>\r
1816         </td>\r
1817         <td class="msource">HtmlEditor</td>\r
1818     </tr>\r
1819         <tr class="method-row expandable">\r
1820         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1821         <td class="sig">\r
1822         <a id="Ext.form.HtmlEditor-toggleSourceEdit"></a>\r
1823             <b>toggleSourceEdit</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean sourceEdit</code>]</span>&nbsp;) : void            <div class="mdesc">\r
1824                         <div class="short">Toggles the editor between standard and source edit mode.</div>\r
1825             <div class="long">\r
1826                 Toggles the editor between standard and source edit mode.    <div class="mdetail-params">\r
1827         <strong>Parameters:</strong>\r
1828         <ul><li><code>sourceEdit</code> : Boolean<div class="sub-desc">(optional) True for source edit, false for standard</div></li>        </ul>\r
1829         <strong>Returns:</strong>\r
1830         <ul>\r
1831             <li><code>void</code></li>\r
1832         </ul>\r
1833     </div>\r
1834                 </div>\r
1835                         </div>\r
1836         </td>\r
1837         <td class="msource">HtmlEditor</td>\r
1838     </tr>\r
1839         <tr class="method-row inherited alt expandable">\r
1840         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1841         <td class="sig">\r
1842         <a id="Ext.form.HtmlEditor-un"></a>\r
1843             <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">\r
1844                         <div class="short">Removes a listener (shorthand for removeListener)</div>\r
1845             <div class="long">\r
1846                 Removes a listener (shorthand for removeListener)    <div class="mdetail-params">\r
1847         <strong>Parameters:</strong>\r
1848         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>\r
1849         <strong>Returns:</strong>\r
1850         <ul>\r
1851             <li><code>void</code></li>\r
1852         </ul>\r
1853     </div>\r
1854                 </div>\r
1855                         </div>\r
1856         </td>\r
1857         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>\r
1858     </tr>\r
1859         <tr class="method-row inherited expandable">\r
1860         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1861         <td class="sig">\r
1862         <a id="Ext.form.HtmlEditor-updateBox"></a>\r
1863             <b>updateBox</b>(&nbsp;<code>Object box</code>&nbsp;) : Ext.BoxComponent            <div class="mdesc">\r
1864                         <div class="short">Sets the current box measurements of the component's underlying element.</div>\r
1865             <div class="long">\r
1866                 Sets the current box measurements of the component's underlying element.    <div class="mdetail-params">\r
1867         <strong>Parameters:</strong>\r
1868         <ul><li><code>box</code> : Object<div class="sub-desc">An object in the format {x, y, width, height}</div></li>        </ul>\r
1869         <strong>Returns:</strong>\r
1870         <ul>\r
1871             <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>\r
1872         </ul>\r
1873     </div>\r
1874                 </div>\r
1875                         </div>\r
1876         </td>\r
1877         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#updateBox" href="output/Ext.BoxComponent.html#updateBox">BoxComponent</a></td>\r
1878     </tr>\r
1879         <tr class="method-row alt expandable">\r
1880         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1881         <td class="sig">\r
1882         <a id="Ext.form.HtmlEditor-updateToolbar"></a>\r
1883             <b>updateToolbar</b>() : void            <div class="mdesc">\r
1884                         <div class="short">Protected method that will not generally be called directly. It triggers
1885 a toolbar update by reading the markup state...</div>\r
1886             <div class="long">\r
1887                 Protected method that will not generally be called directly. It triggers
1888 a toolbar update by reading the markup state of the current selection in the editor.    <div class="mdetail-params">\r
1889         <strong>Parameters:</strong>\r
1890         <ul><li>None.</li>        </ul>\r
1891         <strong>Returns:</strong>\r
1892         <ul>\r
1893             <li><code>void</code></li>\r
1894         </ul>\r
1895     </div>\r
1896                 </div>\r
1897                         </div>\r
1898         </td>\r
1899         <td class="msource">HtmlEditor</td>\r
1900     </tr>\r
1901             </table>
1902                 <a id="Ext.form.HtmlEditor-events"></a>
1903         <h2>Public Events</h2>
1904                 <table cellspacing="0" class="member-table">
1905             <tr>
1906                 <th class="sig-header" colspan="2">Event</th>
1907                 <th class="msource-header">Defined By</th>
1908             </tr>
1909                 <tr class="event-row expandable">\r
1910         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1911         <td class="sig">\r
1912         <a id="Ext.form.HtmlEditor-activate"></a>\r
1913             <b>activate</b> : (&nbsp;<code>HtmlEditor this</code>&nbsp;)            <div class="mdesc">\r
1914                         <div class="short">Fires when the editor is first receives the focus. Any insertion must wait
1915 until after this event.</div>\r
1916             <div class="long">\r
1917                 Fires when the editor is first receives the focus. Any insertion must wait
1918 until after this event.    <div class="mdetail-params">\r
1919         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1920         <ul><li><code>this</code> : HtmlEditor<div class="sub-desc"></div></li>        </ul>\r
1921     </div>\r
1922                 </div>\r
1923                         </div>\r
1924         </td>\r
1925         <td class="msource">HtmlEditor</td>\r
1926     </tr>\r
1927         <tr class="event-row inherited alt expandable">\r
1928         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1929         <td class="sig">\r
1930         <a id="Ext.form.HtmlEditor-beforedestroy"></a>\r
1931             <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1932                         <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>\r
1933             <div class="long">\r
1934                 Fires before the component is destroyed. Return false to stop the destroy.    <div class="mdetail-params">\r
1935         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1936         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1937     </div>\r
1938                 </div>\r
1939                         </div>\r
1940         </td>\r
1941         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>\r
1942     </tr>\r
1943         <tr class="event-row inherited expandable">\r
1944         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1945         <td class="sig">\r
1946         <a id="Ext.form.HtmlEditor-beforehide"></a>\r
1947             <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1948                         <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>\r
1949             <div class="long">\r
1950                 Fires before the component is hidden. Return false to stop the hide.    <div class="mdetail-params">\r
1951         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1952         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1953     </div>\r
1954                 </div>\r
1955                         </div>\r
1956         </td>\r
1957         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>\r
1958     </tr>\r
1959         <tr class="event-row alt expandable">\r
1960         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1961         <td class="sig">\r
1962         <a id="Ext.form.HtmlEditor-beforepush"></a>\r
1963             <b>beforepush</b> : (&nbsp;<code>HtmlEditor this</code>, <code>String html</code>&nbsp;)            <div class="mdesc">\r
1964                         <div class="short">Fires before the iframe editor is updated with content from the textarea. Return false
1965 to cancel the push.</div>\r
1966             <div class="long">\r
1967                 Fires before the iframe editor is updated with content from the textarea. Return false
1968 to cancel the push.    <div class="mdetail-params">\r
1969         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1970         <ul><li><code>this</code> : HtmlEditor<div class="sub-desc"></div></li><li><code>html</code> : String<div class="sub-desc"></div></li>        </ul>\r
1971     </div>\r
1972                 </div>\r
1973                         </div>\r
1974         </td>\r
1975         <td class="msource">HtmlEditor</td>\r
1976     </tr>\r
1977         <tr class="event-row inherited expandable">\r
1978         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1979         <td class="sig">\r
1980         <a id="Ext.form.HtmlEditor-beforerender"></a>\r
1981             <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1982                         <div class="short">Fires before the component is rendered. Return false to stop the render.</div>\r
1983             <div class="long">\r
1984                 Fires before the component is rendered. Return false to stop the render.    <div class="mdetail-params">\r
1985         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1986         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1987     </div>\r
1988                 </div>\r
1989                         </div>\r
1990         </td>\r
1991         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>\r
1992     </tr>\r
1993         <tr class="event-row inherited alt expandable">\r
1994         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1995         <td class="sig">\r
1996         <a id="Ext.form.HtmlEditor-beforeshow"></a>\r
1997             <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1998                         <div class="short">Fires before the component is shown. Return false to stop the show.</div>\r
1999             <div class="long">\r
2000                 Fires before the component is shown. Return false to stop the show.    <div class="mdetail-params">\r
2001         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2002         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
2003     </div>\r
2004                 </div>\r
2005                         </div>\r
2006         </td>\r
2007         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>\r
2008     </tr>\r
2009         <tr class="event-row inherited expandable">\r
2010         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2011         <td class="sig">\r
2012         <a id="Ext.form.HtmlEditor-beforestaterestore"></a>\r
2013             <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">\r
2014                         <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>\r
2015             <div class="long">\r
2016                 Fires before the state of the component is restored. Return false to stop the restore.    <div class="mdetail-params">\r
2017         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2018         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>\r
2019     </div>\r
2020                 </div>\r
2021                         </div>\r
2022         </td>\r
2023         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>\r
2024     </tr>\r
2025         <tr class="event-row inherited alt expandable">\r
2026         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2027         <td class="sig">\r
2028         <a id="Ext.form.HtmlEditor-beforestatesave"></a>\r
2029             <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">\r
2030                         <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>\r
2031             <div class="long">\r
2032                 Fires before the state of the component is saved to the configured state provider. Return false to stop the save.    <div class="mdetail-params">\r
2033         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2034         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>\r
2035     </div>\r
2036                 </div>\r
2037                         </div>\r
2038         </td>\r
2039         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>\r
2040     </tr>\r
2041         <tr class="event-row expandable">\r
2042         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2043         <td class="sig">\r
2044         <a id="Ext.form.HtmlEditor-beforesync"></a>\r
2045             <b>beforesync</b> : (&nbsp;<code>HtmlEditor this</code>, <code>String html</code>&nbsp;)            <div class="mdesc">\r
2046                         <div class="short">Fires before the textarea is updated with content from the editor iframe. Return false
2047 to cancel the sync.</div>\r
2048             <div class="long">\r
2049                 Fires before the textarea is updated with content from the editor iframe. Return false
2050 to cancel the sync.    <div class="mdetail-params">\r
2051         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2052         <ul><li><code>this</code> : HtmlEditor<div class="sub-desc"></div></li><li><code>html</code> : String<div class="sub-desc"></div></li>        </ul>\r
2053     </div>\r
2054                 </div>\r
2055                         </div>\r
2056         </td>\r
2057         <td class="msource">HtmlEditor</td>\r
2058     </tr>\r
2059         <tr class="event-row inherited alt expandable">\r
2060         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2061         <td class="sig">\r
2062         <a id="Ext.form.HtmlEditor-destroy"></a>\r
2063             <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
2064                         <div class="short">Fires after the component is destroyed.</div>\r
2065             <div class="long">\r
2066                 Fires after the component is destroyed.    <div class="mdetail-params">\r
2067         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2068         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
2069     </div>\r
2070                 </div>\r
2071                         </div>\r
2072         </td>\r
2073         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>\r
2074     </tr>\r
2075         <tr class="event-row inherited expandable">\r
2076         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2077         <td class="sig">\r
2078         <a id="Ext.form.HtmlEditor-disable"></a>\r
2079             <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
2080                         <div class="short">Fires after the component is disabled.</div>\r
2081             <div class="long">\r
2082                 Fires after the component is disabled.    <div class="mdetail-params">\r
2083         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2084         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
2085     </div>\r
2086                 </div>\r
2087                         </div>\r
2088         </td>\r
2089         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>\r
2090     </tr>\r
2091         <tr class="event-row alt expandable">\r
2092         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2093         <td class="sig">\r
2094         <a id="Ext.form.HtmlEditor-editmodechange"></a>\r
2095             <b>editmodechange</b> : (&nbsp;<code>HtmlEditor this</code>, <code>Boolean sourceEdit</code>&nbsp;)            <div class="mdesc">\r
2096                         <div class="short">Fires when the editor switches edit modes</div>\r
2097             <div class="long">\r
2098                 Fires when the editor switches edit modes    <div class="mdetail-params">\r
2099         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2100         <ul><li><code>this</code> : HtmlEditor<div class="sub-desc"></div></li><li><code>sourceEdit</code> : Boolean<div class="sub-desc">True if source edit, false if standard editing.</div></li>        </ul>\r
2101     </div>\r
2102                 </div>\r
2103                         </div>\r
2104         </td>\r
2105         <td class="msource">HtmlEditor</td>\r
2106     </tr>\r
2107         <tr class="event-row inherited expandable">\r
2108         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2109         <td class="sig">\r
2110         <a id="Ext.form.HtmlEditor-enable"></a>\r
2111             <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
2112                         <div class="short">Fires after the component is enabled.</div>\r
2113             <div class="long">\r
2114                 Fires after the component is enabled.    <div class="mdetail-params">\r
2115         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2116         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
2117     </div>\r
2118                 </div>\r
2119                         </div>\r
2120         </td>\r
2121         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>\r
2122     </tr>\r
2123         <tr class="event-row inherited alt expandable">\r
2124         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2125         <td class="sig">\r
2126         <a id="Ext.form.HtmlEditor-hide"></a>\r
2127             <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
2128                         <div class="short">Fires after the component is hidden.</div>\r
2129             <div class="long">\r
2130                 Fires after the component is hidden.    <div class="mdetail-params">\r
2131         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2132         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
2133     </div>\r
2134                 </div>\r
2135                         </div>\r
2136         </td>\r
2137         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>\r
2138     </tr>\r
2139         <tr class="event-row expandable">\r
2140         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2141         <td class="sig">\r
2142         <a id="Ext.form.HtmlEditor-initialize"></a>\r
2143             <b>initialize</b> : (&nbsp;<code>HtmlEditor this</code>&nbsp;)            <div class="mdesc">\r
2144                         <div class="short">Fires when the editor is fully initialized (including the iframe)</div>\r
2145             <div class="long">\r
2146                 Fires when the editor is fully initialized (including the iframe)    <div class="mdetail-params">\r
2147         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2148         <ul><li><code>this</code> : HtmlEditor<div class="sub-desc"></div></li>        </ul>\r
2149     </div>\r
2150                 </div>\r
2151                         </div>\r
2152         </td>\r
2153         <td class="msource">HtmlEditor</td>\r
2154     </tr>\r
2155         <tr class="event-row inherited alt expandable">\r
2156         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2157         <td class="sig">\r
2158         <a id="Ext.form.HtmlEditor-invalid"></a>\r
2159             <b>invalid</b> : (&nbsp;<code>Ext.form.Field this</code>, <code>String msg</code>&nbsp;)            <div class="mdesc">\r
2160                         <div class="short">Fires after the field has been marked as invalid.</div>\r
2161             <div class="long">\r
2162                 Fires after the field has been marked as invalid.    <div class="mdetail-params">\r
2163         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2164         <ul><li><code>this</code> : Ext.form.Field<div class="sub-desc"></div></li><li><code>msg</code> : String<div class="sub-desc">The validation message</div></li>        </ul>\r
2165     </div>\r
2166                 </div>\r
2167                         </div>\r
2168         </td>\r
2169         <td class="msource"><a ext:cls="Ext.form.Field" ext:member="#event-invalid" href="output/Ext.form.Field.html#event-invalid">Field</a></td>\r
2170     </tr>\r
2171         <tr class="event-row inherited expandable">\r
2172         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2173         <td class="sig">\r
2174         <a id="Ext.form.HtmlEditor-move"></a>\r
2175             <b>move</b> : (&nbsp;<code>Ext.Component this</code>, <code>Number x</code>, <code>Number y</code>&nbsp;)            <div class="mdesc">\r
2176                         <div class="short">Fires after the component is moved.</div>\r
2177             <div class="long">\r
2178                 Fires after the component is moved.    <div class="mdetail-params">\r
2179         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2180         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>x</code> : Number<div class="sub-desc">The new x position</div></li><li><code>y</code> : Number<div class="sub-desc">The new y position</div></li>        </ul>\r
2181     </div>\r
2182                 </div>\r
2183                         </div>\r
2184         </td>\r
2185         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-move" href="output/Ext.BoxComponent.html#event-move">BoxComponent</a></td>\r
2186     </tr>\r
2187         <tr class="event-row alt expandable">\r
2188         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2189         <td class="sig">\r
2190         <a id="Ext.form.HtmlEditor-push"></a>\r
2191             <b>push</b> : (&nbsp;<code>HtmlEditor this</code>, <code>String html</code>&nbsp;)            <div class="mdesc">\r
2192                         <div class="short">Fires when the iframe editor is updated with content from the textarea.</div>\r
2193             <div class="long">\r
2194                 Fires when the iframe editor is updated with content from the textarea.    <div class="mdetail-params">\r
2195         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2196         <ul><li><code>this</code> : HtmlEditor<div class="sub-desc"></div></li><li><code>html</code> : String<div class="sub-desc"></div></li>        </ul>\r
2197     </div>\r
2198                 </div>\r
2199                         </div>\r
2200         </td>\r
2201         <td class="msource">HtmlEditor</td>\r
2202     </tr>\r
2203         <tr class="event-row inherited expandable">\r
2204         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2205         <td class="sig">\r
2206         <a id="Ext.form.HtmlEditor-render"></a>\r
2207             <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
2208                         <div class="short">Fires after the component is rendered.</div>\r
2209             <div class="long">\r
2210                 Fires after the component is rendered.    <div class="mdetail-params">\r
2211         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2212         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
2213     </div>\r
2214                 </div>\r
2215                         </div>\r
2216         </td>\r
2217         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>\r
2218     </tr>\r
2219         <tr class="event-row inherited alt expandable">\r
2220         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2221         <td class="sig">\r
2222         <a id="Ext.form.HtmlEditor-resize"></a>\r
2223             <b>resize</b> : (&nbsp;<code>Ext.Component this</code>, <code>Number adjWidth</code>, <code>Number adjHeight</code>, <code>Number rawWidth</code>, <code>Number rawHeight</code>&nbsp;)            <div class="mdesc">\r
2224                         <div class="short">Fires after the component is resized.</div>\r
2225             <div class="long">\r
2226                 Fires after the component is resized.    <div class="mdetail-params">\r
2227         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2228         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>adjWidth</code> : Number<div class="sub-desc">The box-adjusted width that was set</div></li><li><code>adjHeight</code> : Number<div class="sub-desc">The box-adjusted height that was set</div></li><li><code>rawWidth</code> : Number<div class="sub-desc">The width that was originally specified</div></li><li><code>rawHeight</code> : Number<div class="sub-desc">The height that was originally specified</div></li>        </ul>\r
2229     </div>\r
2230                 </div>\r
2231                         </div>\r
2232         </td>\r
2233         <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-resize" href="output/Ext.BoxComponent.html#event-resize">BoxComponent</a></td>\r
2234     </tr>\r
2235         <tr class="event-row inherited expandable">\r
2236         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2237         <td class="sig">\r
2238         <a id="Ext.form.HtmlEditor-show"></a>\r
2239             <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
2240                         <div class="short">Fires after the component is shown.</div>\r
2241             <div class="long">\r
2242                 Fires after the component is shown.    <div class="mdetail-params">\r
2243         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2244         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
2245     </div>\r
2246                 </div>\r
2247                         </div>\r
2248         </td>\r
2249         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>\r
2250     </tr>\r
2251         <tr class="event-row inherited alt expandable">\r
2252         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2253         <td class="sig">\r
2254         <a id="Ext.form.HtmlEditor-staterestore"></a>\r
2255             <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">\r
2256                         <div class="short">Fires after the state of the component is restored.</div>\r
2257             <div class="long">\r
2258                 Fires after the state of the component is restored.    <div class="mdetail-params">\r
2259         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2260         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>\r
2261     </div>\r
2262                 </div>\r
2263                         </div>\r
2264         </td>\r
2265         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>\r
2266     </tr>\r
2267         <tr class="event-row inherited expandable">\r
2268         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2269         <td class="sig">\r
2270         <a id="Ext.form.HtmlEditor-statesave"></a>\r
2271             <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">\r
2272                         <div class="short">Fires after the state of the component is saved to the configured state provider.</div>\r
2273             <div class="long">\r
2274                 Fires after the state of the component is saved to the configured state provider.    <div class="mdetail-params">\r
2275         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2276         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>\r
2277     </div>\r
2278                 </div>\r
2279                         </div>\r
2280         </td>\r
2281         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>\r
2282     </tr>\r
2283         <tr class="event-row alt expandable">\r
2284         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
2285         <td class="sig">\r
2286         <a id="Ext.form.HtmlEditor-sync"></a>\r
2287             <b>sync</b> : (&nbsp;<code>HtmlEditor this</code>, <code>String html</code>&nbsp;)            <div class="mdesc">\r
2288                         <div class="short">Fires when the textarea is updated with content from the editor iframe.</div>\r
2289             <div class="long">\r
2290                 Fires when the textarea is updated with content from the editor iframe.    <div class="mdetail-params">\r
2291         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
2292         <ul><li><code>this</code> : HtmlEditor<div class="sub-desc"></div></li><li><code>html</code> : String<div class="sub-desc"></div></li>        </ul>\r
2293     </div>\r
2294                 </div>\r
2295                         </div>\r
2296         </td>\r
2297         <td class="msource">HtmlEditor</td>\r
2298     </tr>\r
2299             </table>
2300         
2301         </div>