source: trunk/web/addons/job_monarch/lib/extjs/docs/output/Ext.Element.html @ 619

Last change on this file since 619 was 619, checked in by ramonb, 15 years ago

lib/:

  • added new AJAX dependancies: ExtJS, pChart, Lightbox2
File size: 185.6 KB
Line 
1        <div class="body-wrap">
2        <div class="top-tools">
3            <a class="inner-link" href="#Ext.Element-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4            <a class="inner-link" href="#Ext.Element-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5            <a class="inner-link" href="#Ext.Element-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6                        <a class="bookmark" href="../docs/?class=Ext.Element"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
7        </div>
8                <h1>Class Ext.Element</h1>
9        <table cellspacing="0">
10            <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
11            <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/Element.js" target="_blank">Element.js</a></td></tr>
12            <tr><td class="label">Class:</td><td class="hd-info">Element</td></tr>
13                        <tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.Layer" href="output/Ext.Layer.html">Layer</a></td></tr>
14                                    <tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr>
15                    </table>
16        <div class="description">
17            *
18Represents an Element in the DOM.<br><br>
19Usage:<br>
20<pre><code><i>// by id</i>
21<b>var</b> el = Ext.get(<em>"my-div"</em>);
22
23<i>// by DOM element reference</i>
24<b>var</b> el = Ext.get(myDivElement);</code></pre>
25<b>Animations</b><br />
26Many of the functions for manipulating an element have an optional "animate" parameter. The animate parameter
27should either be a boolean (true) or an object literal with animation options. Note that the supported Element animation
28options are a subset of the <a ext:cls="Ext.Fx" href="output/Ext.Fx.html">Ext.Fx</a> animation options specific to Fx effects.  The Element animation options are:
29<pre>Option    Default   Description
30--------- --------  ---------------------------------------------
31duration  .35       The duration of the animation in seconds
32easing    easeOut   The easing method
33callback  none      A function to execute when the anim completes
34scope     this      The scope (this) of the callback function</pre>
35Also, the Anim object being used for the animation will be set on your options object as "anim", which allows you to stop or
36manipulate the animation. Here's an example:
37<pre><code>var el = Ext.get(<em>"my-div"</em>);
38
39<i>// no animation</i>
40el.setWidth(100);
41
42<i>// <b>default</b> animation</i>
43el.setWidth(100, true);
44
45<i>// animation <b>with</b> some options set</i>
46el.setWidth(100, {
47    duration: 1,
48    callback: <b>this</b>.foo,
49    scope: <b>this</b>
50});
51
52<i>// using the <em>"anim"</em> property to get the Anim object</i>
53<b>var</b> opt = {
54    duration: 1,
55    callback: <b>this</b>.foo,
56    scope: <b>this</b>
57};
58el.setWidth(100, opt);
59...
60<b>if</b>(opt.anim.isAnimated()){
61    opt.anim.stop();
62}</code></pre>
63<b> Composite (Collections of) Elements</b><br />
64For working with collections of Elements, see <a ext:cls="Ext.CompositeElement" href="output/Ext.CompositeElement.html">Ext.CompositeElement</a>        </div>
65       
66        <div class="hr"></div>
67                <a id="Ext.Element-props"></a>
68        <h2>Public Properties</h2>
69                <table cellspacing="0" class="member-table">
70            <tr>
71                <th class="sig-header" colspan="2">Property</th>
72                <th class="msource-header">Defined By</th>
73            </tr>
74                <tr class="property-row">
75        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
76        <td class="sig">
77        <a id="Ext.Element-Element.DISPLAY"></a>
78            <b>Element.DISPLAY</b> : Number            <div class="mdesc">
79                            &lt;static&gt; Visibility mode constant - Use display to hide element                        </div>
80        </td>
81        <td class="msource">Element</td>
82    </tr>
83        <tr class="property-row alt">
84        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
85        <td class="sig">
86        <a id="Ext.Element-Element.VISIBILITY"></a>
87            <b>Element.VISIBILITY</b> : Number            <div class="mdesc">
88                            &lt;static&gt; Visibility mode constant - Use visibility to hide element                        </div>
89        </td>
90        <td class="msource">Element</td>
91    </tr>
92        <tr class="property-row">
93        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
94        <td class="sig">
95        <a id="Ext.Element-defaultUnit"></a>
96            <b>defaultUnit</b> : String            <div class="mdesc">
97                            The default unit to append to CSS values where a unit isn't provided (defaults to px).                        </div>
98        </td>
99        <td class="msource">Element</td>
100    </tr>
101        <tr class="property-row alt">
102        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
103        <td class="sig">
104        <a id="Ext.Element-dom"></a>
105            <b>dom</b> : HTMLElement            <div class="mdesc">
106                            The DOM element                        </div>
107        </td>
108        <td class="msource">Element</td>
109    </tr>
110        <tr class="property-row">
111        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
112        <td class="sig">
113        <a id="Ext.Element-id"></a>
114            <b>id</b> : String            <div class="mdesc">
115                            The DOM element ID                        </div>
116        </td>
117        <td class="msource">Element</td>
118    </tr>
119        <tr class="property-row alt">
120        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
121        <td class="sig">
122        <a id="Ext.Element-originalDisplay"></a>
123            <b>originalDisplay</b> : String            <div class="mdesc">
124                            The element's default display mode  (defaults to "")                        </div>
125        </td>
126        <td class="msource">Element</td>
127    </tr>
128            </table>
129                <a id="Ext.Element-methods"></a>
130        <h2>Public Methods</h2>
131                <table cellspacing="0" class="member-table">
132            <tr>
133                <th class="sig-header" colspan="2">Method</th>
134                <th class="msource-header">Defined By</th>
135            </tr>
136                <tr class="method-row expandable">
137        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
138        <td class="sig">
139        <a id="Ext.Element-Element"></a>
140            <b>Element</b>(&nbsp;<code>String/HTMLElement element</code>, <span class="optional" title="Optional">[<code>Boolean forceNew</code>]</span>&nbsp;)            <div class="mdesc">
141                        <div class="short">Create a new Element directly.</div>
142            <div class="long">
143                Create a new Element directly.    <div class="mdetail-params">
144        <strong>Parameters:</strong>
145        <ul><li><code>element</code> : String/HTMLElement<div class="sub-desc"></div></li><li><code>forceNew</code> : Boolean<div class="sub-desc">(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).</div></li>        </ul>
146        <strong>Returns:</strong>
147        <ul>
148            <li><code></code></li>
149        </ul>
150    </div>
151                </div>
152                        </div>
153        </td>
154        <td class="msource">Element</td>
155    </tr>
156        <tr class="method-row alt expandable">
157        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
158        <td class="sig">
159        <a id="Ext.Element-Element.fly"></a>
160            <b>Element.fly</b>(&nbsp;<code>String/HTMLElement el</code>, <span class="optional" title="Optional">[<code>String named</code>]</span>&nbsp;) : Element            <div class="mdesc">
161                        <div class="short">&lt;static&gt; Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a...</div>
162            <div class="long">
163                &lt;static&gt; Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -
164the dom node can be overwritten by other code.    <div class="mdetail-params">
165        <strong>Parameters:</strong>
166        <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc">The dom node or id</div></li><li><code>named</code> : String<div class="sub-desc">(optional) Allows for creation of named reusable flyweights to
167prevent conflicts (e.g. internally Ext uses "_internal")</div></li>        </ul>
168        <strong>Returns:</strong>
169        <ul>
170            <li><code>Element</code><div class="sub-desc">The shared Element object (or null if no matching element was found)</div></li>
171        </ul>
172    </div>
173                </div>
174                        </div>
175        </td>
176        <td class="msource">Element</td>
177    </tr>
178        <tr class="method-row expandable">
179        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
180        <td class="sig">
181        <a id="Ext.Element-Element.get"></a>
182            <b>Element.get</b>(&nbsp;<code>Mixed el</code>&nbsp;) : Element            <div class="mdesc">
183                        <div class="short">&lt;static&gt; Static method to retrieve Ext.Element objects.
184This method does not retrieve Components. This method
185r...</div>
186            <div class="long">
187                &lt;static&gt; Static method to retrieve Ext.Element objects.
188<p><b>This method does not retrieve <a ext:cls="Ext.Component" href="output/Ext.Component.html">Component</a>s.</b> This method
189retrieves Ext.Element objects which encapsulate DOM elements. To retrieve a Component by
190its ID, use <a ext:cls="Ext.ComponentMgr" ext:member="get" href="output/Ext.ComponentMgr.html#get">Ext.ComponentMgr.get</a>.</p>
191<p>Uses simple caching to consistently return the same object.
192Automatically fixes if an object was recreated with the same id via AJAX or DOM.</p>    <div class="mdetail-params">
193        <strong>Parameters:</strong>
194        <ul><li><code>el</code> : Mixed<div class="sub-desc">The id of the node, a DOM Node or an existing Element.</div></li>        </ul>
195        <strong>Returns:</strong>
196        <ul>
197            <li><code>Element</code><div class="sub-desc">The {@link Ext.Element Element} object (or null if no matching element was found)</div></li>
198        </ul>
199    </div>
200                </div>
201                        </div>
202        </td>
203        <td class="msource">Element</td>
204    </tr>
205        <tr class="method-row alt expandable">
206        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
207        <td class="sig">
208        <a id="Ext.Element-addClass"></a>
209            <b>addClass</b>(&nbsp;<code>String/Array className</code>&nbsp;) : Ext.Element            <div class="mdesc">
210                        <div class="short">Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.</div>
211            <div class="long">
212                Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.    <div class="mdetail-params">
213        <strong>Parameters:</strong>
214        <ul><li><code>className</code> : String/Array<div class="sub-desc">The CSS class to add, or an array of classes</div></li>        </ul>
215        <strong>Returns:</strong>
216        <ul>
217            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
218        </ul>
219    </div>
220                </div>
221                        </div>
222        </td>
223        <td class="msource">Element</td>
224    </tr>
225        <tr class="method-row expandable">
226        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
227        <td class="sig">
228        <a id="Ext.Element-addClassOnClick"></a>
229            <b>addClassOnClick</b>(&nbsp;<code>String className</code>&nbsp;) : Ext.Element            <div class="mdesc">
230                        <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>
231            <div class="long">
232                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 class="mdetail-params">
233        <strong>Parameters:</strong>
234        <ul><li><code>className</code> : String<div class="sub-desc"></div></li>        </ul>
235        <strong>Returns:</strong>
236        <ul>
237            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
238        </ul>
239    </div>
240                </div>
241                        </div>
242        </td>
243        <td class="msource">Element</td>
244    </tr>
245        <tr class="method-row alt expandable">
246        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
247        <td class="sig">
248        <a id="Ext.Element-addClassOnFocus"></a>
249            <b>addClassOnFocus</b>(&nbsp;<code>String className</code>&nbsp;) : Ext.Element            <div class="mdesc">
250                        <div class="short">Sets up event handlers to add and remove a css class when this element has the focus</div>
251            <div class="long">
252                Sets up event handlers to add and remove a css class when this element has the focus    <div class="mdetail-params">
253        <strong>Parameters:</strong>
254        <ul><li><code>className</code> : String<div class="sub-desc"></div></li>        </ul>
255        <strong>Returns:</strong>
256        <ul>
257            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
258        </ul>
259    </div>
260                </div>
261                        </div>
262        </td>
263        <td class="msource">Element</td>
264    </tr>
265        <tr class="method-row expandable">
266        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
267        <td class="sig">
268        <a id="Ext.Element-addClassOnOver"></a>
269            <b>addClassOnOver</b>(&nbsp;<code>String className</code>&nbsp;) : Ext.Element            <div class="mdesc">
270                        <div class="short">Sets up event handlers to add and remove a css class when the mouse is over this element</div>
271            <div class="long">
272                Sets up event handlers to add and remove a css class when the mouse is over this element    <div class="mdetail-params">
273        <strong>Parameters:</strong>
274        <ul><li><code>className</code> : String<div class="sub-desc"></div></li>        </ul>
275        <strong>Returns:</strong>
276        <ul>
277            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
278        </ul>
279    </div>
280                </div>
281                        </div>
282        </td>
283        <td class="msource">Element</td>
284    </tr>
285        <tr class="method-row alt expandable">
286        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
287        <td class="sig">
288        <a id="Ext.Element-addKeyListener"></a>
289            <b>addKeyListener</b>(&nbsp;<code>Number/Array/Object/String key</code>, <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Ext.KeyMap            <div class="mdesc">
290                        <div class="short">Convenience method for constructing a KeyMap</div>
291            <div class="long">
292                Convenience method for constructing a KeyMap    <div class="mdetail-params">
293        <strong>Parameters:</strong>
294        <ul><li><code>key</code> : Number/Array/Object/String<div class="sub-desc">Either a string with the keys to listen for, the numeric key code, array of key codes or an object with the following options:
295{key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}</div></li><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function</div></li>        </ul>
296        <strong>Returns:</strong>
297        <ul>
298            <li><code>Ext.KeyMap</code><div class="sub-desc">The KeyMap created</div></li>
299        </ul>
300    </div>
301                </div>
302                        </div>
303        </td>
304        <td class="msource">Element</td>
305    </tr>
306        <tr class="method-row expandable">
307        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
308        <td class="sig">
309        <a id="Ext.Element-addKeyMap"></a>
310            <b>addKeyMap</b>(&nbsp;<code>Object config</code>&nbsp;) : Ext.KeyMap            <div class="mdesc">
311                        <div class="short">Creates a KeyMap for this element</div>
312            <div class="long">
313                Creates a KeyMap for this element    <div class="mdetail-params">
314        <strong>Parameters:</strong>
315        <ul><li><code>config</code> : Object<div class="sub-desc">The KeyMap config. See <a ext:cls="Ext.KeyMap" href="output/Ext.KeyMap.html">Ext.KeyMap</a> for more details</div></li>        </ul>
316        <strong>Returns:</strong>
317        <ul>
318            <li><code>Ext.KeyMap</code><div class="sub-desc">The KeyMap created</div></li>
319        </ul>
320    </div>
321                </div>
322                        </div>
323        </td>
324        <td class="msource">Element</td>
325    </tr>
326        <tr class="method-row alt expandable">
327        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
328        <td class="sig">
329        <a id="Ext.Element-addListener"></a>
330            <b>addListener</b>(&nbsp;<code>String eventName</code>, <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
331                        <div class="short">Appends an event handler to this element.  The shorthand version <a ext:cls="Ext.Element" ext:member="on" href="output/Ext.Element.html#on">on</a> is equivalent.</div>
332            <div class="long">
333                Appends an event handler to this element.  The shorthand version <a ext:cls="Ext.Element" ext:member="on" href="output/Ext.Element.html#on">on</a> is equivalent.    <div class="mdetail-params">
334        <strong>Parameters:</strong>
335        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to handle</div></li><li><code>fn</code> : Function<div class="sub-desc">The handler function the event invokes. This function is passed
336the following parameters:<ul>
337<li>evt : EventObject<div class="sub-desc">The <a ext:cls="Ext.EventObject" href="output/Ext.EventObject.html">EventObject</a> describing the event.</div></li>
338<li>t : Element<div class="sub-desc">The <a ext:cls="Ext.Element" href="output/Ext.Element.html">Element</a> which was the target of the event.
339Note that this may be filtered by using the <tt>delegate</tt> option.</div></li>
340<li>o : Object<div class="sub-desc">The options object from the addListener call.</div></li>
341</ul></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (The <tt>this</tt> reference) of the handler function. Defaults
342to this Element.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration properties.
343This may contain any of the following properties:<ul>
344<li>scope {Object} : The scope in which to execute the handler function. The handler function's "this" context.</li>
345<li>delegate {String} : A simple selector to filter the target or look for a descendant of the target</li>
346<li>stopEvent {Boolean} : True to stop the event. That is stop propagation, and prevent the default action.</li>
347<li>preventDefault {Boolean} : True to prevent the default action</li>
348<li>stopPropagation {Boolean} : True to prevent event propagation</li>
349<li>normalized {Boolean} : False to pass a browser event to the handler function instead of an Ext.EventObject</li>
350<li>delay {Number} : The number of milliseconds to delay the invocation of the handler after te event fires.</li>
351<li>single {Boolean} : True to add a handler to handle just the next firing of the event, and then remove itself.</li>
352<li>buffer {Number} : Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
353by the specified number of milliseconds. If the event fires again within that time, the original
354handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>
355</ul><br>
356<p>
357<b>Combining Options</b><br>
358In the following examples, the shorthand form <a ext:cls="Ext.Element" ext:member="on" href="output/Ext.Element.html#on">on</a> is used rather than the more verbose
359addListener. The two are equivalent. Using the options argument, it is possible to combine different
360types of listeners:<br>
361<br>
362A normalized, delayed, one-time listener that auto stops the event and adds a custom argument (forumId) to the
363options object. The options object is available as the third parameter in the handler function.<div style="margin: 5px 20px 20px;">
364Code:<pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
365    single: true,
366    delay: 100,
367    stopEvent : true,
368    forumId: 4
369});</code></pre></p>
370<p>
371<b>Attaching multiple handlers in 1 call</b><br>
372The method also allows for a single argument to be passed which is a config object containing properties
373which specify multiple handlers.</p>
374<p>
375Code:<pre><code></p>
376el.on({
377    <em>'click'</em> : {
378        fn: <b>this</b>.onClick,
379        scope: <b>this</b>,
380        delay: 100
381    },
382    <em>'mouseover'</em> : {
383        fn: <b>this</b>.onMouseOver,
384        scope: <b>this</b>
385    },
386    <em>'mouseout'</em> : {
387        fn: <b>this</b>.onMouseOut,
388        scope: <b>this</b>
389    }
390});</code></pre>
391<p>
392Or a shorthand syntax:<br>
393Code:<pre><code></p>
394el.on({
395    <em>'click'</em> : <b>this</b>.onClick,
396    <em>'mouseover'</em> : <b>this</b>.onMouseOver,
397    <em>'mouseout'</em> : <b>this</b>.onMouseOut,
398    scope: <b>this</b>
399});</code></pre></div></li>        </ul>
400        <strong>Returns:</strong>
401        <ul>
402            <li><code>void</code></li>
403        </ul>
404    </div>
405                </div>
406                        </div>
407        </td>
408        <td class="msource">Element</td>
409    </tr>
410        <tr class="method-row expandable">
411        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
412        <td class="sig">
413        <a id="Ext.Element-alignTo"></a>
414            <b>alignTo</b>(&nbsp;<code>Mixed element</code>, <code>String position</code>, <span class="optional" title="Optional">[<code>Array offsets</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
415                        <div class="short">Aligns this element with another element relative to the specified anchor points. If the other element is the
416documen...</div>
417            <div class="long">
418                Aligns this element with another element relative to the specified anchor points. If the other element is the
419document it aligns it to the viewport.
420The position parameter is optional, and can be specified in any one of the following formats:
421<ul>
422<li><b>Blank</b>: Defaults to aligning the element's top-left corner to the target's bottom-left corner ("tl-bl").</li>
423<li><b>One anchor (deprecated)</b>: The passed anchor position is used as the target element's anchor point.
424The element being aligned will position its top-left corner (tl) to that point.  <i>This method has been
425deprecated in favor of the newer two anchor syntax below</i>.</li>
426<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
427element's anchor point, and the second value is used as the target's anchor point.</li>
428</ul>
429In addition to the anchor points, the position parameter also supports the "?" character.  If "?" is passed at the end of
430the position string, the element will attempt to align as specified, but the position will be adjusted to constrain to
431the viewport if necessary.  Note that the element being aligned might be swapped to align to a different position than
432that specified in order to enforce the viewport constraints.
433Following are all of the supported anchor positions:
434<pre>Value  Description
435-----  -----------------------------
436tl     The top left corner (default)
437t      The center of the top edge
438tr     The top right corner
439l      The center of the left edge
440c      In the center of the element
441r      The center of the right edge
442bl     The bottom left corner
443b      The center of the bottom edge
444br     The bottom right corner</pre>
445Example Usage:
446<pre><code><i>// align el to other-el using the <b>default</b> positioning (<em>"tl-bl"</em>, non-constrained)</i>
447el.alignTo(<em>"other-el"</em>);
448
449<i>// align the top left corner of el <b>with</b> the top right corner of other-el (constrained to viewport)</i>
450el.alignTo(<em>"other-el"</em>, <em>"tr?"</em>);
451
452<i>// align the bottom right corner of el <b>with</b> the center left edge of other-el</i>
453el.alignTo(<em>"other-el"</em>, <em>"br-l?"</em>);
454
455<i>// align the center of el <b>with</b> the bottom left corner of other-el and</i>
456<i>// adjust the x position by -6 pixels (and the y position by 0)</i>
457el.alignTo(<em>"other-el"</em>, <em>"c-bl"</em>, [-6, 0]);</code></pre>    <div class="mdetail-params">
458        <strong>Parameters:</strong>
459        <ul><li><code>element</code> : Mixed<div class="sub-desc">The element to align to.</div></li><li><code>position</code> : String<div class="sub-desc">The position to align to.</div></li><li><code>offsets</code> : Array<div class="sub-desc">(optional) Offset the positioning by [x, y]</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
460        <strong>Returns:</strong>
461        <ul>
462            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
463        </ul>
464    </div>
465                </div>
466                        </div>
467        </td>
468        <td class="msource">Element</td>
469    </tr>
470        <tr class="method-row alt expandable">
471        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
472        <td class="sig">
473        <a id="Ext.Element-anchorTo"></a>
474            <b>anchorTo</b>(&nbsp;<code>Mixed element</code>, <code>String position</code>, <span class="optional" title="Optional">[<code>Array offsets</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number monitorScroll</code>]</span>, <code>Function callback</code>&nbsp;) : Ext.Element            <div class="mdesc">
475                        <div class="short">Anchors an element to another element and realigns it when the window is resized.</div>
476            <div class="long">
477                Anchors an element to another element and realigns it when the window is resized.    <div class="mdetail-params">
478        <strong>Parameters:</strong>
479        <ul><li><code>element</code> : Mixed<div class="sub-desc">The element to align to.</div></li><li><code>position</code> : String<div class="sub-desc">The position to align to.</div></li><li><code>offsets</code> : Array<div class="sub-desc">(optional) Offset the positioning by [x, y]</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation or a standard Element animation config object</div></li><li><code>monitorScroll</code> : Boolean/Number<div class="sub-desc">(optional) True to monitor body scroll and reposition. If this parameter
480is a number, it is used as the buffer delay (defaults to 50ms).</div></li><li><code>callback</code> : Function<div class="sub-desc">The function to call after the animation finishes</div></li>        </ul>
481        <strong>Returns:</strong>
482        <ul>
483            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
484        </ul>
485    </div>
486                </div>
487                        </div>
488        </td>
489        <td class="msource">Element</td>
490    </tr>
491        <tr class="method-row expandable">
492        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
493        <td class="sig">
494        <a id="Ext.Element-animate"></a>
495            <b>animate</b>(&nbsp;<code>Object args</code>, <span class="optional" title="Optional">[<code>Float duration</code>]</span>, <span class="optional" title="Optional">[<code>Function onComplete</code>]</span>, <span class="optional" title="Optional">[<code>String easing</code>]</span>, <span class="optional" title="Optional">[<code>String animType</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
496                        <div class="short">Perform animation on this element.</div>
497            <div class="long">
498                Perform animation on this element.    <div class="mdetail-params">
499        <strong>Parameters:</strong>
500        <ul><li><code>args</code> : Object<div class="sub-desc">The animation control args</div></li><li><code>duration</code> : Float<div class="sub-desc">(optional) How long the animation lasts in seconds (defaults to .35)</div></li><li><code>onComplete</code> : Function<div class="sub-desc">(optional) Function to call when animation completes</div></li><li><code>easing</code> : String<div class="sub-desc">(optional) Easing method to use (defaults to 'easeOut')</div></li><li><code>animType</code> : String<div class="sub-desc">(optional) 'run' is the default. Can also be 'color', 'motion', or 'scroll'</div></li>        </ul>
501        <strong>Returns:</strong>
502        <ul>
503            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
504        </ul>
505    </div>
506                </div>
507                        </div>
508        </td>
509        <td class="msource">Element</td>
510    </tr>
511        <tr class="method-row alt expandable">
512        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
513        <td class="sig">
514        <a id="Ext.Element-appendChild"></a>
515            <b>appendChild</b>(&nbsp;<code>String/HTMLElement/Array/Element/CompositeElement el</code>&nbsp;) : Ext.Element            <div class="mdesc">
516                        <div class="short">Appends the passed element(s) to this element</div>
517            <div class="long">
518                Appends the passed element(s) to this element    <div class="mdetail-params">
519        <strong>Parameters:</strong>
520        <ul><li><code>el</code> : String/HTMLElement/Array/Element/CompositeElement<div class="sub-desc"></div></li>        </ul>
521        <strong>Returns:</strong>
522        <ul>
523            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
524        </ul>
525    </div>
526                </div>
527                        </div>
528        </td>
529        <td class="msource">Element</td>
530    </tr>
531        <tr class="method-row expandable">
532        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
533        <td class="sig">
534        <a id="Ext.Element-appendTo"></a>
535            <b>appendTo</b>(&nbsp;<code>Mixed el</code>&nbsp;) : Ext.Element            <div class="mdesc">
536                        <div class="short">Appends this element to the passed element</div>
537            <div class="long">
538                Appends this element to the passed element    <div class="mdetail-params">
539        <strong>Parameters:</strong>
540        <ul><li><code>el</code> : Mixed<div class="sub-desc">The new parent element</div></li>        </ul>
541        <strong>Returns:</strong>
542        <ul>
543            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
544        </ul>
545    </div>
546                </div>
547                        </div>
548        </td>
549        <td class="msource">Element</td>
550    </tr>
551        <tr class="method-row alt expandable">
552        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
553        <td class="sig">
554        <a id="Ext.Element-applyStyles"></a>
555            <b>applyStyles</b>(&nbsp;<code>String/Object/Function styles</code>&nbsp;) : Ext.Element            <div class="mdesc">
556                        <div class="short">More flexible version of <a ext:cls="Ext.Element" ext:member="setStyle" href="output/Ext.Element.html#setStyle">setStyle</a> for setting style properties.</div>
557            <div class="long">
558                More flexible version of <a ext:cls="Ext.Element" ext:member="setStyle" href="output/Ext.Element.html#setStyle">setStyle</a> for setting style properties.    <div class="mdetail-params">
559        <strong>Parameters:</strong>
560        <ul><li><code>styles</code> : String/Object/Function<div class="sub-desc">A style specification string, e.g. "width:100px", or object in the form {width:"100px"}, or
561a function which returns such a specification.</div></li>        </ul>
562        <strong>Returns:</strong>
563        <ul>
564            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
565        </ul>
566    </div>
567                </div>
568                        </div>
569        </td>
570        <td class="msource">Element</td>
571    </tr>
572        <tr class="method-row expandable">
573        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
574        <td class="sig">
575        <a id="Ext.Element-autoHeight"></a>
576            <b>autoHeight</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean animate</code>]</span>, <span class="optional" title="Optional">[<code>Float duration</code>]</span>, <span class="optional" title="Optional">[<code>Function onComplete</code>]</span>, <span class="optional" title="Optional">[<code>String easing</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
577                        <div class="short">Measures the element's content height and updates height to match. Note: this function uses setTimeout so
578the new hei...</div>
579            <div class="long">
580                Measures the element's content height and updates height to match. Note: this function uses setTimeout so
581the new height may not be available immediately.    <div class="mdetail-params">
582        <strong>Parameters:</strong>
583        <ul><li><code>animate</code> : Boolean<div class="sub-desc">(optional) Animate the transition (defaults to false)</div></li><li><code>duration</code> : Float<div class="sub-desc">(optional) Length of the animation in seconds (defaults to .35)</div></li><li><code>onComplete</code> : Function<div class="sub-desc">(optional) Function to call when animation completes</div></li><li><code>easing</code> : String<div class="sub-desc">(optional) Easing method to use (defaults to easeOut)</div></li>        </ul>
584        <strong>Returns:</strong>
585        <ul>
586            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
587        </ul>
588    </div>
589                </div>
590                        </div>
591        </td>
592        <td class="msource">Element</td>
593    </tr>
594        <tr class="method-row alt expandable">
595        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
596        <td class="sig">
597        <a id="Ext.Element-blur"></a>
598            <b>blur</b>() : Ext.Element            <div class="mdesc">
599                        <div class="short">Tries to blur the element. Any exceptions are caught and ignored.</div>
600            <div class="long">
601                Tries to blur the element. Any exceptions are caught and ignored.    <div class="mdetail-params">
602        <strong>Parameters:</strong>
603        <ul><li>None.</li>        </ul>
604        <strong>Returns:</strong>
605        <ul>
606            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
607        </ul>
608    </div>
609                </div>
610                        </div>
611        </td>
612        <td class="msource">Element</td>
613    </tr>
614        <tr class="method-row expandable">
615        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
616        <td class="sig">
617        <a id="Ext.Element-boxWrap"></a>
618            <b>boxWrap</b>(&nbsp;<span class="optional" title="Optional">[<code>String class</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
619                        <div class="short">Wraps the specified element with a special markup/CSS block that renders by default as a gray container with a
620gradie...</div>
621            <div class="long">
622                Wraps the specified element with a special markup/CSS block that renders by default as a gray container with a
623gradient background, rounded corners and a 4-way shadow.  Example usage:
624<pre><code>
625// Basic box wrap
626Ext.get("foo").boxWrap();
627
628// You can also add a custom class and use CSS inheritance rules to customize the box look.
629// 'x-box-blue' is a built-in alternative -- look at the related CSS definitions as an example
630// for how to create a custom box wrap style.
631Ext.get("foo").boxWrap().addClass("x-box-blue");</pre></code>    <div class="mdetail-params">
632        <strong>Parameters:</strong>
633        <ul><li><code>class</code> : String<div class="sub-desc">(optional) A base CSS class to apply to the containing wrapper element (defaults to 'x-box').
634Note that there are a number of CSS rules that are dependent on this name to make the overall effect work,
635so if you supply an alternate base class, make sure you also supply all of the necessary rules.</div></li>        </ul>
636        <strong>Returns:</strong>
637        <ul>
638            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
639        </ul>
640    </div>
641                </div>
642                        </div>
643        </td>
644        <td class="msource">Element</td>
645    </tr>
646        <tr class="method-row alt expandable">
647        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
648        <td class="sig">
649        <a id="Ext.Element-center"></a>
650            <b>center</b>(&nbsp;<span class="optional" title="Optional">[<code>Mixed centerIn</code>]</span>&nbsp;) : void            <div class="mdesc">
651                        <div class="short">Centers the Element in either the viewport, or another Element.</div>
652            <div class="long">
653                Centers the Element in either the viewport, or another Element.    <div class="mdetail-params">
654        <strong>Parameters:</strong>
655        <ul><li><code>centerIn</code> : Mixed<div class="sub-desc">(optional) The element in which to center the element.</div></li>        </ul>
656        <strong>Returns:</strong>
657        <ul>
658            <li><code>void</code></li>
659        </ul>
660    </div>
661                </div>
662                        </div>
663        </td>
664        <td class="msource">Element</td>
665    </tr>
666        <tr class="method-row expandable">
667        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
668        <td class="sig">
669        <a id="Ext.Element-child"></a>
670            <b>child</b>(&nbsp;<code>String selector</code>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : HTMLElement/Ext.Element            <div class="mdesc">
671                        <div class="short">Selects a single child at any depth below this element based on the passed CSS selector (the selector should not cont...</div>
672            <div class="long">
673                Selects a single child at any depth below this element based on the passed CSS selector (the selector should not contain an id).    <div class="mdetail-params">
674        <strong>Parameters:</strong>
675        <ul><li><code>selector</code> : String<div class="sub-desc">The CSS selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return the DOM node instead of Ext.Element (defaults to false)</div></li>        </ul>
676        <strong>Returns:</strong>
677        <ul>
678            <li><code>HTMLElement/Ext.Element</code><div class="sub-desc">The child Ext.Element (or DOM node if returnDom = true)</div></li>
679        </ul>
680    </div>
681                </div>
682                        </div>
683        </td>
684        <td class="msource">Element</td>
685    </tr>
686        <tr class="method-row alt expandable">
687        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
688        <td class="sig">
689        <a id="Ext.Element-clean"></a>
690            <b>clean</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean forceReclean</code>]</span>&nbsp;) : void            <div class="mdesc">
691                        <div class="short">Removes worthless text nodes</div>
692            <div class="long">
693                Removes worthless text nodes    <div class="mdetail-params">
694        <strong>Parameters:</strong>
695        <ul><li><code>forceReclean</code> : Boolean<div class="sub-desc">(optional) By default the element
696keeps track if it has been cleaned already so
697you can call this over and over. However, if you update the element and
698need to force a reclean, you can pass true.</div></li>        </ul>
699        <strong>Returns:</strong>
700        <ul>
701            <li><code>void</code></li>
702        </ul>
703    </div>
704                </div>
705                        </div>
706        </td>
707        <td class="msource">Element</td>
708    </tr>
709        <tr class="method-row expandable">
710        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
711        <td class="sig">
712        <a id="Ext.Element-clearOpacity"></a>
713            <b>clearOpacity</b>() : Ext.Element            <div class="mdesc">
714                        <div class="short">Clears any opacity settings from this element. Required in some cases for IE.</div>
715            <div class="long">
716                Clears any opacity settings from this element. Required in some cases for IE.    <div class="mdetail-params">
717        <strong>Parameters:</strong>
718        <ul><li>None.</li>        </ul>
719        <strong>Returns:</strong>
720        <ul>
721            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
722        </ul>
723    </div>
724                </div>
725                        </div>
726        </td>
727        <td class="msource">Element</td>
728    </tr>
729        <tr class="method-row alt expandable">
730        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
731        <td class="sig">
732        <a id="Ext.Element-clearPositioning"></a>
733            <b>clearPositioning</b>(&nbsp;<span class="optional" title="Optional">[<code>String value</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
734                        <div class="short">Clear positioning back to the default when the document was loaded</div>
735            <div class="long">
736                Clear positioning back to the default when the document was loaded    <div class="mdetail-params">
737        <strong>Parameters:</strong>
738        <ul><li><code>value</code> : String<div class="sub-desc">(optional) The value to use for the left,right,top,bottom, defaults to '' (empty string). You could use 'auto'.</div></li>        </ul>
739        <strong>Returns:</strong>
740        <ul>
741            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
742        </ul>
743    </div>
744                </div>
745                        </div>
746        </td>
747        <td class="msource">Element</td>
748    </tr>
749        <tr class="method-row expandable">
750        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
751        <td class="sig">
752        <a id="Ext.Element-clip"></a>
753            <b>clip</b>() : Ext.Element            <div class="mdesc">
754                        <div class="short">Store the current overflow setting and clip overflow on the element - use <a ext:cls="Ext.Element" ext:member="unclip" href="output/Ext.Element.html#unclip">unclip</a> to remove</div>
755            <div class="long">
756                Store the current overflow setting and clip overflow on the element - use <a ext:cls="Ext.Element" ext:member="unclip" href="output/Ext.Element.html#unclip">unclip</a> to remove    <div class="mdetail-params">
757        <strong>Parameters:</strong>
758        <ul><li>None.</li>        </ul>
759        <strong>Returns:</strong>
760        <ul>
761            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
762        </ul>
763    </div>
764                </div>
765                        </div>
766        </td>
767        <td class="msource">Element</td>
768    </tr>
769        <tr class="method-row alt expandable">
770        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
771        <td class="sig">
772        <a id="Ext.Element-contains"></a>
773            <b>contains</b>(&nbsp;<code>HTMLElement/String el</code>&nbsp;) : Boolean            <div class="mdesc">
774                        <div class="short">Returns true if this element is an ancestor of the passed element</div>
775            <div class="long">
776                Returns true if this element is an ancestor of the passed element    <div class="mdetail-params">
777        <strong>Parameters:</strong>
778        <ul><li><code>el</code> : HTMLElement/String<div class="sub-desc">The element to check</div></li>        </ul>
779        <strong>Returns:</strong>
780        <ul>
781            <li><code>Boolean</code><div class="sub-desc">True if this element is an ancestor of el, else false</div></li>
782        </ul>
783    </div>
784                </div>
785                        </div>
786        </td>
787        <td class="msource">Element</td>
788    </tr>
789        <tr class="method-row expandable">
790        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
791        <td class="sig">
792        <a id="Ext.Element-createChild"></a>
793            <b>createChild</b>(&nbsp;<code>Object config</code>, <span class="optional" title="Optional">[<code>HTMLElement insertBefore</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
794                        <div class="short">Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child e...</div>
795            <div class="long">
796                Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.    <div class="mdetail-params">
797        <strong>Parameters:</strong>
798        <ul><li><code>config</code> : Object<div class="sub-desc">DomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be
799automatically generated with the specified attributes.</div></li><li><code>insertBefore</code> : HTMLElement<div class="sub-desc">(optional) a child element of this element</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) true to return the dom node instead of creating an Element</div></li>        </ul>
800        <strong>Returns:</strong>
801        <ul>
802            <li><code>Ext.Element</code><div class="sub-desc">The new child element</div></li>
803        </ul>
804    </div>
805                </div>
806                        </div>
807        </td>
808        <td class="msource">Element</td>
809    </tr>
810        <tr class="method-row alt expandable">
811        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
812        <td class="sig">
813        <a id="Ext.Element-createProxy"></a>
814            <b>createProxy</b>(&nbsp;<code>String/Object config</code>, <span class="optional" title="Optional">[<code>String/HTMLElement renderTo</code>]</span>, <span class="optional" title="Optional">[<code>Boolean matchBox</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
815                        <div class="short">Creates a proxy element of this element</div>
816            <div class="long">
817                Creates a proxy element of this element    <div class="mdetail-params">
818        <strong>Parameters:</strong>
819        <ul><li><code>config</code> : String/Object<div class="sub-desc">The class name of the proxy element or a DomHelper config object</div></li><li><code>renderTo</code> : String/HTMLElement<div class="sub-desc">(optional) The element or element id to render the proxy to (defaults to document.body)</div></li><li><code>matchBox</code> : Boolean<div class="sub-desc">(optional) True to align and size the proxy to this element now (defaults to false)</div></li>        </ul>
820        <strong>Returns:</strong>
821        <ul>
822            <li><code>Ext.Element</code><div class="sub-desc">The new proxy element</div></li>
823        </ul>
824    </div>
825                </div>
826                        </div>
827        </td>
828        <td class="msource">Element</td>
829    </tr>
830        <tr class="method-row expandable">
831        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
832        <td class="sig">
833        <a id="Ext.Element-createShim"></a>
834            <b>createShim</b>() : Ext.Element            <div class="mdesc">
835                        <div class="short">Creates an iframe shim for this element to keep selects and other windowed objects from
836showing through.</div>
837            <div class="long">
838                Creates an iframe shim for this element to keep selects and other windowed objects from
839showing through.    <div class="mdetail-params">
840        <strong>Parameters:</strong>
841        <ul><li>None.</li>        </ul>
842        <strong>Returns:</strong>
843        <ul>
844            <li><code>Ext.Element</code><div class="sub-desc">The new shim element</div></li>
845        </ul>
846    </div>
847                </div>
848                        </div>
849        </td>
850        <td class="msource">Element</td>
851    </tr>
852        <tr class="method-row alt expandable">
853        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
854        <td class="sig">
855        <a id="Ext.Element-down"></a>
856            <b>down</b>(&nbsp;<code>String selector</code>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : HTMLElement/Ext.Element            <div class="mdesc">
857                        <div class="short">Selects a single *direct* child based on the passed CSS selector (the selector should not contain an id).</div>
858            <div class="long">
859                Selects a single *direct* child based on the passed CSS selector (the selector should not contain an id).    <div class="mdetail-params">
860        <strong>Parameters:</strong>
861        <ul><li><code>selector</code> : String<div class="sub-desc">The CSS selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return the DOM node instead of Ext.Element (defaults to false)</div></li>        </ul>
862        <strong>Returns:</strong>
863        <ul>
864            <li><code>HTMLElement/Ext.Element</code><div class="sub-desc">The child Ext.Element (or DOM node if returnDom = true)</div></li>
865        </ul>
866    </div>
867                </div>
868                        </div>
869        </td>
870        <td class="msource">Element</td>
871    </tr>
872        <tr class="method-row expandable">
873        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
874        <td class="sig">
875        <a id="Ext.Element-enableDisplayMode"></a>
876            <b>enableDisplayMode</b>(&nbsp;<span class="optional" title="Optional">[<code>String display</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
877                        <div class="short">Convenience method for setVisibilityMode(Element.DISPLAY)</div>
878            <div class="long">
879                Convenience method for setVisibilityMode(Element.DISPLAY)    <div class="mdetail-params">
880        <strong>Parameters:</strong>
881        <ul><li><code>display</code> : String<div class="sub-desc">(optional) What to set display to when visible</div></li>        </ul>
882        <strong>Returns:</strong>
883        <ul>
884            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
885        </ul>
886    </div>
887                </div>
888                        </div>
889        </td>
890        <td class="msource">Element</td>
891    </tr>
892        <tr class="method-row alt expandable">
893        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
894        <td class="sig">
895        <a id="Ext.Element-findParent"></a>
896            <b>findParent</b>(&nbsp;<code>String selector</code>, <span class="optional" title="Optional">[<code>Number/Mixed maxDepth</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnEl</code>]</span>&nbsp;) : HTMLElement            <div class="mdesc">
897                        <div class="short">Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:fi...</div>
898            <div class="long">
899                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)    <div class="mdetail-params">
900        <strong>Parameters:</strong>
901        <ul><li><code>selector</code> : String<div class="sub-desc">The simple selector to test</div></li><li><code>maxDepth</code> : Number/Mixed<div class="sub-desc">(optional) The max depth to
902 search as a number or element (defaults to 10 || document.body)</div></li><li><code>returnEl</code> : Boolean<div class="sub-desc">(optional) True to return a Ext.Element object instead of DOM node</div></li>        </ul>
903        <strong>Returns:</strong>
904        <ul>
905            <li><code>HTMLElement</code><div class="sub-desc">The matching DOM node (or null if no match was found)</div></li>
906        </ul>
907    </div>
908                </div>
909                        </div>
910        </td>
911        <td class="msource">Element</td>
912    </tr>
913        <tr class="method-row expandable">
914        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
915        <td class="sig">
916        <a id="Ext.Element-findParentNode"></a>
917            <b>findParentNode</b>(&nbsp;<code>String selector</code>, <span class="optional" title="Optional">[<code>Number/Mixed maxDepth</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnEl</code>]</span>&nbsp;) : HTMLElement            <div class="mdesc">
918                        <div class="short">Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)</div>
919            <div class="long">
920                Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)    <div class="mdetail-params">
921        <strong>Parameters:</strong>
922        <ul><li><code>selector</code> : String<div class="sub-desc">The simple selector to test</div></li><li><code>maxDepth</code> : Number/Mixed<div class="sub-desc">(optional) The max depth to
923 search as a number or element (defaults to 10 || document.body)</div></li><li><code>returnEl</code> : Boolean<div class="sub-desc">(optional) True to return a Ext.Element object instead of DOM node</div></li>        </ul>
924        <strong>Returns:</strong>
925        <ul>
926            <li><code>HTMLElement</code><div class="sub-desc">The matching DOM node (or null if no match was found)</div></li>
927        </ul>
928    </div>
929                </div>
930                        </div>
931        </td>
932        <td class="msource">Element</td>
933    </tr>
934        <tr class="method-row alt expandable">
935        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
936        <td class="sig">
937        <a id="Ext.Element-first"></a>
938            <b>first</b>(&nbsp;<span class="optional" title="Optional">[<code>String selector</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element/HTMLElement            <div class="mdesc">
939                        <div class="short">Gets the first child, skipping text nodes</div>
940            <div class="long">
941                Gets the first child, skipping text nodes    <div class="mdetail-params">
942        <strong>Parameters:</strong>
943        <ul><li><code>selector</code> : String<div class="sub-desc">(optional) Find the next sibling that matches the passed simple selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return a raw dom node instead of an Ext.Element</div></li>        </ul>
944        <strong>Returns:</strong>
945        <ul>
946            <li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The first child or null</div></li>
947        </ul>
948    </div>
949                </div>
950                        </div>
951        </td>
952        <td class="msource">Element</td>
953    </tr>
954        <tr class="method-row expandable">
955        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
956        <td class="sig">
957        <a id="Ext.Element-focus"></a>
958            <b>focus</b>() : Ext.Element            <div class="mdesc">
959                        <div class="short">Tries to focus the element. Any exceptions are caught and ignored.</div>
960            <div class="long">
961                Tries to focus the element. Any exceptions are caught and ignored.    <div class="mdetail-params">
962        <strong>Parameters:</strong>
963        <ul><li>None.</li>        </ul>
964        <strong>Returns:</strong>
965        <ul>
966            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
967        </ul>
968    </div>
969                </div>
970                        </div>
971        </td>
972        <td class="msource">Element</td>
973    </tr>
974        <tr class="method-row alt expandable">
975        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
976        <td class="sig">
977        <a id="Ext.Element-getAlignToXY"></a>
978            <b>getAlignToXY</b>(&nbsp;<code>Mixed element</code>, <code>String position</code>, <span class="optional" title="Optional">[<code>Array offsets</code>]</span>&nbsp;) : Array            <div class="mdesc">
979                        <div class="short">Gets the x,y coordinates to align this element with another element. See alignTo for more info on the
980supported posit...</div>
981            <div class="long">
982                Gets the x,y coordinates to align this element with another element. See <a ext:cls="Ext.Element" ext:member="alignTo" href="output/Ext.Element.html#alignTo">alignTo</a> for more info on the
983supported position values.    <div class="mdetail-params">
984        <strong>Parameters:</strong>
985        <ul><li><code>element</code> : Mixed<div class="sub-desc">The element to align to.</div></li><li><code>position</code> : String<div class="sub-desc">The position to align to.</div></li><li><code>offsets</code> : Array<div class="sub-desc">(optional) Offset the positioning by [x, y]</div></li>        </ul>
986        <strong>Returns:</strong>
987        <ul>
988            <li><code>Array</code><div class="sub-desc">[x, y]</div></li>
989        </ul>
990    </div>
991                </div>
992                        </div>
993        </td>
994        <td class="msource">Element</td>
995    </tr>
996        <tr class="method-row expandable">
997        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
998        <td class="sig">
999        <a id="Ext.Element-getAnchorXY"></a>
1000            <b>getAnchorXY</b>(&nbsp;<span class="optional" title="Optional">[<code>String anchor</code>]</span>, <span class="optional" title="Optional">[<code>Boolean local</code>]</span>, <span class="optional" title="Optional">[<code>Object size</code>]</span>&nbsp;) : Array            <div class="mdesc">
1001                        <div class="short">Gets the x,y coordinates specified by the anchor position on the element.</div>
1002            <div class="long">
1003                Gets the x,y coordinates specified by the anchor position on the element.    <div class="mdetail-params">
1004        <strong>Parameters:</strong>
1005        <ul><li><code>anchor</code> : String<div class="sub-desc">(optional) The specified anchor position (defaults to "c"). See <a ext:cls="Ext.Element" ext:member="alignTo" href="output/Ext.Element.html#alignTo">alignTo</a>
1006for details on supported anchor positions.</div></li><li><code>local</code> : Boolean<div class="sub-desc">(optional) True to get the local (element top/left-relative) anchor position instead
1007of page coordinates</div></li><li><code>size</code> : Object<div class="sub-desc">(optional) An object containing the size to use for calculating anchor position
1008{width: (target width), height: (target height)} (defaults to the element's current size)</div></li>        </ul>
1009        <strong>Returns:</strong>
1010        <ul>
1011            <li><code>Array</code><div class="sub-desc">[x, y] An array containing the element's x and y coordinates</div></li>
1012        </ul>
1013    </div>
1014                </div>
1015                        </div>
1016        </td>
1017        <td class="msource">Element</td>
1018    </tr>
1019        <tr class="method-row alt expandable">
1020        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1021        <td class="sig">
1022        <a id="Ext.Element-getAttributeNS"></a>
1023            <b>getAttributeNS</b>(&nbsp;<code>String namespace</code>, <code>String name</code>&nbsp;) : String            <div class="mdesc">
1024                        <div class="short">Returns the value of a namespaced attribute from the element's underlying DOM node.</div>
1025            <div class="long">
1026                Returns the value of a namespaced attribute from the element's underlying DOM node.    <div class="mdetail-params">
1027        <strong>Parameters:</strong>
1028        <ul><li><code>namespace</code> : String<div class="sub-desc">The namespace in which to look for the attribute</div></li><li><code>name</code> : String<div class="sub-desc">The attribute name</div></li>        </ul>
1029        <strong>Returns:</strong>
1030        <ul>
1031            <li><code>String</code><div class="sub-desc">The attribute value</div></li>
1032        </ul>
1033    </div>
1034                </div>
1035                        </div>
1036        </td>
1037        <td class="msource">Element</td>
1038    </tr>
1039        <tr class="method-row expandable">
1040        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1041        <td class="sig">
1042        <a id="Ext.Element-getBorderWidth"></a>
1043            <b>getBorderWidth</b>(&nbsp;<code>String side</code>&nbsp;) : Number            <div class="mdesc">
1044                        <div class="short">Gets the width of the border(s) for the specified side(s)</div>
1045            <div class="long">
1046                Gets the width of the border(s) for the specified side(s)    <div class="mdetail-params">
1047        <strong>Parameters:</strong>
1048        <ul><li><code>side</code> : String<div class="sub-desc">Can be t, l, r, b or any combination of those to add multiple values. For example,
1049passing lr would get the border (l)eft width + the border (r)ight width.</div></li>        </ul>
1050        <strong>Returns:</strong>
1051        <ul>
1052            <li><code>Number</code><div class="sub-desc">The width of the sides passed added together</div></li>
1053        </ul>
1054    </div>
1055                </div>
1056                        </div>
1057        </td>
1058        <td class="msource">Element</td>
1059    </tr>
1060        <tr class="method-row alt expandable">
1061        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1062        <td class="sig">
1063        <a id="Ext.Element-getBottom"></a>
1064            <b>getBottom</b>(&nbsp;<code>Boolean local</code>&nbsp;) : Number            <div class="mdesc">
1065                        <div class="short">Gets the bottom Y coordinate of the element (element Y position + element height)</div>
1066            <div class="long">
1067                Gets the bottom Y coordinate of the element (element Y position + element height)    <div class="mdetail-params">
1068        <strong>Parameters:</strong>
1069        <ul><li><code>local</code> : Boolean<div class="sub-desc">True to get the local css position instead of page coordinate</div></li>        </ul>
1070        <strong>Returns:</strong>
1071        <ul>
1072            <li><code>Number</code></li>
1073        </ul>
1074    </div>
1075                </div>
1076                        </div>
1077        </td>
1078        <td class="msource">Element</td>
1079    </tr>
1080        <tr class="method-row expandable">
1081        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1082        <td class="sig">
1083        <a id="Ext.Element-getBox"></a>
1084            <b>getBox</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean contentBox</code>]</span>, <span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Object            <div class="mdesc">
1085                        <div class="short">Return a box {x, y, width, height} that can be used to set another elements
1086size/location to match this element.</div>
1087            <div class="long">
1088                Return a box {x, y, width, height} that can be used to set another elements
1089size/location to match this element.    <div class="mdetail-params">
1090        <strong>Parameters:</strong>
1091        <ul><li><code>contentBox</code> : Boolean<div class="sub-desc">(optional) If true a box for the content of the element is returned.</div></li><li><code>local</code> : Boolean<div class="sub-desc">(optional) If true the element's left and top are returned instead of page x/y.</div></li>        </ul>
1092        <strong>Returns:</strong>
1093        <ul>
1094            <li><code>Object</code><div class="sub-desc">box An object in the format {x, y, width, height}</div></li>
1095        </ul>
1096    </div>
1097                </div>
1098                        </div>
1099        </td>
1100        <td class="msource">Element</td>
1101    </tr>
1102        <tr class="method-row alt expandable">
1103        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1104        <td class="sig">
1105        <a id="Ext.Element-getCenterXY"></a>
1106            <b>getCenterXY</b>() : Array            <div class="mdesc">
1107                        <div class="short">Calculates the x, y to center this element on the screen</div>
1108            <div class="long">
1109                Calculates the x, y to center this element on the screen    <div class="mdetail-params">
1110        <strong>Parameters:</strong>
1111        <ul><li>None.</li>        </ul>
1112        <strong>Returns:</strong>
1113        <ul>
1114            <li><code>Array</code><div class="sub-desc">The x, y values [x, y]</div></li>
1115        </ul>
1116    </div>
1117                </div>
1118                        </div>
1119        </td>
1120        <td class="msource">Element</td>
1121    </tr>
1122        <tr class="method-row expandable">
1123        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1124        <td class="sig">
1125        <a id="Ext.Element-getColor"></a>
1126            <b>getColor</b>(&nbsp;<code>String attr</code>, <code>String defaultValue</code>, <span class="optional" title="Optional">[<code>String prefix</code>]</span>&nbsp;) : void            <div class="mdesc">
1127                        <div class="short">Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values
1128are convert to standa...</div>
1129            <div class="long">
1130                Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values
1131are convert to standard 6 digit hex color.    <div class="mdetail-params">
1132        <strong>Parameters:</strong>
1133        <ul><li><code>attr</code> : String<div class="sub-desc">The css attribute</div></li><li><code>defaultValue</code> : String<div class="sub-desc">The default value to use when a valid color isn't found</div></li><li><code>prefix</code> : String<div class="sub-desc">(optional) defaults to #. Use an empty string when working with
1134color anims.</div></li>        </ul>
1135        <strong>Returns:</strong>
1136        <ul>
1137            <li><code>void</code></li>
1138        </ul>
1139    </div>
1140                </div>
1141                        </div>
1142        </td>
1143        <td class="msource">Element</td>
1144    </tr>
1145        <tr class="method-row alt expandable">
1146        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1147        <td class="sig">
1148        <a id="Ext.Element-getComputedHeight"></a>
1149            <b>getComputedHeight</b>() : Number            <div class="mdesc">
1150                        <div class="short">Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders
1151when...</div>
1152            <div class="long">
1153                Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders
1154when needed to simulate offsetHeight when offsets aren't available. This may not work on display:none elements
1155if a height has not been set using CSS.    <div class="mdetail-params">
1156        <strong>Parameters:</strong>
1157        <ul><li>None.</li>        </ul>
1158        <strong>Returns:</strong>
1159        <ul>
1160            <li><code>Number</code></li>
1161        </ul>
1162    </div>
1163                </div>
1164                        </div>
1165        </td>
1166        <td class="msource">Element</td>
1167    </tr>
1168        <tr class="method-row expandable">
1169        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1170        <td class="sig">
1171        <a id="Ext.Element-getComputedWidth"></a>
1172            <b>getComputedWidth</b>() : Number            <div class="mdesc">
1173                        <div class="short">Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders
1174when ne...</div>
1175            <div class="long">
1176                Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders
1177when needed to simulate offsetWidth when offsets aren't available. This may not work on display:none elements
1178if a width has not been set using CSS.    <div class="mdetail-params">
1179        <strong>Parameters:</strong>
1180        <ul><li>None.</li>        </ul>
1181        <strong>Returns:</strong>
1182        <ul>
1183            <li><code>Number</code></li>
1184        </ul>
1185    </div>
1186                </div>
1187                        </div>
1188        </td>
1189        <td class="msource">Element</td>
1190    </tr>
1191        <tr class="method-row alt expandable">
1192        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1193        <td class="sig">
1194        <a id="Ext.Element-getFrameWidth"></a>
1195            <b>getFrameWidth</b>(&nbsp;<code>String sides</code>&nbsp;) : Number            <div class="mdesc">
1196                        <div class="short">Returns the sum width of the padding and borders for the passed "sides". See getBorderWidth()
1197     for more informat...</div>
1198            <div class="long">
1199                Returns the sum width of the padding and borders for the passed "sides". See getBorderWidth()
1200     for more information about the sides.    <div class="mdetail-params">
1201        <strong>Parameters:</strong>
1202        <ul><li><code>sides</code> : String<div class="sub-desc"></div></li>        </ul>
1203        <strong>Returns:</strong>
1204        <ul>
1205            <li><code>Number</code></li>
1206        </ul>
1207    </div>
1208                </div>
1209                        </div>
1210        </td>
1211        <td class="msource">Element</td>
1212    </tr>
1213        <tr class="method-row expandable">
1214        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1215        <td class="sig">
1216        <a id="Ext.Element-getHeight"></a>
1217            <b>getHeight</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean contentHeight</code>]</span>&nbsp;) : Number            <div class="mdesc">
1218                        <div class="short">Returns the offset height of the element</div>
1219            <div class="long">
1220                Returns the offset height of the element    <div class="mdetail-params">
1221        <strong>Parameters:</strong>
1222        <ul><li><code>contentHeight</code> : Boolean<div class="sub-desc">(optional) true to get the height minus borders and padding</div></li>        </ul>
1223        <strong>Returns:</strong>
1224        <ul>
1225            <li><code>Number</code><div class="sub-desc">The element's height</div></li>
1226        </ul>
1227    </div>
1228                </div>
1229                        </div>
1230        </td>
1231        <td class="msource">Element</td>
1232    </tr>
1233        <tr class="method-row alt expandable">
1234        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1235        <td class="sig">
1236        <a id="Ext.Element-getLeft"></a>
1237            <b>getLeft</b>(&nbsp;<code>Boolean local</code>&nbsp;) : Number            <div class="mdesc">
1238                        <div class="short">Gets the left X coordinate</div>
1239            <div class="long">
1240                Gets the left X coordinate    <div class="mdetail-params">
1241        <strong>Parameters:</strong>
1242        <ul><li><code>local</code> : Boolean<div class="sub-desc">True to get the local css position instead of page coordinate</div></li>        </ul>
1243        <strong>Returns:</strong>
1244        <ul>
1245            <li><code>Number</code></li>
1246        </ul>
1247    </div>
1248                </div>
1249                        </div>
1250        </td>
1251        <td class="msource">Element</td>
1252    </tr>
1253        <tr class="method-row expandable">
1254        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1255        <td class="sig">
1256        <a id="Ext.Element-getMargins"></a>
1257            <b>getMargins</b>(&nbsp;<span class="optional" title="Optional">[<code>String sides</code>]</span>&nbsp;) : Object/Number            <div class="mdesc">
1258                        <div class="short">Returns an object with properties top, left, right and bottom representing the margins of this element unless sides i...</div>
1259            <div class="long">
1260                Returns an object with properties top, left, right and bottom representing the margins of this element unless sides is passed,
1261then it returns the calculated width of the sides (see getPadding)    <div class="mdetail-params">
1262        <strong>Parameters:</strong>
1263        <ul><li><code>sides</code> : String<div class="sub-desc">(optional) Any combination of l, r, t, b to get the sum of those sides</div></li>        </ul>
1264        <strong>Returns:</strong>
1265        <ul>
1266            <li><code>Object/Number</code></li>
1267        </ul>
1268    </div>
1269                </div>
1270                        </div>
1271        </td>
1272        <td class="msource">Element</td>
1273    </tr>
1274        <tr class="method-row alt expandable">
1275        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1276        <td class="sig">
1277        <a id="Ext.Element-getOffsetsTo"></a>
1278            <b>getOffsetsTo</b>(&nbsp;<code>Mixed element</code>&nbsp;) : Array            <div class="mdesc">
1279                        <div class="short">Returns the offsets of this element from the passed element. Both element must be part of the DOM tree and not have d...</div>
1280            <div class="long">
1281                Returns the offsets of this element from the passed element. Both element must be part of the DOM tree and not have display:none to have page coordinates.    <div class="mdetail-params">
1282        <strong>Parameters:</strong>
1283        <ul><li><code>element</code> : Mixed<div class="sub-desc">The element to get the offsets from.</div></li>        </ul>
1284        <strong>Returns:</strong>
1285        <ul>
1286            <li><code>Array</code><div class="sub-desc">The XY page offsets (e.g. [100, -200])</div></li>
1287        </ul>
1288    </div>
1289                </div>
1290                        </div>
1291        </td>
1292        <td class="msource">Element</td>
1293    </tr>
1294        <tr class="method-row expandable">
1295        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1296        <td class="sig">
1297        <a id="Ext.Element-getPadding"></a>
1298            <b>getPadding</b>(&nbsp;<code>String side</code>&nbsp;) : Number            <div class="mdesc">
1299                        <div class="short">Gets the width of the padding(s) for the specified side(s)</div>
1300            <div class="long">
1301                Gets the width of the padding(s) for the specified side(s)    <div class="mdetail-params">
1302        <strong>Parameters:</strong>
1303        <ul><li><code>side</code> : String<div class="sub-desc">Can be t, l, r, b or any combination of those to add multiple values. For example,
1304passing lr would get the padding (l)eft + the padding (r)ight.</div></li>        </ul>
1305        <strong>Returns:</strong>
1306        <ul>
1307            <li><code>Number</code><div class="sub-desc">The padding of the sides passed added together</div></li>
1308        </ul>
1309    </div>
1310                </div>
1311                        </div>
1312        </td>
1313        <td class="msource">Element</td>
1314    </tr>
1315        <tr class="method-row alt expandable">
1316        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1317        <td class="sig">
1318        <a id="Ext.Element-getPositioning"></a>
1319            <b>getPositioning</b>() : Object            <div class="mdesc">
1320                        <div class="short">Gets an object with all CSS positioning properties. Useful along with setPostioning to get
1321snapshot before performing...</div>
1322            <div class="long">
1323                Gets an object with all CSS positioning properties. Useful along with setPostioning to get
1324snapshot before performing an update and then restoring the element.    <div class="mdetail-params">
1325        <strong>Parameters:</strong>
1326        <ul><li>None.</li>        </ul>
1327        <strong>Returns:</strong>
1328        <ul>
1329            <li><code>Object</code></li>
1330        </ul>
1331    </div>
1332                </div>
1333                        </div>
1334        </td>
1335        <td class="msource">Element</td>
1336    </tr>
1337        <tr class="method-row expandable">
1338        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1339        <td class="sig">
1340        <a id="Ext.Element-getRegion"></a>
1341            <b>getRegion</b>() : Region            <div class="mdesc">
1342                        <div class="short">Returns the region of the given element.
1343The element must be part of the DOM tree to have a region (display:none or e...</div>
1344            <div class="long">
1345                Returns the region of the given element.
1346The element must be part of the DOM tree to have a region (display:none or elements not appended return false).    <div class="mdetail-params">
1347        <strong>Parameters:</strong>
1348        <ul><li>None.</li>        </ul>
1349        <strong>Returns:</strong>
1350        <ul>
1351            <li><code>Region</code><div class="sub-desc">A Ext.lib.Region containing "top, left, bottom, right" member data.</div></li>
1352        </ul>
1353    </div>
1354                </div>
1355                        </div>
1356        </td>
1357        <td class="msource">Element</td>
1358    </tr>
1359        <tr class="method-row alt expandable">
1360        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1361        <td class="sig">
1362        <a id="Ext.Element-getRight"></a>
1363            <b>getRight</b>(&nbsp;<code>Boolean local</code>&nbsp;) : Number            <div class="mdesc">
1364                        <div class="short">Gets the right X coordinate of the element (element X position + element width)</div>
1365            <div class="long">
1366                Gets the right X coordinate of the element (element X position + element width)    <div class="mdetail-params">
1367        <strong>Parameters:</strong>
1368        <ul><li><code>local</code> : Boolean<div class="sub-desc">True to get the local css position instead of page coordinate</div></li>        </ul>
1369        <strong>Returns:</strong>
1370        <ul>
1371            <li><code>Number</code></li>
1372        </ul>
1373    </div>
1374                </div>
1375                        </div>
1376        </td>
1377        <td class="msource">Element</td>
1378    </tr>
1379        <tr class="method-row expandable">
1380        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1381        <td class="sig">
1382        <a id="Ext.Element-getScroll"></a>
1383            <b>getScroll</b>() : Object            <div class="mdesc">
1384                        <div class="short">Returns the current scroll position of the element.</div>
1385            <div class="long">
1386                Returns the current scroll position of the element.    <div class="mdetail-params">
1387        <strong>Parameters:</strong>
1388        <ul><li>None.</li>        </ul>
1389        <strong>Returns:</strong>
1390        <ul>
1391            <li><code>Object</code><div class="sub-desc">An object containing the scroll position in the format {left: (scrollLeft), top: (scrollTop)}</div></li>
1392        </ul>
1393    </div>
1394                </div>
1395                        </div>
1396        </td>
1397        <td class="msource">Element</td>
1398    </tr>
1399        <tr class="method-row alt expandable">
1400        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1401        <td class="sig">
1402        <a id="Ext.Element-getSize"></a>
1403            <b>getSize</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean contentSize</code>]</span>&nbsp;) : Object            <div class="mdesc">
1404                        <div class="short">Returns the size of the element.</div>
1405            <div class="long">
1406                Returns the size of the element.    <div class="mdetail-params">
1407        <strong>Parameters:</strong>
1408        <ul><li><code>contentSize</code> : Boolean<div class="sub-desc">(optional) true to get the width/size minus borders and padding</div></li>        </ul>
1409        <strong>Returns:</strong>
1410        <ul>
1411            <li><code>Object</code><div class="sub-desc">An object containing the element's size {width: (element width), height: (element height)}</div></li>
1412        </ul>
1413    </div>
1414                </div>
1415                        </div>
1416        </td>
1417        <td class="msource">Element</td>
1418    </tr>
1419        <tr class="method-row expandable">
1420        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1421        <td class="sig">
1422        <a id="Ext.Element-getStyle"></a>
1423            <b>getStyle</b>(&nbsp;<code>String property</code>&nbsp;) : String            <div class="mdesc">
1424                        <div class="short">Normalizes currentStyle and computedStyle.</div>
1425            <div class="long">
1426                Normalizes currentStyle and computedStyle.    <div class="mdetail-params">
1427        <strong>Parameters:</strong>
1428        <ul><li><code>property</code> : String<div class="sub-desc">The style property whose value is returned.</div></li>        </ul>
1429        <strong>Returns:</strong>
1430        <ul>
1431            <li><code>String</code><div class="sub-desc">The current value of the style property for this element.</div></li>
1432        </ul>
1433    </div>
1434                </div>
1435                        </div>
1436        </td>
1437        <td class="msource">Element</td>
1438    </tr>
1439        <tr class="method-row alt expandable">
1440        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1441        <td class="sig">
1442        <a id="Ext.Element-getStyles"></a>
1443            <b>getStyles</b>(&nbsp;<code>String style1</code>, <code>String style2</code>, <code>String etc.</code>&nbsp;) : Object            <div class="mdesc">
1444                        <div class="short">Returns an object with properties matching the styles requested.
1445For example, el.getStyles('color', 'font-size', 'wid...</div>
1446            <div class="long">
1447                Returns an object with properties matching the styles requested.
1448For example, el.getStyles('color', 'font-size', 'width') might return
1449{'color': '#FFFFFF', 'font-size': '13px', 'width': '100px'}.    <div class="mdetail-params">
1450        <strong>Parameters:</strong>
1451        <ul><li><code>style1</code> : String<div class="sub-desc">A style name</div></li><li><code>style2</code> : String<div class="sub-desc">A style name</div></li><li><code>etc.</code> : String<div class="sub-desc"></div></li>        </ul>
1452        <strong>Returns:</strong>
1453        <ul>
1454            <li><code>Object</code><div class="sub-desc">The style object</div></li>
1455        </ul>
1456    </div>
1457                </div>
1458                        </div>
1459        </td>
1460        <td class="msource">Element</td>
1461    </tr>
1462        <tr class="method-row expandable">
1463        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1464        <td class="sig">
1465        <a id="Ext.Element-getTextWidth"></a>
1466            <b>getTextWidth</b>(&nbsp;<code>String text</code>, <span class="optional" title="Optional">[<code>Number min</code>]</span>, <span class="optional" title="Optional">[<code>Number max</code>]</span>&nbsp;) : Number            <div class="mdesc">
1467                        <div class="short">Returns the width in pixels of the passed text, or the width of the text in this Element.</div>
1468            <div class="long">
1469                Returns the width in pixels of the passed text, or the width of the text in this Element.    <div class="mdetail-params">
1470        <strong>Parameters:</strong>
1471        <ul><li><code>text</code> : String<div class="sub-desc">The text to measure. Defaults to the innerHTML of the element.</div></li><li><code>min</code> : Number<div class="sub-desc">(Optional) The minumum value to return.</div></li><li><code>max</code> : Number<div class="sub-desc">(Optional) The maximum value to return.</div></li>        </ul>
1472        <strong>Returns:</strong>
1473        <ul>
1474            <li><code>Number</code><div class="sub-desc">The text width in pixels.</div></li>
1475        </ul>
1476    </div>
1477                </div>
1478                        </div>
1479        </td>
1480        <td class="msource">Element</td>
1481    </tr>
1482        <tr class="method-row alt expandable">
1483        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1484        <td class="sig">
1485        <a id="Ext.Element-getTop"></a>
1486            <b>getTop</b>(&nbsp;<code>Boolean local</code>&nbsp;) : Number            <div class="mdesc">
1487                        <div class="short">Gets the top Y coordinate</div>
1488            <div class="long">
1489                Gets the top Y coordinate    <div class="mdetail-params">
1490        <strong>Parameters:</strong>
1491        <ul><li><code>local</code> : Boolean<div class="sub-desc">True to get the local css position instead of page coordinate</div></li>        </ul>
1492        <strong>Returns:</strong>
1493        <ul>
1494            <li><code>Number</code></li>
1495        </ul>
1496    </div>
1497                </div>
1498                        </div>
1499        </td>
1500        <td class="msource">Element</td>
1501    </tr>
1502        <tr class="method-row expandable">
1503        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1504        <td class="sig">
1505        <a id="Ext.Element-getUpdater"></a>
1506            <b>getUpdater</b>() : Ext.Updater            <div class="mdesc">
1507                        <div class="short">Gets this element's Updater</div>
1508            <div class="long">
1509                Gets this element's Updater    <div class="mdetail-params">
1510        <strong>Parameters:</strong>
1511        <ul><li>None.</li>        </ul>
1512        <strong>Returns:</strong>
1513        <ul>
1514            <li><code>Ext.Updater</code><div class="sub-desc">The Updater</div></li>
1515        </ul>
1516    </div>
1517                </div>
1518                        </div>
1519        </td>
1520        <td class="msource">Element</td>
1521    </tr>
1522        <tr class="method-row alt expandable">
1523        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1524        <td class="sig">
1525        <a id="Ext.Element-getValue"></a>
1526            <b>getValue</b>(&nbsp;<code>Boolean asNumber</code>&nbsp;) : String/Number            <div class="mdesc">
1527                        <div class="short">Returns the value of the "value" attribute</div>
1528            <div class="long">
1529                Returns the value of the "value" attribute    <div class="mdetail-params">
1530        <strong>Parameters:</strong>
1531        <ul><li><code>asNumber</code> : Boolean<div class="sub-desc">true to parse the value as a number</div></li>        </ul>
1532        <strong>Returns:</strong>
1533        <ul>
1534            <li><code>String/Number</code></li>
1535        </ul>
1536    </div>
1537                </div>
1538                        </div>
1539        </td>
1540        <td class="msource">Element</td>
1541    </tr>
1542        <tr class="method-row expandable">
1543        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1544        <td class="sig">
1545        <a id="Ext.Element-getViewSize"></a>
1546            <b>getViewSize</b>() : Object            <div class="mdesc">
1547                        <div class="short">Returns the width and height of the viewport.</div>
1548            <div class="long">
1549                Returns the width and height of the viewport.    <div class="mdetail-params">
1550        <strong>Parameters:</strong>
1551        <ul><li>None.</li>        </ul>
1552        <strong>Returns:</strong>
1553        <ul>
1554            <li><code>Object</code><div class="sub-desc">An object containing the viewport's size {width: (viewport width), height: (viewport height)}</div></li>
1555        </ul>
1556    </div>
1557                </div>
1558                        </div>
1559        </td>
1560        <td class="msource">Element</td>
1561    </tr>
1562        <tr class="method-row alt expandable">
1563        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1564        <td class="sig">
1565        <a id="Ext.Element-getWidth"></a>
1566            <b>getWidth</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean contentWidth</code>]</span>&nbsp;) : Number            <div class="mdesc">
1567                        <div class="short">Returns the offset width of the element</div>
1568            <div class="long">
1569                Returns the offset width of the element    <div class="mdetail-params">
1570        <strong>Parameters:</strong>
1571        <ul><li><code>contentWidth</code> : Boolean<div class="sub-desc">(optional) true to get the width minus borders and padding</div></li>        </ul>
1572        <strong>Returns:</strong>
1573        <ul>
1574            <li><code>Number</code><div class="sub-desc">The element's width</div></li>
1575        </ul>
1576    </div>
1577                </div>
1578                        </div>
1579        </td>
1580        <td class="msource">Element</td>
1581    </tr>
1582        <tr class="method-row expandable">
1583        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1584        <td class="sig">
1585        <a id="Ext.Element-getX"></a>
1586            <b>getX</b>() : Number            <div class="mdesc">
1587                        <div class="short">Gets the current X position of the element based on page coordinates.  Element must be part of the DOM tree to have p...</div>
1588            <div class="long">
1589                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).    <div class="mdetail-params">
1590        <strong>Parameters:</strong>
1591        <ul><li>None.</li>        </ul>
1592        <strong>Returns:</strong>
1593        <ul>
1594            <li><code>Number</code><div class="sub-desc">The X position of the element</div></li>
1595        </ul>
1596    </div>
1597                </div>
1598                        </div>
1599        </td>
1600        <td class="msource">Element</td>
1601    </tr>
1602        <tr class="method-row alt expandable">
1603        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1604        <td class="sig">
1605        <a id="Ext.Element-getXY"></a>
1606            <b>getXY</b>() : Array            <div class="mdesc">
1607                        <div class="short">Gets the current position of the element based on page coordinates.  Element must be part of the DOM tree to have pag...</div>
1608            <div class="long">
1609                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).    <div class="mdetail-params">
1610        <strong>Parameters:</strong>
1611        <ul><li>None.</li>        </ul>
1612        <strong>Returns:</strong>
1613        <ul>
1614            <li><code>Array</code><div class="sub-desc">The XY position of the element</div></li>
1615        </ul>
1616    </div>
1617                </div>
1618                        </div>
1619        </td>
1620        <td class="msource">Element</td>
1621    </tr>
1622        <tr class="method-row expandable">
1623        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1624        <td class="sig">
1625        <a id="Ext.Element-getY"></a>
1626            <b>getY</b>() : Number            <div class="mdesc">
1627                        <div class="short">Gets the current Y position of the element based on page coordinates.  Element must be part of the DOM tree to have p...</div>
1628            <div class="long">
1629                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).    <div class="mdetail-params">
1630        <strong>Parameters:</strong>
1631        <ul><li>None.</li>        </ul>
1632        <strong>Returns:</strong>
1633        <ul>
1634            <li><code>Number</code><div class="sub-desc">The Y position of the element</div></li>
1635        </ul>
1636    </div>
1637                </div>
1638                        </div>
1639        </td>
1640        <td class="msource">Element</td>
1641    </tr>
1642        <tr class="method-row alt expandable">
1643        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1644        <td class="sig">
1645        <a id="Ext.Element-hasClass"></a>
1646            <b>hasClass</b>(&nbsp;<code>String className</code>&nbsp;) : Boolean            <div class="mdesc">
1647                        <div class="short">Checks if the specified CSS class exists on this element's DOM node.</div>
1648            <div class="long">
1649                Checks if the specified CSS class exists on this element's DOM node.    <div class="mdetail-params">
1650        <strong>Parameters:</strong>
1651        <ul><li><code>className</code> : String<div class="sub-desc">The CSS class to check for</div></li>        </ul>
1652        <strong>Returns:</strong>
1653        <ul>
1654            <li><code>Boolean</code><div class="sub-desc">True if the class exists, else false</div></li>
1655        </ul>
1656    </div>
1657                </div>
1658                        </div>
1659        </td>
1660        <td class="msource">Element</td>
1661    </tr>
1662        <tr class="method-row expandable">
1663        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1664        <td class="sig">
1665        <a id="Ext.Element-hide"></a>
1666            <b>hide</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
1667                        <div class="short">Hide this element - Uses display mode to determine whether to use "display" or "visibility". See <a ext:cls="Ext.Element" ext:member="setVisible" href="output/Ext.Element.html#setVisible">setVisible</a>.</div>
1668            <div class="long">
1669                Hide this element - Uses display mode to determine whether to use "display" or "visibility". See <a ext:cls="Ext.Element" ext:member="setVisible" href="output/Ext.Element.html#setVisible">setVisible</a>.    <div class="mdetail-params">
1670        <strong>Parameters:</strong>
1671        <ul><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
1672        <strong>Returns:</strong>
1673        <ul>
1674            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
1675        </ul>
1676    </div>
1677                </div>
1678                        </div>
1679        </td>
1680        <td class="msource">Element</td>
1681    </tr>
1682        <tr class="method-row alt expandable">
1683        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1684        <td class="sig">
1685        <a id="Ext.Element-hover"></a>
1686            <b>hover</b>(&nbsp;<code>Function overFn</code>, <code>Function outFn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
1687                        <div class="short">Sets up event handlers to call the passed functions when the mouse is over this element. Automatically
1688filters child ...</div>
1689            <div class="long">
1690                Sets up event handlers to call the passed functions when the mouse is over this element. Automatically
1691filters child element mouse events.    <div class="mdetail-params">
1692        <strong>Parameters:</strong>
1693        <ul><li><code>overFn</code> : Function<div class="sub-desc"></div></li><li><code>outFn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
1694        <strong>Returns:</strong>
1695        <ul>
1696            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
1697        </ul>
1698    </div>
1699                </div>
1700                        </div>
1701        </td>
1702        <td class="msource">Element</td>
1703    </tr>
1704        <tr class="method-row expandable">
1705        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1706        <td class="sig">
1707        <a id="Ext.Element-initDD"></a>
1708            <b>initDD</b>(&nbsp;<code>String group</code>, <code>Object config</code>, <code>Object overrides</code>&nbsp;) : Ext.dd.DD            <div class="mdesc">
1709                        <div class="short">Initializes a <a ext:cls="Ext.dd.DD" href="output/Ext.dd.DD.html">Ext.dd.DD</a> drag drop object for this element.</div>
1710            <div class="long">
1711                Initializes a <a ext:cls="Ext.dd.DD" href="output/Ext.dd.DD.html">Ext.dd.DD</a> drag drop object for this element.    <div class="mdetail-params">
1712        <strong>Parameters:</strong>
1713        <ul><li><code>group</code> : String<div class="sub-desc">The group the DD object is member of</div></li><li><code>config</code> : Object<div class="sub-desc">The DD config object</div></li><li><code>overrides</code> : Object<div class="sub-desc">An object containing methods to override/implement on the DD object</div></li>        </ul>
1714        <strong>Returns:</strong>
1715        <ul>
1716            <li><code>Ext.dd.DD</code><div class="sub-desc">The DD object</div></li>
1717        </ul>
1718    </div>
1719                </div>
1720                        </div>
1721        </td>
1722        <td class="msource">Element</td>
1723    </tr>
1724        <tr class="method-row alt expandable">
1725        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1726        <td class="sig">
1727        <a id="Ext.Element-initDDProxy"></a>
1728            <b>initDDProxy</b>(&nbsp;<code>String group</code>, <code>Object config</code>, <code>Object overrides</code>&nbsp;) : Ext.dd.DDProxy            <div class="mdesc">
1729                        <div class="short">Initializes a <a ext:cls="Ext.dd.DDProxy" href="output/Ext.dd.DDProxy.html">Ext.dd.DDProxy</a> object for this element.</div>
1730            <div class="long">
1731                Initializes a <a ext:cls="Ext.dd.DDProxy" href="output/Ext.dd.DDProxy.html">Ext.dd.DDProxy</a> object for this element.    <div class="mdetail-params">
1732        <strong>Parameters:</strong>
1733        <ul><li><code>group</code> : String<div class="sub-desc">The group the DDProxy object is member of</div></li><li><code>config</code> : Object<div class="sub-desc">The DDProxy config object</div></li><li><code>overrides</code> : Object<div class="sub-desc">An object containing methods to override/implement on the DDProxy object</div></li>        </ul>
1734        <strong>Returns:</strong>
1735        <ul>
1736            <li><code>Ext.dd.DDProxy</code><div class="sub-desc">The DDProxy object</div></li>
1737        </ul>
1738    </div>
1739                </div>
1740                        </div>
1741        </td>
1742        <td class="msource">Element</td>
1743    </tr>
1744        <tr class="method-row expandable">
1745        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1746        <td class="sig">
1747        <a id="Ext.Element-initDDTarget"></a>
1748            <b>initDDTarget</b>(&nbsp;<code>String group</code>, <code>Object config</code>, <code>Object overrides</code>&nbsp;) : Ext.dd.DDTarget            <div class="mdesc">
1749                        <div class="short">Initializes a <a ext:cls="Ext.dd.DDTarget" href="output/Ext.dd.DDTarget.html">Ext.dd.DDTarget</a> object for this element.</div>
1750            <div class="long">
1751                Initializes a <a ext:cls="Ext.dd.DDTarget" href="output/Ext.dd.DDTarget.html">Ext.dd.DDTarget</a> object for this element.    <div class="mdetail-params">
1752        <strong>Parameters:</strong>
1753        <ul><li><code>group</code> : String<div class="sub-desc">The group the DDTarget object is member of</div></li><li><code>config</code> : Object<div class="sub-desc">The DDTarget config object</div></li><li><code>overrides</code> : Object<div class="sub-desc">An object containing methods to override/implement on the DDTarget object</div></li>        </ul>
1754        <strong>Returns:</strong>
1755        <ul>
1756            <li><code>Ext.dd.DDTarget</code><div class="sub-desc">The DDTarget object</div></li>
1757        </ul>
1758    </div>
1759                </div>
1760                        </div>
1761        </td>
1762        <td class="msource">Element</td>
1763    </tr>
1764        <tr class="method-row alt expandable">
1765        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1766        <td class="sig">
1767        <a id="Ext.Element-insertAfter"></a>
1768            <b>insertAfter</b>(&nbsp;<code>Mixed el</code>&nbsp;) : Ext.Element            <div class="mdesc">
1769                        <div class="short">Inserts this element after the passed element in the DOM</div>
1770            <div class="long">
1771                Inserts this element after the passed element in the DOM    <div class="mdetail-params">
1772        <strong>Parameters:</strong>
1773        <ul><li><code>el</code> : Mixed<div class="sub-desc">The element to insert after</div></li>        </ul>
1774        <strong>Returns:</strong>
1775        <ul>
1776            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
1777        </ul>
1778    </div>
1779                </div>
1780                        </div>
1781        </td>
1782        <td class="msource">Element</td>
1783    </tr>
1784        <tr class="method-row expandable">
1785        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1786        <td class="sig">
1787        <a id="Ext.Element-insertBefore"></a>
1788            <b>insertBefore</b>(&nbsp;<code>Mixed el</code>&nbsp;) : Ext.Element            <div class="mdesc">
1789                        <div class="short">Inserts this element before the passed element in the DOM</div>
1790            <div class="long">
1791                Inserts this element before the passed element in the DOM    <div class="mdetail-params">
1792        <strong>Parameters:</strong>
1793        <ul><li><code>el</code> : Mixed<div class="sub-desc">The element before which this element will be inserted</div></li>        </ul>
1794        <strong>Returns:</strong>
1795        <ul>
1796            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
1797        </ul>
1798    </div>
1799                </div>
1800                        </div>
1801        </td>
1802        <td class="msource">Element</td>
1803    </tr>
1804        <tr class="method-row alt expandable">
1805        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1806        <td class="sig">
1807        <a id="Ext.Element-insertFirst"></a>
1808            <b>insertFirst</b>(&nbsp;<code>Mixed/Object el</code>&nbsp;) : Ext.Element            <div class="mdesc">
1809                        <div class="short">Inserts (or creates) an element (or DomHelper config) as the first child of this element</div>
1810            <div class="long">
1811                Inserts (or creates) an element (or DomHelper config) as the first child of this element    <div class="mdetail-params">
1812        <strong>Parameters:</strong>
1813        <ul><li><code>el</code> : Mixed/Object<div class="sub-desc">The id or element to insert or a DomHelper config to create and insert</div></li>        </ul>
1814        <strong>Returns:</strong>
1815        <ul>
1816            <li><code>Ext.Element</code><div class="sub-desc">The new child</div></li>
1817        </ul>
1818    </div>
1819                </div>
1820                        </div>
1821        </td>
1822        <td class="msource">Element</td>
1823    </tr>
1824        <tr class="method-row expandable">
1825        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1826        <td class="sig">
1827        <a id="Ext.Element-insertHtml"></a>
1828            <b>insertHtml</b>(&nbsp;<code>String where</code>, <code>String html</code>, <span class="optional" title="Optional">[<code>Boolean returnEl</code>]</span>&nbsp;) : HTMLElement/Ext.Element            <div class="mdesc">
1829                        <div class="short">Inserts an html fragment into this element</div>
1830            <div class="long">
1831                Inserts an html fragment into this element    <div class="mdetail-params">
1832        <strong>Parameters:</strong>
1833        <ul><li><code>where</code> : String<div class="sub-desc">Where to insert the html in relation to this element - beforeBegin, afterBegin, beforeEnd, afterEnd.</div></li><li><code>html</code> : String<div class="sub-desc">The HTML fragment</div></li><li><code>returnEl</code> : Boolean<div class="sub-desc">(optional) True to return an Ext.Element (defaults to false)</div></li>        </ul>
1834        <strong>Returns:</strong>
1835        <ul>
1836            <li><code>HTMLElement/Ext.Element</code><div class="sub-desc">The inserted node (or nearest related if more than 1 inserted)</div></li>
1837        </ul>
1838    </div>
1839                </div>
1840                        </div>
1841        </td>
1842        <td class="msource">Element</td>
1843    </tr>
1844        <tr class="method-row alt expandable">
1845        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1846        <td class="sig">
1847        <a id="Ext.Element-insertSibling"></a>
1848            <b>insertSibling</b>(&nbsp;<code>Mixed/Object/Array el</code>, <span class="optional" title="Optional">[<code>String where</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
1849                        <div class="short">Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element</div>
1850            <div class="long">
1851                Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element    <div class="mdetail-params">
1852        <strong>Parameters:</strong>
1853        <ul><li><code>el</code> : Mixed/Object/Array<div class="sub-desc">The id, element to insert or a DomHelper config to create and insert *or* an array of any of those.</div></li><li><code>where</code> : String<div class="sub-desc">(optional) 'before' or 'after' defaults to before</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return the raw DOM element instead of Ext.Element</div></li>        </ul>
1854        <strong>Returns:</strong>
1855        <ul>
1856            <li><code>Ext.Element</code><div class="sub-desc">the inserted Element</div></li>
1857        </ul>
1858    </div>
1859                </div>
1860                        </div>
1861        </td>
1862        <td class="msource">Element</td>
1863    </tr>
1864        <tr class="method-row expandable">
1865        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1866        <td class="sig">
1867        <a id="Ext.Element-is"></a>
1868            <b>is</b>(&nbsp;<code>String selector</code>&nbsp;) : Boolean            <div class="mdesc">
1869                        <div class="short">Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)</div>
1870            <div class="long">
1871                Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)    <div class="mdetail-params">
1872        <strong>Parameters:</strong>
1873        <ul><li><code>selector</code> : String<div class="sub-desc">The simple selector to test</div></li>        </ul>
1874        <strong>Returns:</strong>
1875        <ul>
1876            <li><code>Boolean</code><div class="sub-desc">True if this element matches the selector, else false</div></li>
1877        </ul>
1878    </div>
1879                </div>
1880                        </div>
1881        </td>
1882        <td class="msource">Element</td>
1883    </tr>
1884        <tr class="method-row alt expandable">
1885        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1886        <td class="sig">
1887        <a id="Ext.Element-isBorderBox"></a>
1888            <b>isBorderBox</b>() : Boolean            <div class="mdesc">
1889                        <div class="short">Tests various css rules/browsers to determine if this element uses a border box</div>
1890            <div class="long">
1891                Tests various css rules/browsers to determine if this element uses a border box    <div class="mdetail-params">
1892        <strong>Parameters:</strong>
1893        <ul><li>None.</li>        </ul>
1894        <strong>Returns:</strong>
1895        <ul>
1896            <li><code>Boolean</code></li>
1897        </ul>
1898    </div>
1899                </div>
1900                        </div>
1901        </td>
1902        <td class="msource">Element</td>
1903    </tr>
1904        <tr class="method-row expandable">
1905        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1906        <td class="sig">
1907        <a id="Ext.Element-isDisplayed"></a>
1908            <b>isDisplayed</b>() : Boolean            <div class="mdesc">
1909                        <div class="short">Returns true if display is not "none"</div>
1910            <div class="long">
1911                Returns true if display is not "none"    <div class="mdetail-params">
1912        <strong>Parameters:</strong>
1913        <ul><li>None.</li>        </ul>
1914        <strong>Returns:</strong>
1915        <ul>
1916            <li><code>Boolean</code></li>
1917        </ul>
1918    </div>
1919                </div>
1920                        </div>
1921        </td>
1922        <td class="msource">Element</td>
1923    </tr>
1924        <tr class="method-row alt expandable">
1925        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1926        <td class="sig">
1927        <a id="Ext.Element-isMasked"></a>
1928            <b>isMasked</b>() : Boolean            <div class="mdesc">
1929                        <div class="short">Returns true if this element is masked</div>
1930            <div class="long">
1931                Returns true if this element is masked    <div class="mdetail-params">
1932        <strong>Parameters:</strong>
1933        <ul><li>None.</li>        </ul>
1934        <strong>Returns:</strong>
1935        <ul>
1936            <li><code>Boolean</code></li>
1937        </ul>
1938    </div>
1939                </div>
1940                        </div>
1941        </td>
1942        <td class="msource">Element</td>
1943    </tr>
1944        <tr class="method-row expandable">
1945        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1946        <td class="sig">
1947        <a id="Ext.Element-isScrollable"></a>
1948            <b>isScrollable</b>() : Boolean            <div class="mdesc">
1949                        <div class="short">Returns true if this element is scrollable.</div>
1950            <div class="long">
1951                Returns true if this element is scrollable.    <div class="mdetail-params">
1952        <strong>Parameters:</strong>
1953        <ul><li>None.</li>        </ul>
1954        <strong>Returns:</strong>
1955        <ul>
1956            <li><code>Boolean</code></li>
1957        </ul>
1958    </div>
1959                </div>
1960                        </div>
1961        </td>
1962        <td class="msource">Element</td>
1963    </tr>
1964        <tr class="method-row alt expandable">
1965        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1966        <td class="sig">
1967        <a id="Ext.Element-isVisible"></a>
1968            <b>isVisible</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean deep</code>]</span>&nbsp;) : Boolean            <div class="mdesc">
1969                        <div class="short">Checks whether the element is currently visible using both visibility and display properties.</div>
1970            <div class="long">
1971                Checks whether the element is currently visible using both visibility and display properties.    <div class="mdetail-params">
1972        <strong>Parameters:</strong>
1973        <ul><li><code>deep</code> : Boolean<div class="sub-desc">(optional) True to walk the dom and see if parent elements are hidden (defaults to false)</div></li>        </ul>
1974        <strong>Returns:</strong>
1975        <ul>
1976            <li><code>Boolean</code><div class="sub-desc">True if the element is currently visible, else false</div></li>
1977        </ul>
1978    </div>
1979                </div>
1980                        </div>
1981        </td>
1982        <td class="msource">Element</td>
1983    </tr>
1984        <tr class="method-row expandable">
1985        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1986        <td class="sig">
1987        <a id="Ext.Element-last"></a>
1988            <b>last</b>(&nbsp;<span class="optional" title="Optional">[<code>String selector</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element/HTMLElement            <div class="mdesc">
1989                        <div class="short">Gets the last child, skipping text nodes</div>
1990            <div class="long">
1991                Gets the last child, skipping text nodes    <div class="mdetail-params">
1992        <strong>Parameters:</strong>
1993        <ul><li><code>selector</code> : String<div class="sub-desc">(optional) Find the previous sibling that matches the passed simple selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return a raw dom node instead of an Ext.Element</div></li>        </ul>
1994        <strong>Returns:</strong>
1995        <ul>
1996            <li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The last child or null</div></li>
1997        </ul>
1998    </div>
1999                </div>
2000                        </div>
2001        </td>
2002        <td class="msource">Element</td>
2003    </tr>
2004        <tr class="method-row alt expandable">
2005        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2006        <td class="sig">
2007        <a id="Ext.Element-load"></a>
2008            <b>load</b>() : Ext.Element            <div class="mdesc">
2009                        <div class="short">Direct access to the Updater <a ext:cls="Ext.Updater" ext:member="update" href="output/Ext.Updater.html#update">Ext.Updater.update</a> method. The method takes the same object
2010parameter as <a ext:cls="Ext.Updater" ext:member="update" href="output/Ext.Updater.html#update">Ext.Updater.update</a></div>
2011            <div class="long">
2012                Direct access to the Updater <a ext:cls="Ext.Updater" ext:member="update" href="output/Ext.Updater.html#update">Ext.Updater.update</a> method. The method takes the same object
2013parameter as <a ext:cls="Ext.Updater" ext:member="update" href="output/Ext.Updater.html#update">Ext.Updater.update</a>    <div class="mdetail-params">
2014        <strong>Parameters:</strong>
2015        <ul><li>None.</li>        </ul>
2016        <strong>Returns:</strong>
2017        <ul>
2018            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2019        </ul>
2020    </div>
2021                </div>
2022                        </div>
2023        </td>
2024        <td class="msource">Element</td>
2025    </tr>
2026        <tr class="method-row expandable">
2027        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2028        <td class="sig">
2029        <a id="Ext.Element-mask"></a>
2030            <b>mask</b>(&nbsp;<span class="optional" title="Optional">[<code>String msg</code>]</span>, <span class="optional" title="Optional">[<code>String msgCls</code>]</span>&nbsp;) : Element            <div class="mdesc">
2031                        <div class="short">Puts a mask over this element to disable user interaction. Requires core.css.
2032This method can only be applied to elem...</div>
2033            <div class="long">
2034                Puts a mask over this element to disable user interaction. Requires core.css.
2035This method can only be applied to elements which accept child nodes.    <div class="mdetail-params">
2036        <strong>Parameters:</strong>
2037        <ul><li><code>msg</code> : String<div class="sub-desc">(optional) A message to display in the mask</div></li><li><code>msgCls</code> : String<div class="sub-desc">(optional) A css class to apply to the msg element</div></li>        </ul>
2038        <strong>Returns:</strong>
2039        <ul>
2040            <li><code>Element</code><div class="sub-desc">The mask element</div></li>
2041        </ul>
2042    </div>
2043                </div>
2044                        </div>
2045        </td>
2046        <td class="msource">Element</td>
2047    </tr>
2048        <tr class="method-row alt expandable">
2049        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2050        <td class="sig">
2051        <a id="Ext.Element-move"></a>
2052            <b>move</b>(&nbsp;<code>String direction</code>, <code>Number distance</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2053                        <div class="short">Move this element relative to its current position.</div>
2054            <div class="long">
2055                Move this element relative to its current position.    <div class="mdetail-params">
2056        <strong>Parameters:</strong>
2057        <ul><li><code>direction</code> : String<div class="sub-desc">Possible values are: "l" (or "left"), "r" (or "right"), "t" (or "top", or "up"), "b" (or "bottom", or "down").</div></li><li><code>distance</code> : Number<div class="sub-desc">How far to move the element in pixels</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
2058        <strong>Returns:</strong>
2059        <ul>
2060            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2061        </ul>
2062    </div>
2063                </div>
2064                        </div>
2065        </td>
2066        <td class="msource">Element</td>
2067    </tr>
2068        <tr class="method-row expandable">
2069        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2070        <td class="sig">
2071        <a id="Ext.Element-moveTo"></a>
2072            <b>moveTo</b>(&nbsp;<code>Number x</code>, <code>Number y</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2073                        <div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.
2074The element must b...</div>
2075            <div class="long">
2076                Sets the position of the element in page coordinates, regardless of how the element is positioned.
2077The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).    <div class="mdetail-params">
2078        <strong>Parameters:</strong>
2079        <ul><li><code>x</code> : Number<div class="sub-desc">X value for new position (coordinates are page-based)</div></li><li><code>y</code> : Number<div class="sub-desc">Y value for new position (coordinates are page-based)</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li>        </ul>
2080        <strong>Returns:</strong>
2081        <ul>
2082            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2083        </ul>
2084    </div>
2085                </div>
2086                        </div>
2087        </td>
2088        <td class="msource">Element</td>
2089    </tr>
2090        <tr class="method-row alt expandable">
2091        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2092        <td class="sig">
2093        <a id="Ext.Element-next"></a>
2094            <b>next</b>(&nbsp;<span class="optional" title="Optional">[<code>String selector</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element/HTMLElement            <div class="mdesc">
2095                        <div class="short">Gets the next sibling, skipping text nodes</div>
2096            <div class="long">
2097                Gets the next sibling, skipping text nodes    <div class="mdetail-params">
2098        <strong>Parameters:</strong>
2099        <ul><li><code>selector</code> : String<div class="sub-desc">(optional) Find the next sibling that matches the passed simple selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return a raw dom node instead of an Ext.Element</div></li>        </ul>
2100        <strong>Returns:</strong>
2101        <ul>
2102            <li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The next sibling or null</div></li>
2103        </ul>
2104    </div>
2105                </div>
2106                        </div>
2107        </td>
2108        <td class="msource">Element</td>
2109    </tr>
2110        <tr class="method-row expandable">
2111        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2112        <td class="sig">
2113        <a id="Ext.Element-on"></a>
2114            <b>on</b>(&nbsp;<code>String eventName</code>, <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
2115                        <div class="short">Appends an event handler (shorthand for <a ext:cls="Ext.Element" ext:member="addListener" href="output/Ext.Element.html#addListener">addListener</a>).</div>
2116            <div class="long">
2117                Appends an event handler (shorthand for <a ext:cls="Ext.Element" ext:member="addListener" href="output/Ext.Element.html#addListener">addListener</a>).    <div class="mdetail-params">
2118        <strong>Parameters:</strong>
2119        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to handle</div></li><li><code>fn</code> : Function<div class="sub-desc">The handler function the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this element) of the handler function</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing standard <a ext:cls="Ext.Element" ext:member="addListener" href="output/Ext.Element.html#addListener">addListener</a> options</div></li>        </ul>
2120        <strong>Returns:</strong>
2121        <ul>
2122            <li><code>void</code></li>
2123        </ul>
2124    </div>
2125                </div>
2126                        </div>
2127        </td>
2128        <td class="msource">Element</td>
2129    </tr>
2130        <tr class="method-row alt expandable">
2131        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2132        <td class="sig">
2133        <a id="Ext.Element-parent"></a>
2134            <b>parent</b>(&nbsp;<span class="optional" title="Optional">[<code>String selector</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element/HTMLElement            <div class="mdesc">
2135                        <div class="short">Gets the parent node for this element, optionally chaining up trying to match a selector</div>
2136            <div class="long">
2137                Gets the parent node for this element, optionally chaining up trying to match a selector    <div class="mdetail-params">
2138        <strong>Parameters:</strong>
2139        <ul><li><code>selector</code> : String<div class="sub-desc">(optional) Find a parent node that matches the passed simple selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return a raw dom node instead of an Ext.Element</div></li>        </ul>
2140        <strong>Returns:</strong>
2141        <ul>
2142            <li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The parent node or null</div></li>
2143        </ul>
2144    </div>
2145                </div>
2146                        </div>
2147        </td>
2148        <td class="msource">Element</td>
2149    </tr>
2150        <tr class="method-row expandable">
2151        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2152        <td class="sig">
2153        <a id="Ext.Element-position"></a>
2154            <b>position</b>(&nbsp;<span class="optional" title="Optional">[<code>String pos</code>]</span>, <span class="optional" title="Optional">[<code>Number zIndex</code>]</span>, <span class="optional" title="Optional">[<code>Number x</code>]</span>, <span class="optional" title="Optional">[<code>Number y</code>]</span>&nbsp;) : void            <div class="mdesc">
2155                        <div class="short">Initializes positioning on this element. If a desired position is not passed, it will make the
2156the element positioned...</div>
2157            <div class="long">
2158                Initializes positioning on this element. If a desired position is not passed, it will make the
2159the element positioned relative IF it is not already positioned.    <div class="mdetail-params">
2160        <strong>Parameters:</strong>
2161        <ul><li><code>pos</code> : String<div class="sub-desc">(optional) Positioning to use "relative", "absolute" or "fixed"</div></li><li><code>zIndex</code> : Number<div class="sub-desc">(optional) The zIndex to apply</div></li><li><code>x</code> : Number<div class="sub-desc">(optional) Set the page X position</div></li><li><code>y</code> : Number<div class="sub-desc">(optional) Set the page Y position</div></li>        </ul>
2162        <strong>Returns:</strong>
2163        <ul>
2164            <li><code>void</code></li>
2165        </ul>
2166    </div>
2167                </div>
2168                        </div>
2169        </td>
2170        <td class="msource">Element</td>
2171    </tr>
2172        <tr class="method-row alt expandable">
2173        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2174        <td class="sig">
2175        <a id="Ext.Element-prev"></a>
2176            <b>prev</b>(&nbsp;<span class="optional" title="Optional">[<code>String selector</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element/HTMLElement            <div class="mdesc">
2177                        <div class="short">Gets the previous sibling, skipping text nodes</div>
2178            <div class="long">
2179                Gets the previous sibling, skipping text nodes    <div class="mdetail-params">
2180        <strong>Parameters:</strong>
2181        <ul><li><code>selector</code> : String<div class="sub-desc">(optional) Find the previous sibling that matches the passed simple selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return a raw dom node instead of an Ext.Element</div></li>        </ul>
2182        <strong>Returns:</strong>
2183        <ul>
2184            <li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The previous sibling or null</div></li>
2185        </ul>
2186    </div>
2187                </div>
2188                        </div>
2189        </td>
2190        <td class="msource">Element</td>
2191    </tr>
2192        <tr class="method-row expandable">
2193        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2194        <td class="sig">
2195        <a id="Ext.Element-query"></a>
2196            <b>query</b>(&nbsp;<code>String selector</code>&nbsp;) : Array            <div class="mdesc">
2197                        <div class="short">Selects child nodes based on the passed CSS selector (the selector should not contain an id).</div>
2198            <div class="long">
2199                Selects child nodes based on the passed CSS selector (the selector should not contain an id).    <div class="mdetail-params">
2200        <strong>Parameters:</strong>
2201        <ul><li><code>selector</code> : String<div class="sub-desc">The CSS selector</div></li>        </ul>
2202        <strong>Returns:</strong>
2203        <ul>
2204            <li><code>Array</code><div class="sub-desc">An array of the matched nodes</div></li>
2205        </ul>
2206    </div>
2207                </div>
2208                        </div>
2209        </td>
2210        <td class="msource">Element</td>
2211    </tr>
2212        <tr class="method-row alt expandable">
2213        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2214        <td class="sig">
2215        <a id="Ext.Element-radioClass"></a>
2216            <b>radioClass</b>(&nbsp;<code>String/Array className</code>&nbsp;) : Ext.Element            <div class="mdesc">
2217                        <div class="short">Adds one or more CSS classes to this element and removes the same class(es) from all siblings.</div>
2218            <div class="long">
2219                Adds one or more CSS classes to this element and removes the same class(es) from all siblings.    <div class="mdetail-params">
2220        <strong>Parameters:</strong>
2221        <ul><li><code>className</code> : String/Array<div class="sub-desc">The CSS class to add, or an array of classes</div></li>        </ul>
2222        <strong>Returns:</strong>
2223        <ul>
2224            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2225        </ul>
2226    </div>
2227                </div>
2228                        </div>
2229        </td>
2230        <td class="msource">Element</td>
2231    </tr>
2232        <tr class="method-row expandable">
2233        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2234        <td class="sig">
2235        <a id="Ext.Element-relayEvent"></a>
2236            <b>relayEvent</b>(&nbsp;<code>String eventName</code>, <code>Object object</code>&nbsp;) : void            <div class="mdesc">
2237                        <div class="short">Create an event handler on this element such that when the event fires and is handled by this element,
2238it will be rel...</div>
2239            <div class="long">
2240                Create an event handler on this element such that when the event fires and is handled by this element,
2241it will be relayed to another object (i.e., fired again as if it originated from that object instead).    <div class="mdetail-params">
2242        <strong>Parameters:</strong>
2243        <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to relay</div></li><li><code>object</code> : Object<div class="sub-desc">Any object that extends <a ext:cls="Ext.util.Observable" href="output/Ext.util.Observable.html">Ext.util.Observable</a> that will provide the context
2244for firing the relayed event</div></li>        </ul>
2245        <strong>Returns:</strong>
2246        <ul>
2247            <li><code>void</code></li>
2248        </ul>
2249    </div>
2250                </div>
2251                        </div>
2252        </td>
2253        <td class="msource">Element</td>
2254    </tr>
2255        <tr class="method-row alt expandable">
2256        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2257        <td class="sig">
2258        <a id="Ext.Element-remove"></a>
2259            <b>remove</b>() : void            <div class="mdesc">
2260                        <div class="short">Removes this element from the DOM and deletes it from the cache</div>
2261            <div class="long">
2262                Removes this element from the DOM and deletes it from the cache    <div class="mdetail-params">
2263        <strong>Parameters:</strong>
2264        <ul><li>None.</li>        </ul>
2265        <strong>Returns:</strong>
2266        <ul>
2267            <li><code>void</code></li>
2268        </ul>
2269    </div>
2270                </div>
2271                        </div>
2272        </td>
2273        <td class="msource">Element</td>
2274    </tr>
2275        <tr class="method-row expandable">
2276        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2277        <td class="sig">
2278        <a id="Ext.Element-removeAllListeners"></a>
2279            <b>removeAllListeners</b>() : Ext.Element            <div class="mdesc">
2280                        <div class="short">Removes all previous added listeners from this element</div>
2281            <div class="long">
2282                Removes all previous added listeners from this element    <div class="mdetail-params">
2283        <strong>Parameters:</strong>
2284        <ul><li>None.</li>        </ul>
2285        <strong>Returns:</strong>
2286        <ul>
2287            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2288        </ul>
2289    </div>
2290                </div>
2291                        </div>
2292        </td>
2293        <td class="msource">Element</td>
2294    </tr>
2295        <tr class="method-row alt expandable">
2296        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2297        <td class="sig">
2298        <a id="Ext.Element-removeClass"></a>
2299            <b>removeClass</b>(&nbsp;<code>String/Array className</code>&nbsp;) : Ext.Element            <div class="mdesc">
2300                        <div class="short">Removes one or more CSS classes from the element.</div>
2301            <div class="long">
2302                Removes one or more CSS classes from the element.    <div class="mdetail-params">
2303        <strong>Parameters:</strong>
2304        <ul><li><code>className</code> : String/Array<div class="sub-desc">The CSS class to remove, or an array of classes</div></li>        </ul>
2305        <strong>Returns:</strong>
2306        <ul>
2307            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2308        </ul>
2309    </div>
2310                </div>
2311                        </div>
2312        </td>
2313        <td class="msource">Element</td>
2314    </tr>
2315        <tr class="method-row expandable">
2316        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2317        <td class="sig">
2318        <a id="Ext.Element-removeListener"></a>
2319            <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2320                        <div class="short">Removes an event handler from this element.  The shorthand version un is equivalent.  Example:
2321el.removeListener('cli...</div>
2322            <div class="long">
2323                Removes an event handler from this element.  The shorthand version <a ext:cls="Ext.Element" ext:member="un" href="output/Ext.Element.html#un">un</a> is equivalent.  Example:
2324<pre><code>el.removeListener(<em>'click'</em>, <b>this</b>.handlerFn);
2325<i>// or</i>
2326el.un(<em>'click'</em>, <b>this</b>.handlerFn);</code></pre>    <div class="mdetail-params">
2327        <strong>Parameters:</strong>
2328        <ul><li><code>eventName</code> : String<div class="sub-desc">the type of event to remove</div></li><li><code>fn</code> : Function<div class="sub-desc">the method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (The <tt>this</tt> reference) of the handler function. Defaults
2329to this Element.</div></li>        </ul>
2330        <strong>Returns:</strong>
2331        <ul>
2332            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2333        </ul>
2334    </div>
2335                </div>
2336                        </div>
2337        </td>
2338        <td class="msource">Element</td>
2339    </tr>
2340        <tr class="method-row alt expandable">
2341        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2342        <td class="sig">
2343        <a id="Ext.Element-repaint"></a>
2344            <b>repaint</b>() : Ext.Element            <div class="mdesc">
2345                        <div class="short">Forces the browser to repaint this element</div>
2346            <div class="long">
2347                Forces the browser to repaint this element    <div class="mdetail-params">
2348        <strong>Parameters:</strong>
2349        <ul><li>None.</li>        </ul>
2350        <strong>Returns:</strong>
2351        <ul>
2352            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2353        </ul>
2354    </div>
2355                </div>
2356                        </div>
2357        </td>
2358        <td class="msource">Element</td>
2359    </tr>
2360        <tr class="method-row expandable">
2361        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2362        <td class="sig">
2363        <a id="Ext.Element-replace"></a>
2364            <b>replace</b>(&nbsp;<code>Mixed el</code>&nbsp;) : Ext.Element            <div class="mdesc">
2365                        <div class="short">Replaces the passed element with this element</div>
2366            <div class="long">
2367                Replaces the passed element with this element    <div class="mdetail-params">
2368        <strong>Parameters:</strong>
2369        <ul><li><code>el</code> : Mixed<div class="sub-desc">The element to replace</div></li>        </ul>
2370        <strong>Returns:</strong>
2371        <ul>
2372            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2373        </ul>
2374    </div>
2375                </div>
2376                        </div>
2377        </td>
2378        <td class="msource">Element</td>
2379    </tr>
2380        <tr class="method-row alt expandable">
2381        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2382        <td class="sig">
2383        <a id="Ext.Element-replaceClass"></a>
2384            <b>replaceClass</b>(&nbsp;<code>String oldClassName</code>, <code>String newClassName</code>&nbsp;) : Ext.Element            <div class="mdesc">
2385                        <div class="short">Replaces a CSS class on the element with another.  If the old name does not exist, the new name will simply be added.</div>
2386            <div class="long">
2387                Replaces a CSS class on the element with another.  If the old name does not exist, the new name will simply be added.    <div class="mdetail-params">
2388        <strong>Parameters:</strong>
2389        <ul><li><code>oldClassName</code> : String<div class="sub-desc">The CSS class to replace</div></li><li><code>newClassName</code> : String<div class="sub-desc">The replacement CSS class</div></li>        </ul>
2390        <strong>Returns:</strong>
2391        <ul>
2392            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2393        </ul>
2394    </div>
2395                </div>
2396                        </div>
2397        </td>
2398        <td class="msource">Element</td>
2399    </tr>
2400        <tr class="method-row expandable">
2401        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2402        <td class="sig">
2403        <a id="Ext.Element-replaceWith"></a>
2404            <b>replaceWith</b>(&nbsp;<code>Mixed/Object el</code>&nbsp;) : Ext.Element            <div class="mdesc">
2405                        <div class="short">Replaces this element with the passed element</div>
2406            <div class="long">
2407                Replaces this element with the passed element    <div class="mdetail-params">
2408        <strong>Parameters:</strong>
2409        <ul><li><code>el</code> : Mixed/Object<div class="sub-desc">The new element or a DomHelper config of an element to create</div></li>        </ul>
2410        <strong>Returns:</strong>
2411        <ul>
2412            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2413        </ul>
2414    </div>
2415                </div>
2416                        </div>
2417        </td>
2418        <td class="msource">Element</td>
2419    </tr>
2420        <tr class="method-row alt expandable">
2421        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2422        <td class="sig">
2423        <a id="Ext.Element-scroll"></a>
2424            <b>scroll</b>(&nbsp;<code>String direction</code>, <code>Number distance</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Boolean            <div class="mdesc">
2425                        <div class="short">Scrolls this element the specified direction. Does bounds checking to make sure the scroll is
2426within this element's s...</div>
2427            <div class="long">
2428                Scrolls this element the specified direction. Does bounds checking to make sure the scroll is
2429within this element's scrollable range.    <div class="mdetail-params">
2430        <strong>Parameters:</strong>
2431        <ul><li><code>direction</code> : String<div class="sub-desc">Possible values are: "l" (or "left"), "r" (or "right"), "t" (or "top", or "up"), "b" (or "bottom", or "down").</div></li><li><code>distance</code> : Number<div class="sub-desc">How far to scroll the element in pixels</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
2432        <strong>Returns:</strong>
2433        <ul>
2434            <li><code>Boolean</code><div class="sub-desc">Returns true if a scroll was triggered or false if the element was scrolled as far as it could go.</div></li>
2435        </ul>
2436    </div>
2437                </div>
2438                        </div>
2439        </td>
2440        <td class="msource">Element</td>
2441    </tr>
2442        <tr class="method-row expandable">
2443        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2444        <td class="sig">
2445        <a id="Ext.Element-scrollIntoView"></a>
2446            <b>scrollIntoView</b>(&nbsp;<span class="optional" title="Optional">[<code>Mixed container</code>]</span>, <span class="optional" title="Optional">[<code>Boolean hscroll</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2447                        <div class="short">Scrolls this element into view within the passed container.</div>
2448            <div class="long">
2449                Scrolls this element into view within the passed container.    <div class="mdetail-params">
2450        <strong>Parameters:</strong>
2451        <ul><li><code>container</code> : Mixed<div class="sub-desc">(optional) The container element to scroll (defaults to document.body). Should be a
2452string (id), dom node, or Ext.Element.</div></li><li><code>hscroll</code> : Boolean<div class="sub-desc">(optional) False to disable horizontal scroll (defaults to true)</div></li>        </ul>
2453        <strong>Returns:</strong>
2454        <ul>
2455            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2456        </ul>
2457    </div>
2458                </div>
2459                        </div>
2460        </td>
2461        <td class="msource">Element</td>
2462    </tr>
2463        <tr class="method-row alt expandable">
2464        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2465        <td class="sig">
2466        <a id="Ext.Element-scrollTo"></a>
2467            <b>scrollTo</b>(&nbsp;<code>String side</code>, <code>Number value</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Element            <div class="mdesc">
2468                        <div class="short">Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it ...</div>
2469            <div class="long">
2470                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().    <div class="mdetail-params">
2471        <strong>Parameters:</strong>
2472        <ul><li><code>side</code> : String<div class="sub-desc">Either "left" for scrollLeft values or "top" for scrollTop values.</div></li><li><code>value</code> : Number<div class="sub-desc">The new scroll value</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
2473        <strong>Returns:</strong>
2474        <ul>
2475            <li><code>Element</code><div class="sub-desc">this</div></li>
2476        </ul>
2477    </div>
2478                </div>
2479                        </div>
2480        </td>
2481        <td class="msource">Element</td>
2482    </tr>
2483        <tr class="method-row expandable">
2484        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2485        <td class="sig">
2486        <a id="Ext.Element-select"></a>
2487            <b>select</b>(&nbsp;<code>String selector</code>, <span class="optional" title="Optional">[<code>Boolean unique</code>]</span>&nbsp;) : CompositeElement/CompositeElementLite            <div class="mdesc">
2488                        <div class="short">Creates a <a ext:cls="Ext.CompositeElement" href="output/Ext.CompositeElement.html">Ext.CompositeElement</a> for child nodes based on the passed CSS selector (the selector should not contain an id).</div>
2489            <div class="long">
2490                Creates a <a ext:cls="Ext.CompositeElement" href="output/Ext.CompositeElement.html">Ext.CompositeElement</a> for child nodes based on the passed CSS selector (the selector should not contain an id).    <div class="mdetail-params">
2491        <strong>Parameters:</strong>
2492        <ul><li><code>selector</code> : String<div class="sub-desc">The CSS selector</div></li><li><code>unique</code> : Boolean<div class="sub-desc">(optional) True to create a unique Ext.Element for each child (defaults to false, which creates a single shared flyweight object)</div></li>        </ul>
2493        <strong>Returns:</strong>
2494        <ul>
2495            <li><code>CompositeElement/CompositeElementLite</code><div class="sub-desc">The composite element</div></li>
2496        </ul>
2497    </div>
2498                </div>
2499                        </div>
2500        </td>
2501        <td class="msource">Element</td>
2502    </tr>
2503        <tr class="method-row alt expandable">
2504        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2505        <td class="sig">
2506        <a id="Ext.Element-set"></a>
2507            <b>set</b>(&nbsp;<code>Object o</code>, <span class="optional" title="Optional">[<code>Boolean useSet</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2508                        <div class="short">Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)</div>
2509            <div class="long">
2510                Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)    <div class="mdetail-params">
2511        <strong>Parameters:</strong>
2512        <ul><li><code>o</code> : Object<div class="sub-desc">The object with the attributes</div></li><li><code>useSet</code> : Boolean<div class="sub-desc">(optional) false to override the default setAttribute to use expandos.</div></li>        </ul>
2513        <strong>Returns:</strong>
2514        <ul>
2515            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2516        </ul>
2517    </div>
2518                </div>
2519                        </div>
2520        </td>
2521        <td class="msource">Element</td>
2522    </tr>
2523        <tr class="method-row expandable">
2524        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2525        <td class="sig">
2526        <a id="Ext.Element-setBottom"></a>
2527            <b>setBottom</b>(&nbsp;<code>String bottom</code>&nbsp;) : Ext.Element            <div class="mdesc">
2528                        <div class="short">Sets the element's CSS bottom style.</div>
2529            <div class="long">
2530                Sets the element's CSS bottom style.    <div class="mdetail-params">
2531        <strong>Parameters:</strong>
2532        <ul><li><code>bottom</code> : String<div class="sub-desc">The bottom CSS property value</div></li>        </ul>
2533        <strong>Returns:</strong>
2534        <ul>
2535            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2536        </ul>
2537    </div>
2538                </div>
2539                        </div>
2540        </td>
2541        <td class="msource">Element</td>
2542    </tr>
2543        <tr class="method-row alt expandable">
2544        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2545        <td class="sig">
2546        <a id="Ext.Element-setBounds"></a>
2547            <b>setBounds</b>(&nbsp;<code>Number x</code>, <code>Number y</code>, <code>Number width</code>, <code>Number height</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2548                        <div class="short">Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated c...</div>
2549            <div class="long">
2550                Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.    <div class="mdetail-params">
2551        <strong>Parameters:</strong>
2552        <ul><li><code>x</code> : Number<div class="sub-desc">X value for new position (coordinates are page-based)</div></li><li><code>y</code> : Number<div class="sub-desc">Y value for new position (coordinates are page-based)</div></li><li><code>width</code> : Number<div class="sub-desc">The new width</div></li><li><code>height</code> : Number<div class="sub-desc">The new height</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
2553        <strong>Returns:</strong>
2554        <ul>
2555            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2556        </ul>
2557    </div>
2558                </div>
2559                        </div>
2560        </td>
2561        <td class="msource">Element</td>
2562    </tr>
2563        <tr class="method-row expandable">
2564        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2565        <td class="sig">
2566        <a id="Ext.Element-setBox"></a>
2567            <b>setBox</b>(&nbsp;<code>Object box</code>, <span class="optional" title="Optional">[<code>Boolean adjust</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2568                        <div class="short">Sets the element's box. Use getBox() on another element to get a box obj. If animate is true then width, height, x an...</div>
2569            <div class="long">
2570                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.    <div class="mdetail-params">
2571        <strong>Parameters:</strong>
2572        <ul><li><code>box</code> : Object<div class="sub-desc">The box to fill {x, y, width, height}</div></li><li><code>adjust</code> : Boolean<div class="sub-desc">(optional) Whether to adjust for box-model issues automatically</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
2573        <strong>Returns:</strong>
2574        <ul>
2575            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2576        </ul>
2577    </div>
2578                </div>
2579                        </div>
2580        </td>
2581        <td class="msource">Element</td>
2582    </tr>
2583        <tr class="method-row alt expandable">
2584        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2585        <td class="sig">
2586        <a id="Ext.Element-setDisplayed"></a>
2587            <b>setDisplayed</b>(&nbsp;<code>Mixed value</code>&nbsp;) : Ext.Element            <div class="mdesc">
2588                        <div class="short">Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.</div>
2589            <div class="long">
2590                Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.    <div class="mdetail-params">
2591        <strong>Parameters:</strong>
2592        <ul><li><code>value</code> : Mixed<div class="sub-desc">Boolean value to display the element using its default display, or a string to set the display directly.</div></li>        </ul>
2593        <strong>Returns:</strong>
2594        <ul>
2595            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2596        </ul>
2597    </div>
2598                </div>
2599                        </div>
2600        </td>
2601        <td class="msource">Element</td>
2602    </tr>
2603        <tr class="method-row expandable">
2604        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2605        <td class="sig">
2606        <a id="Ext.Element-setHeight"></a>
2607            <b>setHeight</b>(&nbsp;<code>Number height</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2608                        <div class="short">Set the height of the element</div>
2609            <div class="long">
2610                Set the height of the element    <div class="mdetail-params">
2611        <strong>Parameters:</strong>
2612        <ul><li><code>height</code> : Number<div class="sub-desc">The new height</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
2613        <strong>Returns:</strong>
2614        <ul>
2615            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2616        </ul>
2617    </div>
2618                </div>
2619                        </div>
2620        </td>
2621        <td class="msource">Element</td>
2622    </tr>
2623        <tr class="method-row alt expandable">
2624        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2625        <td class="sig">
2626        <a id="Ext.Element-setLeft"></a>
2627            <b>setLeft</b>(&nbsp;<code>String left</code>&nbsp;) : Ext.Element            <div class="mdesc">
2628                        <div class="short">Sets the element's left position directly using CSS style (instead of <a ext:cls="Ext.Element" ext:member="setX" href="output/Ext.Element.html#setX">setX</a>).</div>
2629            <div class="long">
2630                Sets the element's left position directly using CSS style (instead of <a ext:cls="Ext.Element" ext:member="setX" href="output/Ext.Element.html#setX">setX</a>).    <div class="mdetail-params">
2631        <strong>Parameters:</strong>
2632        <ul><li><code>left</code> : String<div class="sub-desc">The left CSS property value</div></li>        </ul>
2633        <strong>Returns:</strong>
2634        <ul>
2635            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2636        </ul>
2637    </div>
2638                </div>
2639                        </div>
2640        </td>
2641        <td class="msource">Element</td>
2642    </tr>
2643        <tr class="method-row expandable">
2644        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2645        <td class="sig">
2646        <a id="Ext.Element-setLeftTop"></a>
2647            <b>setLeftTop</b>(&nbsp;<code>String left</code>, <code>String top</code>&nbsp;) : Ext.Element            <div class="mdesc">
2648                        <div class="short">Quick set left and top adding default units</div>
2649            <div class="long">
2650                Quick set left and top adding default units    <div class="mdetail-params">
2651        <strong>Parameters:</strong>
2652        <ul><li><code>left</code> : String<div class="sub-desc">The left CSS property value</div></li><li><code>top</code> : String<div class="sub-desc">The top CSS property value</div></li>        </ul>
2653        <strong>Returns:</strong>
2654        <ul>
2655            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2656        </ul>
2657    </div>
2658                </div>
2659                        </div>
2660        </td>
2661        <td class="msource">Element</td>
2662    </tr>
2663        <tr class="method-row alt expandable">
2664        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2665        <td class="sig">
2666        <a id="Ext.Element-setLocation"></a>
2667            <b>setLocation</b>(&nbsp;<code>Number x</code>, <code>Number y</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2668                        <div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.
2669The element must b...</div>
2670            <div class="long">
2671                Sets the position of the element in page coordinates, regardless of how the element is positioned.
2672The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).    <div class="mdetail-params">
2673        <strong>Parameters:</strong>
2674        <ul><li><code>x</code> : Number<div class="sub-desc">X value for new position (coordinates are page-based)</div></li><li><code>y</code> : Number<div class="sub-desc">Y value for new position (coordinates are page-based)</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li>        </ul>
2675        <strong>Returns:</strong>
2676        <ul>
2677            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2678        </ul>
2679    </div>
2680                </div>
2681                        </div>
2682        </td>
2683        <td class="msource">Element</td>
2684    </tr>
2685        <tr class="method-row expandable">
2686        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2687        <td class="sig">
2688        <a id="Ext.Element-setOpacity"></a>
2689            <b>setOpacity</b>(&nbsp;<code>Float opacity</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2690                        <div class="short">Set the opacity of the element</div>
2691            <div class="long">
2692                Set the opacity of the element    <div class="mdetail-params">
2693        <strong>Parameters:</strong>
2694        <ul><li><code>opacity</code> : Float<div class="sub-desc">The new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
2695        <strong>Returns:</strong>
2696        <ul>
2697            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2698        </ul>
2699    </div>
2700                </div>
2701                        </div>
2702        </td>
2703        <td class="msource">Element</td>
2704    </tr>
2705        <tr class="method-row alt expandable">
2706        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2707        <td class="sig">
2708        <a id="Ext.Element-setPositioning"></a>
2709            <b>setPositioning</b>(&nbsp;<code>Object posCfg</code>&nbsp;) : Ext.Element            <div class="mdesc">
2710                        <div class="short">Set positioning with an object returned by getPositioning().</div>
2711            <div class="long">
2712                Set positioning with an object returned by getPositioning().    <div class="mdetail-params">
2713        <strong>Parameters:</strong>
2714        <ul><li><code>posCfg</code> : Object<div class="sub-desc"></div></li>        </ul>
2715        <strong>Returns:</strong>
2716        <ul>
2717            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2718        </ul>
2719    </div>
2720                </div>
2721                        </div>
2722        </td>
2723        <td class="msource">Element</td>
2724    </tr>
2725        <tr class="method-row expandable">
2726        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2727        <td class="sig">
2728        <a id="Ext.Element-setRegion"></a>
2729            <b>setRegion</b>(&nbsp;<code>Ext.lib.Region region</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2730                        <div class="short">Sets the element's position and size the specified region. If animation is true then width, height, x and y will be a...</div>
2731            <div class="long">
2732                Sets the element's position and size the specified region. If animation is true then width, height, x and y will be animated concurrently.    <div class="mdetail-params">
2733        <strong>Parameters:</strong>
2734        <ul><li><code>region</code> : Ext.lib.Region<div class="sub-desc">The region to fill</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
2735        <strong>Returns:</strong>
2736        <ul>
2737            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2738        </ul>
2739    </div>
2740                </div>
2741                        </div>
2742        </td>
2743        <td class="msource">Element</td>
2744    </tr>
2745        <tr class="method-row alt expandable">
2746        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2747        <td class="sig">
2748        <a id="Ext.Element-setRight"></a>
2749            <b>setRight</b>(&nbsp;<code>String right</code>&nbsp;) : Ext.Element            <div class="mdesc">
2750                        <div class="short">Sets the element's CSS right style.</div>
2751            <div class="long">
2752                Sets the element's CSS right style.    <div class="mdetail-params">
2753        <strong>Parameters:</strong>
2754        <ul><li><code>right</code> : String<div class="sub-desc">The right CSS property value</div></li>        </ul>
2755        <strong>Returns:</strong>
2756        <ul>
2757            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2758        </ul>
2759    </div>
2760                </div>
2761                        </div>
2762        </td>
2763        <td class="msource">Element</td>
2764    </tr>
2765        <tr class="method-row expandable">
2766        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2767        <td class="sig">
2768        <a id="Ext.Element-setSize"></a>
2769            <b>setSize</b>(&nbsp;<code>Number width</code>, <code>Number height</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2770                        <div class="short">Set the size of the element. If animation is true, both width an height will be animated concurrently.</div>
2771            <div class="long">
2772                Set the size of the element. If animation is true, both width an height will be animated concurrently.    <div class="mdetail-params">
2773        <strong>Parameters:</strong>
2774        <ul><li><code>width</code> : Number<div class="sub-desc">The new width</div></li><li><code>height</code> : Number<div class="sub-desc">The new height</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
2775        <strong>Returns:</strong>
2776        <ul>
2777            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2778        </ul>
2779    </div>
2780                </div>
2781                        </div>
2782        </td>
2783        <td class="msource">Element</td>
2784    </tr>
2785        <tr class="method-row alt expandable">
2786        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2787        <td class="sig">
2788        <a id="Ext.Element-setStyle"></a>
2789            <b>setStyle</b>(&nbsp;<code>String/Object property</code>, <span class="optional" title="Optional">[<code>String value</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2790                        <div class="short">Wrapper for setting style properties, also takes single object parameter of multiple styles.</div>
2791            <div class="long">
2792                Wrapper for setting style properties, also takes single object parameter of multiple styles.    <div class="mdetail-params">
2793        <strong>Parameters:</strong>
2794        <ul><li><code>property</code> : String/Object<div class="sub-desc">The style property to be set, or an object of multiple styles.</div></li><li><code>value</code> : String<div class="sub-desc">(optional) The value to apply to the given property, or null if an object was passed.</div></li>        </ul>
2795        <strong>Returns:</strong>
2796        <ul>
2797            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2798        </ul>
2799    </div>
2800                </div>
2801                        </div>
2802        </td>
2803        <td class="msource">Element</td>
2804    </tr>
2805        <tr class="method-row expandable">
2806        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2807        <td class="sig">
2808        <a id="Ext.Element-setTop"></a>
2809            <b>setTop</b>(&nbsp;<code>String top</code>&nbsp;) : Ext.Element            <div class="mdesc">
2810                        <div class="short">Sets the element's top position directly using CSS style (instead of <a ext:cls="Ext.Element" ext:member="setY" href="output/Ext.Element.html#setY">setY</a>).</div>
2811            <div class="long">
2812                Sets the element's top position directly using CSS style (instead of <a ext:cls="Ext.Element" ext:member="setY" href="output/Ext.Element.html#setY">setY</a>).    <div class="mdetail-params">
2813        <strong>Parameters:</strong>
2814        <ul><li><code>top</code> : String<div class="sub-desc">The top CSS property value</div></li>        </ul>
2815        <strong>Returns:</strong>
2816        <ul>
2817            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2818        </ul>
2819    </div>
2820                </div>
2821                        </div>
2822        </td>
2823        <td class="msource">Element</td>
2824    </tr>
2825        <tr class="method-row alt expandable">
2826        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2827        <td class="sig">
2828        <a id="Ext.Element-setVisibilityMode"></a>
2829            <b>setVisibilityMode</b>(&nbsp;<code>visMode Element.VISIBILITY</code>&nbsp;) : Ext.Element            <div class="mdesc">
2830                        <div class="short">Sets the element's visibility mode. When setVisible() is called it
2831will use this to determine whether to set the visi...</div>
2832            <div class="long">
2833                Sets the element's visibility mode. When setVisible() is called it
2834will use this to determine whether to set the visibility or the display property.    <div class="mdetail-params">
2835        <strong>Parameters:</strong>
2836        <ul><li><code>Element.VISIBILITY</code> : visMode<div class="sub-desc">or Element.DISPLAY</div></li>        </ul>
2837        <strong>Returns:</strong>
2838        <ul>
2839            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2840        </ul>
2841    </div>
2842                </div>
2843                        </div>
2844        </td>
2845        <td class="msource">Element</td>
2846    </tr>
2847        <tr class="method-row expandable">
2848        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2849        <td class="sig">
2850        <a id="Ext.Element-setVisible"></a>
2851            <b>setVisible</b>(&nbsp;<code>Boolean visible</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2852                        <div class="short">Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use
2853the di...</div>
2854            <div class="long">
2855                Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use
2856the display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property.    <div class="mdetail-params">
2857        <strong>Parameters:</strong>
2858        <ul><li><code>visible</code> : Boolean<div class="sub-desc">Whether the element is visible</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li>        </ul>
2859        <strong>Returns:</strong>
2860        <ul>
2861            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2862        </ul>
2863    </div>
2864                </div>
2865                        </div>
2866        </td>
2867        <td class="msource">Element</td>
2868    </tr>
2869        <tr class="method-row alt expandable">
2870        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2871        <td class="sig">
2872        <a id="Ext.Element-setWidth"></a>
2873            <b>setWidth</b>(&nbsp;<code>Number width</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2874                        <div class="short">Set the width of the element</div>
2875            <div class="long">
2876                Set the width of the element    <div class="mdetail-params">
2877        <strong>Parameters:</strong>
2878        <ul><li><code>width</code> : Number<div class="sub-desc">The new width</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
2879        <strong>Returns:</strong>
2880        <ul>
2881            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2882        </ul>
2883    </div>
2884                </div>
2885                        </div>
2886        </td>
2887        <td class="msource">Element</td>
2888    </tr>
2889        <tr class="method-row expandable">
2890        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2891        <td class="sig">
2892        <a id="Ext.Element-setX"></a>
2893            <b>setX</b>(&nbsp;<code>Number The</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2894                        <div class="short">Sets the X position of the element based on page coordinates.  Element must be part of the DOM tree to have page coor...</div>
2895            <div class="long">
2896                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).    <div class="mdetail-params">
2897        <strong>Parameters:</strong>
2898        <ul><li><code>The</code> : Number<div class="sub-desc">X position of the element</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li>        </ul>
2899        <strong>Returns:</strong>
2900        <ul>
2901            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2902        </ul>
2903    </div>
2904                </div>
2905                        </div>
2906        </td>
2907        <td class="msource">Element</td>
2908    </tr>
2909        <tr class="method-row alt expandable">
2910        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2911        <td class="sig">
2912        <a id="Ext.Element-setXY"></a>
2913            <b>setXY</b>(&nbsp;<code>Array pos</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2914                        <div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.
2915The element must b...</div>
2916            <div class="long">
2917                Sets the position of the element in page coordinates, regardless of how the element is positioned.
2918The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).    <div class="mdetail-params">
2919        <strong>Parameters:</strong>
2920        <ul><li><code>pos</code> : Array<div class="sub-desc">Contains X & Y [x, y] values for new position (coordinates are page-based)</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li>        </ul>
2921        <strong>Returns:</strong>
2922        <ul>
2923            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2924        </ul>
2925    </div>
2926                </div>
2927                        </div>
2928        </td>
2929        <td class="msource">Element</td>
2930    </tr>
2931        <tr class="method-row expandable">
2932        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2933        <td class="sig">
2934        <a id="Ext.Element-setY"></a>
2935            <b>setY</b>(&nbsp;<code>Number The</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2936                        <div class="short">Sets the Y position of the element based on page coordinates.  Element must be part of the DOM tree to have page coor...</div>
2937            <div class="long">
2938                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).    <div class="mdetail-params">
2939        <strong>Parameters:</strong>
2940        <ul><li><code>The</code> : Number<div class="sub-desc">Y position of the element</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li>        </ul>
2941        <strong>Returns:</strong>
2942        <ul>
2943            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2944        </ul>
2945    </div>
2946                </div>
2947                        </div>
2948        </td>
2949        <td class="msource">Element</td>
2950    </tr>
2951        <tr class="method-row alt expandable">
2952        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2953        <td class="sig">
2954        <a id="Ext.Element-show"></a>
2955            <b>show</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2956                        <div class="short">Show this element - Uses display mode to determine whether to use "display" or "visibility". See <a ext:cls="Ext.Element" ext:member="setVisible" href="output/Ext.Element.html#setVisible">setVisible</a>.</div>
2957            <div class="long">
2958                Show this element - Uses display mode to determine whether to use "display" or "visibility". See <a ext:cls="Ext.Element" ext:member="setVisible" href="output/Ext.Element.html#setVisible">setVisible</a>.    <div class="mdetail-params">
2959        <strong>Parameters:</strong>
2960        <ul><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li>        </ul>
2961        <strong>Returns:</strong>
2962        <ul>
2963            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2964        </ul>
2965    </div>
2966                </div>
2967                        </div>
2968        </td>
2969        <td class="msource">Element</td>
2970    </tr>
2971        <tr class="method-row expandable">
2972        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2973        <td class="sig">
2974        <a id="Ext.Element-swallowEvent"></a>
2975            <b>swallowEvent</b>(&nbsp;<code>String/Array eventName</code>, <span class="optional" title="Optional">[<code>Boolean preventDefault</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2976                        <div class="short">Stops the specified event(s) from bubbling and optionally prevents the default action</div>
2977            <div class="long">
2978                Stops the specified event(s) from bubbling and optionally prevents the default action    <div class="mdetail-params">
2979        <strong>Parameters:</strong>
2980        <ul><li><code>eventName</code> : String/Array<div class="sub-desc">an event / array of events to stop from bubbling</div></li><li><code>preventDefault</code> : Boolean<div class="sub-desc">(optional) true to prevent the default action too</div></li>        </ul>
2981        <strong>Returns:</strong>
2982        <ul>
2983            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2984        </ul>
2985    </div>
2986                </div>
2987                        </div>
2988        </td>
2989        <td class="msource">Element</td>
2990    </tr>
2991        <tr class="method-row alt expandable">
2992        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2993        <td class="sig">
2994        <a id="Ext.Element-toggle"></a>
2995            <b>toggle</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2996                        <div class="short">Toggles the element's visibility or display, depending on visibility mode.</div>
2997            <div class="long">
2998                Toggles the element's visibility or display, depending on visibility mode.    <div class="mdetail-params">
2999        <strong>Parameters:</strong>
3000        <ul><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li>        </ul>
3001        <strong>Returns:</strong>
3002        <ul>
3003            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
3004        </ul>
3005    </div>
3006                </div>
3007                        </div>
3008        </td>
3009        <td class="msource">Element</td>
3010    </tr>
3011        <tr class="method-row expandable">
3012        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3013        <td class="sig">
3014        <a id="Ext.Element-toggleClass"></a>
3015            <b>toggleClass</b>(&nbsp;<code>String className</code>&nbsp;) : Ext.Element            <div class="mdesc">
3016                        <div class="short">Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).</div>
3017            <div class="long">
3018                Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).    <div class="mdetail-params">
3019        <strong>Parameters:</strong>
3020        <ul><li><code>className</code> : String<div class="sub-desc">The CSS class to toggle</div></li>        </ul>
3021        <strong>Returns:</strong>
3022        <ul>
3023            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
3024        </ul>
3025    </div>
3026                </div>
3027                        </div>
3028        </td>
3029        <td class="msource">Element</td>
3030    </tr>
3031        <tr class="method-row alt expandable">
3032        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3033        <td class="sig">
3034        <a id="Ext.Element-translatePoints"></a>
3035            <b>translatePoints</b>(&nbsp;<code>Number/Array x</code>, <span class="optional" title="Optional">[<code>Number y</code>]</span>&nbsp;) : Object            <div class="mdesc">
3036                        <div class="short">Translates the passed page coordinates into left/top css values for this element</div>
3037            <div class="long">
3038                Translates the passed page coordinates into left/top css values for this element    <div class="mdetail-params">
3039        <strong>Parameters:</strong>
3040        <ul><li><code>x</code> : Number/Array<div class="sub-desc">The page x or an array containing [x, y]</div></li><li><code>y</code> : Number<div class="sub-desc">(optional) The page y, required if x is not an array</div></li>        </ul>
3041        <strong>Returns:</strong>
3042        <ul>
3043            <li><code>Object</code><div class="sub-desc">An object with left and top properties. e.g. {left: (value), top: (value)}</div></li>
3044        </ul>
3045    </div>
3046                </div>
3047                        </div>
3048        </td>
3049        <td class="msource">Element</td>
3050    </tr>
3051        <tr class="method-row expandable">
3052        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3053        <td class="sig">
3054        <a id="Ext.Element-un"></a>
3055            <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
3056                        <div class="short">Removes an event handler from this element (shorthand for <a ext:cls="Ext.Element" ext:member="removeListener" href="output/Ext.Element.html#removeListener">removeListener</a>).</div>
3057            <div class="long">
3058                Removes an event handler from this element (shorthand for <a ext:cls="Ext.Element" ext:member="removeListener" href="output/Ext.Element.html#removeListener">removeListener</a>).    <div class="mdetail-params">
3059        <strong>Parameters:</strong>
3060        <ul><li><code>eventName</code> : String<div class="sub-desc">the type of event to remove</div></li><li><code>fn</code> : Function<div class="sub-desc">the method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (The <tt>this</tt> reference) of the handler function. Defaults
3061to this Element.</div></li>        </ul>
3062        <strong>Returns:</strong>
3063        <ul>
3064            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
3065        </ul>
3066    </div>
3067                </div>
3068                        </div>
3069        </td>
3070        <td class="msource">Element</td>
3071    </tr>
3072        <tr class="method-row alt expandable">
3073        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3074        <td class="sig">
3075        <a id="Ext.Element-unclip"></a>
3076            <b>unclip</b>() : Ext.Element            <div class="mdesc">
3077                        <div class="short">Return clipping (overflow) to original clipping before clip() was called</div>
3078            <div class="long">
3079                Return clipping (overflow) to original clipping before clip() was called    <div class="mdetail-params">
3080        <strong>Parameters:</strong>
3081        <ul><li>None.</li>        </ul>
3082        <strong>Returns:</strong>
3083        <ul>
3084            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
3085        </ul>
3086    </div>
3087                </div>
3088                        </div>
3089        </td>
3090        <td class="msource">Element</td>
3091    </tr>
3092        <tr class="method-row expandable">
3093        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3094        <td class="sig">
3095        <a id="Ext.Element-unmask"></a>
3096            <b>unmask</b>() : void            <div class="mdesc">
3097                        <div class="short">Removes a previously applied mask.</div>
3098            <div class="long">
3099                Removes a previously applied mask.    <div class="mdetail-params">
3100        <strong>Parameters:</strong>
3101        <ul><li>None.</li>        </ul>
3102        <strong>Returns:</strong>
3103        <ul>
3104            <li><code>void</code></li>
3105        </ul>
3106    </div>
3107                </div>
3108                        </div>
3109        </td>
3110        <td class="msource">Element</td>
3111    </tr>
3112        <tr class="method-row alt expandable">
3113        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3114        <td class="sig">
3115        <a id="Ext.Element-unselectable"></a>
3116            <b>unselectable</b>() : Ext.Element            <div class="mdesc">
3117                        <div class="short">Disables text selection for this element (normalized across browsers)</div>
3118            <div class="long">
3119                Disables text selection for this element (normalized across browsers)    <div class="mdetail-params">
3120        <strong>Parameters:</strong>
3121        <ul><li>None.</li>        </ul>
3122        <strong>Returns:</strong>
3123        <ul>
3124            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
3125        </ul>
3126    </div>
3127                </div>
3128                        </div>
3129        </td>
3130        <td class="msource">Element</td>
3131    </tr>
3132        <tr class="method-row expandable">
3133        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3134        <td class="sig">
3135        <a id="Ext.Element-up"></a>
3136            <b>up</b>(&nbsp;<code>String selector</code>, <span class="optional" title="Optional">[<code>Number/Mixed maxDepth</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
3137                        <div class="short">Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first...</div>
3138            <div class="long">
3139                Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child).
3140This is a shortcut for findParentNode() that always returns an Ext.Element.    <div class="mdetail-params">
3141        <strong>Parameters:</strong>
3142        <ul><li><code>selector</code> : String<div class="sub-desc">The simple selector to test</div></li><li><code>maxDepth</code> : Number/Mixed<div class="sub-desc">(optional) The max depth to
3143 search as a number or element (defaults to 10 || document.body)</div></li>        </ul>
3144        <strong>Returns:</strong>
3145        <ul>
3146            <li><code>Ext.Element</code><div class="sub-desc">The matching DOM node (or null if no match was found)</div></li>
3147        </ul>
3148    </div>
3149                </div>
3150                        </div>
3151        </td>
3152        <td class="msource">Element</td>
3153    </tr>
3154        <tr class="method-row alt expandable">
3155        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3156        <td class="sig">
3157        <a id="Ext.Element-update"></a>
3158            <b>update</b>(&nbsp;<code>String html</code>, <span class="optional" title="Optional">[<code>Boolean loadScripts</code>]</span>, <span class="optional" title="Optional">[<code>Function callback</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
3159                        <div class="short">Update the innerHTML of this element, optionally searching for and processing scripts</div>
3160            <div class="long">
3161                Update the innerHTML of this element, optionally searching for and processing scripts    <div class="mdetail-params">
3162        <strong>Parameters:</strong>
3163        <ul><li><code>html</code> : String<div class="sub-desc">The new HTML</div></li><li><code>loadScripts</code> : Boolean<div class="sub-desc">(optional) True to look for and process scripts (defaults to false)</div></li><li><code>callback</code> : Function<div class="sub-desc">(optional) For async script loading you can be notified when the update completes</div></li>        </ul>
3164        <strong>Returns:</strong>
3165        <ul>
3166            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
3167        </ul>
3168    </div>
3169                </div>
3170                        </div>
3171        </td>
3172        <td class="msource">Element</td>
3173    </tr>
3174        <tr class="method-row expandable">
3175        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3176        <td class="sig">
3177        <a id="Ext.Element-wrap"></a>
3178            <b>wrap</b>(&nbsp;<span class="optional" title="Optional">[<code>Object config</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : HTMLElement/Element            <div class="mdesc">
3179                        <div class="short">Creates and wraps this element with another element</div>
3180            <div class="long">
3181                Creates and wraps this element with another element    <div class="mdetail-params">
3182        <strong>Parameters:</strong>
3183        <ul><li><code>config</code> : Object<div class="sub-desc">(optional) DomHelper element config object for the wrapper element or null for an empty div</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return the raw DOM element instead of Ext.Element</div></li>        </ul>
3184        <strong>Returns:</strong>
3185        <ul>
3186            <li><code>HTMLElement/Element</code><div class="sub-desc">The newly created wrapper element</div></li>
3187        </ul>
3188    </div>
3189                </div>
3190                        </div>
3191        </td>
3192        <td class="msource">Element</td>
3193    </tr>
3194            </table>
3195                <a id="Ext.Element-events"></a>
3196        <h2>Public Events</h2>
3197        <div class="no-members">This class has no public events.</div>
3198        </div>
Note: See TracBrowser for help on using the repository browser.