- {
- "type": "Boolean",
- "name": "allowBlank",
- "doc": "<p>(optional) Pass true to allow null, undefined or empty string values</p>\n",
- "optional": true
- }
- ],
- "return": {
- "type": "Array",
- "doc": "<p>The unique values</p>\n"
- },
- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js",
- "linenr": 489,
- "html_filename": "AbstractMixedCollection.html",
- "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-collect",
- "shortDoc": "<p>Collects unique values of a particular property in this MixedCollection</p>\n"
- },
- {
- "tagname": "method",
- "name": "contains",
- "member": "Ext.util.AbstractMixedCollection",
- "doc": "<p>Returns true if the collection contains the passed Object as an item.</p>\n",
- "params": [
- {
- "type": "Object",
- "name": "o",
- "doc": "<p>The Object to look for in the collection.</p>\n",
- "optional": false
- }
- ],
- "return": {
- "type": "Boolean",
- "doc": "<p>True if the collection contains the Object as an item.</p>\n"
- },
- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js",
- "linenr": 417,
- "html_filename": "AbstractMixedCollection.html",
- "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-contains",
- "shortDoc": "<p>Returns true if the collection contains the passed Object as an item.</p>\n"
- },
- {
- "tagname": "method",
- "name": "containsKey",
- "member": "Ext.util.AbstractMixedCollection",
- "doc": "<p>Returns true if the collection contains the passed Object as a key.</p>\n",
- "params": [
- {
- "type": "String",
- "name": "key",
- "doc": "<p>The key to look for in the collection.</p>\n",
- "optional": false
- }
- ],
- "return": {
- "type": "Boolean",
- "doc": "<p>True if the collection contains the Object as a key.</p>\n"
- },
- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js",
- "linenr": 426,
- "html_filename": "AbstractMixedCollection.html",
- "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-containsKey",
- "shortDoc": "<p>Returns true if the collection contains the passed Object as a key.</p>\n"
- },
- {
- "tagname": "method",
- "name": "each",
- "member": "Ext.util.AbstractMixedCollection",
- "doc": "<p>Executes the specified function once for every item in the collection, passing the following arguments:</p>\n\n<div class=\"mdetail-params\"><ul>\n<li><b>item</b> : Mixed<p class=\"sub-desc\">The collection item</p></li>\n<li><b>index</b> : Number<p class=\"sub-desc\">The item's index</p></li>\n<li><b>length</b> : Number<p class=\"sub-desc\">The total number of items in the collection</p></li>\n</ul></div>\n\n\n<p>The function should return a boolean value. Returning false from the function will stop the iteration.</p>\n",
- "params": [
- {
- "type": "Function",
- "name": "fn",
- "doc": "<p>The function to execute for each item.</p>\n",
- "optional": false
- },
- {
- "type": "Object",
- "name": "scope",
- "doc": "<p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the current item in the iteration.</p>\n",
- "optional": true
- }
- ],
- "return": {
- "type": "void",
- "doc": "\n"
- },
- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js",
- "linenr": 196,
- "html_filename": "AbstractMixedCollection.html",
- "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-each",
- "shortDoc": "Executes the specified function once for every item in the collection, passing the following arguments:\n\n\nitem : Mixe..."
- },
- {
- "tagname": "method",
- "name": "eachKey",
- "member": "Ext.util.AbstractMixedCollection",
- "doc": "<p>Executes the specified function once for every key in the collection, passing each\nkey, and its associated item as the first two parameters.</p>\n",
- "params": [
- {
- "type": "Function",
- "name": "fn",
- "doc": "<p>The function to execute for each item.</p>\n",
- "optional": false
- },
- {
- "type": "Object",
- "name": "scope",
- "doc": "<p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the browser window.</p>\n",
- "optional": true
- }
- ],
- "return": {
- "type": "void",
- "doc": "\n"
- },
- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js",
- "linenr": 221,
- "html_filename": "AbstractMixedCollection.html",
- "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-eachKey",
- "shortDoc": "Executes the specified function once for every key in the collection, passing each\nkey, and its associated item as th..."
- },
- {
- "tagname": "method",
- "name": "enableBubble",
- "member": "Ext.util.Observable",
- "doc": "<p>Enables events fired by this Observable to bubble up an owner hierarchy by calling\n<code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>\n\n\n<p>This is commonly used by Ext.Components to bubble events to owner Containers. See <a href=\"#/api/Ext.Component-method-getBubbleTarget\" rel=\"Ext.Component-method-getBubbleTarget\" class=\"docClass\">Ext.Component.getBubbleTarget</a>. The default\nimplementation in <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Ext.Component</a> returns the Component's immediate owner. But if a known target is required, this can be overridden to\naccess the required target more quickly.</p>\n\n\n<p>Example:</p>\n\n\n<pre><code>Ext.override(Ext.form.field.Base, {\n// Add functionality to Field's initComponent to enable the change event to bubble\ninitComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {\n this.enableBubble('change');\n}),\n\n// We know that we want Field's events to bubble directly to the FormPanel.\ngetBubbleTarget : function() {\n if (!this.formPanel) {\n this.formPanel = this.findParentByType('form');\n }\n return this.formPanel;\n}\n});\n\nvar myForm = new Ext.formPanel({\ntitle: 'User Details',\nitems: [{\n ...\n}],\nlisteners: {\n change: function() {\n // Title goes red if form has been modified.\n myForm.header.setStyle('color', 'red');\n }\n}\n});\n</code></pre>\n\n",
- "params": [
- {
- "type": "String/Array",
- "name": "events",
- "doc": "<p>The event name to bubble, or an Array of event names.</p>\n",
- "optional": false
- }
- ],
- "return": {
- "type": "void",
- "doc": "\n"
- },
- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
- "linenr": 554,
- "html_filename": "Observable.html",
- "href": "Observable.html#Ext-util-Observable-method-enableBubble",
- "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling\nthis.getBubbleTarget() if present...."
- },
- {
- "tagname": "method",
- "name": "filter",
- "member": "Ext.util.AbstractMixedCollection",
- "doc": "<p>Filters the objects in this collection by a set of <a href=\"#/api/Ext.util.Filter\" rel=\"Ext.util.Filter\" class=\"docClass\">Filter</a>s, or by a single\nproperty/value pair with optional parameters for substring matching and case sensitivity. See\n<a href=\"#/api/Ext.util.Filter\" rel=\"Ext.util.Filter\" class=\"docClass\">Filter</a> for an example of using Filter objects (preferred). Alternatively,\nMixedCollection can be easily filtered by property like this:</p>\n\n\n<pre><code>//create a simple store with a few people defined\nvar people = new Ext.util.MixedCollection();\npeople.addAll([\n {id: 1, age: 25, name: 'Ed'},\n {id: 2, age: 24, name: 'Tommy'},\n {id: 3, age: 24, name: 'Arne'},\n {id: 4, age: 26, name: 'Aaron'}\n]);\n\n//a new MixedCollection containing only the items where age == 24\nvar middleAged = people.filter('age', 24);\n</code></pre>\n\n",
- "params": [
- {
- "type": "Array/String",
- "name": "property",
- "doc": "<p>A property on your objects, or an array of <a href=\"#/api/Ext.util.Filter\" rel=\"Ext.util.Filter\" class=\"docClass\">Filter</a> objects</p>\n",
- "optional": false
- },
- {
- "type": "String/RegExp",
- "name": "value",
- "doc": "<p>Either string that the property values\nshould start with or a RegExp to test against the property</p>\n",
- "optional": false
- },
- {