X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..HEAD:/docs/output/Ext.CompositeElementLite.js?ds=sidebyside diff --git a/docs/output/Ext.CompositeElementLite.js b/docs/output/Ext.CompositeElementLite.js index 18b274ea..f42b7401 100644 --- a/docs/output/Ext.CompositeElementLite.js +++ b/docs/output/Ext.CompositeElementLite.js @@ -1,399 +1 @@ -Ext.data.JsonP.Ext_CompositeElementLite({ - "tagname": "class", - "name": "Ext.CompositeElementLite", - "doc": "
This class encapsulates a collection of DOM elements, providing methods to filter\nmembers, or to perform collective actions upon the whole set.
\n\n\nAlthough they are not listed, this class supports all of the methods of Ext.core.Element and\nExt.fx.Anim. The methods from these classes will be performed on all the elements in this collection.
\n\n\nExample:
\n\nvar els = Ext.select(\"#some-el div.some-class\");\n// or select directly from an existing element\nvar el = Ext.get('some-el');\nel.select('div.some-class');\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
\n\n",
- "extends": null,
- "mixins": [
-
- ],
- "alternateClassNames": [
-
- ],
- "xtype": null,
- "author": null,
- "docauthor": null,
- "singleton": false,
- "private": false,
- "cfg": [
-
- ],
- "method": [
- {
- "tagname": "method",
- "name": "add",
- "member": "Ext.CompositeElementLite",
- "doc": "Adds elements to this Composite object.
\n", - "params": [ - { - "type": "Mixed", - "name": "els", - "doc": "Either an Array of DOM elements to add, or another Composite object who's elements should be added.
\n", - "optional": false - }, - { - "type": "Object", - "name": "root", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "CompositeElement", - "doc": "This Composite object.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 75, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-add", - "shortDoc": "Adds elements to this Composite object.
\n" - }, - { - "tagname": "method", - "name": "clear", - "member": "Ext.CompositeElementLite", - "doc": "Removes all elements.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 246, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-clear", - "shortDoc": "Removes all elements.
\n" - }, - { - "tagname": "method", - "name": "contains", - "member": "Ext.CompositeElementLite", - "doc": "Returns true if this composite contains the passed element
\n", - "params": [ - { - "type": "Object", - "name": "el", - "doc": "{Mixed} The id of an element, or an Ext.core.Element, or an HtmlElement to find within the composite collection.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "Boolean
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite-more.js", - "linenr": 35, - "html_filename": "CompositeElementLite-more.html", - "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-contains", - "shortDoc": "Returns true if this composite contains the passed element
\n" - }, - { - "tagname": "method", - "name": "each", - "member": "Ext.CompositeElementLite", - "doc": "Calls the passed function for each element in this composite.
\n\n", - "params": [ - { - "type": "Function", - "name": "fn", - "doc": "The function to call. The function is passed the following parameters:
(optional) The scope (this reference) in which the function is executed. (defaults to the Element)
\n", - "optional": true - } - ], - "return": { - "type": "CompositeElement", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 145, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-each", - "shortDoc": "Calls the passed function for each element in this composite.
\n\n" - }, - { - "tagname": "method", - "name": "fill", - "member": "Ext.CompositeElementLite", - "doc": "Clears this Composite and adds the elements passed.
\n", - "params": [ - { - "type": "Mixed", - "name": "els", - "doc": "Either an array of DOM elements, or another Composite from which to fill this Composite.
\n", - "optional": false - } - ], - "return": { - "type": "CompositeElement", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 175, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-fill", - "shortDoc": "Clears this Composite and adds the elements passed.
\n" - }, - { - "tagname": "method", - "name": "filter", - "member": "Ext.CompositeElementLite", - "doc": "Filters this composite to only elements that match the passed selector.
\n", - "params": [ - { - "type": "String/Function", - "name": "selector", - "doc": "A string CSS selector or a comparison function.\nThe comparison function will be called with the following arguments:
el
: Ext.core.Elementindex
: Numberthis
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 187, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-filter", - "shortDoc": "Filters this composite to only elements that match the passed selector.
\n" - }, - { - "tagname": "method", - "name": "first", - "member": "Ext.CompositeElementLite", - "doc": "Returns the first Element
\n", - "params": [ - - ], - "return": { - "type": "Ext.core.Element", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite-more.js", - "linenr": 19, - "html_filename": "CompositeElementLite-more.html", - "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-first", - "shortDoc": "Returns the first Element
\n" - }, - { - "tagname": "method", - "name": "getCount", - "member": "Ext.CompositeElementLite", - "doc": "Returns the number of elements in this Composite.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "Number
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 68, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-getCount", - "shortDoc": "Returns the number of elements in this Composite.
\n" - }, - { - "tagname": "method", - "name": "indexOf", - "member": "Ext.CompositeElementLite", - "doc": "Find the index of the passed element within the composite collection.
\n", - "params": [ - { - "type": "Object", - "name": "el", - "doc": "{Mixed} The id of an element, or an Ext.core.Element, or an HtmlElement to find within the composite collection.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "Number The index of the passed Ext.core.Element in the composite collection, or -1 if not found.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 214, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-indexOf", - "shortDoc": "Find the index of the passed element within the composite collection.
\n" - }, - { - "tagname": "method", - "name": "item", - "member": "Ext.CompositeElementLite", - "doc": "Returns a flyweight Element of the dom element object at the specified index
\n", - "params": [ - { - "type": "Number", - "name": "index", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Ext.core.Element", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 115, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-item", - "shortDoc": "Returns a flyweight Element of the dom element object at the specified index
\n" - }, - { - "tagname": "method", - "name": "last", - "member": "Ext.CompositeElementLite", - "doc": "Returns the last Element
\n", - "params": [ - - ], - "return": { - "type": "Ext.core.Element", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite-more.js", - "linenr": 27, - "html_filename": "CompositeElementLite-more.html", - "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-last", - "shortDoc": "Returns the last Element
\n" - }, - { - "tagname": "method", - "name": "removeElement", - "member": "Ext.CompositeElementLite", - "doc": "Removes the specified element(s).
\n", - "params": [ - { - "type": "Mixed", - "name": "el", - "doc": "The id of an element, the Element itself, the index of the element in this composite\nor an array of any of those.
\n", - "optional": false - }, - { - "type": "Boolean", - "name": "removeDom", - "doc": "(optional) True to also remove the element from the document
\n", - "optional": true - } - ], - "return": { - "type": "CompositeElement", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite-more.js", - "linenr": 44, - "html_filename": "CompositeElementLite-more.html", - "href": "CompositeElementLite-more.html#Ext-CompositeElementLite-method-removeElement", - "shortDoc": "Removes the specified element(s).
\n" - }, - { - "tagname": "method", - "name": "replaceElement", - "member": "Ext.CompositeElementLite", - "doc": "Replaces the specified element with the passed element.
\n", - "params": [ - { - "type": "Mixed", - "name": "el", - "doc": "The id of an element, the Element itself, the index of the element in this composite\nto replace.
\n", - "optional": false - }, - { - "type": "Mixed", - "name": "replacement", - "doc": "The id of an element or the Element itself.
\n", - "optional": false - }, - { - "type": "Boolean", - "name": "domReplace", - "doc": "(Optional) True to remove and replace the element in the document too.
\n", - "optional": false - } - ], - "return": { - "type": "CompositeElement", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 223, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-method-replaceElement", - "shortDoc": "Replaces the specified element with the passed element.
\n" - } - ], - "property": [ - { - "tagname": "property", - "name": "elements", - "member": "Ext.CompositeElementLite", - "type": "Array", - "doc": "The Array of DOM elements which this CompositeElement encapsulates. Read-only.
\n\n\nThis will not usually 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.
\n\n\nFor example to add the nextAll
method to the class to add all\nfollowing siblings of selected elements, the code would be
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});\n\n\n\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite.js", - "linenr": 20, - "html_filename": "CompositeElementLite.html", - "href": "CompositeElementLite.html#Ext-CompositeElementLite-property-elements", - "shortDoc": "The Array of DOM elements which this CompositeElement encapsulates. Read-only.\n\n\nThis will not usually be accessed in..." - } - ], - "event": [ - - ], - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/dom/CompositeElementLite-more.js", - "linenr": 1, - "html_filename": "CompositeElementLite-more.html", - "href": "CompositeElementLite-more.html#Ext-CompositeElementLite", - "cssVar": [ - - ], - "cssMixin": [ - - ], - "component": false, - "superclasses": [ - - ], - "subclasses": [ - "Ext.CompositeElement" - ], - "mixedInto": [ - - ], - "allMixins": [ - - ] -}); \ No newline at end of file +Ext.data.JsonP.Ext_CompositeElementLite({"tagname":"class","html":"
Files
This class encapsulates a collection of DOM elements, providing methods to filter\nmembers, or to perform collective actions upon the whole set.
\n\n\nAlthough they are not listed, this class supports all of the methods of Ext.Element and\nExt.fx.Anim. The methods from these classes will be performed on all the elements in this collection.
\n\n\nExample:
\n\nvar els = Ext.select(\"#some-el div.some-class\");\n// or select directly from an existing element\nvar el = Ext.get('some-el');\nel.select('div.some-class');\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
\n\nThe Array of DOM elements which this CompositeElement encapsulates. Read-only.
\n\n\nThis will not usually 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.
\n\n\nFor example to add the nextAll
method to the class to add all\nfollowing siblings of selected elements, the code would be
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});\n\n\n\n
Adds elements to this Composite object.
\nEither an Array of DOM elements to add, or another Composite object who's elements should be added.
\nThis Composite object.
\nReturns true if this composite contains the passed element
\n{String/HTMLElement/Ext.Element/Number} The id of an element, or an Ext.Element, or an HtmlElement to find within the composite collection.
\nCalls the passed function for each element in this composite.
\n\nThe function to call. The function is passed the following parameters:
The scope (this reference) in which the function is executed. (defaults to the Element)
\nthis
\nClears this Composite and adds the elements passed.
\nEither an array of DOM elements, or another Composite from which to fill this Composite.
\nthis
\nFilters this composite to only elements that match the passed selector.
\nA string CSS selector or a comparison function.\nThe comparison function will be called with the following arguments:
el
: Ext.Elementindex
: Numberthis
\nReturns the number of elements in this Composite.
\nFind the index of the passed element within the composite collection.
\n{Mixed} The id of an element, or an Ext.Element, or an HtmlElement to find within the composite collection.
\nReturns a flyweight Element of the dom element object at the specified index
\nRemoves the specified element(s).
\nThe id of an element, the Element itself, the index of the element in this composite\nor an array of any of those.
\nTrue to also remove the element from the document
\nthis
\nReplaces the specified element with the passed element.
\nThe id of an element, the Element itself, the index of the element in this composite\nto replace.
\nThe id of an element or the Element itself.
\nTrue to remove and replace the element in the document too.
\nthis
\n