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.Element</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.Element-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.Element-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.Element-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.Element-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 <!-- ============================== class title / details ============================ -->
48 <h1 class="classTitle">
53 <table cellspacing="0" class="class-summary-table">
55 <tr><td class="label">Package:</td><td class="hd-info">Roo</td></tr>
57 <tr><td class="label">Defined In:</td><td class="hd-info">
59 <a href="./src/Roo_Element.js.html">Roo/Element.js</a>.
62 <tr><td class="label">Class:</td><td class="hd-info">Element</td></tr>
65 <tr><td class="label">Subclasses:</td><td class="hd-info">
66 <a href="./Roo.Layer.html#constructor" roo:cls="Roo.Layer.html#constructor">Roo.Layer</a>
77 <!-- ============================== class summary ========================== -->
78 <div class="description">
79 Represents an Element in the DOM.<br><br><br/>Usage:<br><br/><pre><code><br/>var el = Roo.get("my-div");<br/><br/>// or with getEl<br/>var el = getEl("my-div");<br/><br/>// or with a DOM element<br/>var el = Roo.get(myDivElement);<br/></code></pre><br/>Using Roo.get() or getEl() instead of calling the constructor directly ensures you get the same object<br/>each call instead of constructing a new one.<br><br><br/><b>Animations</b><br /><br/>Many of the functions for manipulating an element have an optional "animate" parameter. The animate parameter<br/>should either be a boolean (true) or an object literal with animation options. The animation options are:<br/><pre><br/>Option Default Description<br/>--------- -------- ---------------------------------------------<br/>duration .35 The duration of the animation in seconds<br/>easing easeOut The YUI easing method<br/>callback none A function to execute when the anim completes<br/>scope this The scope (this) of the callback function<br/></pre><br/>Also, the Anim object being used for the animation will be set on your options object as "anim", which allows you to stop or<br/>manipulate the animation. Here's an example:<br/><pre><code><br/>var el = Roo.get("my-div");<br/><br/>// no animation<br/>el.setWidth(100);<br/><br/>// default animation<br/>el.setWidth(100, true);<br/><br/>// animation with some options set<br/>el.setWidth(100, {<br/> duration: 1,<br/> callback: this.foo,<br/> scope: this<br/>});<br/><br/>// using the "anim" property to get the Anim object<br/>var opt = {<br/> duration: 1,<br/> callback: this.foo,<br/> scope: this<br/>};<br/>el.setWidth(100, opt);<br/>...<br/>if(opt.anim.isAnimated()){<br/> opt.anim.stop();<br/>}<br/></code></pre><br/><b> Composite (Collections of) Elements</b><br /><br/>For working with collections of Elements, see <a href="Roo.CompositeElement.html">Roo.CompositeElement</a>
83 <!-- ============================== Class comment block... ========================== -->
85 <div class="comments">
86 <b>Class Comments / Notes</B> =>
87 <u onclick="parent.CommentDialog.showCommentId = 'Roo.Element';">[Add Your comment/notes about this class]</u>
89 <iframe frameborder="0" id="comments-Roo" style="border: none;width:100%;"
90 src="/blog.php/GtkDjsComments/Roo.Element.html"></iframe>
95 <!-- ============================== config options ========================== -->
100 <div class="hr"></div>
101 <a id="Roo.Element-configs"></a>
105 <table cellspacing="0" class="member-table">
106 <caption class="Empty">Config Options - Has None</caption>
120 <!-- ============================== public properties ==================== -->
124 <a id="Roo.Element-props"></a>
132 <table cellspacing="0" class="member-table">
133 <caption>Public Properties </caption>
135 <th class="sig-header" colspan="2">Property</th>
136 <th class="sig-header">Description</th>
137 <th class="msource-header">Defined By</th>
147 <tr class="property-row config-row-alt0 notInherited">
149 <a class="exi" href="#expand"> </a>
152 <a id="Roo.Element-prop-DISPLAY" name=".DISPLAY"></a>
153 <div class="fixedFont">
154 <span class="attributes">Roo.Element.</span><b class="itemname">DISPLAY</b> :
155 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
163 Visibility mode constant - Use display to hide element
171 Visibility mode constant - Use display to hide element
186 <tr class="property-row config-row-alt1 notInherited">
188 <a class="exi" href="#expand"> </a>
191 <a id="Roo.Element-prop-VISIBILITY" name=".VISIBILITY"></a>
192 <div class="fixedFont">
193 <span class="attributes">Roo.Element.</span><b class="itemname">VISIBILITY</b> :
194 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
202 Visibility mode constant - Use visibility to hide element
210 Visibility mode constant - Use visibility to hide element
226 <!-- TODO: implement this alt row. also notice non-linked "Defined by" when property is a part of this class.
227 <tr class="property-row alt">
234 <!-- ============================== methods summary / details ======================== -->
237 <a id="Roo.Element-methods"></a>
238 <!-- constructor?? -->
245 <!-- then dynamics first -->
252 <table cellspacing="0" class="member-table">
253 <caption>Public Methods</caption>
255 <th class="sig-header" colspan="2">Method</th>
256 <th class="msource-header">Defined By</th>
266 <tr class="method-row config-row-alt0 expandable notInherited">
267 <td class="micon"><a class="exi" href="#expand"> </a></td>
271 <a id="Roo-method-Element" name=".Element"></a>
272 <div class="fixedFont">
273 <span class="attributes">new <B>Roo.</B></span><b class="itemname">Element</b>
275 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement <B><i>element</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>forceNew</i></B>)
283 <div class="short">Create a new Roo.Element</div>
290 Create a new Roo.Element
293 <dl class="detailList">
294 <dt class="heading">Parameters:</dt>
297 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement</span> <b>element</b>
303 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>forceNew</b>
306 <dd>(optional) By default the constructor checks to see if there is already an instance of this element in the cache and if there is it returns the same instance. This will skip that check (useful for extending this class).</dd>
330 <tr class="method-row config-row-alt1 expandable notInherited">
331 <td class="micon"><a class="exi" href="#expand"> </a></td>
335 <a id="Roo.Element-method-fly" name=".fly"></a>
336 <div class="fixedFont">
337 <span class="attributes">Roo.Element.</span><b class="itemname">fly</b>
339 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement <B><i>el</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>named</i></B>)
354 <div class="short">Gets the globally shared flyweight Element, with the passed node as the active element.</div>
360 Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -<br/>the dom node can be overwritten by other code.
367 <dl class="detailList">
368 <dt class="heading">Parameters:</dt>
371 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement</span> <b>el</b>
374 <dd>The dom node or id</dd>
377 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>named</b>
380 <dd>(optional) Allows for creation of named reusable flyweights to<br/> prevent conflicts (e.g. internally Roo uses "_internal")</dd>
388 <dl class="detailList">
389 <dt class="heading">Returns:</dt>
391 <dd><span class="fixedFont">Element</span> The shared Element object</dd>
413 <tr class="method-row config-row-alt0 expandable notInherited">
414 <td class="micon"><a class="exi" href="#expand"> </a></td>
418 <a id="Roo.Element-method-get" name=".get"></a>
419 <div class="fixedFont">
420 <span class="attributes">Roo.Element.</span><b class="itemname">get</b>
422 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
437 <div class="short">Static method to retrieve Element objects.</div>
443 Static method to retrieve Element objects. Uses simple caching to consistently return the same object.<br/>Automatically fixes if an object was recreated with the same id via AJAX or DOM.
450 <dl class="detailList">
451 <dt class="heading">Parameters:</dt>
454 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
457 <dd>The id of the node, a DOM Node or an existing Element.</dd>
465 <dl class="detailList">
466 <dt class="heading">Returns:</dt>
468 <dd><span class="fixedFont">Element</span> The Element object</dd>
490 <tr class="method-row config-row-alt1 expandable notInherited">
491 <td class="micon"><a class="exi" href="#expand"> </a></td>
495 <a id="Roo.Element-method-addClass" name=".addClass"></a>
496 <div class="fixedFont">
497 <span class="attributes"></span><b class="itemname">addClass</b>
499 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array <B><i>className</i></B>)
505 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
514 <div class="short">Adds one or more CSS classes to the element.</div>
520 Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.
527 <dl class="detailList">
528 <dt class="heading">Parameters:</dt>
531 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array</span> <b>className</b>
534 <dd>The CSS class to add, or an array of classes</dd>
542 <dl class="detailList">
543 <dt class="heading">Returns:</dt>
545 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
567 <tr class="method-row config-row-alt0 expandable notInherited">
568 <td class="micon"><a class="exi" href="#expand"> </a></td>
572 <a id="Roo.Element-method-addClassOnClick" name=".addClassOnClick"></a>
573 <div class="fixedFont">
574 <span class="attributes"></span><b class="itemname">addClassOnClick</b>
576 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>className</i></B>)
582 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
591 <div class="short">Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect)</div>
597 Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect)
604 <dl class="detailList">
605 <dt class="heading">Parameters:</dt>
608 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>className</b>
619 <dl class="detailList">
620 <dt class="heading">Returns:</dt>
622 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
644 <tr class="method-row config-row-alt1 expandable notInherited">
645 <td class="micon"><a class="exi" href="#expand"> </a></td>
649 <a id="Roo.Element-method-addClassOnFocus" name=".addClassOnFocus"></a>
650 <div class="fixedFont">
651 <span class="attributes"></span><b class="itemname">addClassOnFocus</b>
653 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>className</i></B>)
659 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
668 <div class="short">Sets up event handlers to add and remove a css class when this element has the focus</div>
674 Sets up event handlers to add and remove a css class when this element has the focus
681 <dl class="detailList">
682 <dt class="heading">Parameters:</dt>
685 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>className</b>
696 <dl class="detailList">
697 <dt class="heading">Returns:</dt>
699 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
721 <tr class="method-row config-row-alt0 expandable notInherited">
722 <td class="micon"><a class="exi" href="#expand"> </a></td>
726 <a id="Roo.Element-method-addClassOnOver" name=".addClassOnOver"></a>
727 <div class="fixedFont">
728 <span class="attributes"></span><b class="itemname">addClassOnOver</b>
730 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>className</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventFlicker</i></B>)
736 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
745 <div class="short">Sets up event handlers to add and remove a css class when the mouse is over this element</div>
751 Sets up event handlers to add and remove a css class when the mouse is over this element
758 <dl class="detailList">
759 <dt class="heading">Parameters:</dt>
762 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>className</b>
768 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>preventFlicker</b>
771 <dd>(optional) If set to true, it prevents flickering by filtering<br/>mouseout events for children elements</dd>
779 <dl class="detailList">
780 <dt class="heading">Returns:</dt>
782 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
804 <tr class="method-row config-row-alt1 expandable notInherited">
805 <td class="micon"><a class="exi" href="#expand"> </a></td>
809 <a id="Roo.Element-method-addKeyListener" name=".addKeyListener"></a>
810 <div class="fixedFont">
811 <span class="attributes"></span><b class="itemname">addKeyListener</b>
813 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Array/Object/String <B><i>key</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</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>)
819 <a href="./Roo.KeyMap.html#constructor" roo:cls="Roo.KeyMap.html#constructor">Roo.KeyMap</a>
828 <div class="short">Convenience method for constructing a KeyMap</div>
834 Convenience method for constructing a KeyMap
841 <dl class="detailList">
842 <dt class="heading">Parameters:</dt>
845 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Array/Object/String</span> <b>key</b>
848 <dd>Either a string with the keys to listen for, the numeric key code, array of key codes or an object with the following options:<br/> {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}</dd>
851 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
854 <dd>The function to call</dd>
857 <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>
860 <dd>(optional) The scope of the function</dd>
868 <dl class="detailList">
869 <dt class="heading">Returns:</dt>
871 <dd><span class="fixedFont"><a href="./Roo.KeyMap.html#constructor" roo:cls="Roo.KeyMap.html#constructor">Roo.KeyMap</a></span> The KeyMap created</dd>
893 <tr class="method-row config-row-alt0 expandable notInherited">
894 <td class="micon"><a class="exi" href="#expand"> </a></td>
898 <a id="Roo.Element-method-addKeyMap" name=".addKeyMap"></a>
899 <div class="fixedFont">
900 <span class="attributes"></span><b class="itemname">addKeyMap</b>
902 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
908 <a href="./Roo.KeyMap.html#constructor" roo:cls="Roo.KeyMap.html#constructor">Roo.KeyMap</a>
917 <div class="short">Creates a KeyMap for this element</div>
923 Creates a KeyMap for this element
930 <dl class="detailList">
931 <dt class="heading">Parameters:</dt>
934 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
937 <dd>The KeyMap config. See {<b>link</b> Roo.KeyMap} for more details</dd>
945 <dl class="detailList">
946 <dt class="heading">Returns:</dt>
948 <dd><span class="fixedFont"><a href="./Roo.KeyMap.html#constructor" roo:cls="Roo.KeyMap.html#constructor">Roo.KeyMap</a></span> The KeyMap created</dd>
970 <tr class="method-row config-row-alt1 expandable notInherited">
971 <td class="micon"><a class="exi" href="#expand"> </a></td>
975 <a id="Roo.Element-method-addListener" name=".addListener"></a>
976 <div class="fixedFont">
977 <span class="attributes"></span><b class="itemname">addListener</b>
979 (<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>fn</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>)
986 <div class="short">Appends an event handler</div>
992 Appends an event handler
999 <dl class="detailList">
1000 <dt class="heading">Parameters:</dt>
1003 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1006 <dd>The type of event to append</dd>
1009 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
1012 <dd>The method the event invokes</dd>
1015 <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>
1018 <dd>(optional) The scope (this object) of the fn</dd>
1021 <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>
1024 <dd>(optional)An object with standard {<b>link</b> Roo.EventManager<b>addListener</b>} options</dd>
1042 <td class="msource">
1050 <tr class="method-row config-row-alt0 expandable notInherited">
1051 <td class="micon"><a class="exi" href="#expand"> </a></td>
1055 <a id="Roo.Element-method-alignTo" name=".alignTo"></a>
1056 <div class="fixedFont">
1057 <span class="attributes"></span><b class="itemname">alignTo</b>
1059 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>element</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>position</i></B>, <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>offsets</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
1065 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1074 <div class="short">Aligns this element with another element relative to the specified anchor points.</div>
1080 Aligns this element with another element relative to the specified anchor points. If the other element is the<br/>document it aligns it to the viewport.<br/>The position parameter is optional, and can be specified in any one of the following formats:<br/><ul><br/> <li><b>Blank</b>: Defaults to aligning the element's top-left corner to the target's bottom-left corner ("tl-bl").</li><br/> <li><b>One anchor (deprecated)</b>: The passed anchor position is used as the target element's anchor point.<br/> The element being aligned will position its top-left corner (tl) to that point. <i>This method has been<br/> deprecated in favor of the newer two anchor syntax below</i>.</li><br/> <li><b>Two anchors</b>: If two values from the table below are passed separated by a dash, the first value is used as the<br/> element's anchor point, and the second value is used as the target's anchor point.</li><br/></ul><br/>In addition to the anchor points, the position parameter also supports the "?" character. If "?" is passed at the end of<br/>the position string, the element will attempt to align as specified, but the position will be adjusted to constrain to<br/>the viewport if necessary. Note that the element being aligned might be swapped to align to a different position than<br/>that specified in order to enforce the viewport constraints.<br/>Following are all of the supported anchor positions:<br/> <pre><br/> Value Description<br/> ----- -----------------------------<br/> tl The top left corner (default)<br/> t The center of the top edge<br/> tr The top right corner<br/> l The center of the left edge<br/> c In the center of the element<br/> r The center of the right edge<br/> bl The bottom left corner<br/> b The center of the bottom edge<br/> br The bottom right corner<br/> </pre><br/> Example Usage:<br/> <pre><code><br/> // align el to other-el using the default positioning ("tl-bl", non-constrained)<br/> el.alignTo("other-el");<br/><br/> // align the top left corner of el with the top right corner of other-el (constrained to viewport)<br/> el.alignTo("other-el", "tr?");<br/><br/> // align the bottom right corner of el with the center left edge of other-el<br/> el.alignTo("other-el", "br-l?");<br/><br/> // align the center of el with the bottom left corner of other-el and<br/> // adjust the x position by -6 pixels (and the y position by 0)<br/> el.alignTo("other-el", "c-bl", [-6, 0]);<br/> </code></pre>
1087 <dl class="detailList">
1088 <dt class="heading">Parameters:</dt>
1091 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>element</b>
1094 <dd>The element to align to.</dd>
1097 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>position</b>
1100 <dd>The position to align to.</dd>
1103 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>offsets</b>
1106 <dd>(optional) Offset the positioning by [x, y]</dd>
1109 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
1112 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
1120 <dl class="detailList">
1121 <dt class="heading">Returns:</dt>
1123 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
1137 <td class="msource">
1145 <tr class="method-row config-row-alt1 expandable notInherited">
1146 <td class="micon"><a class="exi" href="#expand"> </a></td>
1150 <a id="Roo.Element-method-anchorTo" name=".anchorTo"></a>
1151 <div class="fixedFont">
1152 <span class="attributes"></span><b class="itemname">anchorTo</b>
1154 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>element</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>position</i></B>, <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>offsets</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Number <B><i>monitorScroll</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>)
1160 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1169 <div class="short">Anchors an element to another element and realigns it when the window is resized.</div>
1175 Anchors an element to another element and realigns it when the window is resized.
1182 <dl class="detailList">
1183 <dt class="heading">Parameters:</dt>
1186 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>element</b>
1189 <dd>The element to align to.</dd>
1192 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>position</b>
1195 <dd>The position to align to.</dd>
1198 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>offsets</b>
1201 <dd>(optional) Offset the positioning by [x, y]</dd>
1204 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
1207 <dd>(optional) True for the default animation or a standard Element animation config object</dd>
1210 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Number</span> <b>monitorScroll</b>
1213 <dd>(optional) True to monitor body scroll and reposition. If this parameter<br/>is a number, it is used as the buffer delay (defaults to 50ms).</dd>
1216 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
1219 <dd>The function to call after the animation finishes</dd>
1227 <dl class="detailList">
1228 <dt class="heading">Returns:</dt>
1230 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
1244 <td class="msource">
1252 <tr class="method-row config-row-alt0 expandable notInherited">
1253 <td class="micon"><a class="exi" href="#expand"> </a></td>
1257 <a id="Roo.Element-method-animate" name=".animate"></a>
1258 <div class="fixedFont">
1259 <span class="attributes"></span><b class="itemname">animate</b>
1261 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>args</i></B>, Float <B><i>duration</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>onComplete</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>easing</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>animType</i></B>)
1267 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1276 <div class="short">Perform animation on this element.</div>
1282 Perform animation on this element.
1289 <dl class="detailList">
1290 <dt class="heading">Parameters:</dt>
1293 <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>
1296 <dd>The YUI animation control args</dd>
1299 <span class="fixedFont">Float</span> <b>duration</b>
1302 <dd>(optional) How long the animation lasts in seconds (defaults to .35)</dd>
1305 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>onComplete</b>
1308 <dd>(optional) Function to call when animation completes</dd>
1311 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>easing</b>
1314 <dd>(optional) Easing method to use (defaults to 'easeOut')</dd>
1317 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>animType</b>
1320 <dd>(optional) 'run' is the default. Can also be 'color', 'motion', or 'scroll'</dd>
1328 <dl class="detailList">
1329 <dt class="heading">Returns:</dt>
1331 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
1345 <td class="msource">
1353 <tr class="method-row config-row-alt1 expandable notInherited">
1354 <td class="micon"><a class="exi" href="#expand"> </a></td>
1358 <a id="Roo.Element-method-appendChild" name=".appendChild"></a>
1359 <div class="fixedFont">
1360 <span class="attributes"></span><b class="itemname">appendChild</b>
1362 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Array/Element/CompositeElement <B><i>el</i></B>)
1368 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1377 <div class="short">Appends the passed element(s) to this element</div>
1383 Appends the passed element(s) to this element
1390 <dl class="detailList">
1391 <dt class="heading">Parameters:</dt>
1394 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Array/Element/CompositeElement</span> <b>el</b>
1405 <dl class="detailList">
1406 <dt class="heading">Returns:</dt>
1408 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
1422 <td class="msource">
1430 <tr class="method-row config-row-alt0 expandable notInherited">
1431 <td class="micon"><a class="exi" href="#expand"> </a></td>
1435 <a id="Roo.Element-method-appendTo" name=".appendTo"></a>
1436 <div class="fixedFont">
1437 <span class="attributes"></span><b class="itemname">appendTo</b>
1439 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1445 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1454 <div class="short">Appends this element to the passed element</div>
1460 Appends this element to the passed element
1467 <dl class="detailList">
1468 <dt class="heading">Parameters:</dt>
1471 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1474 <dd>The new parent element</dd>
1482 <dl class="detailList">
1483 <dt class="heading">Returns:</dt>
1485 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
1499 <td class="msource">
1507 <tr class="method-row config-row-alt1 expandable notInherited">
1508 <td class="micon"><a class="exi" href="#expand"> </a></td>
1512 <a id="Roo.Element-method-applyStyles" name=".applyStyles"></a>
1513 <div class="fixedFont">
1514 <span class="attributes"></span><b class="itemname">applyStyles</b>
1516 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object/Function <B><i>styles</i></B>)
1522 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1531 <div class="short">More flexible version of {<b>link</b> <b>setStyle</b>} for setting style properties.</div>
1537 More flexible version of {<b>link</b> <b>setStyle</b>} for setting style properties.
1544 <dl class="detailList">
1545 <dt class="heading">Parameters:</dt>
1548 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object/Function</span> <b>styles</b>
1551 <dd>A style specification string, e.g. "width:100px", or object in the form {width:"100px"}, or<br/>a function which returns such a specification.</dd>
1559 <dl class="detailList">
1560 <dt class="heading">Returns:</dt>
1562 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
1576 <td class="msource">
1584 <tr class="method-row config-row-alt0 expandable notInherited">
1585 <td class="micon"><a class="exi" href="#expand"> </a></td>
1589 <a id="Roo.Element-method-attr" name=".attr"></a>
1590 <div class="fixedFont">
1591 <span class="attributes"></span><b class="itemname">attr</b>
1593 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>name</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>value</i></B>)
1599 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1608 <div class="short">Sets or Returns the value the dom attribute value</div>
1614 Sets or Returns the value the dom attribute value
1621 <dl class="detailList">
1622 <dt class="heading">Parameters:</dt>
1625 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>|<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>name</b>
1628 <dd>The attribute name (or object to set multiple attributes)</dd>
1631 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>value</b>
1634 <dd>(optional) The value to set the attribute to</dd>
1642 <dl class="detailList">
1643 <dt class="heading">Returns:</dt>
1645 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> The attribute value</dd>
1659 <td class="msource">
1667 <tr class="method-row config-row-alt1 expandable notInherited">
1668 <td class="micon"><a class="exi" href="#expand"> </a></td>
1672 <a id="Roo.Element-method-autoHeight" name=".autoHeight"></a>
1673 <div class="fixedFont">
1674 <span class="attributes"></span><b class="itemname">autoHeight</b>
1676 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>animate</i></B>, Float <B><i>duration</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>onComplete</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>easing</i></B>)
1682 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1691 <div class="short">Measures the element's content height and updates height to match.</div>
1697 Measures the element's content height and updates height to match. Note: this function uses setTimeout so<br/>the new height may not be available immediately.
1704 <dl class="detailList">
1705 <dt class="heading">Parameters:</dt>
1708 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>animate</b>
1711 <dd>(optional) Animate the transition (defaults to false)</dd>
1714 <span class="fixedFont">Float</span> <b>duration</b>
1717 <dd>(optional) Length of the animation in seconds (defaults to .35)</dd>
1720 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>onComplete</b>
1723 <dd>(optional) Function to call when animation completes</dd>
1726 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>easing</b>
1729 <dd>(optional) Easing method to use (defaults to easeOut)</dd>
1737 <dl class="detailList">
1738 <dt class="heading">Returns:</dt>
1740 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
1754 <td class="msource">
1762 <tr class="method-row config-row-alt0 expandable notInherited">
1763 <td class="micon"><a class="exi" href="#expand"> </a></td>
1767 <a id="Roo.Element-method-beginMeasure" name=".beginMeasure"></a>
1768 <div class="fixedFont">
1769 <span class="attributes"></span><b class="itemname">beginMeasure</b>
1777 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1786 <div class="short">Temporarily enables offsets (width,height,x,y) for an element with display:none, use endMeasure() when done.</div>
1792 Temporarily enables offsets (width,height,x,y) for an element with display:none, use endMeasure() when done.
1803 <dl class="detailList">
1804 <dt class="heading">Returns:</dt>
1806 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
1820 <td class="msource">
1828 <tr class="method-row config-row-alt1 expandable notInherited">
1829 <td class="micon"><a class="exi" href="#expand"> </a></td>
1833 <a id="Roo.Element-method-blur" name=".blur"></a>
1834 <div class="fixedFont">
1835 <span class="attributes"></span><b class="itemname">blur</b>
1843 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1852 <div class="short">Tries to blur the element.</div>
1858 Tries to blur the element. Any exceptions are caught and ignored.
1869 <dl class="detailList">
1870 <dt class="heading">Returns:</dt>
1872 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
1886 <td class="msource">
1894 <tr class="method-row config-row-alt0 expandable notInherited">
1895 <td class="micon"><a class="exi" href="#expand"> </a></td>
1899 <a id="Roo.Element-method-boxWrap" name=".boxWrap"></a>
1900 <div class="fixedFont">
1901 <span class="attributes"></span><b class="itemname">boxWrap</b>
1903 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>class</i></B>)
1909 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1918 <div class="short">Wraps the specified element with a special markup/CSS block that renders by default as a gray container with a<br/>gradient background, rounded corners and a 4-way shadow.</div>
1924 Wraps the specified element with a special markup/CSS block that renders by default as a gray container with a<br/>gradient background, rounded corners and a 4-way shadow.
1931 <dl class="detailList">
1932 <dt class="heading">Parameters:</dt>
1935 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>class</b>
1938 <dd>(optional) A base CSS class to apply to the containing wrapper element (defaults to 'x-box').<br/>Note that there are a number of CSS rules that are dependent on this name to make the overall effect work,<br/>so if you supply an alternate base class, make sure you also supply all of the necessary rules.</dd>
1946 <dl class="detailList">
1947 <dt class="heading">Returns:</dt>
1949 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
1963 <td class="msource">
1971 <tr class="method-row config-row-alt1 expandable notInherited">
1972 <td class="micon"><a class="exi" href="#expand"> </a></td>
1976 <a id="Roo.Element-method-center" name=".center"></a>
1977 <div class="fixedFont">
1978 <span class="attributes"></span><b class="itemname">center</b>
1980 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>centerIn</i></B>)
1987 <div class="short">Centers the Element in either the viewport, or another Element.</div>
1993 Centers the Element in either the viewport, or another Element.
2000 <dl class="detailList">
2001 <dt class="heading">Parameters:</dt>
2004 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>centerIn</b>
2007 <dd>(optional) The element in which to center the element.</dd>
2025 <td class="msource">
2033 <tr class="method-row config-row-alt0 expandable notInherited">
2034 <td class="micon"><a class="exi" href="#expand"> </a></td>
2038 <a id="Roo.Element-method-child" name=".child"></a>
2039 <div class="fixedFont">
2040 <span class="attributes"></span><b class="itemname">child</b>
2042 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>selector</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>returnDom</i></B>)
2048 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/Roo.Element
2057 <div class="short">Selects a single child at any depth below this element based on the passed CSS selector (the selector should not contain an id).</div>
2063 Selects a single child at any depth below this element based on the passed CSS selector (the selector should not contain an id).
2070 <dl class="detailList">
2071 <dt class="heading">Parameters:</dt>
2074 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>selector</b>
2077 <dd>The CSS selector</dd>
2080 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>returnDom</b>
2083 <dd>(optional) True to return the DOM node instead of Roo.Element (defaults to false)</dd>
2091 <dl class="detailList">
2092 <dt class="heading">Returns:</dt>
2094 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/Roo.Element</span> The child Roo.Element (or DOM node if returnDom = true)</dd>
2108 <td class="msource">
2116 <tr class="method-row config-row-alt1 expandable notInherited">
2117 <td class="micon"><a class="exi" href="#expand"> </a></td>
2121 <a id="Roo.Element-method-clean" name=".clean"></a>
2122 <div class="fixedFont">
2123 <span class="attributes"></span><b class="itemname">clean</b>
2125 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>forceReclean</i></B>)
2132 <div class="short">Removes worthless text nodes</div>
2138 Removes worthless text nodes
2145 <dl class="detailList">
2146 <dt class="heading">Parameters:</dt>
2149 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>forceReclean</b>
2152 <dd>(optional) By default the element<br/>keeps track if it has been cleaned already so<br/>you can call this over and over. However, if you update the element and<br/>need to force a reclean, you can pass true.</dd>
2170 <td class="msource">
2178 <tr class="method-row config-row-alt0 expandable notInherited">
2179 <td class="micon"><a class="exi" href="#expand"> </a></td>
2183 <a id="Roo.Element-method-clearOpacity" name=".clearOpacity"></a>
2184 <div class="fixedFont">
2185 <span class="attributes"></span><b class="itemname">clearOpacity</b>
2193 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2202 <div class="short">Clears any opacity settings from this element.</div>
2208 Clears any opacity settings from this element. Required in some cases for IE.
2219 <dl class="detailList">
2220 <dt class="heading">Returns:</dt>
2222 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
2236 <td class="msource">
2244 <tr class="method-row config-row-alt1 expandable notInherited">
2245 <td class="micon"><a class="exi" href="#expand"> </a></td>
2249 <a id="Roo.Element-method-clearPositioning" name=".clearPositioning"></a>
2250 <div class="fixedFont">
2251 <span class="attributes"></span><b class="itemname">clearPositioning</b>
2253 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>value</i></B>)
2259 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2268 <div class="short">Clear positioning back to the default when the document was loaded</div>
2274 Clear positioning back to the default when the document was loaded
2281 <dl class="detailList">
2282 <dt class="heading">Parameters:</dt>
2285 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>value</b>
2288 <dd>(optional) The value to use for the left,right,top,bottom, defaults to '' (empty string). You could use 'auto'.</dd>
2296 <dl class="detailList">
2297 <dt class="heading">Returns:</dt>
2299 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
2313 <td class="msource">
2321 <tr class="method-row config-row-alt0 expandable notInherited">
2322 <td class="micon"><a class="exi" href="#expand"> </a></td>
2326 <a id="Roo.Element-method-clip" name=".clip"></a>
2327 <div class="fixedFont">
2328 <span class="attributes"></span><b class="itemname">clip</b>
2336 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2345 <div class="short">Store the current overflow setting and clip overflow on the element - use {<b>link</b> <b>unclip</b>} to remove</div>
2351 Store the current overflow setting and clip overflow on the element - use {<b>link</b> <b>unclip</b>} to remove
2362 <dl class="detailList">
2363 <dt class="heading">Returns:</dt>
2365 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
2379 <td class="msource">
2387 <tr class="method-row config-row-alt1 expandable notInherited">
2388 <td class="micon"><a class="exi" href="#expand"> </a></td>
2392 <a id="Roo.Element-method-contains" name=".contains"></a>
2393 <div class="fixedFont">
2394 <span class="attributes"></span><b class="itemname">contains</b>
2396 (<a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/String <B><i>el</i></B>)
2402 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2411 <div class="short">Returns true if this element is an ancestor of the passed element</div>
2417 Returns true if this element is an ancestor of the passed element
2424 <dl class="detailList">
2425 <dt class="heading">Parameters:</dt>
2428 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/String</span> <b>el</b>
2431 <dd>The element to check</dd>
2439 <dl class="detailList">
2440 <dt class="heading">Returns:</dt>
2442 <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 this element is an ancestor of el, else false</dd>
2456 <td class="msource">
2464 <tr class="method-row config-row-alt0 expandable notInherited">
2465 <td class="micon"><a class="exi" href="#expand"> </a></td>
2469 <a id="Roo.Element-method-createChild" name=".createChild"></a>
2470 <div class="fixedFont">
2471 <span class="attributes"></span><b class="itemname">createChild</b>
2473 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>, <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a> <B><i>insertBefore</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>returnDom</i></B>)
2479 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2488 <div class="short">Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.</div>
2494 Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.
2501 <dl class="detailList">
2502 <dt class="heading">Parameters:</dt>
2505 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
2508 <dd>DomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be<br/>automatically generated with the specified attributes.</dd>
2511 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> <b>insertBefore</b>
2514 <dd>(optional) a child element of this element</dd>
2517 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>returnDom</b>
2520 <dd>(optional) true to return the dom node instead of creating an Element</dd>
2528 <dl class="detailList">
2529 <dt class="heading">Returns:</dt>
2531 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The new child element</dd>
2545 <td class="msource">
2553 <tr class="method-row config-row-alt1 expandable notInherited">
2554 <td class="micon"><a class="exi" href="#expand"> </a></td>
2558 <a id="Roo.Element-method-createProxy" name=".createProxy"></a>
2559 <div class="fixedFont">
2560 <span class="attributes"></span><b class="itemname">createProxy</b>
2562 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object <B><i>config</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement <B><i>renderTo</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>matchBox</i></B>)
2568 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2577 <div class="short">Creates a proxy element of this element</div>
2583 Creates a proxy element of this element
2590 <dl class="detailList">
2591 <dt class="heading">Parameters:</dt>
2594 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object</span> <b>config</b>
2597 <dd>The class name of the proxy element or a DomHelper config object</dd>
2600 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement</span> <b>renderTo</b>
2603 <dd>(optional) The element or element id to render the proxy to (defaults to document.body)</dd>
2606 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>matchBox</b>
2609 <dd>(optional) True to align and size the proxy to this element now (defaults to false)</dd>
2617 <dl class="detailList">
2618 <dt class="heading">Returns:</dt>
2620 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The new proxy element</dd>
2634 <td class="msource">
2642 <tr class="method-row config-row-alt0 expandable notInherited">
2643 <td class="micon"><a class="exi" href="#expand"> </a></td>
2647 <a id="Roo.Element-method-createShim" name=".createShim"></a>
2648 <div class="fixedFont">
2649 <span class="attributes"></span><b class="itemname">createShim</b>
2657 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2666 <div class="short">Creates an iframe shim for this element to keep selects and other windowed objects from<br/>showing through.</div>
2672 Creates an iframe shim for this element to keep selects and other windowed objects from<br/>showing through.
2683 <dl class="detailList">
2684 <dt class="heading">Returns:</dt>
2686 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The new shim element</dd>
2700 <td class="msource">
2708 <tr class="method-row config-row-alt1 expandable notInherited">
2709 <td class="micon"><a class="exi" href="#expand"> </a></td>
2713 <a id="Roo.Element-method-down" name=".down"></a>
2714 <div class="fixedFont">
2715 <span class="attributes"></span><b class="itemname">down</b>
2717 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>selector</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>returnDom</i></B>)
2723 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/Roo.Element
2732 <div class="short">Selects a single *direct* child based on the passed CSS selector (the selector should not contain an id).</div>
2738 Selects a single *direct* child based on the passed CSS selector (the selector should not contain an id).
2745 <dl class="detailList">
2746 <dt class="heading">Parameters:</dt>
2749 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>selector</b>
2752 <dd>The CSS selector</dd>
2755 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>returnDom</b>
2758 <dd>(optional) True to return the DOM node instead of Roo.Element (defaults to false)</dd>
2766 <dl class="detailList">
2767 <dt class="heading">Returns:</dt>
2769 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/Roo.Element</span> The child Roo.Element (or DOM node if returnDom = true)</dd>
2783 <td class="msource">
2791 <tr class="method-row config-row-alt0 expandable notInherited">
2792 <td class="micon"><a class="exi" href="#expand"> </a></td>
2796 <a id="Roo.Element-method-enableDisplayMode" name=".enableDisplayMode"></a>
2797 <div class="fixedFont">
2798 <span class="attributes"></span><b class="itemname">enableDisplayMode</b>
2800 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>display</i></B>)
2806 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2815 <div class="short">Convenience method for setVisibilityMode(Element.DISPLAY)</div>
2821 Convenience method for setVisibilityMode(Element.DISPLAY)
2828 <dl class="detailList">
2829 <dt class="heading">Parameters:</dt>
2832 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>display</b>
2835 <dd>(optional) What to set display to when visible</dd>
2843 <dl class="detailList">
2844 <dt class="heading">Returns:</dt>
2846 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
2860 <td class="msource">
2868 <tr class="method-row config-row-alt1 expandable notInherited">
2869 <td class="micon"><a class="exi" href="#expand"> </a></td>
2873 <a id="Roo.Element-method-endMeasure" name=".endMeasure"></a>
2874 <div class="fixedFont">
2875 <span class="attributes"></span><b class="itemname">endMeasure</b>
2883 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2892 <div class="short">Restores displays to before beginMeasure was called</div>
2898 Restores displays to before beginMeasure was called
2909 <dl class="detailList">
2910 <dt class="heading">Returns:</dt>
2912 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
2926 <td class="msource">
2934 <tr class="method-row config-row-alt0 expandable notInherited">
2935 <td class="micon"><a class="exi" href="#expand"> </a></td>
2939 <a id="Roo.Element-method-findParent" name=".findParent"></a>
2940 <div class="fixedFont">
2941 <span class="attributes"></span><b class="itemname">findParent</b>
2943 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>selector</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/String/HTMLElement/Element <B><i>maxDepth</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>returnEl</i></B>)
2949 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
2958 <div class="short">Looks at this node and then at parent nodes for a match of the passed simple selector (e.g.</div>
2964 Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
2971 <dl class="detailList">
2972 <dt class="heading">Parameters:</dt>
2975 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>selector</b>
2978 <dd>The simple selector to test</dd>
2981 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/String/HTMLElement/Element</span> <b>maxDepth</b>
2984 <dd>(optional) The max depth to<br/> search as a number or element (defaults to 10 || document.body)</dd>
2987 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>returnEl</b>
2990 <dd>(optional) True to return a Roo.Element object instead of DOM node</dd>
2998 <dl class="detailList">
2999 <dt class="heading">Returns:</dt>
3001 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> The matching DOM node (or null if no match was found)</dd>
3015 <td class="msource">
3023 <tr class="method-row config-row-alt1 expandable notInherited">
3024 <td class="micon"><a class="exi" href="#expand"> </a></td>
3028 <a id="Roo.Element-method-findParentNode" name=".findParentNode"></a>
3029 <div class="fixedFont">
3030 <span class="attributes"></span><b class="itemname">findParentNode</b>
3032 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>selector</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/String/HTMLElement/Element <B><i>maxDepth</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>returnEl</i></B>)
3038 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
3047 <div class="short">Looks at parent nodes for a match of the passed simple selector (e.g.</div>
3053 Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
3060 <dl class="detailList">
3061 <dt class="heading">Parameters:</dt>
3064 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>selector</b>
3067 <dd>The simple selector to test</dd>
3070 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/String/HTMLElement/Element</span> <b>maxDepth</b>
3073 <dd>(optional) The max depth to<br/> search as a number or element (defaults to 10 || document.body)</dd>
3076 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>returnEl</b>
3079 <dd>(optional) True to return a Roo.Element object instead of DOM node</dd>
3087 <dl class="detailList">
3088 <dt class="heading">Returns:</dt>
3090 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> The matching DOM node (or null if no match was found)</dd>
3104 <td class="msource">
3112 <tr class="method-row config-row-alt0 expandable notInherited">
3113 <td class="micon"><a class="exi" href="#expand"> </a></td>
3117 <a id="Roo.Element-method-fitToParent" name=".fitToParent"></a>
3118 <div class="fixedFont">
3119 <span class="attributes"></span><b class="itemname">fitToParent</b>
3121 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>monitorResize</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElment/Element <B><i>targetParent</i></B>)
3127 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
3136 <div class="short">Sizes this element to its parent element's dimensions performing<br/>neccessary box adjustments.</div>
3142 Sizes this element to its parent element's dimensions performing<br/>neccessary box adjustments.
3149 <dl class="detailList">
3150 <dt class="heading">Parameters:</dt>
3153 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>monitorResize</b>
3156 <dd>(optional) If true maintains the fit when the browser window is resized.</dd>
3159 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElment/Element</span> <b>targetParent</b>
3162 <dd>(optional) The target parent, default to the parentNode.</dd>
3170 <dl class="detailList">
3171 <dt class="heading">Returns:</dt>
3173 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
3187 <td class="msource">
3195 <tr class="method-row config-row-alt1 expandable notInherited">
3196 <td class="micon"><a class="exi" href="#expand"> </a></td>
3200 <a id="Roo.Element-method-focus" name=".focus"></a>
3201 <div class="fixedFont">
3202 <span class="attributes"></span><b class="itemname">focus</b>
3210 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
3219 <div class="short">Tries to focus the element.</div>
3225 Tries to focus the element. Any exceptions are caught and ignored.
3236 <dl class="detailList">
3237 <dt class="heading">Returns:</dt>
3239 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
3253 <td class="msource">
3261 <tr class="method-row config-row-alt0 expandable notInherited">
3262 <td class="micon"><a class="exi" href="#expand"> </a></td>
3266 <a id="Roo.Element-method-getAlignToXY" name=".getAlignToXY"></a>
3267 <div class="fixedFont">
3268 <span class="attributes"></span><b class="itemname">getAlignToXY</b>
3270 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>element</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>position</i></B>, <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>offsets</i></B>)
3276 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
3285 <div class="short">Gets the x,y coordinates to align this element with another element.</div>
3291 Gets the x,y coordinates to align this element with another element. See {<b>link</b> <b>alignTo</b>} for more info on the<br/>supported position values.
3298 <dl class="detailList">
3299 <dt class="heading">Parameters:</dt>
3302 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>element</b>
3305 <dd>The element to align to.</dd>
3308 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>position</b>
3311 <dd>The position to align to.</dd>
3314 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>offsets</b>
3317 <dd>(optional) Offset the positioning by [x, y]</dd>
3325 <dl class="detailList">
3326 <dt class="heading">Returns:</dt>
3328 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> [x, y]</dd>
3342 <td class="msource">
3350 <tr class="method-row config-row-alt1 expandable notInherited">
3351 <td class="micon"><a class="exi" href="#expand"> </a></td>
3355 <a id="Roo.Element-method-getAnchorXY" name=".getAnchorXY"></a>
3356 <div class="fixedFont">
3357 <span class="attributes"></span><b class="itemname">getAnchorXY</b>
3359 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>anchor</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>size</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
3365 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
3374 <div class="short">Gets the x,y coordinates specified by the anchor position on the element.</div>
3380 Gets the x,y coordinates specified by the anchor position on the element.
3387 <dl class="detailList">
3388 <dt class="heading">Parameters:</dt>
3391 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>anchor</b>
3394 <dd>(optional) The specified anchor position (defaults to "c"). See {<b>link</b> <b>alignTo</b>} for details on supported anchor positions.</dd>
3397 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>size</b>
3400 <dd>(optional) An object containing the size to use for calculating anchor position<br/> {width: (target width), height: (target height)} (defaults to the element's current size)</dd>
3403 <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>
3406 <dd>(optional) True to get the local (element top/left-relative) anchor position instead of page coordinates</dd>
3414 <dl class="detailList">
3415 <dt class="heading">Returns:</dt>
3417 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> [x, y] An array containing the element's x and y coordinates</dd>
3431 <td class="msource">
3439 <tr class="method-row config-row-alt0 expandable notInherited">
3440 <td class="micon"><a class="exi" href="#expand"> </a></td>
3444 <a id="Roo.Element-method-getAttributeNS" name=".getAttributeNS"></a>
3445 <div class="fixedFont">
3446 <span class="attributes"></span><b class="itemname">getAttributeNS</b>
3448 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>namespace</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>name</i></B>)
3454 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
3463 <div class="short">Returns the value of a namespaced attribute from the element's underlying DOM node.</div>
3469 Returns the value of a namespaced attribute from the element's underlying DOM node.
3476 <dl class="detailList">
3477 <dt class="heading">Parameters:</dt>
3480 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>namespace</b>
3483 <dd>The namespace in which to look for the attribute</dd>
3486 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>name</b>
3489 <dd>The attribute name</dd>
3497 <dl class="detailList">
3498 <dt class="heading">Returns:</dt>
3500 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> The attribute value</dd>
3514 <td class="msource">
3522 <tr class="method-row config-row-alt1 expandable notInherited">
3523 <td class="micon"><a class="exi" href="#expand"> </a></td>
3527 <a id="Roo.Element-method-getBorderWidth" name=".getBorderWidth"></a>
3528 <div class="fixedFont">
3529 <span class="attributes"></span><b class="itemname">getBorderWidth</b>
3531 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>side</i></B>)
3537 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
3546 <div class="short">Gets the width of the border(s) for the specified side(s)</div>
3552 Gets the width of the border(s) for the specified side(s)
3559 <dl class="detailList">
3560 <dt class="heading">Parameters:</dt>
3563 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>side</b>
3566 <dd>Can be t, l, r, b or any combination of those to add multiple values. For example,<br/>passing lr would get the border (l)eft width + the border (r)ight width.</dd>
3574 <dl class="detailList">
3575 <dt class="heading">Returns:</dt>
3577 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The width of the sides passed added together</dd>
3591 <td class="msource">
3599 <tr class="method-row config-row-alt0 expandable notInherited">
3600 <td class="micon"><a class="exi" href="#expand"> </a></td>
3604 <a id="Roo.Element-method-getBottom" name=".getBottom"></a>
3605 <div class="fixedFont">
3606 <span class="attributes"></span><b class="itemname">getBottom</b>
3608 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
3614 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
3623 <div class="short">Gets the bottom Y coordinate of the element (element Y position + element height)</div>
3629 Gets the bottom Y coordinate of the element (element Y position + element height)
3636 <dl class="detailList">
3637 <dt class="heading">Parameters:</dt>
3640 <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>
3643 <dd>True to get the local css position instead of page coordinate</dd>
3651 <dl class="detailList">
3652 <dt class="heading">Returns:</dt>
3654 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> </dd>
3668 <td class="msource">
3676 <tr class="method-row config-row-alt1 expandable notInherited">
3677 <td class="micon"><a class="exi" href="#expand"> </a></td>
3681 <a id="Roo.Element-method-getBox" name=".getBox"></a>
3682 <div class="fixedFont">
3683 <span class="attributes"></span><b class="itemname">getBox</b>
3685 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>contentBox</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
3691 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
3700 <div class="short">Return a box {x, y, width, height} that can be used to set another elements<br/>size/location to match this element.</div>
3706 Return a box {x, y, width, height} that can be used to set another elements<br/>size/location to match this element.
3713 <dl class="detailList">
3714 <dt class="heading">Parameters:</dt>
3717 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>contentBox</b>
3720 <dd>(optional) If true a box for the content of the element is returned.</dd>
3723 <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>
3726 <dd>(optional) If true the element's left and top are returned instead of page x/y.</dd>
3734 <dl class="detailList">
3735 <dt class="heading">Returns:</dt>
3737 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> box An object in the format {x, y, width, height}</dd>
3751 <td class="msource">
3759 <tr class="method-row config-row-alt0 expandable notInherited">
3760 <td class="micon"><a class="exi" href="#expand"> </a></td>
3764 <a id="Roo.Element-method-getCenterXY" name=".getCenterXY"></a>
3765 <div class="fixedFont">
3766 <span class="attributes"></span><b class="itemname">getCenterXY</b>
3774 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
3783 <div class="short">Calculates the x, y to center this element on the screen</div>
3789 Calculates the x, y to center this element on the screen
3800 <dl class="detailList">
3801 <dt class="heading">Returns:</dt>
3803 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> The x, y values [x, y]</dd>
3817 <td class="msource">
3825 <tr class="method-row config-row-alt1 expandable notInherited">
3826 <td class="micon"><a class="exi" href="#expand"> </a></td>
3830 <a id="Roo.Element-method-getColor" name=".getColor"></a>
3831 <div class="fixedFont">
3832 <span class="attributes"></span><b class="itemname">getColor</b>
3834 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>attr</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>defaultValue</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>prefix</i></B>)
3841 <div class="short">Return the CSS color for the specified CSS attribute.</div>
3847 Return the CSS color for the specified CSS attribute. rgb, 3 digit (like <b>fff</b>) and valid values<br/>are convert to standard 6 digit hex color.
3854 <dl class="detailList">
3855 <dt class="heading">Parameters:</dt>
3858 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>attr</b>
3861 <dd>The css attribute</dd>
3864 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>defaultValue</b>
3867 <dd>The default value to use when a valid color isn't found</dd>
3870 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>prefix</b>
3873 <dd>(optional) defaults to #. Use an empty string when working with<br/>YUI color anims.</dd>
3891 <td class="msource">
3899 <tr class="method-row config-row-alt0 expandable notInherited">
3900 <td class="micon"><a class="exi" href="#expand"> </a></td>
3904 <a id="Roo.Element-method-getComputedHeight" name=".getComputedHeight"></a>
3905 <div class="fixedFont">
3906 <span class="attributes"></span><b class="itemname">getComputedHeight</b>
3914 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
3923 <div class="short">Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders<br/>when needed to simulate offsetHeight when offsets aren't available.</div>
3929 Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders<br/>when needed to simulate offsetHeight when offsets aren't available. This may not work on display:none elements<br/>if a height has not been set using CSS.
3940 <dl class="detailList">
3941 <dt class="heading">Returns:</dt>
3943 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> </dd>
3957 <td class="msource">
3965 <tr class="method-row config-row-alt1 expandable notInherited">
3966 <td class="micon"><a class="exi" href="#expand"> </a></td>
3970 <a id="Roo.Element-method-getComputedWidth" name=".getComputedWidth"></a>
3971 <div class="fixedFont">
3972 <span class="attributes"></span><b class="itemname">getComputedWidth</b>
3980 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
3989 <div class="short">Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders<br/>when needed to simulate offsetWidth when offsets aren't available.</div>
3995 Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders<br/>when needed to simulate offsetWidth when offsets aren't available. This may not work on display:none elements<br/>if a width has not been set using CSS.
4006 <dl class="detailList">
4007 <dt class="heading">Returns:</dt>
4009 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> </dd>
4023 <td class="msource">
4031 <tr class="method-row config-row-alt0 expandable notInherited">
4032 <td class="micon"><a class="exi" href="#expand"> </a></td>
4036 <a id="Roo.Element-method-getFrameWidth" name=".getFrameWidth"></a>
4037 <div class="fixedFont">
4038 <span class="attributes"></span><b class="itemname">getFrameWidth</b>
4040 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>sides</i></B>)
4046 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
4055 <div class="short">Returns the sum width of the padding and borders for the passed "sides".</div>
4061 Returns the sum width of the padding and borders for the passed "sides". See getBorderWidth()<br/> for more information about the sides.
4068 <dl class="detailList">
4069 <dt class="heading">Parameters:</dt>
4072 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>sides</b>
4083 <dl class="detailList">
4084 <dt class="heading">Returns:</dt>
4086 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> </dd>
4100 <td class="msource">
4108 <tr class="method-row config-row-alt1 expandable notInherited">
4109 <td class="micon"><a class="exi" href="#expand"> </a></td>
4113 <a id="Roo.Element-method-getHeight" name=".getHeight"></a>
4114 <div class="fixedFont">
4115 <span class="attributes"></span><b class="itemname">getHeight</b>
4117 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>contentHeight</i></B>)
4123 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
4132 <div class="short">Returns the offset height of the element</div>
4138 Returns the offset height of the element
4145 <dl class="detailList">
4146 <dt class="heading">Parameters:</dt>
4149 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>contentHeight</b>
4152 <dd>(optional) true to get the height minus borders and padding</dd>
4160 <dl class="detailList">
4161 <dt class="heading">Returns:</dt>
4163 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The element's height</dd>
4177 <td class="msource">
4185 <tr class="method-row config-row-alt0 expandable notInherited">
4186 <td class="micon"><a class="exi" href="#expand"> </a></td>
4190 <a id="Roo.Element-method-getLeft" name=".getLeft"></a>
4191 <div class="fixedFont">
4192 <span class="attributes"></span><b class="itemname">getLeft</b>
4194 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
4200 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
4209 <div class="short">Gets the left X coordinate</div>
4215 Gets the left X coordinate
4222 <dl class="detailList">
4223 <dt class="heading">Parameters:</dt>
4226 <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>
4229 <dd>True to get the local css position instead of page coordinate</dd>
4237 <dl class="detailList">
4238 <dt class="heading">Returns:</dt>
4240 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> </dd>
4254 <td class="msource">
4262 <tr class="method-row config-row-alt1 expandable notInherited">
4263 <td class="micon"><a class="exi" href="#expand"> </a></td>
4267 <a id="Roo.Element-method-getMargins" name=".getMargins"></a>
4268 <div class="fixedFont">
4269 <span class="attributes"></span><b class="itemname">getMargins</b>
4271 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>sides</i></B>)
4277 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/Number
4286 <div class="short">Returns an object with properties top, left, right and bottom representing the margins of this element unless sides is passed,<br/>then it returns the calculated width of the sides (see getPadding)</div>
4292 Returns an object with properties top, left, right and bottom representing the margins of this element unless sides is passed,<br/>then it returns the calculated width of the sides (see getPadding)
4299 <dl class="detailList">
4300 <dt class="heading">Parameters:</dt>
4303 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>sides</b>
4306 <dd>(optional) Any combination of l, r, t, b to get the sum of those sides</dd>
4314 <dl class="detailList">
4315 <dt class="heading">Returns:</dt>
4317 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/Number</span> </dd>
4331 <td class="msource">
4339 <tr class="method-row config-row-alt0 expandable notInherited">
4340 <td class="micon"><a class="exi" href="#expand"> </a></td>
4344 <a id="Roo.Element-method-getNextSibling" name=".getNextSibling"></a>
4345 <div class="fixedFont">
4346 <span class="attributes"></span><b class="itemname">getNextSibling</b>
4354 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
4363 <div class="short">Gets the next sibling, skipping text nodes</div>
4369 Gets the next sibling, skipping text nodes
4380 <dl class="detailList">
4381 <dt class="heading">Returns:</dt>
4383 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> The next sibling or null</dd>
4397 <td class="msource">
4405 <tr class="method-row config-row-alt1 expandable notInherited">
4406 <td class="micon"><a class="exi" href="#expand"> </a></td>
4410 <a id="Roo.Element-method-getPadding" name=".getPadding"></a>
4411 <div class="fixedFont">
4412 <span class="attributes"></span><b class="itemname">getPadding</b>
4414 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>side</i></B>)
4420 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
4429 <div class="short">Gets the width of the padding(s) for the specified side(s)</div>
4435 Gets the width of the padding(s) for the specified side(s)
4442 <dl class="detailList">
4443 <dt class="heading">Parameters:</dt>
4446 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>side</b>
4449 <dd>Can be t, l, r, b or any combination of those to add multiple values. For example,<br/>passing lr would get the padding (l)eft + the padding (r)ight.</dd>
4457 <dl class="detailList">
4458 <dt class="heading">Returns:</dt>
4460 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The padding of the sides passed added together</dd>
4474 <td class="msource">
4482 <tr class="method-row config-row-alt0 expandable notInherited">
4483 <td class="micon"><a class="exi" href="#expand"> </a></td>
4487 <a id="Roo.Element-method-getPositioning" name=".getPositioning"></a>
4488 <div class="fixedFont">
4489 <span class="attributes"></span><b class="itemname">getPositioning</b>
4497 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
4506 <div class="short">Gets an object with all CSS positioning properties.</div>
4512 Gets an object with all CSS positioning properties. Useful along with setPostioning to get<br/>snapshot before performing an update and then restoring the element.
4523 <dl class="detailList">
4524 <dt class="heading">Returns:</dt>
4526 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> </dd>
4540 <td class="msource">
4548 <tr class="method-row config-row-alt1 expandable notInherited">
4549 <td class="micon"><a class="exi" href="#expand"> </a></td>
4553 <a id="Roo.Element-method-getPrevSibling" name=".getPrevSibling"></a>
4554 <div class="fixedFont">
4555 <span class="attributes"></span><b class="itemname">getPrevSibling</b>
4563 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
4572 <div class="short">Gets the previous sibling, skipping text nodes</div>
4578 Gets the previous sibling, skipping text nodes
4589 <dl class="detailList">
4590 <dt class="heading">Returns:</dt>
4592 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> The previous sibling or null</dd>
4606 <td class="msource">
4614 <tr class="method-row config-row-alt0 expandable notInherited">
4615 <td class="micon"><a class="exi" href="#expand"> </a></td>
4619 <a id="Roo.Element-method-getRegion" name=".getRegion"></a>
4620 <div class="fixedFont">
4621 <span class="attributes"></span><b class="itemname">getRegion</b>
4638 <div class="short">Returns the region of the given element.</div>
4644 Returns the region of the given element.<br/>The element must be part of the DOM tree to have a region (display:none or elements not appended return false).
4655 <dl class="detailList">
4656 <dt class="heading">Returns:</dt>
4658 <dd><span class="fixedFont">Region</span> A Roo.lib.Region containing "top, left, bottom, right" member data.</dd>
4672 <td class="msource">
4680 <tr class="method-row config-row-alt1 expandable notInherited">
4681 <td class="micon"><a class="exi" href="#expand"> </a></td>
4685 <a id="Roo.Element-method-getRight" name=".getRight"></a>
4686 <div class="fixedFont">
4687 <span class="attributes"></span><b class="itemname">getRight</b>
4689 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
4695 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
4704 <div class="short">Gets the right X coordinate of the element (element X position + element width)</div>
4710 Gets the right X coordinate of the element (element X position + element width)
4717 <dl class="detailList">
4718 <dt class="heading">Parameters:</dt>
4721 <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>
4724 <dd>True to get the local css position instead of page coordinate</dd>
4732 <dl class="detailList">
4733 <dt class="heading">Returns:</dt>
4735 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> </dd>
4749 <td class="msource">
4757 <tr class="method-row config-row-alt0 expandable notInherited">
4758 <td class="micon"><a class="exi" href="#expand"> </a></td>
4762 <a id="Roo.Element-method-getScroll" name=".getScroll"></a>
4763 <div class="fixedFont">
4764 <span class="attributes"></span><b class="itemname">getScroll</b>
4772 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
4781 <div class="short">Returns the current scroll position of the element.</div>
4787 Returns the current scroll position of the element.
4798 <dl class="detailList">
4799 <dt class="heading">Returns:</dt>
4801 <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 scroll position in the format {left: (scrollLeft), top: (scrollTop)}</dd>
4815 <td class="msource">
4823 <tr class="method-row config-row-alt1 expandable notInherited">
4824 <td class="micon"><a class="exi" href="#expand"> </a></td>
4828 <a id="Roo.Element-method-getSize" name=".getSize"></a>
4829 <div class="fixedFont">
4830 <span class="attributes"></span><b class="itemname">getSize</b>
4832 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>contentSize</i></B>)
4838 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
4847 <div class="short">Returns the size of the element.</div>
4853 Returns the size of the element.
4860 <dl class="detailList">
4861 <dt class="heading">Parameters:</dt>
4864 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>contentSize</b>
4867 <dd>(optional) true to get the width/size minus borders and padding</dd>
4875 <dl class="detailList">
4876 <dt class="heading">Returns:</dt>
4878 <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>
4892 <td class="msource">
4900 <tr class="method-row config-row-alt0 expandable notInherited">
4901 <td class="micon"><a class="exi" href="#expand"> </a></td>
4905 <a id="Roo.Element-method-getStyle" name=".getStyle"></a>
4906 <div class="fixedFont">
4907 <span class="attributes"></span><b class="itemname">getStyle</b>
4909 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>property</i></B>)
4915 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
4924 <div class="short">Normalizes currentStyle and computedStyle.</div>
4930 Normalizes currentStyle and computedStyle. This is not YUI getStyle, it is an optimised version.
4937 <dl class="detailList">
4938 <dt class="heading">Parameters:</dt>
4941 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>property</b>
4944 <dd>The style property whose value is returned.</dd>
4952 <dl class="detailList">
4953 <dt class="heading">Returns:</dt>
4955 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> The current value of the style property for this element.</dd>
4969 <td class="msource">
4977 <tr class="method-row config-row-alt1 expandable notInherited">
4978 <td class="micon"><a class="exi" href="#expand"> </a></td>
4982 <a id="Roo.Element-method-getStyles" name=".getStyles"></a>
4983 <div class="fixedFont">
4984 <span class="attributes"></span><b class="itemname">getStyles</b>
4986 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>style1</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>style2</i></B>)
4992 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
5001 <div class="short">Returns an object with properties matching the styles requested.</div>
5007 Returns an object with properties matching the styles requested.<br/>For example, el.getStyles('color', 'font-size', 'width') might return<br/>{'color': '<b>FFFFFF</b>', 'font-size': '13px', 'width': '100px'}.
5014 <dl class="detailList">
5015 <dt class="heading">Parameters:</dt>
5018 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>style1</b>
5021 <dd>A style name</dd>
5024 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>style2</b>
5027 <dd>A style name</dd>
5030 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>etc.</b>
5041 <dl class="detailList">
5042 <dt class="heading">Returns:</dt>
5044 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> The style object</dd>
5058 <td class="msource">
5066 <tr class="method-row config-row-alt0 expandable notInherited">
5067 <td class="micon"><a class="exi" href="#expand"> </a></td>
5071 <a id="Roo.Element-method-getTop" name=".getTop"></a>
5072 <div class="fixedFont">
5073 <span class="attributes"></span><b class="itemname">getTop</b>
5075 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
5081 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
5090 <div class="short">Gets the top Y coordinate</div>
5096 Gets the top Y coordinate
5103 <dl class="detailList">
5104 <dt class="heading">Parameters:</dt>
5107 <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>
5110 <dd>True to get the local css position instead of page coordinate</dd>
5118 <dl class="detailList">
5119 <dt class="heading">Returns:</dt>
5121 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> </dd>
5135 <td class="msource">
5143 <tr class="method-row config-row-alt1 expandable notInherited">
5144 <td class="micon"><a class="exi" href="#expand"> </a></td>
5148 <a id="Roo.Element-method-getUpdateManager" name=".getUpdateManager"></a>
5149 <div class="fixedFont">
5150 <span class="attributes"></span><b class="itemname">getUpdateManager</b>
5158 <a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a>
5167 <div class="short">Gets this element's UpdateManager</div>
5173 Gets this element's UpdateManager
5184 <dl class="detailList">
5185 <dt class="heading">Returns:</dt>
5187 <dd><span class="fixedFont"><a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a></span> The UpdateManager</dd>
5201 <td class="msource">
5209 <tr class="method-row config-row-alt0 expandable notInherited">
5210 <td class="micon"><a class="exi" href="#expand"> </a></td>
5214 <a id="Roo.Element-method-getValue" name=".getValue"></a>
5215 <div class="fixedFont">
5216 <span class="attributes"></span><b class="itemname">getValue</b>
5218 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>asNumber</i></B>)
5224 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number
5233 <div class="short">Returns the value of the "value" attribute</div>
5239 Returns the value of the "value" attribute
5246 <dl class="detailList">
5247 <dt class="heading">Parameters:</dt>
5250 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>asNumber</b>
5253 <dd>true to parse the value as a number</dd>
5261 <dl class="detailList">
5262 <dt class="heading">Returns:</dt>
5264 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Number</span> </dd>
5278 <td class="msource">
5286 <tr class="method-row config-row-alt1 expandable notInherited">
5287 <td class="micon"><a class="exi" href="#expand"> </a></td>
5291 <a id="Roo.Element-method-getViewSize" name=".getViewSize"></a>
5292 <div class="fixedFont">
5293 <span class="attributes"></span><b class="itemname">getViewSize</b>
5301 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
5310 <div class="short">Returns the width and height of the viewport.</div>
5316 Returns the width and height of the viewport.
5327 <dl class="detailList">
5328 <dt class="heading">Returns:</dt>
5330 <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 viewport's size {width: (viewport width), height: (viewport height)}</dd>
5344 <td class="msource">
5352 <tr class="method-row config-row-alt0 expandable notInherited">
5353 <td class="micon"><a class="exi" href="#expand"> </a></td>
5357 <a id="Roo.Element-method-getWidth" name=".getWidth"></a>
5358 <div class="fixedFont">
5359 <span class="attributes"></span><b class="itemname">getWidth</b>
5361 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>contentWidth</i></B>)
5367 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
5376 <div class="short">Returns the offset width of the element</div>
5382 Returns the offset width of the element
5389 <dl class="detailList">
5390 <dt class="heading">Parameters:</dt>
5393 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>contentWidth</b>
5396 <dd>(optional) true to get the width minus borders and padding</dd>
5404 <dl class="detailList">
5405 <dt class="heading">Returns:</dt>
5407 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The element's width</dd>
5421 <td class="msource">
5429 <tr class="method-row config-row-alt1 expandable notInherited">
5430 <td class="micon"><a class="exi" href="#expand"> </a></td>
5434 <a id="Roo.Element-method-getX" name=".getX"></a>
5435 <div class="fixedFont">
5436 <span class="attributes"></span><b class="itemname">getX</b>
5444 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
5453 <div class="short">Gets the current X position of the element based on page coordinates.</div>
5459 Gets the current X position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
5470 <dl class="detailList">
5471 <dt class="heading">Returns:</dt>
5473 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The X position of the element</dd>
5487 <td class="msource">
5495 <tr class="method-row config-row-alt0 expandable notInherited">
5496 <td class="micon"><a class="exi" href="#expand"> </a></td>
5500 <a id="Roo.Element-method-getXY" name=".getXY"></a>
5501 <div class="fixedFont">
5502 <span class="attributes"></span><b class="itemname">getXY</b>
5510 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
5519 <div class="short">Gets the current position of the element based on page coordinates.</div>
5525 Gets the current position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
5536 <dl class="detailList">
5537 <dt class="heading">Returns:</dt>
5539 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> The XY position of the element</dd>
5553 <td class="msource">
5561 <tr class="method-row config-row-alt1 expandable notInherited">
5562 <td class="micon"><a class="exi" href="#expand"> </a></td>
5566 <a id="Roo.Element-method-getY" name=".getY"></a>
5567 <div class="fixedFont">
5568 <span class="attributes"></span><b class="itemname">getY</b>
5576 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
5585 <div class="short">Gets the current Y position of the element based on page coordinates.</div>
5591 Gets the current Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
5602 <dl class="detailList">
5603 <dt class="heading">Returns:</dt>
5605 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The Y position of the element</dd>
5619 <td class="msource">
5627 <tr class="method-row config-row-alt0 expandable notInherited">
5628 <td class="micon"><a class="exi" href="#expand"> </a></td>
5632 <a id="Roo.Element-method-hasClass" name=".hasClass"></a>
5633 <div class="fixedFont">
5634 <span class="attributes"></span><b class="itemname">hasClass</b>
5636 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>className</i></B>)
5642 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
5651 <div class="short">Checks if the specified CSS class exists on this element's DOM node.</div>
5657 Checks if the specified CSS class exists on this element's DOM node.
5664 <dl class="detailList">
5665 <dt class="heading">Parameters:</dt>
5668 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>className</b>
5671 <dd>The CSS class to check for</dd>
5679 <dl class="detailList">
5680 <dt class="heading">Returns:</dt>
5682 <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 class exists, else false</dd>
5696 <td class="msource">
5704 <tr class="method-row config-row-alt1 expandable notInherited">
5705 <td class="micon"><a class="exi" href="#expand"> </a></td>
5709 <a id="Roo.Element-method-hide" name=".hide"></a>
5710 <div class="fixedFont">
5711 <span class="attributes"></span><b class="itemname">hide</b>
5713 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
5719 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
5728 <div class="short">Hide this element - Uses display mode to determine whether to use "display" or "visibility".</div>
5734 Hide this element - Uses display mode to determine whether to use "display" or "visibility". See {<b>link</b> <b>setVisible</b>}.
5741 <dl class="detailList">
5742 <dt class="heading">Parameters:</dt>
5745 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
5748 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
5756 <dl class="detailList">
5757 <dt class="heading">Returns:</dt>
5759 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
5773 <td class="msource">
5781 <tr class="method-row config-row-alt0 expandable notInherited">
5782 <td class="micon"><a class="exi" href="#expand"> </a></td>
5786 <a id="Roo.Element-method-initDD" name=".initDD"></a>
5787 <div class="fixedFont">
5788 <span class="attributes"></span><b class="itemname">initDD</b>
5790 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>group</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>overrides</i></B>)
5796 <a href="./Roo.dd.DD.html#constructor" roo:cls="Roo.dd.DD.html#constructor">Roo.dd.DD</a>
5805 <div class="short">Initializes a {<b>link</b> Roo.dd.DD} drag drop object for this element.</div>
5811 Initializes a {<b>link</b> Roo.dd.DD} drag drop object for this element.
5818 <dl class="detailList">
5819 <dt class="heading">Parameters:</dt>
5822 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>group</b>
5825 <dd>The group the DD object is member of</dd>
5828 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
5831 <dd>The DD config object</dd>
5834 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>overrides</b>
5837 <dd>An object containing methods to override/implement on the DD object</dd>
5845 <dl class="detailList">
5846 <dt class="heading">Returns:</dt>
5848 <dd><span class="fixedFont"><a href="./Roo.dd.DD.html#constructor" roo:cls="Roo.dd.DD.html#constructor">Roo.dd.DD</a></span> The DD object</dd>
5862 <td class="msource">
5870 <tr class="method-row config-row-alt1 expandable notInherited">
5871 <td class="micon"><a class="exi" href="#expand"> </a></td>
5875 <a id="Roo.Element-method-initDDProxy" name=".initDDProxy"></a>
5876 <div class="fixedFont">
5877 <span class="attributes"></span><b class="itemname">initDDProxy</b>
5879 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>group</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>overrides</i></B>)
5885 <a href="./Roo.dd.DDProxy.html#constructor" roo:cls="Roo.dd.DDProxy.html#constructor">Roo.dd.DDProxy</a>
5894 <div class="short">Initializes a {<b>link</b> Roo.dd.DDProxy} object for this element.</div>
5900 Initializes a {<b>link</b> Roo.dd.DDProxy} object for this element.
5907 <dl class="detailList">
5908 <dt class="heading">Parameters:</dt>
5911 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>group</b>
5914 <dd>The group the DDProxy object is member of</dd>
5917 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
5920 <dd>The DDProxy config object</dd>
5923 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>overrides</b>
5926 <dd>An object containing methods to override/implement on the DDProxy object</dd>
5934 <dl class="detailList">
5935 <dt class="heading">Returns:</dt>
5937 <dd><span class="fixedFont"><a href="./Roo.dd.DDProxy.html#constructor" roo:cls="Roo.dd.DDProxy.html#constructor">Roo.dd.DDProxy</a></span> The DDProxy object</dd>
5951 <td class="msource">
5959 <tr class="method-row config-row-alt0 expandable notInherited">
5960 <td class="micon"><a class="exi" href="#expand"> </a></td>
5964 <a id="Roo.Element-method-initDDTarget" name=".initDDTarget"></a>
5965 <div class="fixedFont">
5966 <span class="attributes"></span><b class="itemname">initDDTarget</b>
5968 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>group</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>overrides</i></B>)
5974 <a href="./Roo.dd.DDTarget.html#constructor" roo:cls="Roo.dd.DDTarget.html#constructor">Roo.dd.DDTarget</a>
5983 <div class="short">Initializes a {<b>link</b> Roo.dd.DDTarget} object for this element.</div>
5989 Initializes a {<b>link</b> Roo.dd.DDTarget} object for this element.
5996 <dl class="detailList">
5997 <dt class="heading">Parameters:</dt>
6000 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>group</b>
6003 <dd>The group the DDTarget object is member of</dd>
6006 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
6009 <dd>The DDTarget config object</dd>
6012 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>overrides</b>
6015 <dd>An object containing methods to override/implement on the DDTarget object</dd>
6023 <dl class="detailList">
6024 <dt class="heading">Returns:</dt>
6026 <dd><span class="fixedFont"><a href="./Roo.dd.DDTarget.html#constructor" roo:cls="Roo.dd.DDTarget.html#constructor">Roo.dd.DDTarget</a></span> The DDTarget object</dd>
6040 <td class="msource">
6048 <tr class="method-row config-row-alt1 expandable notInherited">
6049 <td class="micon"><a class="exi" href="#expand"> </a></td>
6053 <a id="Roo.Element-method-insertAfter" name=".insertAfter"></a>
6054 <div class="fixedFont">
6055 <span class="attributes"></span><b class="itemname">insertAfter</b>
6057 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
6063 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
6072 <div class="short">Inserts this element after the passed element in the DOM</div>
6078 Inserts this element after the passed element in the DOM
6085 <dl class="detailList">
6086 <dt class="heading">Parameters:</dt>
6089 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
6092 <dd>The element to insert after</dd>
6100 <dl class="detailList">
6101 <dt class="heading">Returns:</dt>
6103 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
6117 <td class="msource">
6125 <tr class="method-row config-row-alt0 expandable notInherited">
6126 <td class="micon"><a class="exi" href="#expand"> </a></td>
6130 <a id="Roo.Element-method-insertBefore" name=".insertBefore"></a>
6131 <div class="fixedFont">
6132 <span class="attributes"></span><b class="itemname">insertBefore</b>
6134 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
6140 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
6149 <div class="short">Inserts this element before the passed element in the DOM</div>
6155 Inserts this element before the passed element in the DOM
6162 <dl class="detailList">
6163 <dt class="heading">Parameters:</dt>
6166 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
6169 <dd>The element to insert before</dd>
6177 <dl class="detailList">
6178 <dt class="heading">Returns:</dt>
6180 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
6194 <td class="msource">
6202 <tr class="method-row config-row-alt1 expandable notInherited">
6203 <td class="micon"><a class="exi" href="#expand"> </a></td>
6207 <a id="Roo.Element-method-insertFirst" name=".insertFirst"></a>
6208 <div class="fixedFont">
6209 <span class="attributes"></span><b class="itemname">insertFirst</b>
6211 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element/Object <B><i>el</i></B>)
6217 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
6226 <div class="short">Inserts (or creates) an element (or DomHelper config) as the first child of the this element</div>
6232 Inserts (or creates) an element (or DomHelper config) as the first child of the this element
6239 <dl class="detailList">
6240 <dt class="heading">Parameters:</dt>
6243 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element/Object</span> <b>el</b>
6246 <dd>The id or element to insert or a DomHelper config to create and insert</dd>
6254 <dl class="detailList">
6255 <dt class="heading">Returns:</dt>
6257 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The new child</dd>
6271 <td class="msource">
6279 <tr class="method-row config-row-alt0 expandable notInherited">
6280 <td class="micon"><a class="exi" href="#expand"> </a></td>
6284 <a id="Roo.Element-method-insertHtml" name=".insertHtml"></a>
6285 <div class="fixedFont">
6286 <span class="attributes"></span><b class="itemname">insertHtml</b>
6288 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>where</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>html</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>returnEl</i></B>)
6294 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/Roo.Element
6303 <div class="short">Inserts an html fragment into this element</div>
6309 Inserts an html fragment into this element
6316 <dl class="detailList">
6317 <dt class="heading">Parameters:</dt>
6320 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>where</b>
6323 <dd>Where to insert the html in relation to the this element - beforeBegin, afterBegin, beforeEnd, afterEnd.</dd>
6326 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>html</b>
6329 <dd>The HTML fragment</dd>
6332 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>returnEl</b>
6335 <dd>True to return an Roo.Element</dd>
6343 <dl class="detailList">
6344 <dt class="heading">Returns:</dt>
6346 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/Roo.Element</span> The inserted node (or nearest related if more than 1 inserted)</dd>
6360 <td class="msource">
6368 <tr class="method-row config-row-alt1 expandable notInherited">
6369 <td class="micon"><a class="exi" href="#expand"> </a></td>
6373 <a id="Roo.Element-method-insertSibling" name=".insertSibling"></a>
6374 <div class="fixedFont">
6375 <span class="attributes"></span><b class="itemname">insertSibling</b>
6377 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element/Object <B><i>el</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>where</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>returnDom</i></B>)
6383 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
6392 <div class="short">Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element</div>
6398 Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element
6405 <dl class="detailList">
6406 <dt class="heading">Parameters:</dt>
6409 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element/Object</span> <b>el</b>
6412 <dd>The id or element to insert or a DomHelper config to create and insert</dd>
6415 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>where</b>
6418 <dd>(optional) 'before' or 'after' defaults to before</dd>
6421 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>returnDom</b>
6424 <dd>(optional) True to return the raw DOM element instead of Roo.Element</dd>
6432 <dl class="detailList">
6433 <dt class="heading">Returns:</dt>
6435 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> the inserted Element</dd>
6449 <td class="msource">
6457 <tr class="method-row config-row-alt0 expandable notInherited">
6458 <td class="micon"><a class="exi" href="#expand"> </a></td>
6462 <a id="Roo.Element-method-is" name=".is"></a>
6463 <div class="fixedFont">
6464 <span class="attributes"></span><b class="itemname">is</b>
6466 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>selector</i></B>)
6472 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
6481 <div class="short">Returns true if this element matches the passed simple selector (e.g.</div>
6487 Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)
6494 <dl class="detailList">
6495 <dt class="heading">Parameters:</dt>
6498 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>selector</b>
6501 <dd>The simple selector to test</dd>
6509 <dl class="detailList">
6510 <dt class="heading">Returns:</dt>
6512 <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 this element matches the selector, else false</dd>
6526 <td class="msource">
6534 <tr class="method-row config-row-alt1 expandable notInherited">
6535 <td class="micon"><a class="exi" href="#expand"> </a></td>
6539 <a id="Roo.Element-method-isBorderBox" name=".isBorderBox"></a>
6540 <div class="fixedFont">
6541 <span class="attributes"></span><b class="itemname">isBorderBox</b>
6549 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
6558 <div class="short">Tests various css rules/browsers to determine if this element uses a border box</div>
6564 Tests various css rules/browsers to determine if this element uses a border box
6575 <dl class="detailList">
6576 <dt class="heading">Returns:</dt>
6578 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
6592 <td class="msource">
6600 <tr class="method-row config-row-alt0 expandable notInherited">
6601 <td class="micon"><a class="exi" href="#expand"> </a></td>
6605 <a id="Roo.Element-method-isDisplayed" name=".isDisplayed"></a>
6606 <div class="fixedFont">
6607 <span class="attributes"></span><b class="itemname">isDisplayed</b>
6615 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
6624 <div class="short">Returns true if display is not "none"</div>
6630 Returns true if display is not "none"
6641 <dl class="detailList">
6642 <dt class="heading">Returns:</dt>
6644 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
6658 <td class="msource">
6666 <tr class="method-row config-row-alt1 expandable notInherited">
6667 <td class="micon"><a class="exi" href="#expand"> </a></td>
6671 <a id="Roo.Element-method-isMasked" name=".isMasked"></a>
6672 <div class="fixedFont">
6673 <span class="attributes"></span><b class="itemname">isMasked</b>
6681 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
6690 <div class="short">Returns true if this element is masked</div>
6696 Returns true if this element is masked
6707 <dl class="detailList">
6708 <dt class="heading">Returns:</dt>
6710 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
6724 <td class="msource">
6732 <tr class="method-row config-row-alt0 expandable notInherited">
6733 <td class="micon"><a class="exi" href="#expand"> </a></td>
6737 <a id="Roo.Element-method-isScrollable" name=".isScrollable"></a>
6738 <div class="fixedFont">
6739 <span class="attributes"></span><b class="itemname">isScrollable</b>
6747 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
6756 <div class="short">Returns true if this element is scrollable.</div>
6762 Returns true if this element is scrollable.
6773 <dl class="detailList">
6774 <dt class="heading">Returns:</dt>
6776 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
6790 <td class="msource">
6798 <tr class="method-row config-row-alt1 expandable notInherited">
6799 <td class="micon"><a class="exi" href="#expand"> </a></td>
6803 <a id="Roo.Element-method-isVisible" name=".isVisible"></a>
6804 <div class="fixedFont">
6805 <span class="attributes"></span><b class="itemname">isVisible</b>
6807 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>)
6813 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
6822 <div class="short">Checks whether the element is currently visible using both visibility and display properties.</div>
6828 Checks whether the element is currently visible using both visibility and display properties.
6835 <dl class="detailList">
6836 <dt class="heading">Parameters:</dt>
6839 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>deep</b>
6842 <dd>(optional) True to walk the dom and see if parent elements are hidden (defaults to false)</dd>
6850 <dl class="detailList">
6851 <dt class="heading">Returns:</dt>
6853 <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 element is currently visible, else false</dd>
6867 <td class="msource">
6875 <tr class="method-row config-row-alt0 expandable notInherited">
6876 <td class="micon"><a class="exi" href="#expand"> </a></td>
6880 <a id="Roo.Element-method-load" name=".load"></a>
6881 <div class="fixedFont">
6882 <span class="attributes"></span><b class="itemname">load</b>
6884 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Function <B><i>url</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object <B><i>params</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>discardUrl</i></B>)
6890 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
6899 <div class="short">Direct access to the UpdateManager update() method (takes the same parameters).</div>
6905 Direct access to the UpdateManager update() method (takes the same parameters).
6912 <dl class="detailList">
6913 <dt class="heading">Parameters:</dt>
6916 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Function</span> <b>url</b>
6919 <dd>The url for this request or a function to call to get the url</dd>
6922 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object</span> <b>params</b>
6925 <dd>(optional) The parameters to pass as either a url encoded string "param1=1&param2=2" or an object {param1: 1, param2: 2}</dd>
6928 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
6931 <dd>(optional) Callback when transaction is complete - called with signature (oElement, bSuccess)</dd>
6934 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>discardUrl</b>
6937 <dd>(optional) By default when you execute an update the defaultUrl is changed to the last used url. If true, it will not store the url.</dd>
6945 <dl class="detailList">
6946 <dt class="heading">Returns:</dt>
6948 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
6962 <td class="msource">
6970 <tr class="method-row config-row-alt1 expandable notInherited">
6971 <td class="micon"><a class="exi" href="#expand"> </a></td>
6975 <a id="Roo.Element-method-mask" name=".mask"></a>
6976 <div class="fixedFont">
6977 <span class="attributes"></span><b class="itemname">mask</b>
6979 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msgCls</i></B>)
6994 <div class="short">Puts a mask over this element to disable user interaction.</div>
7000 Puts a mask over this element to disable user interaction. Requires core.css.<br/>This method can only be applied to elements which accept child nodes.
7007 <dl class="detailList">
7008 <dt class="heading">Parameters:</dt>
7011 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
7014 <dd>(optional) A message to display in the mask</dd>
7017 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msgCls</b>
7020 <dd>(optional) A css class to apply to the msg element</dd>
7028 <dl class="detailList">
7029 <dt class="heading">Returns:</dt>
7031 <dd><span class="fixedFont">Element</span> The mask element</dd>
7045 <td class="msource">
7053 <tr class="method-row config-row-alt0 expandable notInherited">
7054 <td class="micon"><a class="exi" href="#expand"> </a></td>
7058 <a id="Roo.Element-method-move" name=".move"></a>
7059 <div class="fixedFont">
7060 <span class="attributes"></span><b class="itemname">move</b>
7062 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>direction</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>distance</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
7068 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
7077 <div class="short">Move this element relative to its current position.</div>
7083 Move this element relative to its current position.
7090 <dl class="detailList">
7091 <dt class="heading">Parameters:</dt>
7094 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>direction</b>
7097 <dd>Possible values are: "l","left" - "r","right" - "t","top","up" - "b","bottom","down".</dd>
7100 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>distance</b>
7103 <dd>How far to move the element in pixels</dd>
7106 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
7109 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
7117 <dl class="detailList">
7118 <dt class="heading">Returns:</dt>
7120 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
7134 <td class="msource">
7142 <tr class="method-row config-row-alt1 expandable notInherited">
7143 <td class="micon"><a class="exi" href="#expand"> </a></td>
7147 <a id="Roo.Element-method-moveTo" name=".moveTo"></a>
7148 <div class="fixedFont">
7149 <span class="attributes"></span><b class="itemname">moveTo</b>
7151 (<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>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
7157 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
7166 <div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.</div>
7172 Sets the position of the element in page coordinates, regardless of how the element is positioned.<br/>The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
7179 <dl class="detailList">
7180 <dt class="heading">Parameters:</dt>
7183 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
7186 <dd>X value for new position (coordinates are page-based)</dd>
7189 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
7192 <dd>Y value for new position (coordinates are page-based)</dd>
7195 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
7198 <dd>(optional) True for the default animation, or a standard Element animation config object</dd>
7206 <dl class="detailList">
7207 <dt class="heading">Returns:</dt>
7209 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
7223 <td class="msource">
7231 <tr class="method-row config-row-alt0 expandable notInherited">
7232 <td class="micon"><a class="exi" href="#expand"> </a></td>
7236 <a id="Roo.Element-method-on" name=".on"></a>
7237 <div class="fixedFont">
7238 <span class="attributes"></span><b class="itemname">on</b>
7240 (<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>fn</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>)
7247 <div class="short">Appends an event handler (Shorthand for addListener)</div>
7253 Appends an event handler (Shorthand for addListener)
7260 <dl class="detailList">
7261 <dt class="heading">Parameters:</dt>
7264 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
7267 <dd>The type of event to append</dd>
7270 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
7273 <dd>The method the event invokes</dd>
7276 <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>
7279 <dd>(optional) The scope (this object) of the fn</dd>
7282 <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>
7285 <dd>(optional)An object with standard {<b>link</b> Roo.EventManager<b>addListener</b>} options</dd>
7303 <td class="msource">
7311 <tr class="method-row config-row-alt1 expandable notInherited">
7312 <td class="micon"><a class="exi" href="#expand"> </a></td>
7316 <a id="Roo.Element-method-position" name=".position"></a>
7317 <div class="fixedFont">
7318 <span class="attributes"></span><b class="itemname">position</b>
7320 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>pos</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>zIndex</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>)
7327 <div class="short">Initializes positioning on this element.</div>
7333 Initializes positioning on this element. If a desired position is not passed, it will make the<br/>the element positioned relative IF it is not already positioned.
7340 <dl class="detailList">
7341 <dt class="heading">Parameters:</dt>
7344 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>pos</b>
7347 <dd>(optional) Positioning to use "relative", "absolute" or "fixed"</dd>
7350 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>zIndex</b>
7353 <dd>(optional) The zIndex to apply</dd>
7356 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
7359 <dd>(optional) Set the page X position</dd>
7362 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
7365 <dd>(optional) Set the page Y position</dd>
7383 <td class="msource">
7391 <tr class="method-row config-row-alt0 expandable notInherited">
7392 <td class="micon"><a class="exi" href="#expand"> </a></td>
7396 <a id="Roo.Element-method-query" name=".query"></a>
7397 <div class="fixedFont">
7398 <span class="attributes"></span><b class="itemname">query</b>
7400 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>selector</i></B>)
7406 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
7415 <div class="short">Selects child nodes based on the passed CSS selector (the selector should not contain an id).</div>
7421 Selects child nodes based on the passed CSS selector (the selector should not contain an id).
7428 <dl class="detailList">
7429 <dt class="heading">Parameters:</dt>
7432 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>selector</b>
7435 <dd>The CSS selector</dd>
7443 <dl class="detailList">
7444 <dt class="heading">Returns:</dt>
7446 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> An array of the matched nodes</dd>
7460 <td class="msource">
7468 <tr class="method-row config-row-alt1 expandable notInherited">
7469 <td class="micon"><a class="exi" href="#expand"> </a></td>
7473 <a id="Roo.Element-method-radioClass" name=".radioClass"></a>
7474 <div class="fixedFont">
7475 <span class="attributes"></span><b class="itemname">radioClass</b>
7477 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array <B><i>className</i></B>)
7483 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
7492 <div class="short">Adds one or more CSS classes to this element and removes the same class(es) from all siblings.</div>
7498 Adds one or more CSS classes to this element and removes the same class(es) from all siblings.
7505 <dl class="detailList">
7506 <dt class="heading">Parameters:</dt>
7509 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array</span> <b>className</b>
7512 <dd>The CSS class to add, or an array of classes</dd>
7520 <dl class="detailList">
7521 <dt class="heading">Returns:</dt>
7523 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
7537 <td class="msource">
7545 <tr class="method-row config-row-alt0 expandable notInherited">
7546 <td class="micon"><a class="exi" href="#expand"> </a></td>
7550 <a id="Roo.Element-method-remove" name=".remove"></a>
7551 <div class="fixedFont">
7552 <span class="attributes"></span><b class="itemname">remove</b>
7561 <div class="short">Removes this element from the DOM and deletes it from the cache</div>
7567 Removes this element from the DOM and deletes it from the cache
7588 <td class="msource">
7596 <tr class="method-row config-row-alt1 expandable notInherited">
7597 <td class="micon"><a class="exi" href="#expand"> </a></td>
7601 <a id="Roo.Element-method-removeAllListeners" name=".removeAllListeners"></a>
7602 <div class="fixedFont">
7603 <span class="attributes"></span><b class="itemname">removeAllListeners</b>
7611 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
7620 <div class="short">Removes all previous added listeners from this element</div>
7626 Removes all previous added listeners from this element
7637 <dl class="detailList">
7638 <dt class="heading">Returns:</dt>
7640 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
7654 <td class="msource">
7662 <tr class="method-row config-row-alt0 expandable notInherited">
7663 <td class="micon"><a class="exi" href="#expand"> </a></td>
7667 <a id="Roo.Element-method-removeClass" name=".removeClass"></a>
7668 <div class="fixedFont">
7669 <span class="attributes"></span><b class="itemname">removeClass</b>
7671 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array <B><i>className</i></B>)
7677 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
7686 <div class="short">Removes one or more CSS classes from the element.</div>
7692 Removes one or more CSS classes from the element.
7699 <dl class="detailList">
7700 <dt class="heading">Parameters:</dt>
7703 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array</span> <b>className</b>
7706 <dd>The CSS class to remove, or an array of classes</dd>
7714 <dl class="detailList">
7715 <dt class="heading">Returns:</dt>
7717 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
7731 <td class="msource">
7739 <tr class="method-row config-row-alt1 expandable notInherited">
7740 <td class="micon"><a class="exi" href="#expand"> </a></td>
7744 <a id="Roo.Element-method-removeListener" name=".removeListener"></a>
7745 <div class="fixedFont">
7746 <span class="attributes"></span><b class="itemname">removeListener</b>
7748 (<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>fn</i></B>)
7754 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
7763 <div class="short">Removes an event handler from this element</div>
7769 Removes an event handler from this element
7776 <dl class="detailList">
7777 <dt class="heading">Parameters:</dt>
7780 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
7783 <dd>the type of event to remove</dd>
7786 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
7789 <dd>the method the event invokes</dd>
7797 <dl class="detailList">
7798 <dt class="heading">Returns:</dt>
7800 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
7814 <td class="msource">
7822 <tr class="method-row config-row-alt0 expandable notInherited">
7823 <td class="micon"><a class="exi" href="#expand"> </a></td>
7827 <a id="Roo.Element-method-repaint" name=".repaint"></a>
7828 <div class="fixedFont">
7829 <span class="attributes"></span><b class="itemname">repaint</b>
7837 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
7846 <div class="short">Forces the browser to repaint this element</div>
7852 Forces the browser to repaint this element
7863 <dl class="detailList">
7864 <dt class="heading">Returns:</dt>
7866 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
7880 <td class="msource">
7888 <tr class="method-row config-row-alt1 expandable notInherited">
7889 <td class="micon"><a class="exi" href="#expand"> </a></td>
7893 <a id="Roo.Element-method-replace" name=".replace"></a>
7894 <div class="fixedFont">
7895 <span class="attributes"></span><b class="itemname">replace</b>
7897 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
7903 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
7912 <div class="short">Replaces the passed element with this element</div>
7918 Replaces the passed element with this element
7925 <dl class="detailList">
7926 <dt class="heading">Parameters:</dt>
7929 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
7932 <dd>The element to replace</dd>
7940 <dl class="detailList">
7941 <dt class="heading">Returns:</dt>
7943 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
7957 <td class="msource">
7965 <tr class="method-row config-row-alt0 expandable notInherited">
7966 <td class="micon"><a class="exi" href="#expand"> </a></td>
7970 <a id="Roo.Element-method-replaceClass" name=".replaceClass"></a>
7971 <div class="fixedFont">
7972 <span class="attributes"></span><b class="itemname">replaceClass</b>
7974 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>oldClassName</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>newClassName</i></B>)
7980 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
7989 <div class="short">Replaces a CSS class on the element with another.</div>
7995 Replaces a CSS class on the element with another. If the old name does not exist, the new name will simply be added.
8002 <dl class="detailList">
8003 <dt class="heading">Parameters:</dt>
8006 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldClassName</b>
8009 <dd>The CSS class to replace</dd>
8012 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>newClassName</b>
8015 <dd>The replacement CSS class</dd>
8023 <dl class="detailList">
8024 <dt class="heading">Returns:</dt>
8026 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
8040 <td class="msource">
8048 <tr class="method-row config-row-alt1 expandable notInherited">
8049 <td class="micon"><a class="exi" href="#expand"> </a></td>
8053 <a id="Roo.Element-method-scroll" name=".scroll"></a>
8054 <div class="fixedFont">
8055 <span class="attributes"></span><b class="itemname">scroll</b>
8057 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>direction</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>distance</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
8063 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
8072 <div class="short">Scrolls this element the specified direction.</div>
8078 Scrolls this element the specified direction. Does bounds checking to make sure the scroll is<br/>within this element's scrollable range.
8085 <dl class="detailList">
8086 <dt class="heading">Parameters:</dt>
8089 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>direction</b>
8092 <dd>Possible values are: "l","left" - "r","right" - "t","top","up" - "b","bottom","down".</dd>
8095 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>distance</b>
8098 <dd>How far to scroll the element in pixels</dd>
8101 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
8104 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
8112 <dl class="detailList">
8113 <dt class="heading">Returns:</dt>
8115 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> Returns true if a scroll was triggered or false if the element<br/>was scrolled as far as it could go.</dd>
8129 <td class="msource">
8137 <tr class="method-row config-row-alt0 expandable notInherited">
8138 <td class="micon"><a class="exi" href="#expand"> </a></td>
8142 <a id="Roo.Element-method-scrollIntoView" name=".scrollIntoView"></a>
8143 <div class="fixedFont">
8144 <span class="attributes"></span><b class="itemname">scrollIntoView</b>
8146 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>hscroll</i></B>)
8152 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
8161 <div class="short">Scrolls this element into view within the passed container.</div>
8167 Scrolls this element into view within the passed container.
8174 <dl class="detailList">
8175 <dt class="heading">Parameters:</dt>
8178 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
8181 <dd>(optional) The container element to scroll (defaults to document.body)</dd>
8184 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>hscroll</b>
8187 <dd>(optional) False to disable horizontal scroll (defaults to true)</dd>
8195 <dl class="detailList">
8196 <dt class="heading">Returns:</dt>
8198 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
8212 <td class="msource">
8220 <tr class="method-row config-row-alt1 expandable notInherited">
8221 <td class="micon"><a class="exi" href="#expand"> </a></td>
8225 <a id="Roo.Element-method-scrollTo" name=".scrollTo"></a>
8226 <div class="fixedFont">
8227 <span class="attributes"></span><b class="itemname">scrollTo</b>
8229 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>side</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>value</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
8244 <div class="short">Scrolls this element the specified scroll point.</div>
8250 Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().
8257 <dl class="detailList">
8258 <dt class="heading">Parameters:</dt>
8261 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>side</b>
8264 <dd>Either "left" for scrollLeft values or "top" for scrollTop values.</dd>
8267 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>value</b>
8270 <dd>The new scroll value</dd>
8273 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
8276 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
8284 <dl class="detailList">
8285 <dt class="heading">Returns:</dt>
8287 <dd><span class="fixedFont">Element</span> this</dd>
8301 <td class="msource">
8309 <tr class="method-row config-row-alt0 expandable notInherited">
8310 <td class="micon"><a class="exi" href="#expand"> </a></td>
8314 <a id="Roo.Element-method-select" name=".select"></a>
8315 <div class="fixedFont">
8316 <span class="attributes"></span><b class="itemname">select</b>
8318 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>selector</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>unique</i></B>)
8324 CompositeElement/CompositeElementLite
8333 <div class="short">Creates a {<b>link</b> Roo.CompositeElement} for child nodes based on the passed CSS selector (the selector should not contain an id).</div>
8339 Creates a {<b>link</b> Roo.CompositeElement} for child nodes based on the passed CSS selector (the selector should not contain an id).
8346 <dl class="detailList">
8347 <dt class="heading">Parameters:</dt>
8350 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>selector</b>
8353 <dd>The CSS selector</dd>
8356 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>unique</b>
8359 <dd>(optional) True to create a unique Roo.Element for each child (defaults to false, which creates a single shared flyweight object)</dd>
8367 <dl class="detailList">
8368 <dt class="heading">Returns:</dt>
8370 <dd><span class="fixedFont">CompositeElement/CompositeElementLite</span> The composite element</dd>
8384 <td class="msource">
8392 <tr class="method-row config-row-alt1 expandable notInherited">
8393 <td class="micon"><a class="exi" href="#expand"> </a></td>
8397 <a id="Roo.Element-method-set" name=".set"></a>
8398 <div class="fixedFont">
8399 <span class="attributes"></span><b class="itemname">set</b>
8401 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>useSet</i></B>)
8407 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
8416 <div class="short">Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)</div>
8422 Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)
8429 <dl class="detailList">
8430 <dt class="heading">Parameters:</dt>
8433 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>o</b>
8436 <dd>The object with the attributes</dd>
8439 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>useSet</b>
8442 <dd>(optional) false to override the default setAttribute to use expandos.</dd>
8450 <dl class="detailList">
8451 <dt class="heading">Returns:</dt>
8453 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
8467 <td class="msource">
8475 <tr class="method-row config-row-alt0 expandable notInherited">
8476 <td class="micon"><a class="exi" href="#expand"> </a></td>
8480 <a id="Roo.Element-method-setBottom" name=".setBottom"></a>
8481 <div class="fixedFont">
8482 <span class="attributes"></span><b class="itemname">setBottom</b>
8484 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>bottom</i></B>)
8490 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
8499 <div class="short">Sets the element's CSS bottom style.</div>
8505 Sets the element's CSS bottom style.
8512 <dl class="detailList">
8513 <dt class="heading">Parameters:</dt>
8516 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>bottom</b>
8519 <dd>The bottom CSS property value</dd>
8527 <dl class="detailList">
8528 <dt class="heading">Returns:</dt>
8530 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
8544 <td class="msource">
8552 <tr class="method-row config-row-alt1 expandable notInherited">
8553 <td class="micon"><a class="exi" href="#expand"> </a></td>
8557 <a id="Roo.Element-method-setBounds" name=".setBounds"></a>
8558 <div class="fixedFont">
8559 <span class="attributes"></span><b class="itemname">setBounds</b>
8561 (<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>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
8567 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
8576 <div class="short">Sets the element's position and size in one shot.</div>
8582 Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.
8589 <dl class="detailList">
8590 <dt class="heading">Parameters:</dt>
8593 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
8596 <dd>X value for new position (coordinates are page-based)</dd>
8599 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
8602 <dd>Y value for new position (coordinates are page-based)</dd>
8605 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
8608 <dd>The new width</dd>
8611 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
8614 <dd>The new height</dd>
8617 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
8620 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
8628 <dl class="detailList">
8629 <dt class="heading">Returns:</dt>
8631 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
8645 <td class="msource">
8653 <tr class="method-row config-row-alt0 expandable notInherited">
8654 <td class="micon"><a class="exi" href="#expand"> </a></td>
8658 <a id="Roo.Element-method-setBox" name=".setBox"></a>
8659 <div class="fixedFont">
8660 <span class="attributes"></span><b class="itemname">setBox</b>
8662 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>adjust</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
8668 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
8677 <div class="short">Sets the element's box.</div>
8683 Sets the element's box. Use getBox() on another element to get a box obj. If animate is true then width, height, x and y will be animated concurrently.
8690 <dl class="detailList">
8691 <dt class="heading">Parameters:</dt>
8694 <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>
8697 <dd>The box to fill {x, y, width, height}</dd>
8700 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>adjust</b>
8703 <dd>(optional) Whether to adjust for box-model issues automatically</dd>
8706 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
8709 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
8717 <dl class="detailList">
8718 <dt class="heading">Returns:</dt>
8720 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
8734 <td class="msource">
8742 <tr class="method-row config-row-alt1 expandable notInherited">
8743 <td class="micon"><a class="exi" href="#expand"> </a></td>
8747 <a id="Roo.Element-method-setDisplayed" name=".setDisplayed"></a>
8748 <div class="fixedFont">
8749 <span class="attributes"></span><b class="itemname">setDisplayed</b>
8751 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>value</i></B>)
8757 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
8766 <div class="short">Sets the CSS display property.</div>
8772 Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.
8779 <dl class="detailList">
8780 <dt class="heading">Parameters:</dt>
8783 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>value</b>
8786 <dd>Boolean value to display the element using its default display, or a string to set the display directly</dd>
8794 <dl class="detailList">
8795 <dt class="heading">Returns:</dt>
8797 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
8811 <td class="msource">
8819 <tr class="method-row config-row-alt0 expandable notInherited">
8820 <td class="micon"><a class="exi" href="#expand"> </a></td>
8824 <a id="Roo.Element-method-setHeight" name=".setHeight"></a>
8825 <div class="fixedFont">
8826 <span class="attributes"></span><b class="itemname">setHeight</b>
8828 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
8834 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
8843 <div class="short">Set the height of the element</div>
8849 Set the height of the element
8856 <dl class="detailList">
8857 <dt class="heading">Parameters:</dt>
8860 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
8863 <dd>The new height</dd>
8866 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
8869 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
8877 <dl class="detailList">
8878 <dt class="heading">Returns:</dt>
8880 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
8894 <td class="msource">
8902 <tr class="method-row config-row-alt1 expandable notInherited">
8903 <td class="micon"><a class="exi" href="#expand"> </a></td>
8907 <a id="Roo.Element-method-setLeft" name=".setLeft"></a>
8908 <div class="fixedFont">
8909 <span class="attributes"></span><b class="itemname">setLeft</b>
8911 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>left</i></B>)
8917 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
8926 <div class="short">Sets the element's left position directly using CSS style (instead of {<b>link</b> <b>setX</b>}).</div>
8932 Sets the element's left position directly using CSS style (instead of {<b>link</b> <b>setX</b>}).
8939 <dl class="detailList">
8940 <dt class="heading">Parameters:</dt>
8943 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>left</b>
8946 <dd>The left CSS property value</dd>
8954 <dl class="detailList">
8955 <dt class="heading">Returns:</dt>
8957 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
8971 <td class="msource">
8979 <tr class="method-row config-row-alt0 expandable notInherited">
8980 <td class="micon"><a class="exi" href="#expand"> </a></td>
8984 <a id="Roo.Element-method-setLeftTop" name=".setLeftTop"></a>
8985 <div class="fixedFont">
8986 <span class="attributes"></span><b class="itemname">setLeftTop</b>
8988 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>left</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>top</i></B>)
8994 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9003 <div class="short">Quick set left and top adding default units</div>
9009 Quick set left and top adding default units
9016 <dl class="detailList">
9017 <dt class="heading">Parameters:</dt>
9020 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>left</b>
9023 <dd>The left CSS property value</dd>
9026 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>top</b>
9029 <dd>The top CSS property value</dd>
9037 <dl class="detailList">
9038 <dt class="heading">Returns:</dt>
9040 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
9054 <td class="msource">
9062 <tr class="method-row config-row-alt1 expandable notInherited">
9063 <td class="micon"><a class="exi" href="#expand"> </a></td>
9067 <a id="Roo.Element-method-setLocation" name=".setLocation"></a>
9068 <div class="fixedFont">
9069 <span class="attributes"></span><b class="itemname">setLocation</b>
9071 (<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>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
9077 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9086 <div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.</div>
9092 Sets the position of the element in page coordinates, regardless of how the element is positioned.<br/>The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
9099 <dl class="detailList">
9100 <dt class="heading">Parameters:</dt>
9103 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
9106 <dd>X value for new position (coordinates are page-based)</dd>
9109 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
9112 <dd>Y value for new position (coordinates are page-based)</dd>
9115 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
9118 <dd>(optional) True for the default animation, or a standard Element animation config object</dd>
9126 <dl class="detailList">
9127 <dt class="heading">Returns:</dt>
9129 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
9143 <td class="msource">
9151 <tr class="method-row config-row-alt0 expandable notInherited">
9152 <td class="micon"><a class="exi" href="#expand"> </a></td>
9156 <a id="Roo.Element-method-setOpacity" name=".setOpacity"></a>
9157 <div class="fixedFont">
9158 <span class="attributes"></span><b class="itemname">setOpacity</b>
9160 (Float <B><i>opacity</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
9166 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9175 <div class="short">Set the opacity of the element</div>
9181 Set the opacity of the element
9188 <dl class="detailList">
9189 <dt class="heading">Parameters:</dt>
9192 <span class="fixedFont">Float</span> <b>opacity</b>
9195 <dd>The new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc</dd>
9198 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
9201 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
9209 <dl class="detailList">
9210 <dt class="heading">Returns:</dt>
9212 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
9226 <td class="msource">
9234 <tr class="method-row config-row-alt1 expandable notInherited">
9235 <td class="micon"><a class="exi" href="#expand"> </a></td>
9239 <a id="Roo.Element-method-setPositioning" name=".setPositioning"></a>
9240 <div class="fixedFont">
9241 <span class="attributes"></span><b class="itemname">setPositioning</b>
9243 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>posCfg</i></B>)
9249 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9258 <div class="short">Set positioning with an object returned by getPositioning().</div>
9264 Set positioning with an object returned by getPositioning().
9271 <dl class="detailList">
9272 <dt class="heading">Parameters:</dt>
9275 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>posCfg</b>
9286 <dl class="detailList">
9287 <dt class="heading">Returns:</dt>
9289 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
9303 <td class="msource">
9311 <tr class="method-row config-row-alt0 expandable notInherited">
9312 <td class="micon"><a class="exi" href="#expand"> </a></td>
9316 <a id="Roo.Element-method-setRegion" name=".setRegion"></a>
9317 <div class="fixedFont">
9318 <span class="attributes"></span><b class="itemname">setRegion</b>
9320 (Roo.lib.Region <B><i>region</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
9326 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9335 <div class="short">Sets the element's position and size the the specified region.</div>
9341 Sets the element's position and size the the specified region. If animation is true then width, height, x and y will be animated concurrently.
9348 <dl class="detailList">
9349 <dt class="heading">Parameters:</dt>
9352 <span class="fixedFont">Roo.lib.Region</span> <b>region</b>
9355 <dd>The region to fill</dd>
9358 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
9361 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
9369 <dl class="detailList">
9370 <dt class="heading">Returns:</dt>
9372 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
9386 <td class="msource">
9394 <tr class="method-row config-row-alt1 expandable notInherited">
9395 <td class="micon"><a class="exi" href="#expand"> </a></td>
9399 <a id="Roo.Element-method-setRight" name=".setRight"></a>
9400 <div class="fixedFont">
9401 <span class="attributes"></span><b class="itemname">setRight</b>
9403 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>right</i></B>)
9409 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9418 <div class="short">Sets the element's CSS right style.</div>
9424 Sets the element's CSS right style.
9431 <dl class="detailList">
9432 <dt class="heading">Parameters:</dt>
9435 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>right</b>
9438 <dd>The right CSS property value</dd>
9446 <dl class="detailList">
9447 <dt class="heading">Returns:</dt>
9449 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
9463 <td class="msource">
9471 <tr class="method-row config-row-alt0 expandable notInherited">
9472 <td class="micon"><a class="exi" href="#expand"> </a></td>
9476 <a id="Roo.Element-method-setSize" name=".setSize"></a>
9477 <div class="fixedFont">
9478 <span class="attributes"></span><b class="itemname">setSize</b>
9480 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
9486 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9495 <div class="short">Set the size of the element.</div>
9501 Set the size of the element. If animation is true, both width an height will be animated concurrently.
9508 <dl class="detailList">
9509 <dt class="heading">Parameters:</dt>
9512 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
9515 <dd>The new width</dd>
9518 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
9521 <dd>The new height</dd>
9524 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
9527 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
9535 <dl class="detailList">
9536 <dt class="heading">Returns:</dt>
9538 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
9552 <td class="msource">
9560 <tr class="method-row config-row-alt1 expandable notInherited">
9561 <td class="micon"><a class="exi" href="#expand"> </a></td>
9565 <a id="Roo.Element-method-setStyle" name=".setStyle"></a>
9566 <div class="fixedFont">
9567 <span class="attributes"></span><b class="itemname">setStyle</b>
9569 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object <B><i>property</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>value</i></B>)
9575 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9584 <div class="short">Wrapper for setting style properties, also takes single object parameter of multiple styles.</div>
9590 Wrapper for setting style properties, also takes single object parameter of multiple styles.
9597 <dl class="detailList">
9598 <dt class="heading">Parameters:</dt>
9601 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object</span> <b>property</b>
9604 <dd>The style property to be set, or an object of multiple styles.</dd>
9607 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>value</b>
9610 <dd>(optional) The value to apply to the given property, or null if an object was passed.</dd>
9618 <dl class="detailList">
9619 <dt class="heading">Returns:</dt>
9621 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
9635 <td class="msource">
9643 <tr class="method-row config-row-alt0 expandable notInherited">
9644 <td class="micon"><a class="exi" href="#expand"> </a></td>
9648 <a id="Roo.Element-method-setTop" name=".setTop"></a>
9649 <div class="fixedFont">
9650 <span class="attributes"></span><b class="itemname">setTop</b>
9652 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>top</i></B>)
9658 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9667 <div class="short">Sets the element's top position directly using CSS style (instead of {<b>link</b> <b>setY</b>}).</div>
9673 Sets the element's top position directly using CSS style (instead of {<b>link</b> <b>setY</b>}).
9680 <dl class="detailList">
9681 <dt class="heading">Parameters:</dt>
9684 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>top</b>
9687 <dd>The top CSS property value</dd>
9695 <dl class="detailList">
9696 <dt class="heading">Returns:</dt>
9698 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
9712 <td class="msource">
9720 <tr class="method-row config-row-alt1 expandable notInherited">
9721 <td class="micon"><a class="exi" href="#expand"> </a></td>
9725 <a id="Roo.Element-method-setVisibilityMode" name=".setVisibilityMode"></a>
9726 <div class="fixedFont">
9727 <span class="attributes"></span><b class="itemname">setVisibilityMode</b>
9729 (<B><i>visMode</i></B>)
9735 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9744 <div class="short">Sets the element's visibility mode.</div>
9750 Sets the element's visibility mode. When setVisible() is called it<br/>will use this to determine whether to set the visibility or the display property.
9757 <dl class="detailList">
9758 <dt class="heading">Parameters:</dt>
9764 <dd>Element.VISIBILITY or Element.DISPLAY</dd>
9772 <dl class="detailList">
9773 <dt class="heading">Returns:</dt>
9775 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
9789 <td class="msource">
9797 <tr class="method-row config-row-alt0 expandable notInherited">
9798 <td class="micon"><a class="exi" href="#expand"> </a></td>
9802 <a id="Roo.Element-method-setVisible" name=".setVisible"></a>
9803 <div class="fixedFont">
9804 <span class="attributes"></span><b class="itemname">setVisible</b>
9806 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
9812 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9821 <div class="short">Sets the visibility of the element (see details).</div>
9827 Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use<br/>the display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property.
9834 <dl class="detailList">
9835 <dt class="heading">Parameters:</dt>
9838 <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>
9841 <dd>Whether the element is visible</dd>
9844 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
9847 <dd>(optional) True for the default animation, or a standard Element animation config object</dd>
9855 <dl class="detailList">
9856 <dt class="heading">Returns:</dt>
9858 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
9872 <td class="msource">
9880 <tr class="method-row config-row-alt1 expandable notInherited">
9881 <td class="micon"><a class="exi" href="#expand"> </a></td>
9885 <a id="Roo.Element-method-setWidth" name=".setWidth"></a>
9886 <div class="fixedFont">
9887 <span class="attributes"></span><b class="itemname">setWidth</b>
9889 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
9895 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9904 <div class="short">Set the width of the element</div>
9910 Set the width of the element
9917 <dl class="detailList">
9918 <dt class="heading">Parameters:</dt>
9921 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
9924 <dd>The new width</dd>
9927 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
9930 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
9938 <dl class="detailList">
9939 <dt class="heading">Returns:</dt>
9941 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
9955 <td class="msource">
9963 <tr class="method-row config-row-alt0 expandable notInherited">
9964 <td class="micon"><a class="exi" href="#expand"> </a></td>
9968 <a id="Roo.Element-method-setX" name=".setX"></a>
9969 <div class="fixedFont">
9970 <span class="attributes"></span><b class="itemname">setX</b>
9972 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>The</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
9978 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
9987 <div class="short">Sets the X position of the element based on page coordinates.</div>
9993 Sets the X position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
10000 <dl class="detailList">
10001 <dt class="heading">Parameters:</dt>
10004 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>The</b>
10007 <dd>X position of the element</dd>
10010 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
10013 <dd>(optional) True for the default animation, or a standard Element animation config object</dd>
10021 <dl class="detailList">
10022 <dt class="heading">Returns:</dt>
10024 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
10038 <td class="msource">
10046 <tr class="method-row config-row-alt1 expandable notInherited">
10047 <td class="micon"><a class="exi" href="#expand"> </a></td>
10051 <a id="Roo.Element-method-setXY" name=".setXY"></a>
10052 <div class="fixedFont">
10053 <span class="attributes"></span><b class="itemname">setXY</b>
10055 (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>pos</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
10061 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
10068 <div class="mdesc">
10070 <div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.</div>
10076 Sets the position of the element in page coordinates, regardless of how the element is positioned.<br/>The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
10083 <dl class="detailList">
10084 <dt class="heading">Parameters:</dt>
10087 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>pos</b>
10090 <dd>Contains X & Y [x, y] values for new position (coordinates are page-based)</dd>
10093 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
10096 <dd>(optional) True for the default animation, or a standard Element animation config object</dd>
10104 <dl class="detailList">
10105 <dt class="heading">Returns:</dt>
10107 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
10121 <td class="msource">
10129 <tr class="method-row config-row-alt0 expandable notInherited">
10130 <td class="micon"><a class="exi" href="#expand"> </a></td>
10134 <a id="Roo.Element-method-setY" name=".setY"></a>
10135 <div class="fixedFont">
10136 <span class="attributes"></span><b class="itemname">setY</b>
10138 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>The</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
10144 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
10151 <div class="mdesc">
10153 <div class="short">Sets the Y position of the element based on page coordinates.</div>
10159 Sets the Y position of the element based on page coordinates. Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
10166 <dl class="detailList">
10167 <dt class="heading">Parameters:</dt>
10170 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>The</b>
10173 <dd>Y position of the element</dd>
10176 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
10179 <dd>(optional) True for the default animation, or a standard Element animation config object</dd>
10187 <dl class="detailList">
10188 <dt class="heading">Returns:</dt>
10190 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
10204 <td class="msource">
10212 <tr class="method-row config-row-alt1 expandable notInherited">
10213 <td class="micon"><a class="exi" href="#expand"> </a></td>
10217 <a id="Roo.Element-method-show" name=".show"></a>
10218 <div class="fixedFont">
10219 <span class="attributes"></span><b class="itemname">show</b>
10221 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
10227 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
10234 <div class="mdesc">
10236 <div class="short">Show this element - Uses display mode to determine whether to use "display" or "visibility".</div>
10242 Show this element - Uses display mode to determine whether to use "display" or "visibility". See {<b>link</b> <b>setVisible</b>}.
10249 <dl class="detailList">
10250 <dt class="heading">Parameters:</dt>
10253 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
10256 <dd>(optional) true for the default animation or a standard Element animation config object</dd>
10264 <dl class="detailList">
10265 <dt class="heading">Returns:</dt>
10267 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
10281 <td class="msource">
10289 <tr class="method-row config-row-alt0 expandable notInherited">
10290 <td class="micon"><a class="exi" href="#expand"> </a></td>
10294 <a id="Roo.Element-method-swallowEvent" name=".swallowEvent"></a>
10295 <div class="fixedFont">
10296 <span class="attributes"></span><b class="itemname">swallowEvent</b>
10298 (<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:Boolean">Boolean</a> <B><i>preventDefault</i></B>)
10304 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
10311 <div class="mdesc">
10313 <div class="short">Stops the specified event from bubbling and optionally prevents the default action</div>
10319 Stops the specified event from bubbling and optionally prevents the default action
10326 <dl class="detailList">
10327 <dt class="heading">Parameters:</dt>
10330 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
10336 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>preventDefault</b>
10339 <dd>(optional) true to prevent the default action too</dd>
10347 <dl class="detailList">
10348 <dt class="heading">Returns:</dt>
10350 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
10364 <td class="msource">
10372 <tr class="method-row config-row-alt1 expandable notInherited">
10373 <td class="micon"><a class="exi" href="#expand"> </a></td>
10377 <a id="Roo.Element-method-toggle" name=".toggle"></a>
10378 <div class="fixedFont">
10379 <span class="attributes"></span><b class="itemname">toggle</b>
10381 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object <B><i>animate</i></B>)
10387 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
10394 <div class="mdesc">
10396 <div class="short">Toggles the element's visibility or display, depending on visibility mode.</div>
10402 Toggles the element's visibility or display, depending on visibility mode.
10409 <dl class="detailList">
10410 <dt class="heading">Parameters:</dt>
10413 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object</span> <b>animate</b>
10416 <dd>(optional) True for the default animation, or a standard Element animation config object</dd>
10424 <dl class="detailList">
10425 <dt class="heading">Returns:</dt>
10427 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
10441 <td class="msource">
10449 <tr class="method-row config-row-alt0 expandable notInherited">
10450 <td class="micon"><a class="exi" href="#expand"> </a></td>
10454 <a id="Roo.Element-method-toggleClass" name=".toggleClass"></a>
10455 <div class="fixedFont">
10456 <span class="attributes"></span><b class="itemname">toggleClass</b>
10458 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>className</i></B>)
10464 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
10471 <div class="mdesc">
10473 <div class="short">Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).</div>
10479 Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).
10486 <dl class="detailList">
10487 <dt class="heading">Parameters:</dt>
10490 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>className</b>
10493 <dd>The CSS class to toggle</dd>
10501 <dl class="detailList">
10502 <dt class="heading">Returns:</dt>
10504 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
10518 <td class="msource">
10526 <tr class="method-row config-row-alt1 expandable notInherited">
10527 <td class="micon"><a class="exi" href="#expand"> </a></td>
10531 <a id="Roo.Element-method-translatePoints" name=".translatePoints"></a>
10532 <div class="fixedFont">
10533 <span class="attributes"></span><b class="itemname">translatePoints</b>
10535 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Array <B><i>x</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>y</i></B>)
10541 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
10548 <div class="mdesc">
10550 <div class="short">Translates the passed page coordinates into left/top css values for this element</div>
10556 Translates the passed page coordinates into left/top css values for this element
10563 <dl class="detailList">
10564 <dt class="heading">Parameters:</dt>
10567 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Array</span> <b>x</b>
10570 <dd>The page x or an array containing [x, y]</dd>
10573 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
10576 <dd>The page y</dd>
10584 <dl class="detailList">
10585 <dt class="heading">Returns:</dt>
10587 <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 with left and top properties. e.g. {left: (value), top: (value)}</dd>
10601 <td class="msource">
10609 <tr class="method-row config-row-alt0 expandable notInherited">
10610 <td class="micon"><a class="exi" href="#expand"> </a></td>
10614 <a id="Roo.Element-method-un" name=".un"></a>
10615 <div class="fixedFont">
10616 <span class="attributes"></span><b class="itemname">un</b>
10618 (<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>fn</i></B>)
10624 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
10631 <div class="mdesc">
10633 <div class="short">Removes an event handler from this element (shorthand for removeListener)</div>
10639 Removes an event handler from this element (shorthand for removeListener)
10646 <dl class="detailList">
10647 <dt class="heading">Parameters:</dt>
10650 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
10653 <dd>the type of event to remove</dd>
10656 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
10659 <dd>the method the event invokes</dd>
10667 <dl class="detailList">
10668 <dt class="heading">Returns:</dt>
10670 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
10684 <td class="msource">
10692 <tr class="method-row config-row-alt1 expandable notInherited">
10693 <td class="micon"><a class="exi" href="#expand"> </a></td>
10697 <a id="Roo.Element-method-unclip" name=".unclip"></a>
10698 <div class="fixedFont">
10699 <span class="attributes"></span><b class="itemname">unclip</b>
10707 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
10714 <div class="mdesc">
10716 <div class="short">Return clipping (overflow) to original clipping before clip() was called</div>
10722 Return clipping (overflow) to original clipping before clip() was called
10733 <dl class="detailList">
10734 <dt class="heading">Returns:</dt>
10736 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
10750 <td class="msource">
10758 <tr class="method-row config-row-alt0 expandable notInherited">
10759 <td class="micon"><a class="exi" href="#expand"> </a></td>
10763 <a id="Roo.Element-method-unmask" name=".unmask"></a>
10764 <div class="fixedFont">
10765 <span class="attributes"></span><b class="itemname">unmask</b>
10772 <div class="mdesc">
10774 <div class="short">Removes a previously applied mask.</div>
10780 Removes a previously applied mask. If removeEl is true the mask overlay is destroyed, otherwise<br/>it is cached for reuse.
10801 <td class="msource">
10809 <tr class="method-row config-row-alt1 expandable notInherited">
10810 <td class="micon"><a class="exi" href="#expand"> </a></td>
10814 <a id="Roo.Element-method-unselectable" name=".unselectable"></a>
10815 <div class="fixedFont">
10816 <span class="attributes"></span><b class="itemname">unselectable</b>
10824 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
10831 <div class="mdesc">
10833 <div class="short">Disables text selection for this element (normalized across browsers)</div>
10839 Disables text selection for this element (normalized across browsers)
10850 <dl class="detailList">
10851 <dt class="heading">Returns:</dt>
10853 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
10867 <td class="msource">
10875 <tr class="method-row config-row-alt0 expandable notInherited">
10876 <td class="micon"><a class="exi" href="#expand"> </a></td>
10880 <a id="Roo.Element-method-up" name=".up"></a>
10881 <div class="fixedFont">
10882 <span class="attributes"></span><b class="itemname">up</b>
10884 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>selector</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/String/HTMLElement/Element <B><i>maxDepth</i></B>)
10890 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
10897 <div class="mdesc">
10899 <div class="short">Walks up the dom looking for a parent node that matches the passed simple selector (e.g.</div>
10905 Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child).<br/>This is a shortcut for findParentNode() that always returns an Roo.Element.
10912 <dl class="detailList">
10913 <dt class="heading">Parameters:</dt>
10916 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>selector</b>
10919 <dd>The simple selector to test</dd>
10922 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/String/HTMLElement/Element</span> <b>maxDepth</b>
10925 <dd>(optional) The max depth to<br/> search as a number or element (defaults to 10 || document.body)</dd>
10933 <dl class="detailList">
10934 <dt class="heading">Returns:</dt>
10936 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The matching DOM node (or null if no match was found)</dd>
10950 <td class="msource">
10958 <tr class="method-row config-row-alt1 expandable notInherited">
10959 <td class="micon"><a class="exi" href="#expand"> </a></td>
10963 <a id="Roo.Element-method-update" name=".update"></a>
10964 <div class="fixedFont">
10965 <span class="attributes"></span><b class="itemname">update</b>
10967 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>html</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>loadScripts</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>)
10973 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
10980 <div class="mdesc">
10982 <div class="short">Update the innerHTML of this element, optionally searching for and processing scripts</div>
10988 Update the innerHTML of this element, optionally searching for and processing scripts
10995 <dl class="detailList">
10996 <dt class="heading">Parameters:</dt>
10999 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>html</b>
11002 <dd>The new HTML</dd>
11005 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>loadScripts</b>
11008 <dd>(optional) true to look for and process scripts</dd>
11011 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>callback</b>
11014 <dd>For async script loading you can be noticed when the update completes</dd>
11022 <dl class="detailList">
11023 <dt class="heading">Returns:</dt>
11025 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> this</dd>
11039 <td class="msource">
11047 <tr class="method-row config-row-alt0 expandable notInherited">
11048 <td class="micon"><a class="exi" href="#expand"> </a></td>
11052 <a id="Roo.Element-method-wrap" name=".wrap"></a>
11053 <div class="fixedFont">
11054 <span class="attributes"></span><b class="itemname">wrap</b>
11056 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>returnDom</i></B>)
11062 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/Element
11069 <div class="mdesc">
11071 <div class="short">Creates and wraps this element with another element</div>
11077 Creates and wraps this element with another element
11084 <dl class="detailList">
11085 <dt class="heading">Parameters:</dt>
11088 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
11091 <dd>(optional) DomHelper element config object for the wrapper element or null for an empty div</dd>
11094 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>returnDom</b>
11097 <dd>(optional) True to return the raw DOM element instead of Roo.Element</dd>
11105 <dl class="detailList">
11106 <dt class="heading">Returns:</dt>
11108 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>/Element</span> The newly created wrapper element</dd>
11122 <td class="msource">
11133 <!-- ============================== events summary / details ======================== -->
11136 <a id="Roo.Element-events"></a>
11142 <table cellspacing="0" class="member-table">
11143 <caption class="Empty">Events - Has None</caption>
11154 <!-- ============================== footer ================================= -->
11155 <div class="fineprint" style="clear:both">
11157 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Tue Mar 08 2016 12:35:11 GMT+0800 (HKT)
11159 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>