text: Ext.data.JsonP.Ext_util_AbstractMixedCollection({"tagname":"class","name":"Ext.util.AbstractMixedCollection","autodetected":{},"files":[{"filename":"AbstractMixedCollection.js","href":"AbstractMixedCollection.html#Ext-util-AbstractMixedCollection"}],"private":true,"members":[{"name":"allowFunctions","tagname":"cfg","owner":"Ext.util.AbstractMixedCollection","id":"cfg-allowFunctions","meta":{}},{"name":"generation","tagname":"property","owner":"Ext.util.AbstractMixedCollection","id":"property-generation","meta":{"private":true}},{"name":"indexGeneration","tagname":"property","owner":"Ext.util.AbstractMixedCollection","id":"property-indexGeneration","meta":{"private":true}},{"name":"isMixedCollection","tagname":"property","owner":"Ext.util.AbstractMixedCollection","id":"property-isMixedCollection","meta":{}},{"name":"add","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-add","meta":{}},{"name":"addAll","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-addAll","meta":{}},{"name":"clear","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-clear","meta":{}},{"name":"clone","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-clone","meta":{}},{"name":"collect","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-collect","meta":{}},{"name":"contains","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-contains","meta":{}},{"name":"containsKey","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-containsKey","meta":{}},{"name":"createValueMatcher","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-createValueMatcher","meta":{"private":true}},{"name":"each","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-each","meta":{}},{"name":"eachKey","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-eachKey","meta":{}},{"name":"extractValues","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-extractValues","meta":{"private":true}},{"name":"filter","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-filter","meta":{}},{"name":"filterBy","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-filterBy","meta":{}},{"name":"find","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-find","meta":{"deprecated":{"text":"<p>Use <a href=\"#!/api/Ext.util.AbstractMixedCollection-method-findBy\" rel=\"Ext.util.AbstractMixedCollection-method-findBy\" class=\"docClass\">findBy</a> instead.</p>\n","version":"4.0"}}},{"name":"findBy","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-findBy","meta":{}},{"name":"findIndex","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-findIndex","meta":{}},{"name":"findIndexBy","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-findIndexBy","meta":{}},{"name":"first","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-first","meta":{}},{"name":"get","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-get","meta":{}},{"name":"getAt","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-getAt","meta":{}},{"name":"getByKey","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-getByKey","meta":{}},{"name":"getCount","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-getCount","meta":{}},{"name":"getKey","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-getKey","meta":{"template":true}},{"name":"getRange","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-getRange","meta":{}},{"name":"hasRange","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-hasRange","meta":{"private":true}},{"name":"indexOf","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-indexOf","meta":{}},{"name":"indexOfKey","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-indexOfKey","meta":{}},{"name":"insert","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-insert","meta":{}},{"name":"last","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-last","meta":{}},{"name":"remove","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-remove","meta":{}},{"name":"removeAll","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-removeAll","meta":{}},{"name":"removeAt","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-removeAt","meta":{}},{"name":"removeAtKey","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-removeAtKey","meta":{}},{"name":"removeRange","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-removeRange","meta":{}},{"name":"reorder","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-reorder","meta":{}},{"name":"replace","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-replace","meta":{}},{"name":"sum","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-sum","meta":{}},{"name":"updateKey","tagname":"method","owner":"Ext.util.AbstractMixedCollection","id":"method-updateKey","meta":{}},{"name":"add","tagname":"event","owner":"Ext.util.AbstractMixedCollection","id":"event-add","meta":{}},{"name":"clear","tagname":"event","owner":"Ext.util.AbstractMixedCollection","id":"event-clear","meta":{}},{"name":"remove","tagname":"event","owner":"Ext.util.AbstractMixedCollection","id":"event-remove","meta":{}},{"name":"replace","tagname":"event","owner":"Ext.util.AbstractMixedCollection","id":"event-replace","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Ext.util.AbstractMixedCollection","component":false,"superclasses":[],"subclasses":["Ext.util.MixedCollection"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Subclasses</h4><div class='dependency'><a href='#!/api/Ext.util.MixedCollection' rel='Ext.util.MixedCollection' class='docClass'>Ext.util.MixedCollection</a></div><h4>Files</h4><div class='dependency'><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection' target='_blank'>AbstractMixedCollection.js</a></div></pre><div class='doc-contents'><div class='rounded-box private-box'><p><strong>NOTE:</strong> This is a private utility class for internal use by the framework. Don't rely on its existence.</p></div>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-allowFunctions' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-cfg-allowFunctions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-cfg-allowFunctions' class='name expandable'>allowFunctions</a> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Specify true if the addAll\nfunction should add function references to the collection. ...</div><div class='long'><p>Specify <code>true</code> if the <a href=\"#!/api/Ext.util.AbstractMixedCollection-method-addAll\" rel=\"Ext.util.AbstractMixedCollection-method-addAll\" class=\"docClass\">addAll</a>\nfunction should add function references to the collection. Defaults to\n<code>false</code>.</p>\n<p>Defaults to: <code>false</code></p>        <p>Available since: <b>3.4.0</b></p>\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-generation' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-property-generation' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-property-generation' class='name expandable'>generation</a> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Mutation counter which is incremented upon add and remove. ...</div><div class='long'><p>Mutation counter which is incremented upon add and remove.</p>\n<p>Defaults to: <code>0</code></p></div></div></div><div id='property-indexGeneration' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-property-indexGeneration' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-property-indexGeneration' class='name expandable'>indexGeneration</a> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Mutation counter for the index map which is synchronized with the collection's mutation counter\nwhen the index map is...</div><div class='long'><p>Mutation counter for the index map which is synchronized with the collection's mutation counter\nwhen the index map is interrogated and found to be out of sync and needed a rebuild.</p>\n<p>Defaults to: <code>0</code></p></div></div></div><div id='property-isMixedCollection' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-property-isMixedCollection' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-property-isMixedCollection' class='name expandable'>isMixedCollection</a> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a><span class=\"signature\"></span></div><div class='description'><div class='short'>true in this class to identify an object as an instantiated MixedCollection, or subclass thereof. ...</div><div class='long'><p><code>true</code> in this class to identify an object as an instantiated MixedCollection, or subclass thereof.</p>\n<p>Defaults to: <code>true</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-add' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-add' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-add' class='name expandable'>add</a>( <span class='pre'>key, [obj]</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Adds an item to the collection. ...</div><div class='long'><p>Adds an item to the collection. Fires the <a href=\"#!/api/Ext.util.AbstractMixedCollection-event-add\" rel=\"Ext.util.AbstractMixedCollection-event-add\" class=\"docClass\">add</a> event when complete.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a>/<a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The key to associate with the item, or the new item.</p>\n\n<p>If a <a href=\"#!/api/Ext.util.AbstractMixedCollection-method-getKey\" rel=\"Ext.util.AbstractMixedCollection-method-getKey\" class=\"docClass\">getKey</a> implementation was specified for this MixedCollection,\nor if the key of the stored items is in a property called <code>id</code>,\nthe MixedCollection will be able to <em>derive</em> the key for the new item.\nIn this case just pass the new item in this parameter.</p>\n</div></li><li><span class='pre'>obj</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a> (optional)<div class='sub-desc'><p>The item to add.</p>\n\n<p>Note that when adding a value that is iterable, it must be wrapped in brackets, i.e.:</p>\n\n<pre><code>c.add([[1, 2]]);\n</code></pre>\n\n<p>This will be needed for any value that is iterable, i.e., an array, arguments object,\nHTML collections, etc.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>The item added.</p>\n</div></li></ul></div></div></div><div id='method-addAll' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-addAll' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-addAll' class='name expandable'>addAll</a>( <span class='pre'>objs</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Adds all elements of an Array or an Object to the collection. ...</div><div class='long'><p>Adds all elements of an Array or an Object to the collection.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>objs</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a>/<a href=\"#!/api/Array\" rel=\"Array\" class=\"docClass\">Array</a><div class='sub-desc'><p>An Object containing properties which will be added\nto the collection, or an Array of values, each of which are added to the collection.\nFunctions references will be added to the collection if <code><a href=\"#!/api/Ext.util.AbstractMixedCollection-cfg-allowFunctions\" rel=\"Ext.util.AbstractMixedCollection-cfg-allowFunctions\" class=\"docClass\">allowFunctions</a></code>\nhas been set to <code>true</code>.</p>\n</div></li></ul></div></div></div><div id='method-clear' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-clear' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-clear' class='name expandable'>clear</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Removes all items from the collection. ...</div><div class='long'><p>Removes all items from the collection.  Fires the <a href=\"#!/api/Ext.util.AbstractMixedCollection-event-clear\" rel=\"Ext.util.AbstractMixedCollection-event-clear\" class=\"docClass\">clear</a> event when complete.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Ext.util.AbstractMixedCollection-event-clear\" rel=\"Ext.util.AbstractMixedCollection-event-clear\" class=\"docClass\">clear</a></li></ul></div></div></div><div id='method-clone' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-clone' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-clone' class='name expandable'>clone</a>( <span class='pre'></span> ) : <a href=\"#!/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Creates a shallow copy of this collection ...</div><div class='long'><p>Creates a shallow copy of this collection</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-collect' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-collect' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-collect' class='name expandable'>collect</a>( <span class='pre'>property, [root], [allowBlank]</span> ) : <a href=\"#!/api/Array\" rel=\"Array\" class=\"docClass\">Array</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Collects unique values of a particular property in this MixedCollection ...</div><div class='long'><p>Collects unique values of a particular property in this MixedCollection</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>property</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The property to collect on</p>\n</div></li><li><span class='pre'>root</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> (optional)<div class='sub-desc'><p>'root' property to extract the first argument from. This is used mainly when\nsumming fields in records, where the fields are all stored inside the 'data' object</p>\n</div></li><li><span class='pre'>allowBlank</span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a> (optional)<div class='sub-desc'><p>Pass true to allow null, undefined or empty string values</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Array\" rel=\"Array\" class=\"docClass\">Array</a></span><div class='sub-desc'><p>The unique values</p>\n</div></li></ul></div></div></div><div id='method-contains' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-contains' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-contains' class='name expandable'>contains</a>( <span class='pre'>o</span> ) : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns true if the collection contains the passed Object as an item. ...</div><div class='long'><p>Returns true if the collection contains the passed Object as an item.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>o</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The Object to look for in the collection.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span><div class='sub-desc'><p>True if the collection contains the Object as an item.</p>\n</div></li></ul></div></div></div><div id='method-containsKey' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-containsKey' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-containsKey' class='name expandable'>containsKey</a>( <span class='pre'>key</span> ) : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns true if the collection contains the passed Object as a key. ...</div><div class='long'><p>Returns true if the collection contains the passed Object as a key.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The key to look for in the collection.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span><div class='sub-desc'><p>True if the collection contains the Object as a key.</p>\n</div></li></ul></div></div></div><div id='method-createValueMatcher' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-createValueMatcher' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-createValueMatcher' class='name expandable'>createValueMatcher</a>( <span class='pre'>value, anyMatch, caseSensitive, exactMatch</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Returns a regular expression based on the given value and matching options. ...</div><div class='long'><p>Returns a regular expression based on the given value and matching options. This is used internally for finding and filtering,\nand by Ext.data.Store#filter</p>\n        <p>Available since: <b>3.4.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>value</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The value to create the regex for. This is escaped using Ext.escapeRe</p>\n</div></li><li><span class='pre'>anyMatch</span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a><div class='sub-desc'><p>True to allow any match - no regex start/end line anchors will be added. Defaults to false</p>\n</div></li><li><span class='pre'>caseSensitive</span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a><div class='sub-desc'><p>True to make the regex case sensitive (adds 'i' switch to regex). Defaults to false.</p>\n</div></li><li><span class='pre'>exactMatch</span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a><div class='sub-desc'><p>True to force exact match (^ and $ characters added to the regex). Defaults to false. Ignored if anyMatch is true.</p>\n</div></li></ul></div></div></div><div id='method-each' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-each' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-each' class='name expandable'>each</a>( <span class='pre'>fn, [scope]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Executes the specified function once for every item in the collection. ...</div><div class='long'><p>Executes the specified function once for every item in the collection.\nThe function should return a boolean value.\nReturning false from the function will stop the iteration.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>fn</span> : <a href=\"#!/api/Function\" rel=\"Function\" class=\"docClass\">Function</a><div class='sub-desc'><p>The function to execute for each item.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>item</span> : Mixed<div class='sub-desc'><p>The collection item.</p>\n</div></li><li><span class='pre'>index</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>The index of item.</p>\n</div></li><li><span class='pre'>len</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>Total length of collection.</p>\n</div></li></ul></div></li><li><span class='pre'>scope</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a> (optional)<div class='sub-desc'><p>The scope (<code>this</code> reference)\nin which the function is executed. Defaults to the current item in the iteration.</p>\n</div></li></ul></div></div></div><div id='method-eachKey' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-eachKey' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-eachKey' class='name expandable'>eachKey</a>( <span class='pre'>fn, [scope]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Executes the specified function once for every key in the collection, passing each\nkey, and its associated item as th...</div><div class='long'><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        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>fn</span> : <a href=\"#!/api/Function\" rel=\"Function\" class=\"docClass\">Function</a><div class='sub-desc'><p>The function to execute for each item.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The key of collection item.</p>\n</div></li><li><span class='pre'>item</span> : Mixed<div class='sub-desc'><p>The collection item.</p>\n</div></li><li><span class='pre'>index</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>The index of item.</p>\n</div></li><li><span class='pre'>len</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>Total length of collection.</p>\n</div></li></ul></div></li><li><span class='pre'>scope</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a> (optional)<div class='sub-desc'><p>The scope (<code>this</code> reference) in which the\nfunction is executed. Defaults to the browser window.</p>\n</div></li></ul></div></div></div><div id='method-extractValues' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-extractValues' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-extractValues' class='name expandable'>extractValues</a>( <span class='pre'>property, [root]</span> ) : <a href=\"#!/api/Array\" rel=\"Array\" class=\"docClass\">Array</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Extracts all of the given property values from the items in the MC. ...</div><div class='long'><p>Extracts all of the given property values from the items in the MC. Mainly used as a supporting method for\nfunctions like sum and collect.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>property</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The property to extract</p>\n</div></li><li><span class='pre'>root</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> (optional)<div class='sub-desc'><p>'root' property to extract the first argument from. This is used mainly when\nextracting field data from Model instances, where the fields are stored inside the 'data' object</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Array\" rel=\"Array\" class=\"docClass\">Array</a></span><div class='sub-desc'><p>The extracted values</p>\n</div></li></ul></div></div></div><div id='method-filter' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-filter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-filter' class='name expandable'>filter</a>( <span class='pre'>property, value, [anyMatch], [caseSensitive]</span> ) : <a href=\"#!/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Filters the objects in this collection by a set of Filters, or by a single\nproperty/value pair with optional paramete...</div><div class='long'><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 <a href=\"#!/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a>();\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        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>property</span> : <a href=\"#!/api/Ext.util.Filter\" rel=\"Ext.util.Filter\" class=\"docClass\">Ext.util.Filter</a>[]/<a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><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</div></li><li><span class='pre'>value</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a>/<a href=\"#!/api/RegExp\" rel=\"RegExp\" class=\"docClass\">RegExp</a><div class='sub-desc'><p>Either string that the property values\nshould start with or a RegExp to test against the property</p>\n</div></li><li><span class='pre'>anyMatch</span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a> (optional)<div class='sub-desc'><p>True to match any part of the string, not just the beginning</p>\n<p>Defaults to: <code>false</code></p></div></li><li><span class='pre'>caseSensitive</span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a> (optional)<div class='sub-desc'><p>True for case sensitive comparison.</p>\n<p>Defaults to: <code>false</code></p></div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a></span><div class='sub-desc'><p>The new filtered collection</p>\n</div></li></ul></div></div></div><div id='method-filterBy' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-filterBy' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-filterBy' class='name expandable'>filterBy</a>( <span class='pre'>fn, [scope]</span> ) : <a href=\"#!/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Filter by a function. ...</div><div class='long'><p>Filter by a function. Returns a <i>new</i> collection that has been filtered.\nThe passed function will be called with each object in the collection.\nIf the function returns true, the value is included otherwise it is filtered.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>fn</span> : <a href=\"#!/api/Function\" rel=\"Function\" class=\"docClass\">Function</a><div class='sub-desc'><p>The function to be called.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>item</span> : Mixed<div class='sub-desc'><p>The collection item.</p>\n</div></li><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The key of collection item.</p>\n</div></li></ul></div></li><li><span class='pre'>scope</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a> (optional)<div class='sub-desc'><p>The scope (<code>this</code> reference) in\nwhich the function is executed. Defaults to this MixedCollection.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a></span><div class='sub-desc'><p>The new filtered collection</p>\n</div></li></ul></div></div></div><div id='method-find' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-find' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-find' class='name expandable'>find</a>( <span class='pre'></span> )<span class=\"signature\"><span class='deprecated' >deprecated</span></span></div><div class='description'><div class='short'>Returns the first item in the collection which elicits a true return value from the passed selection function. ...</div><div class='long'><p>Returns the first item in the collection which elicits a true return value from the passed selection function.</p>\n        <p>Available since: <b>1.1.0</b></p>\n        <div class='rounded-box deprecated-box deprecated-tag-box'>\n        <p>This method has been <strong>deprected</strong> since 4.0</p>\n        <p>Use <a href=\"#!/api/Ext.util.AbstractMixedCollection-method-findBy\" rel=\"Ext.util.AbstractMixedCollection-method-findBy\" class=\"docClass\">findBy</a> instead.</p>\n\n        </div>\n</div></div></div><div id='method-findBy' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-findBy' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-findBy' class='name expandable'>findBy</a>( <span class='pre'>fn, [scope]</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the first item in the collection which elicits a true return value from the\npassed selection function. ...</div><div class='long'><p>Returns the first item in the collection which elicits a true return value from the\npassed selection function.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>fn</span> : <a href=\"#!/api/Function\" rel=\"Function\" class=\"docClass\">Function</a><div class='sub-desc'><p>The selection function to execute for each item.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>item</span> : Mixed<div class='sub-desc'><p>The collection item.</p>\n</div></li><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The key of collection item.</p>\n</div></li></ul></div></li><li><span class='pre'>scope</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a> (optional)<div class='sub-desc'><p>The scope (<code>this</code> reference) in which the\nfunction is executed. Defaults to the browser window.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>The first item in the collection which returned true from the selection\nfunction, or null if none was found.</p>\n</div></li></ul></div></div></div><div id='method-findIndex' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-findIndex' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-findIndex' class='name expandable'>findIndex</a>( <span class='pre'>property, value, [start], [anyMatch], [caseSensitive]</span> ) : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Finds the index of the first matching object in this collection by a specific property/value. ...</div><div class='long'><p>Finds the index of the first matching object in this collection by a specific property/value.</p>\n        <p>Available since: <b>2.3.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>property</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The name of a property on your objects.</p>\n</div></li><li><span class='pre'>value</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a>/<a href=\"#!/api/RegExp\" rel=\"RegExp\" class=\"docClass\">RegExp</a><div class='sub-desc'><p>A string that the property values\nshould start with or a RegExp to test against the property.</p>\n</div></li><li><span class='pre'>start</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> (optional)<div class='sub-desc'><p>The index to start searching at.</p>\n<p>Defaults to: <code>0</code></p></div></li><li><span class='pre'>anyMatch</span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a> (optional)<div class='sub-desc'><p>True to match any part of the string, not just the beginning.</p>\n<p>Defaults to: <code>false</code></p></div></li><li><span class='pre'>caseSensitive</span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a> (optional)<div class='sub-desc'><p>True for case sensitive comparison.</p>\n<p>Defaults to: <code>false</code></p></div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span><div class='sub-desc'><p>The matched index or -1</p>\n</div></li></ul></div></div></div><div id='method-findIndexBy' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-findIndexBy' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-findIndexBy' class='name expandable'>findIndexBy</a>( <span class='pre'>fn, [scope], [start]</span> ) : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Find the index of the first matching object in this collection by a function. ...</div><div class='long'><p>Find the index of the first matching object in this collection by a function.\nIf the function returns <i>true</i> it is considered a match.</p>\n        <p>Available since: <b>2.3.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>fn</span> : <a href=\"#!/api/Function\" rel=\"Function\" class=\"docClass\">Function</a><div class='sub-desc'><p>The function to be called.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>item</span> : Mixed<div class='sub-desc'><p>The collection item.</p>\n</div></li><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The key of collection item.</p>\n</div></li></ul></div></li><li><span class='pre'>scope</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a> (optional)<div class='sub-desc'><p>The scope (<code>this</code> reference) in which the function is executed. Defaults to this MixedCollection.</p>\n</div></li><li><span class='pre'>start</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> (optional)<div class='sub-desc'><p>The index to start searching at.</p>\n<p>Defaults to: <code>0</code></p></div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span><div class='sub-desc'><p>The matched index or -1</p>\n</div></li></ul></div></div></div><div id='method-first' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-first' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-first' class='name expandable'>first</a>( <span class='pre'></span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the first item in the collection. ...</div><div class='long'><p>Returns the first item in the collection.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>the first item in the collection..</p>\n</div></li></ul></div></div></div><div id='method-get' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-get' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-get' class='name expandable'>get</a>( <span class='pre'>key</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the item associated with the passed key OR index. ...</div><div class='long'><p>Returns the item associated with the passed key OR index.\nKey has priority over index.  This is the equivalent\nof calling <a href=\"#!/api/Ext.util.AbstractMixedCollection-method-getByKey\" rel=\"Ext.util.AbstractMixedCollection-method-getByKey\" class=\"docClass\">getByKey</a> first, then if nothing matched calling <a href=\"#!/api/Ext.util.AbstractMixedCollection-method-getAt\" rel=\"Ext.util.AbstractMixedCollection-method-getAt\" class=\"docClass\">getAt</a>.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a>/<a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>The key or index of the item.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>If the item is found, returns the item.  If the item was not found, returns <code>undefined</code>.\nIf an item was found, but is a Class, returns <code>null</code>.</p>\n</div></li></ul></div></div></div><div id='method-getAt' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-getAt' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-getAt' class='name expandable'>getAt</a>( <span class='pre'>index</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the item at the specified index. ...</div><div class='long'><p>Returns the item at the specified index.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>index</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>The index of the item.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>The item at the specified index.</p>\n</div></li></ul></div></div></div><div id='method-getByKey' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-getByKey' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-getByKey' class='name expandable'>getByKey</a>( <span class='pre'>key</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the item associated with the passed key. ...</div><div class='long'><p>Returns the item associated with the passed key.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a>/<a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>The key of the item.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>The item associated with the passed key.</p>\n</div></li></ul></div></div></div><div id='method-getCount' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-getCount' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-getCount' class='name expandable'>getCount</a>( <span class='pre'></span> ) : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the number of items in the collection. ...</div><div class='long'><p>Returns the number of items in the collection.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span><div class='sub-desc'><p>the number of items in the collection.</p>\n</div></li></ul></div></div></div><div id='method-getKey' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-getKey' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-getKey' class='name expandable'>getKey</a>( <span class='pre'>item</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'>A function which will be called, passing a newly added object\nwhen the object is added without a separate id. ...</div><div class='long'><p>A function which will be called, passing a newly added object\nwhen the object is added without a separate id.  The function\nshould yield the key by which that object will be indexed.</p>\n\n<p>If no key is yielded, then the object will be added, but it\ncannot be accessed or removed quickly. Finding it in this\ncollection for interrogation or removal will require a linear\nscan of this collection's items.</p>\n\n<p>The default implementation simply returns <code>item.id</code> but you can\nprovide your own implementation to return a different value as\nin the following examples:</p>\n\n<pre><code>// normal way\nvar mc = new <a href=\"#!/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a>();\nmc.add(someEl.dom.id, someEl);\nmc.add(otherEl.dom.id, otherEl);\n//and so on\n\n// using getKey\nvar mc = new <a href=\"#!/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a>({\n    getKey: function(el){\n        return el.dom.id;\n    }\n});\nmc.add(someEl);\nmc.add(otherEl);\n</code></pre>\n        <p>Available since: <b>1.1.0</b></p>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>item</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The item for which to find the key.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>The key for the passed item.</p>\n</div></li></ul></div></div></div><div id='method-getRange' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-getRange' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-getRange' class='name expandable'>getRange</a>( <span class='pre'>[startIndex], [endIndex]</span> ) : <a href=\"#!/api/Array\" rel=\"Array\" class=\"docClass\">Array</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns a range of items in this collection ...</div><div class='long'><p>Returns a range of items in this collection</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>startIndex</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> (optional)<div class='sub-desc'><p>The starting index. Defaults to 0.</p>\n</div></li><li><span class='pre'>endIndex</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> (optional)<div class='sub-desc'><p>The ending index. Defaults to the last item.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Array\" rel=\"Array\" class=\"docClass\">Array</a></span><div class='sub-desc'><p>An array of items</p>\n</div></li></ul></div></div></div><div id='method-hasRange' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-hasRange' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-hasRange' class='name expandable'>hasRange</a>( <span class='pre'>start, end</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>For API parity with Store's PageMap class. ...</div><div class='long'><p>For API parity with Store's PageMap class. Buffered rendering checks if the Store has the range\nrequired to render. The Store delegates this question to its backing data object which may be an instance\nof its private PageMap class, or a MixedCollection.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>start</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'></div></li><li><span class='pre'>end</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'></div></li></ul></div></div></div><div id='method-indexOf' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-indexOf' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-indexOf' class='name expandable'>indexOf</a>( <span class='pre'>o</span> ) : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns index within the collection of the passed Object. ...</div><div class='long'><p>Returns index within the collection of the passed Object.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>o</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The item to find the index of.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span><div class='sub-desc'><p>index of the item. Returns -1 if not found.</p>\n</div></li></ul></div></div></div><div id='method-indexOfKey' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-indexOfKey' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-indexOfKey' class='name expandable'>indexOfKey</a>( <span class='pre'>key</span> ) : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns index within the collection of the passed key. ...</div><div class='long'><p>Returns index within the collection of the passed key.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The key to find the index of.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span><div class='sub-desc'><p>index of the key.</p>\n</div></li></ul></div></div></div><div id='method-insert' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-insert' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-insert' class='name expandable'>insert</a>( <span class='pre'>index, key, [o]</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Inserts an item at the specified index in the collection. ...</div><div class='long'><p>Inserts an item at the specified index in the collection. Fires the <a href=\"#!/api/Ext.util.AbstractMixedCollection-event-add\" rel=\"Ext.util.AbstractMixedCollection-event-add\" class=\"docClass\">add</a> event when complete.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>index</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>The index to insert the item at.</p>\n</div></li><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a>/<a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a>/<a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a>[]/<a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a>[]<div class='sub-desc'><p>The key to associate with the new item, or the item itself.\nMay also be an array of either to insert multiple items at once.</p>\n</div></li><li><span class='pre'>o</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a>/<a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a>[] (optional)<div class='sub-desc'><p>If the second parameter was a key, the new item.\nMay also be an array to insert multiple items at once.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>The item inserted or an array of items inserted.</p>\n</div></li></ul></div></div></div><div id='method-last' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-last' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-last' class='name expandable'>last</a>( <span class='pre'></span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the last item in the collection. ...</div><div class='long'><p>Returns the last item in the collection.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>the last item in the collection..</p>\n</div></li></ul></div></div></div><div id='method-remove' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-remove' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-remove' class='name expandable'>remove</a>( <span class='pre'>o</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Remove an item from the collection. ...</div><div class='long'><p>Remove an item from the collection.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>o</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The item to remove.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>The item removed or false if no item was removed.</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Ext.util.AbstractMixedCollection-event-remove\" rel=\"Ext.util.AbstractMixedCollection-event-remove\" class=\"docClass\">remove</a></li></ul></div></div></div><div id='method-removeAll' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-removeAll' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-removeAll' class='name expandable'>removeAll</a>( <span class='pre'>[items]</span> ) : <a href=\"#!/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Remove all items in the collection. ...</div><div class='long'><p>Remove all items in the collection. Can also be used\nto remove only the items in the passed array.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>items</span> : <a href=\"#!/api/Array\" rel=\"Array\" class=\"docClass\">Array</a> (optional)<div class='sub-desc'><p>An array of items to be removed.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Ext.util.MixedCollection\" rel=\"Ext.util.MixedCollection\" class=\"docClass\">Ext.util.MixedCollection</a></span><div class='sub-desc'><p>this object</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Ext.util.AbstractMixedCollection-event-remove\" rel=\"Ext.util.AbstractMixedCollection-event-remove\" class=\"docClass\">remove</a></li></ul></div></div></div><div id='method-removeAt' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-removeAt' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-removeAt' class='name expandable'>removeAt</a>( <span class='pre'>index</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Remove an item from a specified index in the collection. ...</div><div class='long'><p>Remove an item from a specified index in the collection. Fires the <a href=\"#!/api/Ext.util.AbstractMixedCollection-event-remove\" rel=\"Ext.util.AbstractMixedCollection-event-remove\" class=\"docClass\">remove</a> event when complete.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>index</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>The index within the collection of the item to remove.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>The item removed or false if no item was removed.</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Ext.util.AbstractMixedCollection-event-remove\" rel=\"Ext.util.AbstractMixedCollection-event-remove\" class=\"docClass\">remove</a></li></ul></div></div></div><div id='method-removeAtKey' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-removeAtKey' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-removeAtKey' class='name expandable'>removeAtKey</a>( <span class='pre'>key</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Removes an item associated with the passed key fom the collection. ...</div><div class='long'><p>Removes an item associated with the passed key fom the collection.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The key of the item to remove. If <code>null</code> is passed,\nall objects which yielded no key from the configured <a href=\"#!/api/Ext.util.AbstractMixedCollection-method-getKey\" rel=\"Ext.util.AbstractMixedCollection-method-getKey\" class=\"docClass\">getKey</a> function are removed.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>Only returned if removing at a specified key. The item removed or false if no item was removed.</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Ext.util.AbstractMixedCollection-event-remove\" rel=\"Ext.util.AbstractMixedCollection-event-remove\" class=\"docClass\">remove</a></li></ul></div></div></div><div id='method-removeRange' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-removeRange' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-removeRange' class='name expandable'>removeRange</a>( <span class='pre'>index, [removeCount]</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Remove a range of items starting at a specified index in the collection. ...</div><div class='long'><p>Remove a range of items starting at a specified index in the collection.\nDoes not fire the remove event.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>index</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>The index within the collection of the item to remove.</p>\n</div></li><li><span class='pre'>removeCount</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> (optional)<div class='sub-desc'><p>The nuber of items to remove beginning at the specified index.</p>\n<p>Defaults to: <code>1</code></p></div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>The last item removed or false if no item was removed.</p>\n</div></li></ul></div></div></div><div id='method-reorder' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-reorder' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-reorder' class='name expandable'>reorder</a>( <span class='pre'>mapping</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Reorders each of the items based on a mapping from old index to new index. ...</div><div class='long'><p>Reorders each of the items based on a mapping from old index to new index. Internally this\njust translates into a sort. The 'sort' event is fired whenever reordering has\noccurred.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>mapping</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>Mapping from old item index to new item index</p>\n\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Ext.util.AbstractMixedCollection-event-clear\" rel=\"Ext.util.AbstractMixedCollection-event-clear\" class=\"docClass\">clear</a></li></ul></div></div></div><div id='method-replace' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-replace' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-replace' class='name expandable'>replace</a>( <span class='pre'>key, o</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Replaces an item in the collection. ...</div><div class='long'><p>Replaces an item in the collection. Fires the <a href=\"#!/api/Ext.util.AbstractMixedCollection-event-replace\" rel=\"Ext.util.AbstractMixedCollection-event-replace\" class=\"docClass\">replace</a> event when complete.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The key associated with the item to replace, or the replacement item.</p>\n\n<p>If you supplied a <a href=\"#!/api/Ext.util.AbstractMixedCollection-method-getKey\" rel=\"Ext.util.AbstractMixedCollection-method-getKey\" class=\"docClass\">getKey</a> implementation for this MixedCollection, or if the key\nof your stored items is in a property called <em><code>id</code></em>, then the MixedCollection\nwill be able to <i>derive</i> the key of the replacement item. If you want to replace an item\nwith one having the same key value, then just pass the replacement item in this parameter.</p>\n</div></li><li><span class='pre'>o</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>{Object} o (optional) If the first parameter passed was a key, the item to associate\nwith that key.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>The new item.</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li><a href=\"#!/api/Ext.util.AbstractMixedCollection-event-replace\" rel=\"Ext.util.AbstractMixedCollection-event-replace\" class=\"docClass\">replace</a></li></ul></div></div></div><div id='method-sum' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-sum' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-sum' class='name expandable'>sum</a>( <span class='pre'>property, [root], [start], [end]</span> ) : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Collects all of the values of the given property and returns their sum ...</div><div class='long'><p>Collects all of the values of the given property and returns their sum</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>property</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The property to sum by</p>\n</div></li><li><span class='pre'>root</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> (optional)<div class='sub-desc'><p>'root' property to extract the first argument from. This is used mainly when\nsumming fields in records, where the fields are all stored inside the 'data' object</p>\n</div></li><li><span class='pre'>start</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> (optional)<div class='sub-desc'><p>The record index to start at</p>\n<p>Defaults to: <code>0</code></p></div></li><li><span class='pre'>end</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> (optional)<div class='sub-desc'><p>The record index to end at</p>\n<p>Defaults to: <code>-1</code></p></div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span><div class='sub-desc'><p>The total</p>\n</div></li></ul></div></div></div><div id='method-updateKey' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-updateKey' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-method-updateKey' class='name expandable'>updateKey</a>( <span class='pre'>oldKey, newKey</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Change the key for an existing item in the collection. ...</div><div class='long'><p>Change the key for an existing item in the collection. If the old key\ndoes not exist this is a no-op.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>oldKey</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The old key</p>\n</div></li><li><span class='pre'>newKey</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The new key</p>\n</div></li></ul></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-event'>Events</h3><div class='subsection'><div id='event-add' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-event-add' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-event-add' class='name expandable'>add</a>( <span class='pre'>index, o, key, eOpts</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Fires when an item is added to the collection. ...</div><div class='long'><p>Fires when an item is added to the collection.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>index</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>The index at which the item was added.</p>\n</div></li><li><span class='pre'>o</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The item added.</p>\n</div></li><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The key associated with the added item.</p>\n</div></li><li><span class='pre'>eOpts</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The options object passed to <a href=\"#!/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n\n\n\n</div></li></ul></div></div></div><div id='event-clear' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-event-clear' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-event-clear' class='name expandable'>clear</a>( <span class='pre'>eOpts</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Fires when the collection is cleared. ...</div><div class='long'><p>Fires when the collection is cleared.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>eOpts</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The options object passed to <a href=\"#!/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n\n\n\n</div></li></ul></div></div></div><div id='event-remove' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-event-remove' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-event-remove' class='name expandable'>remove</a>( <span class='pre'>o, key, eOpts</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Fires when an item is removed from the collection. ...</div><div class='long'><p>Fires when an item is removed from the collection.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>o</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The item being removed.</p>\n</div></li><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The key associated with the removed item.</p>\n</div></li><li><span class='pre'>eOpts</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The options object passed to <a href=\"#!/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n\n\n\n</div></li></ul></div></div></div><div id='event-replace' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.util.AbstractMixedCollection'>Ext.util.AbstractMixedCollection</span><br/><a href='source/AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-event-replace' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.util.AbstractMixedCollection-event-replace' class='name expandable'>replace</a>( <span class='pre'>key, old, new, eOpts</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Fires when an item is replaced in the collection. ...</div><div class='long'><p>Fires when an item is replaced in the collection.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>key</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>he key associated with the new added.</p>\n</div></li><li><span class='pre'>old</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The item being replaced.</p>\n</div></li><li><span class='pre'>new</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The new item.</p>\n</div></li><li><span class='pre'>eOpts</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The options object passed to <a href=\"#!/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n\n\n\n</div></li></ul></div></div></div></div></div></div></div>","meta":{"private":true}});