-intended for arguments of type <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a> and <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a>, but any subclass of
-<a ext:cls="Ext.util.Observable" href="output/Ext.util.Observable.html">Ext.util.Observable</a> can be passed in. Any number of elements and/or components can be
-passed into this function in a single call as separate arguments. <div class="mdetail-params">\r
- <strong>Parameters:</strong>\r
- <ul><li><code>arg1</code> : Mixed<div class="sub-desc">An <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a> or <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> to destroy</div></li><li><code>arg2</code> : Mixed<div class="sub-desc">(optional)</div></li><li><code>etc...</code> : Mixed<div class="sub-desc">(optional)</div></li> </ul>\r
- <strong>Returns:</strong>\r
- <ul>\r
- <li><code>void</code></li>\r
- </ul>\r
- </div>\r
- </div>\r
- </div>\r
- </td>\r
- <td class="msource">Ext</td>\r
- </tr>\r
- <tr class="method-row alt expandable">\r
- <td class="micon"><a class="exi" href="#expand"> </a></td>\r
- <td class="sig">\r
- <a id="Ext-each"></a>\r
- <b>each</b>( <code>Array/NodeList/Mixed array</code>, <code>Function fn</code>, <code>Object scope</code> ) : void <div class="mdesc">\r
- <div class="short">Iterates an array calling the passed function with each item, stopping if your function returns false. If the
-passed ...</div>\r
- <div class="long">\r
- Iterates an array calling the passed function with each item, stopping if your function returns false. If the
-passed array is not really an array, your function is called once with it.
-The supplied function is called with (Object item, Number index, Array allItems). <div class="mdetail-params">\r
- <strong>Parameters:</strong>\r
- <ul><li><code>array</code> : Array/NodeList/Mixed<div class="sub-desc"></div></li><li><code>fn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc"></div></li> </ul>\r
- <strong>Returns:</strong>\r
- <ul>\r
- <li><code>void</code></li>\r
- </ul>\r
- </div>\r
- </div>\r
- </div>\r
- </td>\r
- <td class="msource">Ext</td>\r
- </tr>\r
- <tr class="method-row expandable">\r
- <td class="micon"><a class="exi" href="#expand"> </a></td>\r
- <td class="sig">\r
- <a id="Ext-encode"></a>\r
- <b>encode</b>( <code>Mixed o</code> ) : String <div class="mdesc">\r
- <div class="short">Shorthand for <a ext:cls="Ext.util.JSON" ext:member="encode" href="output/Ext.util.JSON.html#encode">Ext.util.JSON.encode</a></div>\r
- <div class="long">\r
- Shorthand for <a ext:cls="Ext.util.JSON" ext:member="encode" href="output/Ext.util.JSON.html#encode">Ext.util.JSON.encode</a> <div class="mdetail-params">\r
- <strong>Parameters:</strong>\r
- <ul><li><code>o</code> : Mixed<div class="sub-desc">The variable to encode</div></li> </ul>\r
- <strong>Returns:</strong>\r
- <ul>\r
- <li><code>String</code><div class="sub-desc">The JSON string</div></li>\r
- </ul>\r
- </div>\r
- </div>\r
- </div>\r
- </td>\r
- <td class="msource">Ext</td>\r
- </tr>\r
- <tr class="method-row alt expandable">\r
- <td class="micon"><a class="exi" href="#expand"> </a></td>\r
- <td class="sig">\r
- <a id="Ext-escapeRe"></a>\r
- <b>escapeRe</b>( <code>String str</code> ) : String <div class="mdesc">\r
- <div class="short">Escapes the passed string for use in a regular expression</div>\r
- <div class="long">\r
- Escapes the passed string for use in a regular expression <div class="mdetail-params">\r
- <strong>Parameters:</strong>\r
- <ul><li><code>str</code> : String<div class="sub-desc"></div></li> </ul>\r
- <strong>Returns:</strong>\r
- <ul>\r
- <li><code>String</code></li>\r
- </ul>\r
- </div>\r
- </div>\r
- </div>\r
- </td>\r
- <td class="msource">Ext</td>\r
- </tr>\r
- <tr class="method-row expandable">\r
- <td class="micon"><a class="exi" href="#expand"> </a></td>\r
- <td class="sig">\r
- <a id="Ext-extend"></a>\r
- <b>extend</b>( <code>Function subclass</code>, <code>Function superclass</code>, <span class="optional" title="Optional">[<code>Object overrides</code>]</span> ) : Function <div class="mdesc">\r
- <div class="short">Extends one class with another class and optionally overrides members with the passed literal. This class
-also adds t...</div>\r
- <div class="long">\r
- Extends one class with another class and optionally overrides members with the passed literal. This class
-also adds the function "override()" to the class that can be used to override
-members on an instance.
-<p>
-This function also supports a 2-argument call in which the subclass's constructor is
-not passed as an argument. In this form, the parameters are as follows:</p><p>
-<div class="mdetail-params"><ul>
-<li><code>superclass</code>
-<div class="sub-desc">The class being extended</div></li>
-<li><code>overrides</code>
-<div class="sub-desc">A literal with members which are copied into the subclass's
-prototype, and are therefore shared among all instances of the new class.<p>
-This may contain a special member named <tt><b>constructor</b></tt>. This is used
-to define the constructor of the new class, and is returned. If this property is
-<i>not</i> specified, a constructor is generated and returned which just calls the
-superclass's constructor passing on its parameters.</p></div></li>
-</ul></div></p><p>
-For example, to create a subclass of the Ext GridPanel:
-<pre><code>MyGridPanel = Ext.extend(Ext.grid.GridPanel, {
- constructor: <b>function</b>(config) {
- <i>// Your preprocessing here</i>
- MyGridPanel.superclass.constructor.apply(<b>this</b>, arguments);
- <i>// Your postprocessing here</i>
- },
+intended for arguments of type <a href="output/Ext.Element.html" ext:cls="Ext.Element">Ext.Element</a> and <a href="output/Ext.Component.html" ext:cls="Ext.Component">Ext.Component</a>, but any subclass of
+<a href="output/Ext.util.Observable.html" ext:cls="Ext.util.Observable">Ext.util.Observable</a> can be passed in. Any number of elements and/or components can be
+passed into this function in a single call as separate arguments.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>arg1</code> : Mixed<div class="sub-desc">An <a href="output/Ext.Element.html" ext:cls="Ext.Element">Ext.Element</a>, <a href="output/Ext.Component.html" ext:cls="Ext.Component">Ext.Component</a>, or an Array of either of these to destroy</div></li><li><code>arg2</code> : Mixed<div class="sub-desc">(optional)</div></li><li><code>etc...</code> : Mixed<div class="sub-desc">(optional)</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-destroyMembers"></a><b><a href="source/Ext-more.html#method-Ext-destroyMembers">destroyMembers</a></b>( <code>Object o</code>, <code>Mixed arg1</code>, <code>Mixed etc...</code> )\r
+ :\r
+ void<div class="mdesc"><div class="short">Attempts to destroy and then remove a set of named properties of the passed object.</div><div class="long">Attempts to destroy and then remove a set of named properties of the passed object.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>o</code> : Object<div class="sub-desc">The object (most likely a Component) who's properties you wish to destroy.</div></li><li><code>arg1</code> : Mixed<div class="sub-desc">The name of the property to destroy and remove from the object.</div></li><li><code>etc...</code> : Mixed<div class="sub-desc">More property names to destroy and remove.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-each"></a><b><a href="source/Ext.html#method-Ext-each">each</a></b>( <code>Array/NodeList/Mixed array</code>, <code>Function fn</code>, <code>Object scope</code> )\r
+ :\r
+ See<div class="mdesc"><div class="short">Iterates an array calling the supplied function.</div><div class="long">Iterates an array calling the supplied function.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>array</code> : Array/NodeList/Mixed<div class="sub-desc">The array to be iterated. If this\r
+argument is not really an array, the supplied function is called once.</div></li><li><code>fn</code> : Function<div class="sub-desc">The function to be called with each item. If the\r
+supplied function returns false, iteration stops and this method returns\r
+the current <code>index</code>. This function is called with\r
+the following arguments:\r
+<div class="mdetail-params"><ul>\r
+<li><code>item</code> : <i>Mixed</i>\r
+<div class="sub-desc">The item at the current <code>index</code>\r
+in the passed <code>array</code></div></li>\r
+<li><code>index</code> : <i>Number</i>\r
+<div class="sub-desc">The current index within the array</div></li>\r
+<li><code>allItems</code> : <i>Array</i>\r
+<div class="sub-desc">The <code>array</code> passed as the first\r
+argument to <code>Ext.each</code>.</div></li>\r
+</ul></div></div></li><li><code>scope</code> : Object<div class="sub-desc">The scope (<code>this</code> reference) in which the specified function is executed.\r
+Defaults to the <code>item</code> at the current <code>index</code>\r
+within the passed <code>array</code>.</div></li></ul><strong>Returns:</strong><ul><li><code>See</code><div class="sub-desc">description for the fn parameter.</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-encode"></a><b><a href="source/JSON.html#method-Ext-encode">encode</a></b>( <code>Mixed o</code> )\r
+ :\r
+ String<div class="mdesc"><div class="short">Shorthand for Ext.util.JSON.encode</div><div class="long">Shorthand for <a href="output/Ext.util.JSON.html#Ext.util.JSON-encode" ext:member="encode" ext:cls="Ext.util.JSON">Ext.util.JSON.encode</a><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>o</code> : Mixed<div class="sub-desc">The variable to encode</div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc">The JSON string</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-escapeRe"></a><b><a href="source/Ext-more.html#method-Ext-escapeRe">escapeRe</a></b>( <code>String str</code> )\r
+ :\r
+ String<div class="mdesc"><div class="short">Escapes the passed string for use in a regular expression</div><div class="long">Escapes the passed string for use in a regular expression<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>str</code> : String<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-extend"></a><b><a href="source/Ext.html#method-Ext-extend">extend</a></b>( <code>Function subclass</code>, <code>Object overrides</code> )\r
+ :\r
+ Function<div class="mdesc"><div class="short">Extends one class to create a subclass and optionally overrides members with the passed literal. This method \r
+also ad...</div><div class="long"><p>Extends one class to create a subclass and optionally overrides members with the passed literal. This method\r
+also adds the function "override()" to the subclass that can be used to override members of the class.</p>\r
+For example, to create a subclass of Ext GridPanel:\r
+<pre><code>MyGridPanel = Ext.extend(Ext.grid.GridPanel, {\r
+ constructor: <b>function</b>(config) {\r
+\r
+<i>// Create configuration <b>for</b> this Grid.\r</i>
+ <b>var</b> store = <b>new</b> Ext.data.Store({...});\r
+ <b>var</b> colModel = <b>new</b> Ext.grid.ColumnModel({...});\r
+\r
+<i>// Create a <b>new</b> config object containing our computed properties\r</i>
+<i>// *plus* whatever was <b>in</b> the config parameter.\r</i>
+ config = Ext.apply({\r
+ store: store,\r
+ colModel: colModel\r
+ }, config);\r
+\r
+ MyGridPanel.superclass.constructor.call(this, config);\r
+\r
+<i>// Your postprocessing here\r</i>
+ },\r
+\r
+ yourMethod: <b>function</b>() {\r
+ <i>// etc.\r</i>
+ }\r
+});</code></pre>\r
+<p>This function also supports a 3-argument call in which the subclass's constructor is\r
+passed as an argument. In this form, the parameters are as follows:</p>\r
+<div class="mdetail-params"><ul>\r
+<li><code>subclass</code> : Function <div class="sub-desc">The subclass constructor.</div></li>\r
+<li><code>superclass</code> : Function <div class="sub-desc">The constructor of class being extended</div></li>\r
+<li><code>overrides</code> : Object <div class="sub-desc">A literal with members which are copied into the subclass's\r
+prototype, and are therefore shared among all instances of the new class.</div></li>\r
+</ul></div><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>subclass</code> : Function<div class="sub-desc">The constructor of class being extended.</div></li><li><code>overrides</code> : Object<div class="sub-desc"><p>A literal with members which are copied into the subclass's\r
+prototype, and are therefore shared between all instances of the new class.</p>\r
+<p>This may contain a special member named <tt><b>constructor</b></tt>. This is used\r
+to define the constructor of the new class, and is returned. If this property is\r
+<i>not</i> specified, a constructor is generated and returned which just calls the\r
+superclass's constructor passing on its parameters.</p>\r
+<p><b>It is essential that you call the superclass constructor in any provided constructor. See example code.</b></p></div></li></ul><strong>Returns:</strong><ul><li><code>Function</code><div class="sub-desc">The subclass constructor.</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-flatten"></a><b><a href="source/Ext-more.html#method-Ext-flatten">flatten</a></b>( <code>Array arr</code> )\r
+ :\r
+ Array<div class="mdesc"><div class="short">Recursively flattens into 1-d Array. Injects Arrays inline.</div><div class="long">Recursively flattens into 1-d Array. Injects Arrays inline.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>arr</code> : Array<div class="sub-desc">The array to flatten</div></li></ul><strong>Returns:</strong><ul><li><code>Array</code><div class="sub-desc">The new, flattened array.</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-fly"></a><b><a href="source/Element.html#method-Ext-fly">fly</a></b>( <code>String/HTMLElement el</code>, <span title="Optional" class="optional">[<code>String named</code>]</span> )\r
+ :\r
+ Element<div class="mdesc"><div class="short">Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to t...</div><div class="long"><p>Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -\r
+the dom node can be overwritten by other code. Shorthand of <a href="output/Ext.Element.html#Ext.Element-fly" ext:member="fly" ext:cls="Ext.Element">Ext.Element.fly</a></p>\r
+<p>Use this to make one-time references to DOM elements which are not going to be accessed again either by\r
+application code, or by Ext's classes. If accessing an element which will be processed regularly, then <a href="output/Ext.html#Ext-get" ext:member="get" ext:cls="Ext">Ext.get</a>\r
+will be more appropriate to take advantage of the caching provided by the Ext.Element class.</p><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : String/HTMLElement<div class="sub-desc">The dom node or id</div></li><li><code>named</code> : String<div class="sub-desc">(optional) Allows for creation of named reusable flyweights to prevent conflicts\r
+(e.g. internally Ext uses "_global")</div></li></ul><strong>Returns:</strong><ul><li><code>Element</code><div class="sub-desc">The shared Element object (or null if no matching element was found)</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-get"></a><b><a href="source/Element.html#method-Ext-get">get</a></b>( <code>Mixed el</code> )\r
+ :\r
+ Element<div class="mdesc"><div class="short">Retrieves Ext.Element objects. \r
+This method does not retrieve Components. This method \r
+retrieves Ext.Element objects ...</div><div class="long">Retrieves Ext.Element objects.\r
+<p><b>This method does not retrieve <a href="output/Ext.Component.html" ext:cls="Ext.Component">Component</a>s.</b> This method\r
+retrieves Ext.Element objects which encapsulate DOM elements. To retrieve a Component by\r
+its ID, use <a href="output/Ext.ComponentMgr.html#Ext.ComponentMgr-get" ext:member="get" ext:cls="Ext.ComponentMgr">Ext.ComponentMgr.get</a>.</p>\r
+<p>Uses simple caching to consistently return the same object. Automatically fixes if an\r
+object was recreated with the same id via AJAX or DOM.</p>\r
+Shorthand of <a href="output/Ext.Element.html#Ext.Element-get" ext:member="get" ext:cls="Ext.Element">Ext.Element.get</a><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : Mixed<div class="sub-desc">The id of the node, a DOM Node or an existing Element.</div></li></ul><strong>Returns:</strong><ul><li><code>Element</code><div class="sub-desc">The Element object (or null if no matching element was found)</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-getBody"></a><b><a href="source/Ext.html#method-Ext-getBody">getBody</a></b>()\r
+ :\r
+ Ext.Element<div class="mdesc"><div class="short">Returns the current document body as an Ext.Element.</div><div class="long">Returns the current document body as an <a href="output/Ext.Element.html" ext:cls="Ext.Element">Ext.Element</a>.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">The document body</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-getCmp"></a><b><a href="source/Ext-more.html#method-Ext-getCmp">getCmp</a></b>( <code>String id</code> )\r
+ :\r
+ Ext.Component<div class="mdesc"><div class="short">This is shorthand reference to Ext.ComponentMgr.get.\r
+Looks up an existing Component by id</div><div class="long">This is shorthand reference to <a href="output/Ext.ComponentMgr.html#Ext.ComponentMgr-get" ext:member="get" ext:cls="Ext.ComponentMgr">Ext.ComponentMgr.get</a>.
+Looks up an existing <a href="output/Ext.Component.html" ext:cls="Ext.Component">Component</a> by <a href="output/Ext.Component.html#Ext.Component-id" ext:member="id" ext:cls="Ext.Component">id</a><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>id</code> : String<div class="sub-desc">The component <a href="output/Ext.Component.html#Ext.Component-id" ext:member="id" ext:cls="Ext.Component">id</a></div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Component</code><div class="sub-desc">The Component, <tt>undefined</tt> if not found, or <tt>null</tt> if a\r
+Class was found.</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-getDoc"></a><b><a href="source/Ext-more.html#method-Ext-getDoc">getDoc</a></b>()\r
+ :\r
+ Ext.Element<div class="mdesc"><div class="short">Returns the current HTML document object as an Ext.Element.</div><div class="long">Returns the current HTML document object as an <a href="output/Ext.Element.html" ext:cls="Ext.Element">Ext.Element</a>.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">The document</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-getDom"></a><b><a href="source/Ext.html#method-Ext-getDom">getDom</a></b>( <code>Mixed el</code> )\r
+ :\r
+ HTMLElement<div class="mdesc"><div class="short">Return the dom node for the passed String (id), dom node, or Ext.Element. \r
+Here are some examples: \r
+// gets dom node ...</div><div class="long">Return the dom node for the passed String (id), dom node, or Ext.Element.\r
+Here are some examples:\r
+<pre><code><i>// gets dom node based on id\r</i>
+<b>var</b> elDom = Ext.getDom(<em>'elId'</em>);\r
+<i>// gets dom node based on the dom node\r</i>
+<b>var</b> elDom1 = Ext.getDom(elDom);\r
+\r
+<i>// If we don't know <b>if</b> we are working <b>with</b> an\r</i>
+<i>// Ext.Element or a dom node use Ext.getDom\r</i>
+<b>function</b>(el){\r
+ <b>var</b> dom = Ext.getDom(el);\r
+ <i>// <b>do</b> something <b>with</b> the dom node\r</i>
+}</code></pre>\r
+<b>Note</b>: the dom node to be found actually needs to exist (be rendered, etc)\r
+when this method is called to be successful.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : Mixed<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>HTMLElement</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-getScrollBarWidth"></a><b><a href="source/Ext-more.html#method-Ext-getScrollBarWidth">getScrollBarWidth</a></b>( <span title="Optional" class="optional">[<code>Boolean force</code>]</span> )\r
+ :\r
+ Number<div class="mdesc"><div class="short">Utility method for getting the width of the browser scrollbar. This can differ depending on\r
+operating system settings...</div><div class="long">Utility method for getting the width of the browser scrollbar. This can differ depending on
+operating system settings, such as the theme or font size.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>force</code> : Boolean<div class="sub-desc">(optional) true to force a recalculation of the value.</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc">The width of the scrollbar.</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-id"></a><b><a href="source/Ext.html#method-Ext-id">id</a></b>( <span title="Optional" class="optional">[<code>Mixed el</code>]</span>, <span title="Optional" class="optional">[<code>String prefix</code>]</span> )\r
+ :\r
+ String<div class="mdesc"><div class="short">Generates unique ids. If the element already has an id, it is unchanged</div><div class="long">Generates unique ids. If the element already has an id, it is unchanged<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : Mixed<div class="sub-desc">(optional) The element to generate an id for</div></li><li><code>prefix</code> : String<div class="sub-desc">(optional) Id prefix (defaults "ext-gen")</div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc">The generated Id.</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-invoke"></a><b><a href="source/Ext-more.html#method-Ext-invoke">invoke</a></b>( <code>Array|NodeList arr</code>, <code>String methodName</code>, <code>Anything ...</code> )\r
+ :\r
+ Array<div class="mdesc"><div class="short">Invokes a method on each item in an Array.\r
+// Example:\r
+Ext.invoke(Ext.query("p"), "getAttribute", "id");\r
+// [el1.getA...</div><div class="long">Invokes a method on each item in an Array.
+<pre><code><i>// Example:</i>
+Ext.invoke(Ext.query(<em>"p"</em>), <em>"getAttribute"</em>, <em>"id"</em>);
+<i>// [el1.getAttribute(<em>"id"</em>), el2.getAttribute(<em>"id"</em>), ..., elN.getAttribute(<em>"id"</em>)]</i></code></pre><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>arr</code> : Array|NodeList<div class="sub-desc">The Array of items to invoke the method on.</div></li><li><code>methodName</code> : String<div class="sub-desc">The method name to invoke.</div></li><li><code>...</code> : Anything<div class="sub-desc">Arguments to send into the method invocation.</div></li></ul><strong>Returns:</strong><ul><li><code>Array</code><div class="sub-desc">The results of invoking the method on each item in the array.</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-isArray"></a><b><a href="source/Ext.html#method-Ext-isArray">isArray</a></b>( <code>Mixed value</code> )\r
+ :\r
+ Boolean<div class="mdesc"><div class="short">Returns true if the passed value is a JavaScript array, otherwise false.</div><div class="long">Returns true if the passed value is a JavaScript array, otherwise false.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>value</code> : Mixed<div class="sub-desc">The value to test</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-isBoolean"></a><b><a href="source/Ext.html#method-Ext-isBoolean">isBoolean</a></b>( <code>Mixed value</code> )\r
+ :\r
+ Boolean<div class="mdesc"><div class="short">Returns true if the passed value is a boolean.</div><div class="long">Returns true if the passed value is a boolean.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>value</code> : Mixed<div class="sub-desc">The value to test</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-isDate"></a><b><a href="source/Ext.html#method-Ext-isDate">isDate</a></b>( <code>Object object</code> )\r
+ :\r
+ Boolean<div class="mdesc"><div class="short">Returns true if the passed object is a JavaScript date object, otherwise false.</div><div class="long">Returns true if the passed object is a JavaScript date object, otherwise false.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>object</code> : Object<div class="sub-desc">The object to test</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-isDefined"></a><b><a href="source/Ext.html#method-Ext-isDefined">isDefined</a></b>( <code>Mixed value</code> )\r
+ :\r
+ Boolean<div class="mdesc"><div class="short">Returns true if the passed value is not undefined.</div><div class="long">Returns true if the passed value is not undefined.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>value</code> : Mixed<div class="sub-desc">The value to test</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-isEmpty"></a><b><a href="source/Ext.html#method-Ext-isEmpty">isEmpty</a></b>( <code>Mixed value</code>, <span title="Optional" class="optional">[<code>Boolean allowBlank</code>]</span> )\r
+ :\r
+ Boolean<div class="mdesc"><div class="short">Returns true if the passed value is empty. \r
+The value is deemed to be empty if it is<div class="mdetail-params"> \r
+nul...</div><div class="long"><p>Returns true if the passed value is empty.</p>\r
+<p>The value is deemed to be empty if it is<div class="mdetail-params"><ul>\r
+<li>null</li>\r
+<li>undefined</li>\r
+<li>an empty array</li>\r
+<li>a zero length string (Unless the <tt>allowBlank</tt> parameter is <tt>true</tt>)</li>\r
+</ul></div><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>value</code> : Mixed<div class="sub-desc">The value to test</div></li><li><code>allowBlank</code> : Boolean<div class="sub-desc">(optional) true to allow empty strings (defaults to false)</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-isFunction"></a><b><a href="source/Ext.html#method-Ext-isFunction">isFunction</a></b>( <code>Mixed value</code> )\r
+ :\r
+ Boolean<div class="mdesc"><div class="short">Returns true if the passed value is a JavaScript Function, otherwise false.</div><div class="long">Returns true if the passed value is a JavaScript Function, otherwise false.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>value</code> : Mixed<div class="sub-desc">The value to test</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-isNumber"></a><b><a href="source/Ext.html#method-Ext-isNumber">isNumber</a></b>( <code>Mixed value</code> )\r
+ :\r
+ Boolean<div class="mdesc"><div class="short">Returns true if the passed value is a number. Returns false for non-finite numbers.</div><div class="long">Returns true if the passed value is a number. Returns false for non-finite numbers.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>value</code> : Mixed<div class="sub-desc">The value to test</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-isObject"></a><b><a href="source/Ext.html#method-Ext-isObject">isObject</a></b>( <code>Mixed value</code> )\r
+ :\r
+ Boolean<div class="mdesc"><div class="short">Returns true if the passed value is a JavaScript Object, otherwise false.</div><div class="long">Returns true if the passed value is a JavaScript Object, otherwise false.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>value</code> : Mixed<div class="sub-desc">The value to test</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-isPrimitive"></a><b><a href="source/Ext.html#method-Ext-isPrimitive">isPrimitive</a></b>( <code>Mixed value</code> )\r
+ :\r
+ Boolean<div class="mdesc"><div class="short">Returns true if the passed value is a JavaScript 'primitive', a string, number or boolean.</div><div class="long">Returns true if the passed value is a JavaScript 'primitive', a string, number or boolean.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>value</code> : Mixed<div class="sub-desc">The value to test</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-isString"></a><b><a href="source/Ext.html#method-Ext-isString">isString</a></b>( <code>Mixed value</code> )\r
+ :\r
+ Boolean<div class="mdesc"><div class="short">Returns true if the passed value is a string.</div><div class="long">Returns true if the passed value is a string.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>value</code> : Mixed<div class="sub-desc">The value to test</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-iterate"></a><b><a href="source/Ext.html#method-Ext-iterate">iterate</a></b>( <code>Object/Array object</code>, <code>Function fn</code>, <code>Object scope</code> )\r
+ :\r
+ void<div class="mdesc"><div class="short">Iterates either the elements in an array, or each of the properties in an object. \r
+Note: If you are only iterating ar...</div><div class="long">Iterates either the elements in an array, or each of the properties in an object.\r
+<b>Note</b>: If you are only iterating arrays, it is better to call <a href="output/Ext.html#Ext-each" ext:member="each" ext:cls="Ext">each</a>.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>object</code> : Object/Array<div class="sub-desc">The object or array to be iterated</div></li><li><code>fn</code> : Function<div class="sub-desc">The function to be called for each iteration.\r
+The iteration will stop if the supplied function returns false, or\r
+all array elements / object properties have been covered. The signature\r
+varies depending on the type of object being interated:\r
+<div class="mdetail-params"><ul>\r
+<li>Arrays : <tt>(Object item, Number index, Array allItems)</tt>\r
+<div class="sub-desc">\r
+When iterating an array, the supplied function is called with each item.</div></li>\r
+<li>Objects : <tt>(String key, Object value)</tt>\r
+<div class="sub-desc">\r
+When iterating an object, the supplied function is called with each key-value pair in\r
+the object.</div></li>\r
+</ul></div></div></li><li><code>scope</code> : Object<div class="sub-desc">The scope (<code>this</code> reference) in which the specified function is executed. Defaults to\r
+the <code>object</code> being iterated.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-max"></a><b><a href="source/Ext-more.html#method-Ext-max">max</a></b>( <code>Array|NodeList arr</code>, <span title="Optional" class="optional">[<code>Function comp</code>]</span> )\r
+ :\r
+ Object<div class="mdesc"><div class="short">Returns the maximum value in the Array</div><div class="long">Returns the maximum value in the Array<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>arr</code> : Array|NodeList<div class="sub-desc">The Array from which to select the maximum value.</div></li><li><code>comp</code> : Function<div class="sub-desc">(optional) a function to perform the comparision which determines maximization.
+If omitted the ">" operator will be used. Note: gt = 1; eq = 0; lt = -1</div></li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">The maximum value in the Array.</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-mean"></a><b><a href="source/Ext-more.html#method-Ext-mean">mean</a></b>( <code>Array arr</code> )\r
+ :\r
+ Number<div class="mdesc"><div class="short">Calculates the mean of the Array</div><div class="long">Calculates the mean of the Array<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>arr</code> : Array<div class="sub-desc">The Array to calculate the mean value of.</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc">The mean.</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-min"></a><b><a href="source/Ext-more.html#method-Ext-min">min</a></b>( <code>Array|NodeList arr</code>, <span title="Optional" class="optional">[<code>Function comp</code>]</span> )\r
+ :\r
+ Object<div class="mdesc"><div class="short">Returns the minimum value in the Array.</div><div class="long">Returns the minimum value in the Array.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>arr</code> : Array|NodeList<div class="sub-desc">The Array from which to select the minimum value.</div></li><li><code>comp</code> : Function<div class="sub-desc">(optional) a function to perform the comparision which determines minimization.
+If omitted the "<" operator will be used. Note: gt = 1; eq = 0; lt = -1</div></li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">The minimum value in the Array.</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-namespace"></a><b><a href="source/Ext.html#method-Ext-namespace">namespace</a></b>( <code>String namespace1</code>, <code>String namespace2</code>, <code>String etc</code> )\r
+ :\r
+ Object<div class="mdesc"><div class="short">Creates namespaces to be used for scoping variables and classes so that they are not global. \r
+Specifying the last nod...</div><div class="long">Creates namespaces to be used for scoping variables and classes so that they are not global.\r
+Specifying the last node of a namespace implicitly creates all other nodes. Usage:\r
+<pre><code>Ext.namespace(<em>'Company'</em>, <em>'Company.data'</em>);\r
+Ext.namespace(<em>'Company.data'</em>); <i>// equivalent and preferable to above syntax\r</i>
+Company.Widget = <b>function</b>() { ... }\r
+Company.data.CustomStore = <b>function</b>(config) { ... }</code></pre><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>namespace1</code> : String<div class="sub-desc"></div></li><li><code>namespace2</code> : String<div class="sub-desc"></div></li><li><code>etc</code> : String<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">The namespace object. (If multiple arguments are passed, this will be the last namespace created)</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-ns"></a><b><a href="source/Ext.html#method-Ext-ns">ns</a></b>( <code>String namespace1</code>, <code>String namespace2</code>, <code>String etc</code> )\r
+ :\r
+ Object<div class="mdesc"><div class="short">Creates namespaces to be used for scoping variables and classes so that they are not global. \r
+Specifying the last nod...</div><div class="long">Creates namespaces to be used for scoping variables and classes so that they are not global.\r
+Specifying the last node of a namespace implicitly creates all other nodes. Usage:\r
+<pre><code>Ext.namespace(<em>'Company'</em>, <em>'Company.data'</em>);\r
+Ext.namespace(<em>'Company.data'</em>); <i>// equivalent and preferable to above syntax\r</i>
+Company.Widget = <b>function</b>() { ... }\r
+Company.data.CustomStore = <b>function</b>(config) { ... }</code></pre><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>namespace1</code> : String<div class="sub-desc"></div></li><li><code>namespace2</code> : String<div class="sub-desc"></div></li><li><code>etc</code> : String<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">The namespace object. (If multiple arguments are passed, this will be the last namespace created)</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-num"></a><b><a href="source/Ext-more.html#method-Ext-num">num</a></b>( <code>Mixed value</code>, <code>Number defaultValue</code> )\r
+ :\r
+ Number<div class="mdesc"><div class="short">Utility method for validating that a value is numeric, returning the specified default value if it is not.</div><div class="long">Utility method for validating that a value is numeric, returning the specified default value if it is not.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>value</code> : Mixed<div class="sub-desc">Should be a number, but any type will be handled appropriately</div></li><li><code>defaultValue</code> : Number<div class="sub-desc">The value to return if the original value is non-numeric</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc">Value, if numeric, else defaultValue</div></li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-onReady"></a><b><a href="source/EventManager.html#method-Ext-onReady">onReady</a></b>( <code>Function fn</code>, <span title="Optional" class="optional">[<code>Object scope</code>]</span>, <span title="Optional" class="optional">[<code>boolean options</code>]</span> )\r
+ :\r
+ void<div class="mdesc"><div class="short">Adds a listener to be notified when the document is ready (before onload and before images are loaded). Shorthand of ...</div><div class="long">Adds a listener to be notified when the document is ready (before onload and before images are loaded). Shorthand of <a href="output/Ext.EventManager.html#Ext.EventManager-onDocumentReady" ext:member="onDocumentReady" ext:cls="Ext.EventManager">Ext.EventManager.onDocumentReady</a>.<div class="mdetail-params"><strong>Parameters:</strong><ul><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 (<code>this</code> reference) in which the handler function executes. Defaults to the browser window.</div></li><li><code>options</code> : boolean<div class="sub-desc">(optional) Options object as passed to <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">Ext.Element.addListener</a>. It is recommended that the options
+<code>{single: true}</code> be used so that the handler is removed on first invocation.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-override"></a><b><a href="source/Ext.html#method-Ext-override">override</a></b>( <code>Object origclass</code>, <code>Object overrides</code> )\r
+ :\r
+ void<div class="mdesc"><div class="short">Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name. ...</div><div class="long">Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.\r
+Usage:<pre><code>Ext.override(MyClass, {\r
+ newMethod1: <b>function</b>(){\r
+ <i>// etc.\r</i>
+ },\r
+ newMethod2: <b>function</b>(foo){\r
+ <i>// etc.\r</i>
+ }\r
+});</code></pre><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>origclass</code> : Object<div class="sub-desc">The class to override</div></li><li><code>overrides</code> : Object<div class="sub-desc">The list of functions to add to origClass. This should be specified as an object literal\r
+containing one or more methods.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">Ext</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext-partition"></a><b><a href="source/Ext-more.html#method-Ext-partition">partition</a></b>( <code>Array|NodeList arr</code>, <span title="Optional" class="optional">[<code>Function truth</code>]</span> )\r
+ :\r
+ Array<div class="mdesc"><div class="short">Partitions the set into two sets: a true set and a false set.\r
+Example: \r
+Example2: \r
+// Example 1:\r
+Ext.partition([true,...</div><div class="long">Partitions the set into two sets: a true set and a false set.
+Example:
+Example2:
+<pre><code><i>// Example 1:</i>
+Ext.partition([true, false, true, true, false]); <i>// [[true, true, true], [false, false]]</i>