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">
191 <td class="micon"><a class="exi" href="#expand"> </a></td>
194 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
195 <div class="fixedFont">
196 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
202 <div class="short">A CSS class to apply to the field's underlying element.</div>
206 <div class="long">A CSS class to apply to the field's underlying element.</div>
214 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
220 <tr class="config-row expandable config-row-alt1">
221 <td class="micon"><a class="exi" href="#expand"> </a></td>
224 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
225 <div class="fixedFont">
226 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
232 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
236 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
244 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</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.form.Field-cfg-disabled" name=".disabled"></a>
255 <div class="fixedFont">
256 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
262 <div class="short">True to disable the field (defaults to false).</div>
266 <div class="long">True to disable the field (defaults to false).</div>
274 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</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-fieldLabel" name=".fieldLabel"></a>
285 <div class="fixedFont">
286 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
292 <div class="short">Label to use when rendering a form.</div>
296 <div class="long">Label to use when rendering a form.</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 notInherited">
311 <td class="micon"><a class="exi" href="#expand"> </a></td>
314 <a id="Roo.form.HtmlEditor-cfg-height" name=".height"></a>
315 <div class="fixedFont">
316 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
322 <div class="short">(in pixels)</div>
326 <div class="long">(in pixels)</div>
340 <tr class="config-row expandable config-row-alt1">
341 <td class="micon"><a class="exi" href="#expand"> </a></td>
344 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
345 <div class="fixedFont">
346 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
352 <div class="short">How this component should hidden.</div>
356 <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>
364 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
370 <tr class="config-row expandable config-row-alt0">
371 <td class="micon"><a class="exi" href="#expand"> </a></td>
374 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
375 <div class="fixedFont">
376 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
382 <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>
386 <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>
394 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</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.form.Field-cfg-msgTarget" name=".msgTarget"></a>
405 <div class="fixedFont">
406 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
412 <div class="short">The location where error text should display.</div>
416 <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>
424 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</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-name" name=".name"></a>
435 <div class="fixedFont">
436 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
442 <div class="short">The field's HTML name attribute.</div>
446 <div class="long">The field's HTML name attribute.</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-qtip" name=".qtip"></a>
465 <div class="fixedFont">
466 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
472 <div class="short">Mouse over tip</div>
476 <div class="long">Mouse over tip</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-readOnly" name=".readOnly"></a>
495 <div class="fixedFont">
496 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
502 <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>
506 <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>
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 notInherited">
521 <td class="micon"><a class="exi" href="#expand"> </a></td>
524 <a id="Roo.form.HtmlEditor-cfg-resizable" name=".resizable"></a>
525 <div class="fixedFont">
526 <b class="itemname">resizable</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
532 <div class="short">'s' or 'se' or 'e' - wrapps the element in a<br/> Roo.resizable.</div>
536 <div class="long">'s' or 'se' or 'e' - wrapps the element in a<br/> Roo.resizable.</div>
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-stylesheets" name=".stylesheets"></a>
555 <div class="fixedFont">
556 <b class="itemname">stylesheets</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
562 <div class="short">url of stylesheets.</div>
566 <div class="long">url of stylesheets. set to [] to disable stylesheets.</div>
580 <tr class="config-row expandable config-row-alt1">
581 <td class="micon"><a class="exi" href="#expand"> </a></td>
584 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
585 <div class="fixedFont">
586 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
592 <div class="short">The tabIndex for this field.</div>
596 <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>
604 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
610 <tr class="config-row expandable config-row-alt0 notInherited">
611 <td class="micon"><a class="exi" href="#expand"> </a></td>
614 <a id="Roo.form.HtmlEditor-cfg-toolbars" name=".toolbars"></a>
615 <div class="fixedFont">
616 <b class="itemname">toolbars</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
622 <div class="short">Array of toolbars.</div>
626 <div class="long">Array of toolbars. - defaults to just the Standard one</div>
640 <tr class="config-row expandable config-row-alt1">
641 <td class="micon"><a class="exi" href="#expand"> </a></td>
644 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
645 <div class="fixedFont">
646 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
652 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
656 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
664 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
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-validationEvent" name=".validationEvent"></a>
675 <div class="fixedFont">
676 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
682 <div class="short">The event that should initiate field validation.</div>
686 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</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-value" name=".value"></a>
705 <div class="fixedFont">
706 <b class="itemname">value</b> : Mixed
712 <div class="short">A value to initialize this field with.</div>
716 <div class="long">A value to initialize this field with.</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 notInherited">
731 <td class="micon"><a class="exi" href="#expand"> </a></td>
734 <a id="Roo.form.HtmlEditor-cfg-width" name=".width"></a>
735 <div class="fixedFont">
736 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
742 <div class="short">(in pixels)</div>
746 <div class="long">(in pixels)</div>
770 <!-- ============================== public properties ==================== -->
774 <a id="Roo.form.HtmlEditor-props"></a>
780 <table cellspacing="0" class="member-table">
781 <caption class="Empty">Public Properties - Has None</caption>
787 <!-- ============================== methods summary / details ======================== -->
790 <a id="Roo.form.HtmlEditor-methods"></a>
791 <!-- constructor?? -->
798 <!-- then dynamics first -->
805 <table cellspacing="0" class="member-table">
806 <caption>Public Methods</caption>
808 <th class="sig-header" colspan="2">Method</th>
809 <th class="msource-header">Defined By</th>
819 <tr class="method-row config-row-alt0 notInherited">
820 <td class="micon"><a class="exi" href="#expand"> </a></td>
824 <a id="Roo.form-method-HtmlEditor" name=".HtmlEditor"></a>
825 <div class="fixedFont">
826 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">HtmlEditor</b>
836 <div class="short">Create a new Roo.form.HtmlEditor</div>
843 Create a new Roo.form.HtmlEditor
866 <tr class="method-row config-row-alt1 expandable">
867 <td class="micon"><a class="exi" href="#expand"> </a></td>
871 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
872 <div class="fixedFont">
873 <span class="attributes"></span><b class="itemname">addEvents</b>
875 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
882 <div class="short">Used to define events on this Observable</div>
888 Used to define events on this Observable
895 <dl class="detailList">
896 <dt class="heading">Parameters:</dt>
899 <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>
902 <dd>The object with the events defined</dd>
922 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
928 <tr class="method-row config-row-alt0 expandable">
929 <td class="micon"><a class="exi" href="#expand"> </a></td>
933 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
934 <div class="fixedFont">
935 <span class="attributes"></span><b class="itemname">addListener</b>
937 (<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>)
944 <div class="short">Appends an event handler to this component</div>
950 Appends an event handler to this component
957 <dl class="detailList">
958 <dt class="heading">Parameters:</dt>
961 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
964 <dd>The type of event to listen for</dd>
967 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
970 <dd>The method the event invokes</dd>
973 <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>
976 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
979 <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>
982 <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>
1000 <td class="msource">
1002 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1008 <tr class="method-row config-row-alt1 expandable">
1009 <td class="micon"><a class="exi" href="#expand"> </a></td>
1013 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
1014 <div class="fixedFont">
1015 <span class="attributes"></span><b class="itemname">applyTo</b>
1017 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1023 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1032 <div class="short">Apply the behaviors of this component to an existing element.</div>
1038 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
1045 <dl class="detailList">
1046 <dt class="heading">Parameters:</dt>
1049 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1052 <dd>The id of the node, a DOM node or an existing Element</dd>
1060 <dl class="detailList">
1061 <dt class="heading">Returns:</dt>
1063 <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>
1077 <td class="msource">
1079 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1085 <tr class="method-row config-row-alt0 expandable notInherited">
1086 <td class="micon"><a class="exi" href="#expand"> </a></td>
1090 <a id="Roo.form.HtmlEditor-method-createToolbar" name=".createToolbar"></a>
1091 <div class="fixedFont">
1092 <span class="attributes"></span><b class="itemname">createToolbar</b>
1094 (HtmlEditor <B><i>editor</i></B>)
1101 <div class="short">Protected method that will not generally be called directly.</div>
1107 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.
1114 <dl class="detailList">
1115 <dt class="heading">Parameters:</dt>
1118 <span class="fixedFont">HtmlEditor</span> <b>editor</b>
1139 <td class="msource">
1147 <tr class="method-row config-row-alt1 expandable">
1148 <td class="micon"><a class="exi" href="#expand"> </a></td>
1152 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1153 <div class="fixedFont">
1154 <span class="attributes"></span><b class="itemname">destroy</b>
1163 <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>
1169 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}.
1190 <td class="msource">
1192 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1198 <tr class="method-row config-row-alt0 expandable">
1199 <td class="micon"><a class="exi" href="#expand"> </a></td>
1203 <a id="Roo.Component-method-disable" name=".disable"></a>
1204 <div class="fixedFont">
1205 <span class="attributes"></span><b class="itemname">disable</b>
1213 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1222 <div class="short">Disable this component.</div>
1228 Disable this component.
1239 <dl class="detailList">
1240 <dt class="heading">Returns:</dt>
1242 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1256 <td class="msource">
1258 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1264 <tr class="method-row config-row-alt1 expandable">
1265 <td class="micon"><a class="exi" href="#expand"> </a></td>
1269 <a id="Roo.Component-method-enable" name=".enable"></a>
1270 <div class="fixedFont">
1271 <span class="attributes"></span><b class="itemname">enable</b>
1279 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1288 <div class="short">Enable this component.</div>
1294 Enable this component.
1305 <dl class="detailList">
1306 <dt class="heading">Returns:</dt>
1308 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1322 <td class="msource">
1324 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1330 <tr class="method-row config-row-alt0 expandable">
1331 <td class="micon"><a class="exi" href="#expand"> </a></td>
1335 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1336 <div class="fixedFont">
1337 <span class="attributes"></span><b class="itemname">fireEvent</b>
1339 (<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>)
1345 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1354 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1360 Fires the specified event with the passed parameters (minus the event name).
1367 <dl class="detailList">
1368 <dt class="heading">Parameters:</dt>
1371 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1377 <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>
1380 <dd>Variable number of parameters are passed to handlers</dd>
1388 <dl class="detailList">
1389 <dt class="heading">Returns:</dt>
1391 <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>
1405 <td class="msource">
1407 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1413 <tr class="method-row config-row-alt1 expandable">
1414 <td class="micon"><a class="exi" href="#expand"> </a></td>
1418 <a id="Roo.Component-method-focus" name=".focus"></a>
1419 <div class="fixedFont">
1420 <span class="attributes"></span><b class="itemname">focus</b>
1422 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
1428 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1437 <div class="short">Try to focus this component.</div>
1443 Try to focus this component.
1450 <dl class="detailList">
1451 <dt class="heading">Parameters:</dt>
1454 <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>
1457 <dd>True to also select the text in this component (if applicable)</dd>
1465 <dl class="detailList">
1466 <dt class="heading">Returns:</dt>
1468 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1482 <td class="msource">
1484 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1490 <tr class="method-row config-row-alt0 expandable">
1491 <td class="micon"><a class="exi" href="#expand"> </a></td>
1495 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
1496 <div class="fixedFont">
1497 <span class="attributes"></span><b class="itemname">getBox</b>
1499 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
1506 <div class="short">Gets the current box measurements of the component's underlying element.</div>
1512 Gets the current box measurements of the component's underlying element.
1519 <dl class="detailList">
1520 <dt class="heading">Parameters:</dt>
1523 <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>
1526 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
1544 <td class="msource">
1546 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1552 <tr class="method-row config-row-alt1 expandable">
1553 <td class="micon"><a class="exi" href="#expand"> </a></td>
1557 <a id="Roo.Component-method-getEl" name=".getEl"></a>
1558 <div class="fixedFont">
1559 <span class="attributes"></span><b class="itemname">getEl</b>
1567 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1576 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
1582 Returns the underlying {<b>link</b> Roo.Element}.
1593 <dl class="detailList">
1594 <dt class="heading">Returns:</dt>
1596 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
1610 <td class="msource">
1612 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1618 <tr class="method-row config-row-alt0 expandable">
1619 <td class="micon"><a class="exi" href="#expand"> </a></td>
1623 <a id="Roo.Component-method-getId" name=".getId"></a>
1624 <div class="fixedFont">
1625 <span class="attributes"></span><b class="itemname">getId</b>
1633 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1642 <div class="short">Returns the id of this component.</div>
1648 Returns the id of this component.
1659 <dl class="detailList">
1660 <dt class="heading">Returns:</dt>
1662 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1676 <td class="msource">
1678 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1684 <tr class="method-row config-row-alt1 expandable">
1685 <td class="micon"><a class="exi" href="#expand"> </a></td>
1689 <a id="Roo.form.Field-method-getName" name=".getName"></a>
1690 <div class="fixedFont">
1691 <span class="attributes"></span><b class="itemname">getName</b>
1699 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1708 <div class="short">Returns the name attribute of the field if available</div>
1714 Returns the name attribute of the field if available
1725 <dl class="detailList">
1726 <dt class="heading">Returns:</dt>
1728 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
1742 <td class="msource">
1744 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1750 <tr class="method-row config-row-alt0 expandable">
1751 <td class="micon"><a class="exi" href="#expand"> </a></td>
1755 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
1756 <div class="fixedFont">
1757 <span class="attributes"></span><b class="itemname">getPosition</b>
1759 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
1765 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
1774 <div class="short">Gets the current XY position of the component's underlying element.</div>
1780 Gets the current XY position of the component's underlying element.
1787 <dl class="detailList">
1788 <dt class="heading">Parameters:</dt>
1791 <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>
1794 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
1802 <dl class="detailList">
1803 <dt class="heading">Returns:</dt>
1805 <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>
1819 <td class="msource">
1821 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1827 <tr class="method-row config-row-alt1 expandable">
1828 <td class="micon"><a class="exi" href="#expand"> </a></td>
1832 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
1833 <div class="fixedFont">
1834 <span class="attributes"></span><b class="itemname">getRawValue</b>
1851 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
1857 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>}.
1868 <dl class="detailList">
1869 <dt class="heading">Returns:</dt>
1871 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
1885 <td class="msource">
1887 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1893 <tr class="method-row config-row-alt0 expandable">
1894 <td class="micon"><a class="exi" href="#expand"> </a></td>
1898 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
1899 <div class="fixedFont">
1900 <span class="attributes"></span><b class="itemname">getSize</b>
1908 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1917 <div class="short">Gets the current size of the component's underlying element.</div>
1923 Gets the current size of the component's underlying element.
1934 <dl class="detailList">
1935 <dt class="heading">Returns:</dt>
1937 <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>
1951 <td class="msource">
1953 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1959 <tr class="method-row config-row-alt1 expandable">
1960 <td class="micon"><a class="exi" href="#expand"> </a></td>
1964 <a id="Roo.form.Field-method-getValue" name=".getValue"></a>
1965 <div class="fixedFont">
1966 <span class="attributes"></span><b class="itemname">getValue</b>
1983 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
1989 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2000 <dl class="detailList">
2001 <dt class="heading">Returns:</dt>
2003 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2017 <td class="msource">
2019 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2025 <tr class="method-row config-row-alt0 expandable">
2026 <td class="micon"><a class="exi" href="#expand"> </a></td>
2030 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2031 <div class="fixedFont">
2032 <span class="attributes"></span><b class="itemname">hasListener</b>
2034 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2040 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2049 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2055 Checks to see if this object has any listeners for a specified event
2062 <dl class="detailList">
2063 <dt class="heading">Parameters:</dt>
2066 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2069 <dd>The name of the event to check for</dd>
2077 <dl class="detailList">
2078 <dt class="heading">Returns:</dt>
2080 <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>
2094 <td class="msource">
2096 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2102 <tr class="method-row config-row-alt1 expandable">
2103 <td class="micon"><a class="exi" href="#expand"> </a></td>
2107 <a id="Roo.Component-method-hide" name=".hide"></a>
2108 <div class="fixedFont">
2109 <span class="attributes"></span><b class="itemname">hide</b>
2117 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2126 <div class="short">Hide this component.</div>
2132 Hide this component.
2143 <dl class="detailList">
2144 <dt class="heading">Returns:</dt>
2146 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2160 <td class="msource">
2162 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2168 <tr class="method-row config-row-alt0 expandable">
2169 <td class="micon"><a class="exi" href="#expand"> </a></td>
2173 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
2174 <div class="fixedFont">
2175 <span class="attributes"></span><b class="itemname">isDirty</b>
2184 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
2190 Returns true if this field has been changed since it was originally loaded and is not disabled.
2211 <td class="msource">
2213 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2219 <tr class="method-row config-row-alt1 expandable">
2220 <td class="micon"><a class="exi" href="#expand"> </a></td>
2224 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
2225 <div class="fixedFont">
2226 <span class="attributes"></span><b class="itemname">isValid</b>
2228 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
2234 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2243 <div class="short">Returns whether or not the field value is currently valid</div>
2249 Returns whether or not the field value is currently valid
2256 <dl class="detailList">
2257 <dt class="heading">Parameters:</dt>
2260 <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>
2263 <dd>True to disable marking the field invalid</dd>
2271 <dl class="detailList">
2272 <dt class="heading">Returns:</dt>
2274 <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>
2288 <td class="msource">
2290 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2296 <tr class="method-row config-row-alt0 expandable">
2297 <td class="micon"><a class="exi" href="#expand"> </a></td>
2301 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
2302 <div class="fixedFont">
2303 <span class="attributes"></span><b class="itemname">isVisible</b>
2312 <div class="short">Returns true if this component is visible.</div>
2318 Returns true if this component is visible.
2339 <td class="msource">
2341 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2347 <tr class="method-row config-row-alt1 expandable">
2348 <td class="micon"><a class="exi" href="#expand"> </a></td>
2352 <a id="Roo.util.Observable-method-on" name=".on"></a>
2353 <div class="fixedFont">
2354 <span class="attributes"></span><b class="itemname">on</b>
2356 (<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>)
2363 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
2369 Appends an event handler to this element (shorthand for addListener)
2376 <dl class="detailList">
2377 <dt class="heading">Parameters:</dt>
2380 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2383 <dd>The type of event to listen for</dd>
2386 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2389 <dd>The method the event invokes</dd>
2392 <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>
2395 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2398 <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>
2419 <td class="msource">
2421 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2427 <tr class="method-row config-row-alt0 expandable">
2428 <td class="micon"><a class="exi" href="#expand"> </a></td>
2432 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
2433 <div class="fixedFont">
2434 <span class="attributes"></span><b class="itemname">onPosition</b>
2436 (<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>)
2443 <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>
2449 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.
2456 <dl class="detailList">
2457 <dt class="heading">Parameters:</dt>
2460 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
2463 <dd>The new x position</dd>
2466 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
2469 <dd>The new y position</dd>
2487 <td class="msource">
2489 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2495 <tr class="method-row config-row-alt1 expandable">
2496 <td class="micon"><a class="exi" href="#expand"> </a></td>
2500 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
2501 <div class="fixedFont">
2502 <span class="attributes"></span><b class="itemname">onResize</b>
2504 (<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>)
2511 <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>
2517 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.
2524 <dl class="detailList">
2525 <dt class="heading">Parameters:</dt>
2528 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
2531 <dd>The box-adjusted width that was set</dd>
2534 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
2537 <dd>The box-adjusted height that was set</dd>
2540 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
2543 <dd>The width that was originally specified</dd>
2546 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
2549 <dd>The height that was originally specified</dd>
2567 <td class="msource">
2569 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2575 <tr class="method-row config-row-alt0 expandable">
2576 <td class="micon"><a class="exi" href="#expand"> </a></td>
2580 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
2581 <div class="fixedFont">
2582 <span class="attributes"></span><b class="itemname">purgeListeners</b>
2591 <div class="short">Removes all listeners for this object</div>
2597 Removes all listeners for this object
2618 <td class="msource">
2620 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2626 <tr class="method-row config-row-alt1 expandable">
2627 <td class="micon"><a class="exi" href="#expand"> </a></td>
2631 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
2632 <div class="fixedFont">
2633 <span class="attributes"></span><b class="itemname">removeListener</b>
2635 (<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>)
2642 <div class="short">Removes a listener</div>
2655 <dl class="detailList">
2656 <dt class="heading">Parameters:</dt>
2659 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2662 <dd>The type of event to listen for</dd>
2665 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2668 <dd>The handler to remove</dd>
2671 <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>
2674 <dd>(optional) The scope (this object) for the handler</dd>
2692 <td class="msource">
2694 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2700 <tr class="method-row config-row-alt0 expandable">
2701 <td class="micon"><a class="exi" href="#expand"> </a></td>
2705 <a id="Roo.Component-method-render" name=".render"></a>
2706 <div class="fixedFont">
2707 <span class="attributes"></span><b class="itemname">render</b>
2709 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
2716 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
2722 If this is a lazy rendering component, render it to its container element.
2729 <dl class="detailList">
2730 <dt class="heading">Parameters:</dt>
2733 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
2736 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
2754 <td class="msource">
2756 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2762 <tr class="method-row config-row-alt1 expandable">
2763 <td class="micon"><a class="exi" href="#expand"> </a></td>
2767 <a id="Roo.form.Field-method-reset" name=".reset"></a>
2768 <div class="fixedFont">
2769 <span class="attributes"></span><b class="itemname">reset</b>
2778 <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>
2784 Resets the current field value to the originally loaded value and clears any validation messages
2805 <td class="msource">
2807 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2813 <tr class="method-row config-row-alt0 expandable">
2814 <td class="micon"><a class="exi" href="#expand"> </a></td>
2818 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
2819 <div class="fixedFont">
2820 <span class="attributes"></span><b class="itemname">setDisabled</b>
2822 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
2829 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
2835 Convenience function for setting disabled/enabled by boolean.
2842 <dl class="detailList">
2843 <dt class="heading">Parameters:</dt>
2846 <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>
2867 <td class="msource">
2869 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2875 <tr class="method-row config-row-alt1 expandable">
2876 <td class="micon"><a class="exi" href="#expand"> </a></td>
2880 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
2881 <div class="fixedFont">
2882 <span class="attributes"></span><b class="itemname">setPagePosition</b>
2884 (<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>)
2891 <div class="short">Sets the page XY position of the component.</div>
2897 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.
2904 <dl class="detailList">
2905 <dt class="heading">Parameters:</dt>
2908 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
2911 <dd>The new x position</dd>
2914 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
2917 <dd>The new y position</dd>
2935 <td class="msource">
2937 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2943 <tr class="method-row config-row-alt0 expandable">
2944 <td class="micon"><a class="exi" href="#expand"> </a></td>
2948 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
2949 <div class="fixedFont">
2950 <span class="attributes"></span><b class="itemname">setPosition</b>
2952 (<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>)
2959 <div class="short">Sets the left and top of the component.</div>
2965 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.
2972 <dl class="detailList">
2973 <dt class="heading">Parameters:</dt>
2976 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
2979 <dd>The new left</dd>
2982 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
2985 <dd>The new top</dd>
3003 <td class="msource">
3005 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3011 <tr class="method-row config-row-alt1 expandable">
3012 <td class="micon"><a class="exi" href="#expand"> </a></td>
3016 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
3017 <div class="fixedFont">
3018 <span class="attributes"></span><b class="itemname">setRawValue</b>
3020 (Mixed <B><i>value</i></B>)
3027 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
3033 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
3040 <dl class="detailList">
3041 <dt class="heading">Parameters:</dt>
3044 <span class="fixedFont">Mixed</span> <b>value</b>
3047 <dd>The value to set</dd>
3065 <td class="msource">
3067 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3073 <tr class="method-row config-row-alt0 expandable">
3074 <td class="micon"><a class="exi" href="#expand"> </a></td>
3078 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
3079 <div class="fixedFont">
3080 <span class="attributes"></span><b class="itemname">setSize</b>
3082 (<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>)
3088 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3097 <div class="short">Sets the width and height of the component.</div>
3103 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}.
3110 <dl class="detailList">
3111 <dt class="heading">Parameters:</dt>
3114 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
3117 <dd>The new width to set, or a size object in the format {width, height}</dd>
3120 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
3123 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
3131 <dl class="detailList">
3132 <dt class="heading">Returns:</dt>
3134 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
3148 <td class="msource">
3150 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3156 <tr class="method-row config-row-alt1 expandable">
3157 <td class="micon"><a class="exi" href="#expand"> </a></td>
3161 <a id="Roo.form.Field-method-setValue" name=".setValue"></a>
3162 <div class="fixedFont">
3163 <span class="attributes"></span><b class="itemname">setValue</b>
3165 (Mixed <B><i>value</i></B>)
3172 <div class="short">Sets a data value into the field and validates it.</div>
3178 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
3185 <dl class="detailList">
3186 <dt class="heading">Parameters:</dt>
3189 <span class="fixedFont">Mixed</span> <b>value</b>
3192 <dd>The value to set</dd>
3210 <td class="msource">
3212 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3218 <tr class="method-row config-row-alt0 expandable">
3219 <td class="micon"><a class="exi" href="#expand"> </a></td>
3223 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
3224 <div class="fixedFont">
3225 <span class="attributes"></span><b class="itemname">setVisible</b>
3227 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
3233 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3242 <div class="short">Convenience function to hide or show this component by boolean.</div>
3248 Convenience function to hide or show this component by boolean.
3255 <dl class="detailList">
3256 <dt class="heading">Parameters:</dt>
3259 <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>
3262 <dd>True to show, false to hide</dd>
3270 <dl class="detailList">
3271 <dt class="heading">Returns:</dt>
3273 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3287 <td class="msource">
3289 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3295 <tr class="method-row config-row-alt1 expandable">
3296 <td class="micon"><a class="exi" href="#expand"> </a></td>
3300 <a id="Roo.Component-method-show" name=".show"></a>
3301 <div class="fixedFont">
3302 <span class="attributes"></span><b class="itemname">show</b>
3310 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3319 <div class="short">Show this component.</div>
3325 Show this component.
3336 <dl class="detailList">
3337 <dt class="heading">Returns:</dt>
3339 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3353 <td class="msource">
3355 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3361 <tr class="method-row config-row-alt0 expandable">
3362 <td class="micon"><a class="exi" href="#expand"> </a></td>
3366 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
3367 <div class="fixedFont">
3368 <span class="attributes"></span><b class="itemname">syncSize</b>
3377 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
3383 Force the component's size to recalculate based on the underlying element's current height and width.
3404 <td class="msource">
3406 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3412 <tr class="method-row config-row-alt1 expandable notInherited">
3413 <td class="micon"><a class="exi" href="#expand"> </a></td>
3417 <a id="Roo.form.HtmlEditor-method-toggleSourceEdit" name=".toggleSourceEdit"></a>
3418 <div class="fixedFont">
3419 <span class="attributes"></span><b class="itemname">toggleSourceEdit</b>
3421 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>sourceEdit</i></B>)
3428 <div class="short">Toggles the editor between standard and source edit mode.</div>
3434 Toggles the editor between standard and source edit mode.
3441 <dl class="detailList">
3442 <dt class="heading">Parameters:</dt>
3445 <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>
3448 <dd>(optional) True for source edit, false for standard</dd>
3466 <td class="msource">
3474 <tr class="method-row config-row-alt0 expandable">
3475 <td class="micon"><a class="exi" href="#expand"> </a></td>
3479 <a id="Roo.util.Observable-method-un" name=".un"></a>
3480 <div class="fixedFont">
3481 <span class="attributes"></span><b class="itemname">un</b>
3483 (<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>)
3490 <div class="short">Removes a listener (shorthand for removeListener)</div>
3496 Removes a listener (shorthand for removeListener)
3503 <dl class="detailList">
3504 <dt class="heading">Parameters:</dt>
3507 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3510 <dd>The type of event to listen for</dd>
3513 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3516 <dd>The handler to remove</dd>
3519 <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>
3522 <dd>(optional) The scope (this object) for the handler</dd>
3540 <td class="msource">
3542 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3548 <tr class="method-row config-row-alt1 expandable">
3549 <td class="micon"><a class="exi" href="#expand"> </a></td>
3553 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
3554 <div class="fixedFont">
3555 <span class="attributes"></span><b class="itemname">updateBox</b>
3557 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
3564 <div class="short">Sets the current box measurements of the component's underlying element.</div>
3570 Sets the current box measurements of the component's underlying element.
3577 <dl class="detailList">
3578 <dt class="heading">Parameters:</dt>
3581 <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>
3584 <dd>An object in the format {x, y, width, height}</dd>
3602 <td class="msource">
3604 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3610 <tr class="method-row config-row-alt0 expandable">
3611 <td class="micon"><a class="exi" href="#expand"> </a></td>
3615 <a id="Roo.form.Field-method-validate" name=".validate"></a>
3616 <div class="fixedFont">
3617 <span class="attributes"></span><b class="itemname">validate</b>
3625 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3634 <div class="short">Validates the field value</div>
3640 Validates the field value
3651 <dl class="detailList">
3652 <dt class="heading">Returns:</dt>
3654 <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>
3668 <td class="msource">
3670 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3679 <!-- ============================== events summary / details ======================== -->
3682 <a id="Roo.form.HtmlEditor-events"></a>
3691 <table cellspacing="0" class="member-table">
3692 <caption>Events</caption>
3695 <th class="sig-header" colspan="2">Event</th>
3696 <th class="msource-header">Defined By</th>
3705 <tr class="method-row expandable config-row-alt0 notInherited">
3706 <td class="micon"><a class="exi" href="#expand"> </a></td>
3709 <a id="Roo.form.HtmlEditor-event-*activate"></a>
3711 <div class="fixedFont">
3712 <b class="itemname">activate</b> (HtmlEditor <B><i>this</i></B>)
3718 <div class="short">Fires when the editor is first receives the focus.
3724 Fires when the editor is first receives the focus. Any insertion must wait<br/>until after this event.
3730 <dl class="detailList">
3731 <dt class="heading">Parameters:</dt>
3734 <span class="fixedFont">HtmlEditor</span> <b>this</b>
3755 <td class="msource">
3760 <tr class="method-row expandable config-row-alt1 notInherited">
3761 <td class="micon"><a class="exi" href="#expand"> </a></td>
3764 <a id="Roo.form.HtmlEditor-event-*autosave"></a>
3766 <div class="fixedFont">
3767 <b class="itemname">autosave</b> (HtmlEditor <B><i>this</i></B>)
3773 <div class="short">Auto save the htmlEditor value as a file into Events
3779 Auto save the htmlEditor value as a file into Events
3785 <dl class="detailList">
3786 <dt class="heading">Parameters:</dt>
3789 <span class="fixedFont">HtmlEditor</span> <b>this</b>
3810 <td class="msource">
3815 <tr class="method-row expandable config-row-alt0">
3816 <td class="micon"><a class="exi" href="#expand"> </a></td>
3819 <a id="Roo.Component-event-*beforedestroy"></a>
3821 <div class="fixedFont">
3822 <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>)
3828 <div class="short">Fires before the component is destroyed.
3834 Fires before the component is destroyed. Return false to stop the destroy.
3840 <dl class="detailList">
3841 <dt class="heading">Parameters:</dt>
3844 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3865 <td class="msource">
3866 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3870 <tr class="method-row expandable config-row-alt1">
3871 <td class="micon"><a class="exi" href="#expand"> </a></td>
3874 <a id="Roo.Component-event-*beforehide"></a>
3876 <div class="fixedFont">
3877 <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>)
3883 <div class="short">Fires before the component is hidden.
3889 Fires before the component is hidden. Return false to stop the hide.
3895 <dl class="detailList">
3896 <dt class="heading">Parameters:</dt>
3899 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3920 <td class="msource">
3921 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3925 <tr class="method-row expandable config-row-alt0 notInherited">
3926 <td class="micon"><a class="exi" href="#expand"> </a></td>
3929 <a id="Roo.form.HtmlEditor-event-*beforepush"></a>
3931 <div class="fixedFont">
3932 <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>)
3938 <div class="short">Fires before the iframe editor is updated with content from the textarea.
3944 Fires before the iframe editor is updated with content from the textarea. Return false<br/>to cancel the push.
3950 <dl class="detailList">
3951 <dt class="heading">Parameters:</dt>
3954 <span class="fixedFont">HtmlEditor</span> <b>this</b>
3960 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>html</b>
3981 <td class="msource">
3986 <tr class="method-row expandable config-row-alt1">
3987 <td class="micon"><a class="exi" href="#expand"> </a></td>
3990 <a id="Roo.Component-event-*beforerender"></a>
3992 <div class="fixedFont">
3993 <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>)
3999 <div class="short">Fires before the component is rendered.
4005 Fires before the component is rendered. Return false to stop the render.
4011 <dl class="detailList">
4012 <dt class="heading">Parameters:</dt>
4015 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4036 <td class="msource">
4037 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4041 <tr class="method-row expandable config-row-alt0">
4042 <td class="micon"><a class="exi" href="#expand"> </a></td>
4045 <a id="Roo.Component-event-*beforeshow"></a>
4047 <div class="fixedFont">
4048 <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>)
4054 <div class="short">Fires before the component is shown.
4060 Fires before the component is shown. Return false to stop the show.
4066 <dl class="detailList">
4067 <dt class="heading">Parameters:</dt>
4070 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4091 <td class="msource">
4092 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4096 <tr class="method-row expandable config-row-alt1 notInherited">
4097 <td class="micon"><a class="exi" href="#expand"> </a></td>
4100 <a id="Roo.form.HtmlEditor-event-*beforesync"></a>
4102 <div class="fixedFont">
4103 <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>)
4109 <div class="short">Fires before the textarea is updated with content from the editor iframe.
4115 Fires before the textarea is updated with content from the editor iframe. Return false<br/>to cancel the sync.
4121 <dl class="detailList">
4122 <dt class="heading">Parameters:</dt>
4125 <span class="fixedFont">HtmlEditor</span> <b>this</b>
4131 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>html</b>
4152 <td class="msource">
4157 <tr class="method-row expandable config-row-alt0">
4158 <td class="micon"><a class="exi" href="#expand"> </a></td>
4161 <a id="Roo.Component-event-*destroy"></a>
4163 <div class="fixedFont">
4164 <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>)
4170 <div class="short">Fires after the component is destroyed.
4176 Fires after the component is destroyed.
4182 <dl class="detailList">
4183 <dt class="heading">Parameters:</dt>
4186 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4207 <td class="msource">
4208 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4212 <tr class="method-row expandable config-row-alt1">
4213 <td class="micon"><a class="exi" href="#expand"> </a></td>
4216 <a id="Roo.Component-event-*disable"></a>
4218 <div class="fixedFont">
4219 <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>)
4225 <div class="short">Fires after the component is disabled.
4231 Fires after the component is disabled.
4237 <dl class="detailList">
4238 <dt class="heading">Parameters:</dt>
4241 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4262 <td class="msource">
4263 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4267 <tr class="method-row expandable config-row-alt0 notInherited">
4268 <td class="micon"><a class="exi" href="#expand"> </a></td>
4271 <a id="Roo.form.HtmlEditor-event-*editmodechange"></a>
4273 <div class="fixedFont">
4274 <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>)
4280 <div class="short">Fires when the editor switches edit modes
4286 Fires when the editor switches edit modes
4292 <dl class="detailList">
4293 <dt class="heading">Parameters:</dt>
4296 <span class="fixedFont">HtmlEditor</span> <b>this</b>
4302 <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>
4305 <dd>True if source edit, false if standard editing.</dd>
4323 <td class="msource">
4328 <tr class="method-row expandable config-row-alt1 notInherited">
4329 <td class="micon"><a class="exi" href="#expand"> </a></td>
4332 <a id="Roo.form.HtmlEditor-event-*editorevent"></a>
4334 <div class="fixedFont">
4335 <b class="itemname">editorevent</b> (HtmlEditor <B><i>this</i></B>)
4341 <div class="short">Fires when on any editor (mouse up/down cursor movement etc.
4347 Fires when on any editor (mouse up/down cursor movement etc.) - used for toolbar hooks.
4353 <dl class="detailList">
4354 <dt class="heading">Parameters:</dt>
4357 <span class="fixedFont">HtmlEditor</span> <b>this</b>
4378 <td class="msource">
4383 <tr class="method-row expandable config-row-alt0">
4384 <td class="micon"><a class="exi" href="#expand"> </a></td>
4387 <a id="Roo.Component-event-*enable"></a>
4389 <div class="fixedFont">
4390 <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>)
4396 <div class="short">Fires after the component is enabled.
4402 Fires after the component is enabled.
4408 <dl class="detailList">
4409 <dt class="heading">Parameters:</dt>
4412 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4433 <td class="msource">
4434 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4438 <tr class="method-row expandable config-row-alt1 notInherited">
4439 <td class="micon"><a class="exi" href="#expand"> </a></td>
4442 <a id="Roo.form.HtmlEditor-event-*firstfocus"></a>
4444 <div class="fixedFont">
4445 <b class="itemname">firstfocus</b> (HtmlEditor <B><i>this</i></B>)
4451 <div class="short">Fires when on first focus - needed by toolbars.
4457 Fires when on first focus - needed by toolbars..
4463 <dl class="detailList">
4464 <dt class="heading">Parameters:</dt>
4467 <span class="fixedFont">HtmlEditor</span> <b>this</b>
4488 <td class="msource">
4493 <tr class="method-row expandable config-row-alt0">
4494 <td class="micon"><a class="exi" href="#expand"> </a></td>
4497 <a id="Roo.Component-event-*hide"></a>
4499 <div class="fixedFont">
4500 <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>)
4506 <div class="short">Fires after the component is hidden.
4512 Fires after the component is hidden.
4518 <dl class="detailList">
4519 <dt class="heading">Parameters:</dt>
4522 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4543 <td class="msource">
4544 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4548 <tr class="method-row expandable config-row-alt1 notInherited">
4549 <td class="micon"><a class="exi" href="#expand"> </a></td>
4552 <a id="Roo.form.HtmlEditor-event-*initialize"></a>
4554 <div class="fixedFont">
4555 <b class="itemname">initialize</b> (HtmlEditor <B><i>this</i></B>)
4561 <div class="short">Fires when the editor is fully initialized (including the iframe)
4567 Fires when the editor is fully initialized (including the iframe)
4573 <dl class="detailList">
4574 <dt class="heading">Parameters:</dt>
4577 <span class="fixedFont">HtmlEditor</span> <b>this</b>
4598 <td class="msource">
4603 <tr class="method-row expandable config-row-alt0">
4604 <td class="micon"><a class="exi" href="#expand"> </a></td>
4607 <a id="Roo.form.Field-event-*invalid"></a>
4609 <div class="fixedFont">
4610 <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>)
4616 <div class="short">Fires after the field has been marked as invalid.
4622 Fires after the field has been marked as invalid.
4628 <dl class="detailList">
4629 <dt class="heading">Parameters:</dt>
4632 <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>
4638 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
4641 <dd>The validation message</dd>
4659 <td class="msource">
4660 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4664 <tr class="method-row expandable config-row-alt1">
4665 <td class="micon"><a class="exi" href="#expand"> </a></td>
4668 <a id="Roo.form.Field-event-*keyup"></a>
4670 <div class="fixedFont">
4671 <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>)
4677 <div class="short">Fires after the key up
4683 Fires after the key up
4689 <dl class="detailList">
4690 <dt class="heading">Parameters:</dt>
4693 <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>
4699 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4702 <dd>The event Object</dd>
4720 <td class="msource">
4721 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4725 <tr class="method-row expandable config-row-alt0">
4726 <td class="micon"><a class="exi" href="#expand"> </a></td>
4729 <a id="Roo.BoxComponent-event-*move"></a>
4731 <div class="fixedFont">
4732 <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>)
4738 <div class="short">Fires after the component is moved.
4744 Fires after the component is moved.
4750 <dl class="detailList">
4751 <dt class="heading">Parameters:</dt>
4754 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4760 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
4763 <dd>The new x position</dd>
4766 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
4769 <dd>The new y position</dd>
4787 <td class="msource">
4788 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4792 <tr class="method-row expandable config-row-alt1 notInherited">
4793 <td class="micon"><a class="exi" href="#expand"> </a></td>
4796 <a id="Roo.form.HtmlEditor-event-*push"></a>
4798 <div class="fixedFont">
4799 <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>)
4805 <div class="short">Fires when the iframe editor is updated with content from the textarea.
4811 Fires when the iframe editor is updated with content from the textarea.
4817 <dl class="detailList">
4818 <dt class="heading">Parameters:</dt>
4821 <span class="fixedFont">HtmlEditor</span> <b>this</b>
4827 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>html</b>
4848 <td class="msource">
4853 <tr class="method-row expandable config-row-alt0">
4854 <td class="micon"><a class="exi" href="#expand"> </a></td>
4857 <a id="Roo.Component-event-*render"></a>
4859 <div class="fixedFont">
4860 <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>)
4866 <div class="short">Fires after the component is rendered.
4872 Fires after the component is rendered.
4878 <dl class="detailList">
4879 <dt class="heading">Parameters:</dt>
4882 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4903 <td class="msource">
4904 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4908 <tr class="method-row expandable config-row-alt1">
4909 <td class="micon"><a class="exi" href="#expand"> </a></td>
4912 <a id="Roo.BoxComponent-event-*resize"></a>
4914 <div class="fixedFont">
4915 <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>)
4921 <div class="short">Fires after the component is resized.
4927 Fires after the component is resized.
4933 <dl class="detailList">
4934 <dt class="heading">Parameters:</dt>
4937 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4943 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
4946 <dd>The box-adjusted width that was set</dd>
4949 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
4952 <dd>The box-adjusted height that was set</dd>
4955 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
4958 <dd>The width that was originally specified</dd>
4961 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
4964 <dd>The height that was originally specified</dd>
4982 <td class="msource">
4983 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4987 <tr class="method-row expandable config-row-alt0 notInherited">
4988 <td class="micon"><a class="exi" href="#expand"> </a></td>
4991 <a id="Roo.form.HtmlEditor-event-*savedpreview"></a>
4993 <div class="fixedFont">
4994 <b class="itemname">savedpreview</b> (HtmlEditor <B><i>this</i></B>)
5000 <div class="short">preview the saved version of htmlEditor
5006 preview the saved version of htmlEditor
5012 <dl class="detailList">
5013 <dt class="heading">Parameters:</dt>
5016 <span class="fixedFont">HtmlEditor</span> <b>this</b>
5037 <td class="msource">
5042 <tr class="method-row expandable config-row-alt1">
5043 <td class="micon"><a class="exi" href="#expand"> </a></td>
5046 <a id="Roo.Component-event-*show"></a>
5048 <div class="fixedFont">
5049 <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>)
5055 <div class="short">Fires after the component is shown.
5061 Fires after the component is shown.
5067 <dl class="detailList">
5068 <dt class="heading">Parameters:</dt>
5071 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5092 <td class="msource">
5093 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5097 <tr class="method-row expandable config-row-alt0 notInherited">
5098 <td class="micon"><a class="exi" href="#expand"> </a></td>
5101 <a id="Roo.form.HtmlEditor-event-*sync"></a>
5103 <div class="fixedFont">
5104 <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>)
5110 <div class="short">Fires when the textarea is updated with content from the editor iframe.
5116 Fires when the textarea is updated with content from the editor iframe.
5122 <dl class="detailList">
5123 <dt class="heading">Parameters:</dt>
5126 <span class="fixedFont">HtmlEditor</span> <b>this</b>
5132 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>html</b>
5153 <td class="msource">
5158 <tr class="method-row expandable config-row-alt1">
5159 <td class="micon"><a class="exi" href="#expand"> </a></td>
5162 <a id="Roo.form.Field-event-*valid"></a>
5164 <div class="fixedFont">
5165 <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>)
5171 <div class="short">Fires after the field has been validated with no errors.
5177 Fires after the field has been validated with no errors.
5183 <dl class="detailList">
5184 <dt class="heading">Parameters:</dt>
5187 <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>
5208 <td class="msource">
5209 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5220 <!-- ============================== footer ================================= -->
5221 <div class="fineprint" style="clear:both">
5223 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu May 08 2014 16:17:14 GMT+0800 (HKT)
5225 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>