1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.form.HtmlEditor</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.form.HtmlEditor-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.form.HtmlEditor-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.form.HtmlEditor-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.form.HtmlEditor-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
50 <img src="../../images/default/s.gif" height="1" width="80"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.HtmlEditor
55 <!-- ============================== class title / details ============================ -->
58 <h1 class="classTitle">
60 Class Roo.form.HtmlEditor
63 <table cellspacing="0" class="class-summary-table">
65 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
67 <tr><td class="label">Defined In:</td><td class="hd-info">
69 <a href="./src/Roo_form_HtmlEditor.js.html">Roo/form/HtmlEditor.js</a>.
72 <tr><td class="label">Class:</td><td class="hd-info">HtmlEditor</td></tr>
77 <tr><td class="label">Extends:</td><td class="hd-info">
78 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
86 <!-- ============================== class summary ========================== -->
87 <div class="description">
88 Provides a lightweight HTML Editor component.<br/><br/>This has been tested on Fireforx / Chrome.. IE may not be so great..<br/><br/><br><br><b>Note: The focus/blur and validation marking functionality inherited from Ext.form.Field is NOT<br/>supported by this editor.</b><br/><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<br/>any element that has display set to 'none' can cause problems in Safari and Firefox.<br/><br/>
92 <!-- ============================== Class comment block... ========================== -->
94 <div class="comments">
95 <b>Class Comments / Notes</B> =>
96 <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.HtmlEditor';">[Add Your comment/notes about this class]</u>
98 <iframe frameborder="0" id="comments-Roo.form" style="border: none;width:100%;"
99 src="/blog.php/GtkDjsComments/Roo.form.HtmlEditor.html"></iframe>
104 <!-- ============================== config options ========================== -->
109 <div class="hr"></div>
110 <a id="Roo.form.HtmlEditor-configs"></a>
116 <table cellspacing="0" class="member-table">
117 <caption>Config Options (Usually are also Properties)</caption>
121 <th class="sig-header" colspan="2">Options</th>
123 <th class="msource-header">Defined By</th>
130 <tr class="config-row expandable config-row-alt0">
131 <td class="micon"><a class="exi" href="#expand"> </a></td>
134 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
135 <div class="fixedFont">
136 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
142 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
146 <div class="long">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
154 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
160 <tr class="config-row expandable config-row-alt1">
161 <td class="micon"><a class="exi" href="#expand"> </a></td>
164 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
165 <div class="fixedFont">
166 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
172 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
176 <div class="long">Whether the component can move the Dom node when rendering (defaults to true).</div>
184 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
190 <tr class="config-row expandable config-row-alt0 notInherited">
191 <td class="micon"><a class="exi" href="#expand"> </a></td>
194 <a id="Roo.form.HtmlEditor-cfg-clearUp" name=".clearUp"></a>
195 <div class="fixedFont">
196 <b class="itemname">clearUp</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
202 <div class="short"></div>
206 <div class="long"></div>
220 <tr class="config-row expandable config-row-alt1">
221 <td class="micon"><a class="exi" href="#expand"> </a></td>
224 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
225 <div class="fixedFont">
226 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
232 <div class="short">A CSS class to apply to the field's underlying element.</div>
236 <div class="long">A CSS class to apply to the field's underlying element.</div>
244 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
250 <tr class="config-row expandable config-row-alt0">
251 <td class="micon"><a class="exi" href="#expand"> </a></td>
254 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
255 <div class="fixedFont">
256 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
262 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
266 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
274 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
280 <tr class="config-row expandable config-row-alt1">
281 <td class="micon"><a class="exi" href="#expand"> </a></td>
284 <a id="Roo.form.Field-cfg-disabled" name=".disabled"></a>
285 <div class="fixedFont">
286 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
292 <div class="short">True to disable the field (defaults to false).</div>
296 <div class="long">True to disable the field (defaults to false).</div>
304 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
310 <tr class="config-row expandable config-row-alt0">
311 <td class="micon"><a class="exi" href="#expand"> </a></td>
314 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
315 <div class="fixedFont">
316 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
322 <div class="short">Label to use when rendering a form.</div>
326 <div class="long">Label to use when rendering a form.</div>
334 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
340 <tr class="config-row expandable config-row-alt1 notInherited">
341 <td class="micon"><a class="exi" href="#expand"> </a></td>
344 <a id="Roo.form.HtmlEditor-cfg-height" name=".height"></a>
345 <div class="fixedFont">
346 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
352 <div class="short">(in pixels)</div>
356 <div class="long">(in pixels)</div>
370 <tr class="config-row expandable config-row-alt0">
371 <td class="micon"><a class="exi" href="#expand"> </a></td>
374 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
375 <div class="fixedFont">
376 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
382 <div class="short">How this component should hidden.</div>
386 <div class="long">How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".</div>
394 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
400 <tr class="config-row expandable config-row-alt1">
401 <td class="micon"><a class="exi" href="#expand"> </a></td>
404 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
405 <div class="fixedFont">
406 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
412 <div class="short">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> .</div>
416 <div class="long">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> ..... <br/> } ,<br/> .... <br/> } <br/> </code></pre></div>
424 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
430 <tr class="config-row expandable config-row-alt0">
431 <td class="micon"><a class="exi" href="#expand"> </a></td>
434 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
435 <div class="fixedFont">
436 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
442 <div class="short">The location where error text should display.</div>
446 <div class="long">The location where error text should display. Should be one of the following values (defaults to 'qtip'):<br/><pre><br/>Value Description<br/>----------- ----------------------------------------------------------------------<br/>qtip Display a quick tip when the user hovers over the field<br/>title Display a default browser title attribute popup<br/>under Add a block div beneath the field containing the error text<br/>side Add an error icon to the right of the field with a popup on hover<br/>[element id] Add the error text directly to the innerHTML of the specified element<br/></pre></div>
454 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
460 <tr class="config-row expandable config-row-alt1">
461 <td class="micon"><a class="exi" href="#expand"> </a></td>
464 <a id="Roo.form.Field-cfg-name" name=".name"></a>
465 <div class="fixedFont">
466 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
472 <div class="short">The field's HTML name attribute.</div>
476 <div class="long">The field's HTML name attribute.</div>
484 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
490 <tr class="config-row expandable config-row-alt0">
491 <td class="micon"><a class="exi" href="#expand"> </a></td>
494 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
495 <div class="fixedFont">
496 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
502 <div class="short">Mouse over tip</div>
506 <div class="long">Mouse over tip</div>
514 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
520 <tr class="config-row expandable config-row-alt1">
521 <td class="micon"><a class="exi" href="#expand"> </a></td>
524 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
525 <div class="fixedFont">
526 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
532 <div class="short">True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.</div>
536 <div class="long">True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.</div>
544 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
550 <tr class="config-row expandable config-row-alt0 notInherited">
551 <td class="micon"><a class="exi" href="#expand"> </a></td>
554 <a id="Roo.form.HtmlEditor-cfg-resizable" name=".resizable"></a>
555 <div class="fixedFont">
556 <b class="itemname">resizable</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
562 <div class="short">'s' or 'se' or 'e' - wrapps the element in a<br/> Roo.resizable.</div>
566 <div class="long">'s' or 'se' or 'e' - wrapps the element in a<br/> Roo.resizable.</div>
580 <tr class="config-row expandable config-row-alt1 notInherited">
581 <td class="micon"><a class="exi" href="#expand"> </a></td>
584 <a id="Roo.form.HtmlEditor-cfg-stylesheets" name=".stylesheets"></a>
585 <div class="fixedFont">
586 <b class="itemname">stylesheets</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
592 <div class="short">url of stylesheets.</div>
596 <div class="long">url of stylesheets. set to [] to disable stylesheets.</div>
610 <tr class="config-row expandable config-row-alt0">
611 <td class="micon"><a class="exi" href="#expand"> </a></td>
614 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
615 <div class="fixedFont">
616 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
622 <div class="short">The tabIndex for this field.</div>
626 <div class="long">The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).</div>
634 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
640 <tr class="config-row expandable config-row-alt1 notInherited">
641 <td class="micon"><a class="exi" href="#expand"> </a></td>
644 <a id="Roo.form.HtmlEditor-cfg-toolbars" name=".toolbars"></a>
645 <div class="fixedFont">
646 <b class="itemname">toolbars</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
652 <div class="short">Array of toolbars.</div>
656 <div class="long">Array of toolbars. - defaults to just the Standard one</div>
670 <tr class="config-row expandable config-row-alt0">
671 <td class="micon"><a class="exi" href="#expand"> </a></td>
674 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
675 <div class="fixedFont">
676 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
682 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
686 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
694 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
700 <tr class="config-row expandable config-row-alt1">
701 <td class="micon"><a class="exi" href="#expand"> </a></td>
704 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
705 <div class="fixedFont">
706 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
712 <div class="short">The event that should initiate field validation.</div>
716 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</div>
724 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
730 <tr class="config-row expandable config-row-alt0">
731 <td class="micon"><a class="exi" href="#expand"> </a></td>
734 <a id="Roo.form.Field-cfg-value" name=".value"></a>
735 <div class="fixedFont">
736 <b class="itemname">value</b> : Mixed
742 <div class="short">A value to initialize this field with.</div>
746 <div class="long">A value to initialize this field with.</div>
754 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
760 <tr class="config-row expandable config-row-alt1 notInherited">
761 <td class="micon"><a class="exi" href="#expand"> </a></td>
764 <a id="Roo.form.HtmlEditor-cfg-width" name=".width"></a>
765 <div class="fixedFont">
766 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
772 <div class="short">(in pixels)</div>
776 <div class="long">(in pixels)</div>
800 <!-- ============================== public properties ==================== -->
804 <a id="Roo.form.HtmlEditor-props"></a>
810 <table cellspacing="0" class="member-table">
811 <caption class="Empty">Public Properties - Has None</caption>
817 <!-- ============================== methods summary / details ======================== -->
820 <a id="Roo.form.HtmlEditor-methods"></a>
821 <!-- constructor?? -->
828 <!-- then dynamics first -->
835 <table cellspacing="0" class="member-table">
836 <caption>Public Methods</caption>
838 <th class="sig-header" colspan="2">Method</th>
839 <th class="msource-header">Defined By</th>
849 <tr class="method-row config-row-alt0 notInherited">
850 <td class="micon"><a class="exi" href="#expand"> </a></td>
854 <a id="Roo.form-method-HtmlEditor" name=".HtmlEditor"></a>
855 <div class="fixedFont">
856 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">HtmlEditor</b>
866 <div class="short">Create a new Roo.form.HtmlEditor</div>
873 Create a new Roo.form.HtmlEditor
896 <tr class="method-row config-row-alt1 expandable">
897 <td class="micon"><a class="exi" href="#expand"> </a></td>
901 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
902 <div class="fixedFont">
903 <span class="attributes"></span><b class="itemname">addEvents</b>
905 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
912 <div class="short">Used to define events on this Observable</div>
918 Used to define events on this Observable
925 <dl class="detailList">
926 <dt class="heading">Parameters:</dt>
929 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>object</b>
932 <dd>The object with the events defined</dd>
952 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
958 <tr class="method-row config-row-alt0 expandable">
959 <td class="micon"><a class="exi" href="#expand"> </a></td>
963 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
964 <div class="fixedFont">
965 <span class="attributes"></span><b class="itemname">addListener</b>
967 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>)
974 <div class="short">Appends an event handler to this component</div>
980 Appends an event handler to this component
987 <dl class="detailList">
988 <dt class="heading">Parameters:</dt>
991 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
994 <dd>The type of event to listen for</dd>
997 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1000 <dd>The method the event invokes</dd>
1003 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
1006 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1009 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
1012 <dd>(optional) An object containing handler configuration<br/>properties. This may contain any of the following properties:<ul><br/><li>scope {Object} The scope in which to execute the handler function. The handler function's "this" context.</li><br/><li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li><br/><li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li><br/><li>buffer {Number} Causes the handler to be scheduled to run in an {<b>link</b> Roo.util.DelayedTask} delayed<br/>by the specified number of milliseconds. If the event fires again within that time, the original<br/>handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li><br/></ul><br><br/><p><br/><b>Combining Options</b><br><br/>Using the options argument, it is possible to combine different types of listeners:<br><br/><br><br/>A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)<br/> <pre><code><br/> el.on('click', this.onClick, this, {<br/> single: true,<br/> delay: 100,<br/> forumId: 4<br/> });<br/> </code></pre><br/><p><br/><b>Attaching multiple handlers in 1 call</b><br><br/>The method also allows for a single argument to be passed which is a config object containing properties<br/>which specify multiple handlers.<br/><pre><code><br/> el.on({<br/> 'click': {<br/> fn: this.onClick,<br/> scope: this,<br/> delay: 100<br/> }, <br/> 'mouseover': {<br/> fn: this.onMouseOver,<br/> scope: this<br/> },<br/> 'mouseout': {<br/> fn: this.onMouseOut,<br/> scope: this<br/> }<br/> });<br/> </code></pre><br/><p><br/>Or a shorthand syntax which passes the same scope object to all handlers:<br/> <pre><code><br/> el.on({<br/> 'click': this.onClick,<br/> 'mouseover': this.onMouseOver,<br/> 'mouseout': this.onMouseOut,<br/> scope: this<br/> });<br/> </code></pre></dd>
1030 <td class="msource">
1032 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1038 <tr class="method-row config-row-alt1 expandable">
1039 <td class="micon"><a class="exi" href="#expand"> </a></td>
1043 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
1044 <div class="fixedFont">
1045 <span class="attributes"></span><b class="itemname">applyTo</b>
1047 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1053 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1062 <div class="short">Apply the behaviors of this component to an existing element.</div>
1068 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
1075 <dl class="detailList">
1076 <dt class="heading">Parameters:</dt>
1079 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1082 <dd>The id of the node, a DOM node or an existing Element</dd>
1090 <dl class="detailList">
1091 <dt class="heading">Returns:</dt>
1093 <dd><span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> this</dd>
1107 <td class="msource">
1109 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1115 <tr class="method-row config-row-alt0 expandable notInherited">
1116 <td class="micon"><a class="exi" href="#expand"> </a></td>
1120 <a id="Roo.form.HtmlEditor-method-createToolbar" name=".createToolbar"></a>
1121 <div class="fixedFont">
1122 <span class="attributes"></span><b class="itemname">createToolbar</b>
1124 (HtmlEditor <B><i>editor</i></B>)
1131 <div class="short">Protected method that will not generally be called directly.</div>
1137 Protected method that will not generally be called directly. It<br/>is called when the editor creates its toolbar. Override this method if you need to<br/>add custom toolbar buttons.
1144 <dl class="detailList">
1145 <dt class="heading">Parameters:</dt>
1148 <span class="fixedFont">HtmlEditor</span> <b>editor</b>
1169 <td class="msource">
1177 <tr class="method-row config-row-alt1 expandable">
1178 <td class="micon"><a class="exi" href="#expand"> </a></td>
1182 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1183 <div class="fixedFont">
1184 <span class="attributes"></span><b class="itemname">destroy</b>
1193 <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,<br/>removing the component from its {<b>link</b> Roo.Container} (if applicable) and unregistering it from {<b>link</b> Roo.ComponentMgr}.</div>
1199 Destroys this component by purging any event listeners, removing the component's element from the DOM,<br/>removing the component from its {<b>link</b> Roo.Container} (if applicable) and unregistering it from {<b>link</b> Roo.ComponentMgr}.
1220 <td class="msource">
1222 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1228 <tr class="method-row config-row-alt0 expandable">
1229 <td class="micon"><a class="exi" href="#expand"> </a></td>
1233 <a id="Roo.Component-method-disable" name=".disable"></a>
1234 <div class="fixedFont">
1235 <span class="attributes"></span><b class="itemname">disable</b>
1243 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1252 <div class="short">Disable this component.</div>
1258 Disable this component.
1269 <dl class="detailList">
1270 <dt class="heading">Returns:</dt>
1272 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1286 <td class="msource">
1288 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1294 <tr class="method-row config-row-alt1 expandable">
1295 <td class="micon"><a class="exi" href="#expand"> </a></td>
1299 <a id="Roo.Component-method-enable" name=".enable"></a>
1300 <div class="fixedFont">
1301 <span class="attributes"></span><b class="itemname">enable</b>
1309 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1318 <div class="short">Enable this component.</div>
1324 Enable this component.
1335 <dl class="detailList">
1336 <dt class="heading">Returns:</dt>
1338 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1352 <td class="msource">
1354 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1360 <tr class="method-row config-row-alt0 expandable">
1361 <td class="micon"><a class="exi" href="#expand"> </a></td>
1365 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1366 <div class="fixedFont">
1367 <span class="attributes"></span><b class="itemname">fireEvent</b>
1369 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a> <B><i>args</i></B>)
1375 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1384 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1390 Fires the specified event with the passed parameters (minus the event name).
1397 <dl class="detailList">
1398 <dt class="heading">Parameters:</dt>
1401 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1407 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a></span> <b>args</b>
1410 <dd>Variable number of parameters are passed to handlers</dd>
1418 <dl class="detailList">
1419 <dt class="heading">Returns:</dt>
1421 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> returns false if any of the handlers return false otherwise it returns true</dd>
1435 <td class="msource">
1437 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1443 <tr class="method-row config-row-alt1 expandable">
1444 <td class="micon"><a class="exi" href="#expand"> </a></td>
1448 <a id="Roo.Component-method-focus" name=".focus"></a>
1449 <div class="fixedFont">
1450 <span class="attributes"></span><b class="itemname">focus</b>
1452 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
1458 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1467 <div class="short">Try to focus this component.</div>
1473 Try to focus this component.
1480 <dl class="detailList">
1481 <dt class="heading">Parameters:</dt>
1484 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>selectText</b>
1487 <dd>True to also select the text in this component (if applicable)</dd>
1495 <dl class="detailList">
1496 <dt class="heading">Returns:</dt>
1498 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1512 <td class="msource">
1514 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1520 <tr class="method-row config-row-alt0 expandable">
1521 <td class="micon"><a class="exi" href="#expand"> </a></td>
1525 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
1526 <div class="fixedFont">
1527 <span class="attributes"></span><b class="itemname">getBox</b>
1529 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
1536 <div class="short">Gets the current box measurements of the component's underlying element.</div>
1542 Gets the current box measurements of the component's underlying element.
1549 <dl class="detailList">
1550 <dt class="heading">Parameters:</dt>
1553 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>local</b>
1556 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
1574 <td class="msource">
1576 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1582 <tr class="method-row config-row-alt1 expandable">
1583 <td class="micon"><a class="exi" href="#expand"> </a></td>
1587 <a id="Roo.Component-method-getEl" name=".getEl"></a>
1588 <div class="fixedFont">
1589 <span class="attributes"></span><b class="itemname">getEl</b>
1597 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1606 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
1612 Returns the underlying {<b>link</b> Roo.Element}.
1623 <dl class="detailList">
1624 <dt class="heading">Returns:</dt>
1626 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
1640 <td class="msource">
1642 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1648 <tr class="method-row config-row-alt0 expandable">
1649 <td class="micon"><a class="exi" href="#expand"> </a></td>
1653 <a id="Roo.Component-method-getId" name=".getId"></a>
1654 <div class="fixedFont">
1655 <span class="attributes"></span><b class="itemname">getId</b>
1663 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1672 <div class="short">Returns the id of this component.</div>
1678 Returns the id of this component.
1689 <dl class="detailList">
1690 <dt class="heading">Returns:</dt>
1692 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1706 <td class="msource">
1708 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1714 <tr class="method-row config-row-alt1 expandable">
1715 <td class="micon"><a class="exi" href="#expand"> </a></td>
1719 <a id="Roo.form.Field-method-getName" name=".getName"></a>
1720 <div class="fixedFont">
1721 <span class="attributes"></span><b class="itemname">getName</b>
1729 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1738 <div class="short">Returns the name attribute of the field if available</div>
1744 Returns the name attribute of the field if available
1755 <dl class="detailList">
1756 <dt class="heading">Returns:</dt>
1758 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
1772 <td class="msource">
1774 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1780 <tr class="method-row config-row-alt0 expandable">
1781 <td class="micon"><a class="exi" href="#expand"> </a></td>
1785 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
1786 <div class="fixedFont">
1787 <span class="attributes"></span><b class="itemname">getPosition</b>
1789 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
1795 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
1804 <div class="short">Gets the current XY position of the component's underlying element.</div>
1810 Gets the current XY position of the component's underlying element.
1817 <dl class="detailList">
1818 <dt class="heading">Parameters:</dt>
1821 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>local</b>
1824 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
1832 <dl class="detailList">
1833 <dt class="heading">Returns:</dt>
1835 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> The XY position of the element (e.g., [100, 200])</dd>
1849 <td class="msource">
1851 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1857 <tr class="method-row config-row-alt1 expandable">
1858 <td class="micon"><a class="exi" href="#expand"> </a></td>
1862 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
1863 <div class="fixedFont">
1864 <span class="attributes"></span><b class="itemname">getRawValue</b>
1881 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
1887 Returns the raw data value which may or may not be a valid, defined value. To return a normalized value see {<b>link</b> <b>getValue</b>}.
1898 <dl class="detailList">
1899 <dt class="heading">Returns:</dt>
1901 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
1915 <td class="msource">
1917 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1923 <tr class="method-row config-row-alt0 expandable">
1924 <td class="micon"><a class="exi" href="#expand"> </a></td>
1928 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
1929 <div class="fixedFont">
1930 <span class="attributes"></span><b class="itemname">getSize</b>
1938 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1947 <div class="short">Gets the current size of the component's underlying element.</div>
1953 Gets the current size of the component's underlying element.
1964 <dl class="detailList">
1965 <dt class="heading">Returns:</dt>
1967 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> An object containing the element's size {width: (element width), height: (element height)}</dd>
1981 <td class="msource">
1983 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1989 <tr class="method-row config-row-alt1 expandable">
1990 <td class="micon"><a class="exi" href="#expand"> </a></td>
1994 <a id="Roo.form.Field-method-getValue" name=".getValue"></a>
1995 <div class="fixedFont">
1996 <span class="attributes"></span><b class="itemname">getValue</b>
2013 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2019 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2030 <dl class="detailList">
2031 <dt class="heading">Returns:</dt>
2033 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2047 <td class="msource">
2049 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2055 <tr class="method-row config-row-alt0 expandable">
2056 <td class="micon"><a class="exi" href="#expand"> </a></td>
2060 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2061 <div class="fixedFont">
2062 <span class="attributes"></span><b class="itemname">hasListener</b>
2064 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2070 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2079 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2085 Checks to see if this object has any listeners for a specified event
2092 <dl class="detailList">
2093 <dt class="heading">Parameters:</dt>
2096 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2099 <dd>The name of the event to check for</dd>
2107 <dl class="detailList">
2108 <dt class="heading">Returns:</dt>
2110 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the event is being listened for, else false</dd>
2124 <td class="msource">
2126 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2132 <tr class="method-row config-row-alt1 expandable">
2133 <td class="micon"><a class="exi" href="#expand"> </a></td>
2137 <a id="Roo.Component-method-hide" name=".hide"></a>
2138 <div class="fixedFont">
2139 <span class="attributes"></span><b class="itemname">hide</b>
2147 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2156 <div class="short">Hide this component.</div>
2162 Hide this component.
2173 <dl class="detailList">
2174 <dt class="heading">Returns:</dt>
2176 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2190 <td class="msource">
2192 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2198 <tr class="method-row config-row-alt0 expandable">
2199 <td class="micon"><a class="exi" href="#expand"> </a></td>
2203 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
2204 <div class="fixedFont">
2205 <span class="attributes"></span><b class="itemname">isDirty</b>
2214 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
2220 Returns true if this field has been changed since it was originally loaded and is not disabled.
2241 <td class="msource">
2243 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2249 <tr class="method-row config-row-alt1 expandable">
2250 <td class="micon"><a class="exi" href="#expand"> </a></td>
2254 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
2255 <div class="fixedFont">
2256 <span class="attributes"></span><b class="itemname">isValid</b>
2258 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
2264 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2273 <div class="short">Returns whether or not the field value is currently valid</div>
2279 Returns whether or not the field value is currently valid
2286 <dl class="detailList">
2287 <dt class="heading">Parameters:</dt>
2290 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>preventMark</b>
2293 <dd>True to disable marking the field invalid</dd>
2301 <dl class="detailList">
2302 <dt class="heading">Returns:</dt>
2304 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the value is valid, else false</dd>
2318 <td class="msource">
2320 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2326 <tr class="method-row config-row-alt0 expandable">
2327 <td class="micon"><a class="exi" href="#expand"> </a></td>
2331 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
2332 <div class="fixedFont">
2333 <span class="attributes"></span><b class="itemname">isVisible</b>
2342 <div class="short">Returns true if this component is visible.</div>
2348 Returns true if this component is visible.
2369 <td class="msource">
2371 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2377 <tr class="method-row config-row-alt1 expandable">
2378 <td class="micon"><a class="exi" href="#expand"> </a></td>
2382 <a id="Roo.util.Observable-method-on" name=".on"></a>
2383 <div class="fixedFont">
2384 <span class="attributes"></span><b class="itemname">on</b>
2386 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>)
2393 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
2399 Appends an event handler to this element (shorthand for addListener)
2406 <dl class="detailList">
2407 <dt class="heading">Parameters:</dt>
2410 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2413 <dd>The type of event to listen for</dd>
2416 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2419 <dd>The method the event invokes</dd>
2422 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
2425 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2428 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
2449 <td class="msource">
2451 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2457 <tr class="method-row config-row-alt0 expandable">
2458 <td class="micon"><a class="exi" href="#expand"> </a></td>
2462 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
2463 <div class="fixedFont">
2464 <span class="attributes"></span><b class="itemname">onPosition</b>
2466 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>x</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>y</i></B>)
2473 <div class="short">Called after the component is moved, this method is empty by default but can be implemented by any<br/>subclass that needs to perform custom logic after a move occurs.</div>
2479 Called after the component is moved, this method is empty by default but can be implemented by any<br/>subclass that needs to perform custom logic after a move occurs.
2486 <dl class="detailList">
2487 <dt class="heading">Parameters:</dt>
2490 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
2493 <dd>The new x position</dd>
2496 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
2499 <dd>The new y position</dd>
2517 <td class="msource">
2519 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2525 <tr class="method-row config-row-alt1 expandable">
2526 <td class="micon"><a class="exi" href="#expand"> </a></td>
2530 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
2531 <div class="fixedFont">
2532 <span class="attributes"></span><b class="itemname">onResize</b>
2534 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>adjWidth</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>adjHeight</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rawWidth</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rawHeight</i></B>)
2541 <div class="short">Called after the component is resized, this method is empty by default but can be implemented by any<br/>subclass that needs to perform custom logic after a resize occurs.</div>
2547 Called after the component is resized, this method is empty by default but can be implemented by any<br/>subclass that needs to perform custom logic after a resize occurs.
2554 <dl class="detailList">
2555 <dt class="heading">Parameters:</dt>
2558 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
2561 <dd>The box-adjusted width that was set</dd>
2564 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
2567 <dd>The box-adjusted height that was set</dd>
2570 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
2573 <dd>The width that was originally specified</dd>
2576 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
2579 <dd>The height that was originally specified</dd>
2597 <td class="msource">
2599 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2605 <tr class="method-row config-row-alt0 expandable">
2606 <td class="micon"><a class="exi" href="#expand"> </a></td>
2610 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
2611 <div class="fixedFont">
2612 <span class="attributes"></span><b class="itemname">purgeListeners</b>
2621 <div class="short">Removes all listeners for this object</div>
2627 Removes all listeners for this object
2648 <td class="msource">
2650 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2656 <tr class="method-row config-row-alt1 expandable">
2657 <td class="micon"><a class="exi" href="#expand"> </a></td>
2661 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
2662 <div class="fixedFont">
2663 <span class="attributes"></span><b class="itemname">removeListener</b>
2665 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
2672 <div class="short">Removes a listener</div>
2685 <dl class="detailList">
2686 <dt class="heading">Parameters:</dt>
2689 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2692 <dd>The type of event to listen for</dd>
2695 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2698 <dd>The handler to remove</dd>
2701 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
2704 <dd>(optional) The scope (this object) for the handler</dd>
2722 <td class="msource">
2724 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2730 <tr class="method-row config-row-alt0 expandable">
2731 <td class="micon"><a class="exi" href="#expand"> </a></td>
2735 <a id="Roo.Component-method-render" name=".render"></a>
2736 <div class="fixedFont">
2737 <span class="attributes"></span><b class="itemname">render</b>
2739 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
2746 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
2752 If this is a lazy rendering component, render it to its container element.
2759 <dl class="detailList">
2760 <dt class="heading">Parameters:</dt>
2763 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
2766 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
2784 <td class="msource">
2786 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2792 <tr class="method-row config-row-alt1 expandable">
2793 <td class="micon"><a class="exi" href="#expand"> </a></td>
2797 <a id="Roo.form.Field-method-reset" name=".reset"></a>
2798 <div class="fixedFont">
2799 <span class="attributes"></span><b class="itemname">reset</b>
2808 <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>
2814 Resets the current field value to the originally loaded value and clears any validation messages
2835 <td class="msource">
2837 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2843 <tr class="method-row config-row-alt0 expandable">
2844 <td class="micon"><a class="exi" href="#expand"> </a></td>
2848 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
2849 <div class="fixedFont">
2850 <span class="attributes"></span><b class="itemname">setDisabled</b>
2852 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
2859 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
2865 Convenience function for setting disabled/enabled by boolean.
2872 <dl class="detailList">
2873 <dt class="heading">Parameters:</dt>
2876 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>disabled</b>
2897 <td class="msource">
2899 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2905 <tr class="method-row config-row-alt1 expandable">
2906 <td class="micon"><a class="exi" href="#expand"> </a></td>
2910 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
2911 <div class="fixedFont">
2912 <span class="attributes"></span><b class="itemname">setPagePosition</b>
2914 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>x</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>y</i></B>)
2921 <div class="short">Sets the page XY position of the component.</div>
2927 Sets the page XY position of the component. To set the left and top instead, use {<b>link</b> <b>setPosition</b>}.<br/>This method fires the move event.
2934 <dl class="detailList">
2935 <dt class="heading">Parameters:</dt>
2938 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
2941 <dd>The new x position</dd>
2944 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
2947 <dd>The new y position</dd>
2965 <td class="msource">
2967 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2973 <tr class="method-row config-row-alt0 expandable">
2974 <td class="micon"><a class="exi" href="#expand"> </a></td>
2978 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
2979 <div class="fixedFont">
2980 <span class="attributes"></span><b class="itemname">setPosition</b>
2982 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>left</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>top</i></B>)
2989 <div class="short">Sets the left and top of the component.</div>
2995 Sets the left and top of the component. To set the page XY position instead, use {<b>link</b> <b>setPagePosition</b>}.<br/>This method fires the move event.
3002 <dl class="detailList">
3003 <dt class="heading">Parameters:</dt>
3006 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
3009 <dd>The new left</dd>
3012 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
3015 <dd>The new top</dd>
3033 <td class="msource">
3035 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3041 <tr class="method-row config-row-alt1 expandable">
3042 <td class="micon"><a class="exi" href="#expand"> </a></td>
3046 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
3047 <div class="fixedFont">
3048 <span class="attributes"></span><b class="itemname">setRawValue</b>
3050 (Mixed <B><i>value</i></B>)
3057 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
3063 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
3070 <dl class="detailList">
3071 <dt class="heading">Parameters:</dt>
3074 <span class="fixedFont">Mixed</span> <b>value</b>
3077 <dd>The value to set</dd>
3095 <td class="msource">
3097 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3103 <tr class="method-row config-row-alt0 expandable">
3104 <td class="micon"><a class="exi" href="#expand"> </a></td>
3108 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
3109 <div class="fixedFont">
3110 <span class="attributes"></span><b class="itemname">setSize</b>
3112 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>)
3118 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3127 <div class="short">Sets the width and height of the component.</div>
3133 Sets the width and height of the component. This method fires the resize event. This method can accept<br/>either width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}.
3140 <dl class="detailList">
3141 <dt class="heading">Parameters:</dt>
3144 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
3147 <dd>The new width to set, or a size object in the format {width, height}</dd>
3150 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
3153 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
3161 <dl class="detailList">
3162 <dt class="heading">Returns:</dt>
3164 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
3178 <td class="msource">
3180 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3186 <tr class="method-row config-row-alt1 expandable">
3187 <td class="micon"><a class="exi" href="#expand"> </a></td>
3191 <a id="Roo.form.Field-method-setValue" name=".setValue"></a>
3192 <div class="fixedFont">
3193 <span class="attributes"></span><b class="itemname">setValue</b>
3195 (Mixed <B><i>value</i></B>)
3202 <div class="short">Sets a data value into the field and validates it.</div>
3208 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
3215 <dl class="detailList">
3216 <dt class="heading">Parameters:</dt>
3219 <span class="fixedFont">Mixed</span> <b>value</b>
3222 <dd>The value to set</dd>
3240 <td class="msource">
3242 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3248 <tr class="method-row config-row-alt0 expandable">
3249 <td class="micon"><a class="exi" href="#expand"> </a></td>
3253 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
3254 <div class="fixedFont">
3255 <span class="attributes"></span><b class="itemname">setVisible</b>
3257 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
3263 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3272 <div class="short">Convenience function to hide or show this component by boolean.</div>
3278 Convenience function to hide or show this component by boolean.
3285 <dl class="detailList">
3286 <dt class="heading">Parameters:</dt>
3289 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>visible</b>
3292 <dd>True to show, false to hide</dd>
3300 <dl class="detailList">
3301 <dt class="heading">Returns:</dt>
3303 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3317 <td class="msource">
3319 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3325 <tr class="method-row config-row-alt1 expandable">
3326 <td class="micon"><a class="exi" href="#expand"> </a></td>
3330 <a id="Roo.Component-method-show" name=".show"></a>
3331 <div class="fixedFont">
3332 <span class="attributes"></span><b class="itemname">show</b>
3340 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3349 <div class="short">Show this component.</div>
3355 Show this component.
3366 <dl class="detailList">
3367 <dt class="heading">Returns:</dt>
3369 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3383 <td class="msource">
3385 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3391 <tr class="method-row config-row-alt0 expandable">
3392 <td class="micon"><a class="exi" href="#expand"> </a></td>
3396 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
3397 <div class="fixedFont">
3398 <span class="attributes"></span><b class="itemname">syncSize</b>
3407 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
3413 Force the component's size to recalculate based on the underlying element's current height and width.
3434 <td class="msource">
3436 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3442 <tr class="method-row config-row-alt1 expandable notInherited">
3443 <td class="micon"><a class="exi" href="#expand"> </a></td>
3447 <a id="Roo.form.HtmlEditor-method-toggleSourceEdit" name=".toggleSourceEdit"></a>
3448 <div class="fixedFont">
3449 <span class="attributes"></span><b class="itemname">toggleSourceEdit</b>
3451 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>sourceEdit</i></B>)
3458 <div class="short">Toggles the editor between standard and source edit mode.</div>
3464 Toggles the editor between standard and source edit mode.
3471 <dl class="detailList">
3472 <dt class="heading">Parameters:</dt>
3475 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>sourceEdit</b>
3478 <dd>(optional) True for source edit, false for standard</dd>
3496 <td class="msource">
3504 <tr class="method-row config-row-alt0 expandable">
3505 <td class="micon"><a class="exi" href="#expand"> </a></td>
3509 <a id="Roo.util.Observable-method-un" name=".un"></a>
3510 <div class="fixedFont">
3511 <span class="attributes"></span><b class="itemname">un</b>
3513 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
3520 <div class="short">Removes a listener (shorthand for removeListener)</div>
3526 Removes a listener (shorthand for removeListener)
3533 <dl class="detailList">
3534 <dt class="heading">Parameters:</dt>
3537 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3540 <dd>The type of event to listen for</dd>
3543 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3546 <dd>The handler to remove</dd>
3549 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
3552 <dd>(optional) The scope (this object) for the handler</dd>
3570 <td class="msource">
3572 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3578 <tr class="method-row config-row-alt1 expandable">
3579 <td class="micon"><a class="exi" href="#expand"> </a></td>
3583 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
3584 <div class="fixedFont">
3585 <span class="attributes"></span><b class="itemname">updateBox</b>
3587 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
3594 <div class="short">Sets the current box measurements of the component's underlying element.</div>
3600 Sets the current box measurements of the component's underlying element.
3607 <dl class="detailList">
3608 <dt class="heading">Parameters:</dt>
3611 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>box</b>
3614 <dd>An object in the format {x, y, width, height}</dd>
3632 <td class="msource">
3634 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3640 <tr class="method-row config-row-alt0 expandable">
3641 <td class="micon"><a class="exi" href="#expand"> </a></td>
3645 <a id="Roo.form.Field-method-validate" name=".validate"></a>
3646 <div class="fixedFont">
3647 <span class="attributes"></span><b class="itemname">validate</b>
3655 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3664 <div class="short">Validates the field value</div>
3670 Validates the field value
3681 <dl class="detailList">
3682 <dt class="heading">Returns:</dt>
3684 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the value is valid, else false</dd>
3698 <td class="msource">
3700 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3709 <!-- ============================== events summary / details ======================== -->
3712 <a id="Roo.form.HtmlEditor-events"></a>
3721 <table cellspacing="0" class="member-table">
3722 <caption>Events</caption>
3725 <th class="sig-header" colspan="2">Event</th>
3726 <th class="msource-header">Defined By</th>
3735 <tr class="method-row expandable config-row-alt0 notInherited">
3736 <td class="micon"><a class="exi" href="#expand"> </a></td>
3739 <a id="Roo.form.HtmlEditor-event-*activate"></a>
3741 <div class="fixedFont">
3742 <b class="itemname">activate</b> (HtmlEditor <B><i>this</i></B>)
3748 <div class="short">Fires when the editor is first receives the focus.
3754 Fires when the editor is first receives the focus. Any insertion must wait<br/>until after this event.
3760 <dl class="detailList">
3761 <dt class="heading">Parameters:</dt>
3764 <span class="fixedFont">HtmlEditor</span> <b>this</b>
3785 <td class="msource">
3790 <tr class="method-row expandable config-row-alt1 notInherited">
3791 <td class="micon"><a class="exi" href="#expand"> </a></td>
3794 <a id="Roo.form.HtmlEditor-event-*autosave"></a>
3796 <div class="fixedFont">
3797 <b class="itemname">autosave</b> (HtmlEditor <B><i>this</i></B>)
3803 <div class="short">Auto save the htmlEditor value as a file into Events
3809 Auto save the htmlEditor value as a file into Events
3815 <dl class="detailList">
3816 <dt class="heading">Parameters:</dt>
3819 <span class="fixedFont">HtmlEditor</span> <b>this</b>
3840 <td class="msource">
3845 <tr class="method-row expandable config-row-alt0">
3846 <td class="micon"><a class="exi" href="#expand"> </a></td>
3849 <a id="Roo.Component-event-*beforedestroy"></a>
3851 <div class="fixedFont">
3852 <b class="itemname">beforedestroy</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
3858 <div class="short">Fires before the component is destroyed.
3864 Fires before the component is destroyed. Return false to stop the destroy.
3870 <dl class="detailList">
3871 <dt class="heading">Parameters:</dt>
3874 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3895 <td class="msource">
3896 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3900 <tr class="method-row expandable config-row-alt1">
3901 <td class="micon"><a class="exi" href="#expand"> </a></td>
3904 <a id="Roo.Component-event-*beforehide"></a>
3906 <div class="fixedFont">
3907 <b class="itemname">beforehide</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
3913 <div class="short">Fires before the component is hidden.
3919 Fires before the component is hidden. Return false to stop the hide.
3925 <dl class="detailList">
3926 <dt class="heading">Parameters:</dt>
3929 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3950 <td class="msource">
3951 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3955 <tr class="method-row expandable config-row-alt0 notInherited">
3956 <td class="micon"><a class="exi" href="#expand"> </a></td>
3959 <a id="Roo.form.HtmlEditor-event-*beforepush"></a>
3961 <div class="fixedFont">
3962 <b class="itemname">beforepush</b> (HtmlEditor <B><i>this</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>html</i></B>)
3968 <div class="short">Fires before the iframe editor is updated with content from the textarea.
3974 Fires before the iframe editor is updated with content from the textarea. Return false<br/>to cancel the push.
3980 <dl class="detailList">
3981 <dt class="heading">Parameters:</dt>
3984 <span class="fixedFont">HtmlEditor</span> <b>this</b>
3990 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>html</b>
4011 <td class="msource">
4016 <tr class="method-row expandable config-row-alt1">
4017 <td class="micon"><a class="exi" href="#expand"> </a></td>
4020 <a id="Roo.Component-event-*beforerender"></a>
4022 <div class="fixedFont">
4023 <b class="itemname">beforerender</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
4029 <div class="short">Fires before the component is rendered.
4035 Fires before the component is rendered. Return false to stop the render.
4041 <dl class="detailList">
4042 <dt class="heading">Parameters:</dt>
4045 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4066 <td class="msource">
4067 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4071 <tr class="method-row expandable config-row-alt0">
4072 <td class="micon"><a class="exi" href="#expand"> </a></td>
4075 <a id="Roo.Component-event-*beforeshow"></a>
4077 <div class="fixedFont">
4078 <b class="itemname">beforeshow</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
4084 <div class="short">Fires before the component is shown.
4090 Fires before the component is shown. Return false to stop the show.
4096 <dl class="detailList">
4097 <dt class="heading">Parameters:</dt>
4100 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4121 <td class="msource">
4122 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4126 <tr class="method-row expandable config-row-alt1 notInherited">
4127 <td class="micon"><a class="exi" href="#expand"> </a></td>
4130 <a id="Roo.form.HtmlEditor-event-*beforesync"></a>
4132 <div class="fixedFont">
4133 <b class="itemname">beforesync</b> (HtmlEditor <B><i>this</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>html</i></B>)
4139 <div class="short">Fires before the textarea is updated with content from the editor iframe.
4145 Fires before the textarea is updated with content from the editor iframe. Return false<br/>to cancel the sync.
4151 <dl class="detailList">
4152 <dt class="heading">Parameters:</dt>
4155 <span class="fixedFont">HtmlEditor</span> <b>this</b>
4161 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>html</b>
4182 <td class="msource">
4187 <tr class="method-row expandable config-row-alt0">
4188 <td class="micon"><a class="exi" href="#expand"> </a></td>
4191 <a id="Roo.Component-event-*destroy"></a>
4193 <div class="fixedFont">
4194 <b class="itemname">destroy</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
4200 <div class="short">Fires after the component is destroyed.
4206 Fires after the component is destroyed.
4212 <dl class="detailList">
4213 <dt class="heading">Parameters:</dt>
4216 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4237 <td class="msource">
4238 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4242 <tr class="method-row expandable config-row-alt1">
4243 <td class="micon"><a class="exi" href="#expand"> </a></td>
4246 <a id="Roo.Component-event-*disable"></a>
4248 <div class="fixedFont">
4249 <b class="itemname">disable</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
4255 <div class="short">Fires after the component is disabled.
4261 Fires after the component is disabled.
4267 <dl class="detailList">
4268 <dt class="heading">Parameters:</dt>
4271 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4292 <td class="msource">
4293 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4297 <tr class="method-row expandable config-row-alt0 notInherited">
4298 <td class="micon"><a class="exi" href="#expand"> </a></td>
4301 <a id="Roo.form.HtmlEditor-event-*editmodechange"></a>
4303 <div class="fixedFont">
4304 <b class="itemname">editmodechange</b> (HtmlEditor <B><i>this</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>sourceEdit</i></B>)
4310 <div class="short">Fires when the editor switches edit modes
4316 Fires when the editor switches edit modes
4322 <dl class="detailList">
4323 <dt class="heading">Parameters:</dt>
4326 <span class="fixedFont">HtmlEditor</span> <b>this</b>
4332 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>sourceEdit</b>
4335 <dd>True if source edit, false if standard editing.</dd>
4353 <td class="msource">
4358 <tr class="method-row expandable config-row-alt1 notInherited">
4359 <td class="micon"><a class="exi" href="#expand"> </a></td>
4362 <a id="Roo.form.HtmlEditor-event-*editorevent"></a>
4364 <div class="fixedFont">
4365 <b class="itemname">editorevent</b> (HtmlEditor <B><i>this</i></B>)
4371 <div class="short">Fires when on any editor (mouse up/down cursor movement etc.
4377 Fires when on any editor (mouse up/down cursor movement etc.) - used for toolbar hooks.
4383 <dl class="detailList">
4384 <dt class="heading">Parameters:</dt>
4387 <span class="fixedFont">HtmlEditor</span> <b>this</b>
4408 <td class="msource">
4413 <tr class="method-row expandable config-row-alt0">
4414 <td class="micon"><a class="exi" href="#expand"> </a></td>
4417 <a id="Roo.Component-event-*enable"></a>
4419 <div class="fixedFont">
4420 <b class="itemname">enable</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
4426 <div class="short">Fires after the component is enabled.
4432 Fires after the component is enabled.
4438 <dl class="detailList">
4439 <dt class="heading">Parameters:</dt>
4442 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4463 <td class="msource">
4464 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4468 <tr class="method-row expandable config-row-alt1 notInherited">
4469 <td class="micon"><a class="exi" href="#expand"> </a></td>
4472 <a id="Roo.form.HtmlEditor-event-*firstfocus"></a>
4474 <div class="fixedFont">
4475 <b class="itemname">firstfocus</b> (HtmlEditor <B><i>this</i></B>)
4481 <div class="short">Fires when on first focus - needed by toolbars.
4487 Fires when on first focus - needed by toolbars..
4493 <dl class="detailList">
4494 <dt class="heading">Parameters:</dt>
4497 <span class="fixedFont">HtmlEditor</span> <b>this</b>
4518 <td class="msource">
4523 <tr class="method-row expandable config-row-alt0">
4524 <td class="micon"><a class="exi" href="#expand"> </a></td>
4527 <a id="Roo.Component-event-*hide"></a>
4529 <div class="fixedFont">
4530 <b class="itemname">hide</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
4536 <div class="short">Fires after the component is hidden.
4542 Fires after the component is hidden.
4548 <dl class="detailList">
4549 <dt class="heading">Parameters:</dt>
4552 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4573 <td class="msource">
4574 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4578 <tr class="method-row expandable config-row-alt1 notInherited">
4579 <td class="micon"><a class="exi" href="#expand"> </a></td>
4582 <a id="Roo.form.HtmlEditor-event-*initialize"></a>
4584 <div class="fixedFont">
4585 <b class="itemname">initialize</b> (HtmlEditor <B><i>this</i></B>)
4591 <div class="short">Fires when the editor is fully initialized (including the iframe)
4597 Fires when the editor is fully initialized (including the iframe)
4603 <dl class="detailList">
4604 <dt class="heading">Parameters:</dt>
4607 <span class="fixedFont">HtmlEditor</span> <b>this</b>
4628 <td class="msource">
4633 <tr class="method-row expandable config-row-alt0">
4634 <td class="micon"><a class="exi" href="#expand"> </a></td>
4637 <a id="Roo.form.Field-event-*invalid"></a>
4639 <div class="fixedFont">
4640 <b class="itemname">invalid</b> (<a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a> <B><i>this</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
4646 <div class="short">Fires after the field has been marked as invalid.
4652 Fires after the field has been marked as invalid.
4658 <dl class="detailList">
4659 <dt class="heading">Parameters:</dt>
4662 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
4668 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
4671 <dd>The validation message</dd>
4689 <td class="msource">
4690 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4694 <tr class="method-row expandable config-row-alt1">
4695 <td class="micon"><a class="exi" href="#expand"> </a></td>
4698 <a id="Roo.form.Field-event-*keyup"></a>
4700 <div class="fixedFont">
4701 <b class="itemname">keyup</b> (<a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a> <B><i>this</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
4707 <div class="short">Fires after the key up
4713 Fires after the key up
4719 <dl class="detailList">
4720 <dt class="heading">Parameters:</dt>
4723 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
4729 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4732 <dd>The event Object</dd>
4750 <td class="msource">
4751 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4755 <tr class="method-row expandable config-row-alt0">
4756 <td class="micon"><a class="exi" href="#expand"> </a></td>
4759 <a id="Roo.BoxComponent-event-*move"></a>
4761 <div class="fixedFont">
4762 <b class="itemname">move</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>x</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>y</i></B>)
4768 <div class="short">Fires after the component is moved.
4774 Fires after the component is moved.
4780 <dl class="detailList">
4781 <dt class="heading">Parameters:</dt>
4784 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4790 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
4793 <dd>The new x position</dd>
4796 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
4799 <dd>The new y position</dd>
4817 <td class="msource">
4818 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4822 <tr class="method-row expandable config-row-alt1 notInherited">
4823 <td class="micon"><a class="exi" href="#expand"> </a></td>
4826 <a id="Roo.form.HtmlEditor-event-*push"></a>
4828 <div class="fixedFont">
4829 <b class="itemname">push</b> (HtmlEditor <B><i>this</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>html</i></B>)
4835 <div class="short">Fires when the iframe editor is updated with content from the textarea.
4841 Fires when the iframe editor is updated with content from the textarea.
4847 <dl class="detailList">
4848 <dt class="heading">Parameters:</dt>
4851 <span class="fixedFont">HtmlEditor</span> <b>this</b>
4857 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>html</b>
4878 <td class="msource">
4883 <tr class="method-row expandable config-row-alt0">
4884 <td class="micon"><a class="exi" href="#expand"> </a></td>
4887 <a id="Roo.Component-event-*render"></a>
4889 <div class="fixedFont">
4890 <b class="itemname">render</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
4896 <div class="short">Fires after the component is rendered.
4902 Fires after the component is rendered.
4908 <dl class="detailList">
4909 <dt class="heading">Parameters:</dt>
4912 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4933 <td class="msource">
4934 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4938 <tr class="method-row expandable config-row-alt1">
4939 <td class="micon"><a class="exi" href="#expand"> </a></td>
4942 <a id="Roo.BoxComponent-event-*resize"></a>
4944 <div class="fixedFont">
4945 <b class="itemname">resize</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>adjWidth</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>adjHeight</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rawWidth</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rawHeight</i></B>)
4951 <div class="short">Fires after the component is resized.
4957 Fires after the component is resized.
4963 <dl class="detailList">
4964 <dt class="heading">Parameters:</dt>
4967 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4973 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
4976 <dd>The box-adjusted width that was set</dd>
4979 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
4982 <dd>The box-adjusted height that was set</dd>
4985 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
4988 <dd>The width that was originally specified</dd>
4991 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
4994 <dd>The height that was originally specified</dd>
5012 <td class="msource">
5013 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5017 <tr class="method-row expandable config-row-alt0 notInherited">
5018 <td class="micon"><a class="exi" href="#expand"> </a></td>
5021 <a id="Roo.form.HtmlEditor-event-*savedpreview"></a>
5023 <div class="fixedFont">
5024 <b class="itemname">savedpreview</b> (HtmlEditor <B><i>this</i></B>)
5030 <div class="short">preview the saved version of htmlEditor
5036 preview the saved version of htmlEditor
5042 <dl class="detailList">
5043 <dt class="heading">Parameters:</dt>
5046 <span class="fixedFont">HtmlEditor</span> <b>this</b>
5067 <td class="msource">
5072 <tr class="method-row expandable config-row-alt1">
5073 <td class="micon"><a class="exi" href="#expand"> </a></td>
5076 <a id="Roo.Component-event-*show"></a>
5078 <div class="fixedFont">
5079 <b class="itemname">show</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
5085 <div class="short">Fires after the component is shown.
5091 Fires after the component is shown.
5097 <dl class="detailList">
5098 <dt class="heading">Parameters:</dt>
5101 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5122 <td class="msource">
5123 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5127 <tr class="method-row expandable config-row-alt0 notInherited">
5128 <td class="micon"><a class="exi" href="#expand"> </a></td>
5131 <a id="Roo.form.HtmlEditor-event-*sync"></a>
5133 <div class="fixedFont">
5134 <b class="itemname">sync</b> (HtmlEditor <B><i>this</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>html</i></B>)
5140 <div class="short">Fires when the textarea is updated with content from the editor iframe.
5146 Fires when the textarea is updated with content from the editor iframe.
5152 <dl class="detailList">
5153 <dt class="heading">Parameters:</dt>
5156 <span class="fixedFont">HtmlEditor</span> <b>this</b>
5162 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>html</b>
5183 <td class="msource">
5188 <tr class="method-row expandable config-row-alt1">
5189 <td class="micon"><a class="exi" href="#expand"> </a></td>
5192 <a id="Roo.form.Field-event-*valid"></a>
5194 <div class="fixedFont">
5195 <b class="itemname">valid</b> (<a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a> <B><i>this</i></B>)
5201 <div class="short">Fires after the field has been validated with no errors.
5207 Fires after the field has been validated with no errors.
5213 <dl class="detailList">
5214 <dt class="heading">Parameters:</dt>
5217 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
5238 <td class="msource">
5239 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5250 <!-- ============================== footer ================================= -->
5251 <div class="fineprint" style="clear:both">
5253 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Feb 12 2015 14:00:53 GMT+0800 (HKT)
5255 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>