1 Ext.data.JsonP.Ext_CompositeElement({
17 "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-add",
18 "shortDoc": "Adds elements to this Composite object. ...",
20 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js",
26 "doc": "<p>Either an Array of DOM elements to add, or another Composite object who's elements should be added.</p>\n",
37 "owner": "Ext.CompositeElementLite",
38 "doc": "<p>Adds elements to this Composite object.</p>\n",
41 "type": "CompositeElement",
42 "doc": "<p>This Composite object.</p>\n"
44 "html_filename": "CompositeElementLite.html"
51 "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-clear",
52 "shortDoc": "Removes all elements. ...",
54 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js",
60 "owner": "Ext.CompositeElementLite",
61 "doc": "<p>Removes all elements.</p>\n",
67 "html_filename": "CompositeElementLite.html"
74 "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-contains",
75 "shortDoc": "Returns true if this composite contains the passed element ...",
77 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite-more.js",
83 "doc": "<p>{Mixed} The id of an element, or an <a href=\"#/api/Ext.core.Element\" rel=\"Ext.core.Element\" class=\"docClass\">Ext.core.Element</a>, or an HtmlElement to find within the composite collection.</p>\n",
88 "owner": "Ext.CompositeElementLite",
89 "doc": "<p>Returns true if this composite contains the passed element</p>\n",
93 "doc": "<p>Boolean</p>\n"
95 "html_filename": "CompositeElementLite-more.html"
102 "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-each",
103 "shortDoc": "Calls the passed function for each element in this composite. ...",
105 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js",
111 "doc": "<p>The function to call. The function is passed the following parameters:<ul>\n<li><b>el</b> : Element<div class=\"sub-desc\">The current Element in the iteration.\n<b>This is the flyweight (shared) <a href=\"#/api/Ext.core.Element\" rel=\"Ext.core.Element\" class=\"docClass\">Ext.core.Element</a> instance, so if you require a\na reference to the dom node, use el.dom.</b></div></li>\n<li><b>c</b> : Composite<div class=\"sub-desc\">This Composite object.</div></li>\n<li><b>idx</b> : Number<div class=\"sub-desc\">The zero-based index in the iteration.</div></li>\n</ul></p>\n",
117 "doc": "<p>(optional) The scope (<i>this</i> reference) in which the function is executed. (defaults to the Element)</p>\n",
122 "owner": "Ext.CompositeElementLite",
123 "doc": "<p>Calls the passed function for each element in this composite.</p>\n\n",
126 "type": "CompositeElement",
127 "doc": "<p>this</p>\n"
129 "html_filename": "CompositeElementLite.html"
136 "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-fill",
137 "shortDoc": "Clears this Composite and adds the elements passed. ...",
139 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js",
145 "doc": "<p>Either an array of DOM elements, or another Composite from which to fill this Composite.</p>\n",
150 "owner": "Ext.CompositeElementLite",
151 "doc": "<p>Clears this Composite and adds the elements passed.</p>\n",
154 "type": "CompositeElement",
155 "doc": "<p>this</p>\n"
157 "html_filename": "CompositeElementLite.html"
164 "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-filter",
165 "shortDoc": "Filters this composite to only elements that match the passed selector. ...",
167 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js",
171 "type": "String/Function",
173 "doc": "<p>A string CSS selector or a comparison function.\nThe comparison function will be called with the following arguments:<ul>\n<li><code>el</code> : Ext.core.Element<div class=\"sub-desc\">The current DOM element.</div></li>\n<li><code>index</code> : Number<div class=\"sub-desc\">The current index within the collection.</div></li>\n</ul></p>\n",
178 "owner": "Ext.CompositeElementLite",
179 "doc": "<p>Filters this composite to only elements that match the passed selector.</p>\n",
182 "type": "CompositeElement",
183 "doc": "<p>this</p>\n"
185 "html_filename": "CompositeElementLite.html"
192 "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-first",
193 "shortDoc": "Returns the first Element ...",
195 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite-more.js",
201 "owner": "Ext.CompositeElementLite",
202 "doc": "<p>Returns the first Element</p>\n",
205 "type": "Ext.core.Element",
208 "html_filename": "CompositeElementLite-more.html"
215 "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-getCount",
216 "shortDoc": "Returns the number of elements in this Composite. ...",
218 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js",
224 "owner": "Ext.CompositeElementLite",
225 "doc": "<p>Returns the number of elements in this Composite.</p>\n",
229 "doc": "<p>Number</p>\n"
231 "html_filename": "CompositeElementLite.html"
238 "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-indexOf",
239 "shortDoc": "Find the index of the passed element within the composite collection. ...",
241 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js",
247 "doc": "<p>{Mixed} The id of an element, or an <a href=\"#/api/Ext.core.Element\" rel=\"Ext.core.Element\" class=\"docClass\">Ext.core.Element</a>, or an HtmlElement to find within the composite collection.</p>\n",
252 "owner": "Ext.CompositeElementLite",
253 "doc": "<p>Find the index of the passed element within the composite collection.</p>\n",
257 "doc": "<p>Number The index of the passed <a href=\"#/api/Ext.core.Element\" rel=\"Ext.core.Element\" class=\"docClass\">Ext.core.Element</a> in the composite collection, or -1 if not found.</p>\n"
259 "html_filename": "CompositeElementLite.html"
266 "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-item",
267 "shortDoc": "Returns a flyweight Element of the dom element object at the specified index ...",
269 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js",
280 "owner": "Ext.CompositeElementLite",
281 "doc": "<p>Returns a flyweight Element of the dom element object at the specified index</p>\n",
284 "type": "Ext.core.Element",
287 "html_filename": "CompositeElementLite.html"
294 "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-last",
295 "shortDoc": "Returns the last Element ...",
297 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite-more.js",
303 "owner": "Ext.CompositeElementLite",
304 "doc": "<p>Returns the last Element</p>\n",
307 "type": "Ext.core.Element",
310 "html_filename": "CompositeElementLite-more.html"
317 "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-removeElement",
318 "shortDoc": "Removes the specified element(s). ...",
320 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite-more.js",
326 "doc": "<p>The id of an element, the Element itself, the index of the element in this composite\nor an array of any of those.</p>\n",
332 "doc": "<p>(optional) True to also remove the element from the document</p>\n",
336 "name": "removeElement",
337 "owner": "Ext.CompositeElementLite",
338 "doc": "<p>Removes the specified element(s).</p>\n",
341 "type": "CompositeElement",
342 "doc": "<p>this</p>\n"
344 "html_filename": "CompositeElementLite-more.html"
351 "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-replaceElement",
352 "shortDoc": "Replaces the specified element with the passed element. ...",
354 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js",
360 "doc": "<p>The id of an element, the Element itself, the index of the element in this composite\nto replace.</p>\n",
366 "doc": "<p>The id of an element or the Element itself.</p>\n",
367 "name": "replacement"
372 "doc": "<p>(Optional) True to remove and replace the element in the document too.</p>\n",
376 "name": "replaceElement",
377 "owner": "Ext.CompositeElementLite",
378 "doc": "<p>Replaces the specified element with the passed element.</p>\n",
381 "type": "CompositeElement",
382 "doc": "<p>this</p>\n"
384 "html_filename": "CompositeElementLite.html"
393 "tagname": "property",
394 "href": "CompositeElement2.html#Ext-CompositeElement-property-",
396 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElement.js",
399 "owner": "Ext.CompositeElement",
400 "doc": "<p>Iterates each <code>element</code> in this <code>composite</code> calling the supplied function using <a href=\"#/api/Ext-method-each\" rel=\"Ext-method-each\" class=\"docClass\">Ext.each</a>.</p>\n",
402 "html_filename": "CompositeElement2.html"
409 "tagname": "property",
410 "href": "CompositeElementLite.html#Ext-CompositeElementLite-property-elements",
411 "shortDoc": "The Array of DOM elements which this CompositeElement encapsulates. ...",
413 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElementLite.js",
416 "owner": "Ext.CompositeElementLite",
417 "doc": "<p>The Array of DOM elements which this CompositeElement encapsulates. Read-only.</p>\n\n\n<p>This will not <i>usually</i> be accessed in developers' code, but developers wishing\nto augment the capabilities of the CompositeElementLite class may use it when adding\nmethods to the class.</p>\n\n\n<p>For example to add the <code>nextAll</code> method to the class to <b>add</b> all\nfollowing siblings of selected elements, the code would be</p>\n\n\n<p><code></p>\n\n<pre>Ext.override(Ext.CompositeElementLite, {\n nextAll: function() {\n var els = this.elements, i, l = els.length, n, r = [], ri = -1;\n\n// Loop through all elements in this Composite, accumulating\n// an Array of all siblings.\n for (i = 0; i < l; i++) {\n for (n = els[i].nextSibling; n; n = n.nextSibling) {\n r[++ri] = n;\n }\n }\n\n// Add all found siblings to this Composite\n return this.add(r);\n }\n});</pre>\n\n\n<p></code></p>\n",
419 "html_filename": "CompositeElementLite.html"
435 "Ext.CompositeElementLite"
442 "href": "CompositeElement2.html#Ext-CompositeElement",
449 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/dom/CompositeElement.js",
451 "alternateClassNames": [
454 "name": "Ext.CompositeElement",
455 "doc": "<p>This class encapsulates a <i>collection</i> of DOM elements, providing methods to filter\nmembers, or to perform collective actions upon the whole set.</p>\n\n\n<p>Although they are not listed, this class supports all of the methods of <a href=\"#/api/Ext.core.Element\" rel=\"Ext.core.Element\" class=\"docClass\">Ext.core.Element</a> and\n<a href=\"#/api/Ext.fx.Anim\" rel=\"Ext.fx.Anim\" class=\"docClass\">Ext.fx.Anim</a>. The methods from these classes will be performed on all the elements in this collection.</p>\n\n\n<p>All methods return <i>this</i> and can be chained.</p>\n\n\n<p>Usage:</p>\n\n<pre><code>var els = Ext.select(\"#some-el div.some-class\", true);\n// or select directly from an existing element\nvar el = Ext.get('some-el');\nel.select('div.some-class', true);\n\nels.setWidth(100); // all elements become 100 width\nels.hide(true); // all elements fade out and hide\n// or\nels.setWidth(100).hide(true);\n</code></pre>\n\n",
463 "html_filename": "CompositeElement2.html",
464 "extends": "Ext.CompositeElementLite"