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