X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..refs/heads/master:/docs/output/Ext.chart.LegendItem.js?ds=inline diff --git a/docs/output/Ext.chart.LegendItem.js b/docs/output/Ext.chart.LegendItem.js index 36edfbfe..00aa64cd 100644 --- a/docs/output/Ext.chart.LegendItem.js +++ b/docs/output/Ext.chart.LegendItem.js @@ -1,2181 +1 @@ -Ext.data.JsonP.Ext_chart_LegendItem({ - "tagname": "class", - "name": "Ext.chart.LegendItem", - "doc": "
A single item of a legend (marker plus label)
\n", - "extends": "Ext.draw.CompositeSprite", - "mixins": [ - - ], - "alternateClassNames": [ - - ], - "xtype": null, - "author": null, - "docauthor": null, - "singleton": false, - "private": false, - "cfg": [ - { - "tagname": "cfg", - "name": "allowFunctions", - "member": "Ext.util.AbstractMixedCollection", - "type": "Boolean", - "doc": "Specify true if the addAll\nfunction should add function references to the collection. Defaults to\nfalse.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 62, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-cfg-allowFunctions" - }, - { - "tagname": "cfg", - "name": "listeners", - "member": "Ext.util.Observable", - "type": "Object", - "doc": "(optional)
A config object containing one or more event handlers to be added to this\nobject during initialization. This should be a valid listeners config object as specified in the\naddListener example for attaching multiple handlers at once.
\n\nDOM events from ExtJs Components
\n\n\nWhile some ExtJs Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this\n\n\n
is usually only done when extra value can be added. For example the DataView's\nclick
event passing the node clicked on. To access DOM\nevents directly from a child element of a Component, we need to specify the element
option to\nidentify the Component property to add a DOM listener to:
new Ext.panel.Panel({\n width: 400,\n height: 200,\n dockedItems: [{\n xtype: 'toolbar'\n }],\n listeners: {\n click: {\n element: 'el', //bind to the underlying el property on the panel\n fn: function(){ console.log('click el'); }\n },\n dblclick: {\n element: 'body', //bind to the underlying body property on the panel\n fn: function(){ console.log('dblclick body'); }\n }\n }\n});\n
\n\n\n\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
- "linenr": 103,
- "html_filename": "Observable.html",
- "href": "Observable.html#Ext-util-Observable-cfg-listeners",
- "shortDoc": "(optional) A config object containing one or more event handlers to be added to this\nobject during initialization. T..."
- }
- ],
- "method": [
- {
- "tagname": "method",
- "name": "LegendItem",
- "member": "Ext.chart.LegendItem",
- "doc": "\n",
- "params": [
-
- ],
- "return": {
- "type": "void",
- "doc": "\n"
- },
- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/LegendItem.js",
- "linenr": 1,
- "html_filename": "LegendItem.html",
- "href": "LegendItem.html#Ext-chart-LegendItem-method-constructor",
- "shortDoc": "\n"
- },
- {
- "tagname": "method",
- "name": "add",
- "member": "Ext.draw.CompositeSprite",
- "doc": "Add a Sprite to the Group
\n", - "params": [ - { - "type": "Object", - "name": "key", - "doc": "\n", - "optional": false - }, - { - "type": "Object", - "name": "o", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/draw/CompositeSprite.js", - "linenr": 97, - "html_filename": "CompositeSprite.html", - "href": "CompositeSprite.html#Ext-draw-CompositeSprite-method-add", - "shortDoc": "Add a Sprite to the Group
\n" - }, - { - "tagname": "method", - "name": "addAll", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Adds all elements of an Array or an Object to the collection.
\n", - "params": [ - { - "type": "Object/Array", - "name": "objs", - "doc": "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 allowFunctions
\nhas been set to true.
Adds all elements of an Array or an Object to the collection.
\n" - }, - { - "tagname": "method", - "name": "addEvents", - "member": "Ext.util.Observable", - "doc": "Adds the specified events to the list of events which this Observable may fire.
\n", - "params": [ - { - "type": "Object/String", - "name": "o", - "doc": "Either an object with event names as properties with a value of true
\nor the first event name string if multiple event names are being passed as separate parameters.
[additional] Optional additional event names if multiple event names are being passed as separate parameters.\nUsage:
\n\nthis.addEvents('storeloaded', 'storecleared');\n
\n\n",
- "optional": false
- }
- ],
- "return": {
- "type": "void",
- "doc": "\n"
- },
- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
- "linenr": 452,
- "html_filename": "Observable.html",
- "href": "Observable.html#Ext-util-Observable-method-addEvents",
- "shortDoc": "Adds the specified events to the list of events which this Observable may fire.
\n" - }, - { - "tagname": "method", - "name": "addListener", - "member": "Ext.util.Observable", - "doc": "Appends an event handler to this object.
\n", - "params": [ - { - "type": "String", - "name": "eventName", - "doc": "The name of the event to listen for. May also be an object who's property names are event names. See
\n", - "optional": false - }, - { - "type": "Function", - "name": "handler", - "doc": "The method the event invokes.
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the handler function is executed.\nIf omitted, defaults to the object which fired the event.
(optional) An object containing handler configuration.\nproperties. This may contain any of the following properties:
this
reference) in which the handler function is executed.\nIf omitted, defaults to the object which fired the event.This option is useful during Component construction to add DOM event listeners to elements of Components which\nwill exist only after the Component is rendered. For example, to add a click listener to a Panel's body:\n
new Ext.panel.Panel({\n title: 'The title',\n listeners: {\n click: this.handlePanelClick,\n element: 'body'\n }\n});\n
\n\n\nWhen added in this way, the options available are the options applicable to Ext.core.Element.addListener
\n\n\n\nCombining Options
\nUsing the options argument, it is possible to combine different types of listeners:
\n
\nA delayed, one-time listener.\n
myPanel.on('hide', this.handleClick, this, {\nsingle: true,\ndelay: 100\n});
\n\nAttaching multiple handlers in 1 call
\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple events. For example:\n
myGridPanel.on({\n cellClick: this.onCellClick,\n mouseover: this.onMouseOver,\n mouseout: this.onMouseOut,\n scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n
.\n\n\n", - "optional": true - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 271, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-addListener", - "shortDoc": "
Appends an event handler to this object.
\n" - }, - { - "tagname": "method", - "name": "addManagedListener", - "member": "Ext.util.Observable", - "doc": "Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n", - "params": [ - { - "type": "Observable/Element", - "name": "item", - "doc": "
The item to which to add a listener/listeners.
\n", - "optional": false - }, - { - "type": "Object/String", - "name": "ename", - "doc": "The event name, or an object containing event name properties.
\n", - "optional": false - }, - { - "type": "Function", - "name": "fn", - "doc": "Optional. If the ename
parameter was an event name, this\nis the handler function.
Optional. If the ename
parameter was an event name, this\nis the scope (this
reference) in which the handler function is executed.
Optional. If the ename
parameter was an event name, this\nis the addListener options.
Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n" - }, - { - "tagname": "method", - "name": "animate", - "member": "Ext.util.Animate", - "doc": "
Perform custom animation on this object.
\n
This method is applicable to both the the Component class and the Element class.\nIt performs animated transitions of certain properties of this object over a specified timeline.
\nThe sole parameter is an object which specifies start property values, end property values, and properties which\ndescribe the timeline. Of the properties listed below, only to
is mandatory.
Properties include
from
to
duration
easing
\n- ease
\n- easeIn
\n- easeOut
\n- easeInOut
\n- backIn
\n- backOut
\n- elasticIn
\n- elasticOut
\n- bounceIn
\n- bounceOut
\n
keyframes
listeners
beforeanimate
event or the afteranimate
event.from
, to
, and keyframe
objects:x
y
left
left
value. Units must be supplied.top
top
value. Units must be supplied.width
width
value. Units must be supplied.height
height
value. Units must be supplied.scrollLeft
scrollLeft
value.scrollTop
scrollLeft
value.opacity
opacity
value. This must be a value between 0
and 1
.Be aware than animating an Element which is being used by an Ext Component without in some way informing the Component about the changed element state\nwill result in incorrect Component behaviour. This is because the Component will be using the old state of the element. To avoid this problem, it is now possible to\ndirectly animate certain properties of Components.
\nfrom
, to
, and keyframe
objects:x
y
left
left
value in pixels.top
top
value in pixels.width
width
value in pixels.width
width
value in pixels.dynamic
For example, to animate a Window to a new size, ensuring that its internal layout, and any shadow is correct:
\nmyWindow = Ext.create('Ext.window.Window', {\n title: 'Test Component animation',\n width: 500,\n height: 300,\n layout: {\n type: 'hbox',\n align: 'stretch'\n },\n items: [{\n title: 'Left: 33%',\n margins: '5 0 5 5',\n flex: 1\n }, {\n title: 'Left: 66%',\n margins: '5 5 5 5',\n flex: 2\n }]\n});\nmyWindow.show();\nmyWindow.header.el.on('click', function() {\n myWindow.animate({\n to: {\n width: (myWindow.getWidth() == 500) ? 700 : 500,\n height: (myWindow.getHeight() == 300) ? 400 : 300,\n }\n });\n});\n
\nFor performance reasons, by default, the internal layout is only updated when the Window reaches its final \"to\"
size. If dynamic updating of the Window's child\nComponents is required, then configure the animation with dynamic: true
and the two child items will maintain their proportions during the animation.
An object containing properties which describe the animation's start and end states, and the timeline of the animation.
\n", - "optional": false - } - ], - "return": { - "type": "Object", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 207, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-animate", - "shortDoc": "Perform custom animation on this object.\nThis method is applicable to both the the Component class and the Element cl..." - }, - { - "tagname": "method", - "name": "capture", - "member": "Ext.util.Observable", - "doc": "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\nbefore the event is fired. If the supplied function returns false,\nthe event will not fire.
\n", - "params": [ - { - "type": "Observable", - "name": "o", - "doc": "The Observable to capture events from.
\n", - "optional": false - }, - { - "type": "Function", - "name": "fn", - "doc": "The function to call when an event is fired.
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the function is executed. Defaults to the Observable firing the event.
Removes all items from the collection. Fires the clear event when complete.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 435, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-clear", - "shortDoc": "Removes all items from the collection. Fires the clear event when complete.
\n" - }, - { - "tagname": "method", - "name": "clearListeners", - "member": "Ext.util.Observable", - "doc": "Removes all listeners for this object including the managed listeners
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 383, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-clearListeners", - "shortDoc": "Removes all listeners for this object including the managed listeners
\n" - }, - { - "tagname": "method", - "name": "clearManagedListeners", - "member": "Ext.util.Observable", - "doc": "Removes all managed listeners for this object.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 412, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners", - "shortDoc": "Removes all managed listeners for this object.
\n" - }, - { - "tagname": "method", - "name": "clone", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Creates a shallow copy of this collection
\n", - "params": [ - - ], - "return": { - "type": "MixedCollection", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 727, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-clone", - "shortDoc": "Creates a shallow copy of this collection
\n" - }, - { - "tagname": "method", - "name": "collect", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Collects unique values of a particular property in this MixedCollection
\n", - "params": [ - { - "type": "String", - "name": "property", - "doc": "The property to collect on
\n", - "optional": false - }, - { - "type": "String", - "name": "root", - "doc": "Optional '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
\n", - "optional": false - }, - { - "type": "Boolean", - "name": "allowBlank", - "doc": "(optional) Pass true to allow null, undefined or empty string values
\n", - "optional": true - } - ], - "return": { - "type": "Array", - "doc": "The unique values
\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": "Collects unique values of a particular property in this MixedCollection
\n" - }, - { - "tagname": "method", - "name": "contains", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Returns true if the collection contains the passed Object as an item.
\n", - "params": [ - { - "type": "Object", - "name": "o", - "doc": "The Object to look for in the collection.
\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "True if the collection contains the Object as an item.
\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": "Returns true if the collection contains the passed Object as an item.
\n" - }, - { - "tagname": "method", - "name": "containsKey", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Returns true if the collection contains the passed Object as a key.
\n", - "params": [ - { - "type": "String", - "name": "key", - "doc": "The key to look for in the collection.
\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "True if the collection contains the Object as a key.
\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": "Returns true if the collection contains the passed Object as a key.
\n" - }, - { - "tagname": "method", - "name": "createLegend", - "member": "Ext.chart.LegendItem", - "doc": "Creates all the individual sprites for this legend item
\n", - "params": [ - { - "type": "Object", - "name": "config", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/LegendItem.js", - "linenr": 27, - "html_filename": "LegendItem.html", - "href": "LegendItem.html#Ext-chart-LegendItem-method-createLegend", - "shortDoc": "Creates all the individual sprites for this legend item
\n" - }, - { - "tagname": "method", - "name": "destroy", - "member": "Ext.draw.CompositeSprite", - "doc": "Destroys the SpriteGroup
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/draw/CompositeSprite.js", - "linenr": 275, - "html_filename": "CompositeSprite.html", - "href": "CompositeSprite.html#Ext-draw-CompositeSprite-method-destroy", - "shortDoc": "Destroys the SpriteGroup
\n" - }, - { - "tagname": "method", - "name": "each", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Executes the specified function once for every item in the collection, passing the following arguments:
\n\nThe collection item
The item's index
The total number of items in the collection
The function should return a boolean value. Returning false from the function will stop the iteration.
\n", - "params": [ - { - "type": "Function", - "name": "fn", - "doc": "The function to execute for each item.
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the function is executed. Defaults to the current item in the iteration.
Executes the specified function once for every key in the collection, passing each\nkey, and its associated item as the first two parameters.
\n", - "params": [ - { - "type": "Function", - "name": "fn", - "doc": "The function to execute for each item.
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the function is executed. Defaults to the browser window.
Enables events fired by this Observable to bubble up an owner hierarchy by calling\nthis.getBubbleTarget()
if present. There is no implementation in the Observable base class.
This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default\nimplementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to\naccess the required target more quickly.
\n\n\nExample:
\n\n\nExt.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
\n\n",
- "params": [
- {
- "type": "String/Array",
- "name": "events",
- "doc": "The event name to bubble, or an Array of event names.
\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": "Filters the objects in this collection by a set of Filters, or by a single\nproperty/value pair with optional parameters for substring matching and case sensitivity. See\nFilter for an example of using Filter objects (preferred). Alternatively,\nMixedCollection can be easily filtered by property like this:
\n\n\n//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
\n\n",
- "params": [
- {
- "type": "Array/String",
- "name": "property",
- "doc": "A property on your objects, or an array of Filter objects
\n", - "optional": false - }, - { - "type": "String/RegExp", - "name": "value", - "doc": "Either string that the property values\nshould start with or a RegExp to test against the property
\n", - "optional": false - }, - { - "type": "Boolean", - "name": "anyMatch", - "doc": "(optional) True to match any part of the string, not just the beginning
\n", - "optional": true - }, - { - "type": "Boolean", - "name": "caseSensitive", - "doc": "(optional) True for case sensitive comparison (defaults to False).
\n", - "optional": true - } - ], - "return": { - "type": "MixedCollection", - "doc": "The new filtered collection
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 566, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-filter", - "shortDoc": "Filters the objects in this collection by a set of Filters, or by a single\nproperty/value pair with optional paramete..." - }, - { - "tagname": "method", - "name": "filterBy", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Filter by a function. Returns a new 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.
\n", - "params": [ - { - "type": "Function", - "name": "fn", - "doc": "The function to be called, it will receive the args o (the object), k (the key)
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the function is executed. Defaults to this MixedCollection.
The new filtered collection
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 630, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-filterBy", - "shortDoc": "Filter by a function. Returns a new collection that has been filtered.\nThe passed function will be called with each o..." - }, - { - "tagname": "method", - "name": "findBy", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Returns the first item in the collection which elicits a true return value from the\npassed selection function.
\n", - "params": [ - { - "type": "Function", - "name": "fn", - "doc": "The selection function to execute for each item.
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the function is executed. Defaults to the browser window.
The first item in the collection which returned true from the selection function.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 238, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-findBy", - "shortDoc": "Returns the first item in the collection which elicits a true return value from the\npassed selection function.
\n" - }, - { - "tagname": "method", - "name": "findIndex", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Finds the index of the first matching object in this collection by a specific property/value.
\n", - "params": [ - { - "type": "String", - "name": "property", - "doc": "The name of a property on your objects.
\n", - "optional": false - }, - { - "type": "String/RegExp", - "name": "value", - "doc": "A string that the property values\nshould start with or a RegExp to test against the property.
\n", - "optional": false - }, - { - "type": "Number", - "name": "start", - "doc": "(optional) The index to start searching at (defaults to 0).
\n", - "optional": true - }, - { - "type": "Boolean", - "name": "anyMatch", - "doc": "(optional) True to match any part of the string, not just the beginning.
\n", - "optional": true - }, - { - "type": "Boolean", - "name": "caseSensitive", - "doc": "(optional) True for case sensitive comparison.
\n", - "optional": true - } - ], - "return": { - "type": "Number", - "doc": "The matched index or -1
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 657, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-findIndex", - "shortDoc": "Finds the index of the first matching object in this collection by a specific property/value.
\n" - }, - { - "tagname": "method", - "name": "findIndexBy", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Find the index of the first matching object in this collection by a function.\nIf the function returns true it is considered a match.
\n", - "params": [ - { - "type": "Function", - "name": "fn", - "doc": "The function to be called, it will receive the args o (the object), k (the key).
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the function is executed. Defaults to this MixedCollection.
(optional) The index to start searching at (defaults to 0).
\n", - "optional": true - } - ], - "return": { - "type": "Number", - "doc": "The matched index or -1
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 677, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-findIndexBy", - "shortDoc": "Find the index of the first matching object in this collection by a function.\nIf the function returns true it is cons..." - }, - { - "tagname": "method", - "name": "fireEvent", - "member": "Ext.util.Observable", - "doc": "Fires the specified event with the passed parameters (minus the event name).
\n\n\nAn event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget)\nby calling enableBubble.
\n\n", - "params": [ - { - "type": "String", - "name": "eventName", - "doc": "The name of the event to fire.
\n", - "optional": false - }, - { - "type": "Object...", - "name": "args", - "doc": "Variable number of parameters are passed to handlers.
\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "returns false if any of the handlers return false otherwise it returns true.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 232, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-fireEvent", - "shortDoc": "Fires the specified event with the passed parameters (minus the event name).\n\n\nAn event may be set to bubble up an Ob..." - }, - { - "tagname": "method", - "name": "first", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Returns the first item in the collection.
\n", - "params": [ - - ], - "return": { - "type": "Object", - "doc": "the first item in the collection..
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 448, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-first", - "shortDoc": "Returns the first item in the collection.
\n" - }, - { - "tagname": "method", - "name": "get", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Returns the item associated with the passed key OR index.\nKey has priority over index. This is the equivalent\nof calling key first, then if nothing matched calling getAt.
\n", - "params": [ - { - "type": "String/Number", - "name": "key", - "doc": "The key or index of the item.
\n", - "optional": false - } - ], - "return": { - "type": "Object", - "doc": "If the item is found, returns the item. If the item was not found, returns undefined.\nIf an item was found, but is a Class, returns null.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 384, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-get", - "shortDoc": "Returns the item associated with the passed key OR index.\nKey has priority over index. This is the equivalent\nof cal..." - }, - { - "tagname": "method", - "name": "getActiveAnimation", - "member": "Ext.util.Animate", - "doc": "Returns thq current animation if this object has any effects actively running or queued, else returns false.
\n", - "params": [ - - ], - "return": { - "type": "Mixed", - "doc": "anim if element has active effects, else false
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 377, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-getActiveAnimation", - "shortDoc": "Returns thq current animation if this object has any effects actively running or queued, else returns false.
\n" - }, - { - "tagname": "method", - "name": "getAt", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Returns the item at the specified index.
\n", - "params": [ - { - "type": "Number", - "name": "index", - "doc": "The index of the item.
\n", - "optional": false - } - ], - "return": { - "type": "Object", - "doc": "The item at the specified index.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 399, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-getAt", - "shortDoc": "Returns the item at the specified index.
\n" - }, - { - "tagname": "method", - "name": "getBBox", - "member": "Ext.draw.CompositeSprite", - "doc": "Returns the group bounding box.\nBehaves like Ext.draw.Sprite getBBox method.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/draw/CompositeSprite.js", - "linenr": 123, - "html_filename": "CompositeSprite.html", - "href": "CompositeSprite.html#Ext-draw-CompositeSprite-method-getBBox", - "shortDoc": "Returns the group bounding box.\nBehaves like Ext.draw.Sprite getBBox method.
\n" - }, - { - "tagname": "method", - "name": "getByKey", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Returns the item associated with the passed key.
\n", - "params": [ - { - "type": "String/Number", - "name": "key", - "doc": "The key of the item.
\n", - "optional": false - } - ], - "return": { - "type": "Object", - "doc": "The item associated with the passed key.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 408, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-getByKey", - "shortDoc": "Returns the item associated with the passed key.
\n" - }, - { - "tagname": "method", - "name": "getCount", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Returns the number of items in the collection.
\n", - "params": [ - - ], - "return": { - "type": "Number", - "doc": "the number of items in the collection.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 358, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-getCount", - "shortDoc": "Returns the number of items in the collection.
\n" - }, - { - "tagname": "method", - "name": "getKey", - "member": "Ext.util.AbstractMixedCollection", - "doc": "MixedCollection has a generic way to fetch keys if you implement getKey. The default implementation\nsimply returns item.id
but you can provide your own implementation\nto return a different value as in the following examples:
// normal way\nvar mc = new Ext.util.MixedCollection();\nmc.add(someEl.dom.id, someEl);\nmc.add(otherEl.dom.id, otherEl);\n//and so on\n\n// using getKey\nvar mc = new Ext.util.MixedCollection();\nmc.getKey = function(el){\n return el.dom.id;\n};\nmc.add(someEl);\nmc.add(otherEl);\n\n// or via the constructor\nvar mc = new Ext.util.MixedCollection(false, function(el){\n return el.dom.id;\n});\nmc.add(someEl);\nmc.add(otherEl);\n
\n\n",
- "params": [
- {
- "type": "Object",
- "name": "item",
- "doc": "The item for which to find the key.
\n", - "optional": false - } - ], - "return": { - "type": "Object", - "doc": "The key for the passed item.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 103, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-getKey", - "shortDoc": "MixedCollection has a generic way to fetch keys if you implement getKey. The default implementation\nsimply returns i..." - }, - { - "tagname": "method", - "name": "getRange", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Returns a range of items in this collection
\n", - "params": [ - { - "type": "Number", - "name": "startIndex", - "doc": "(optional) The starting index. Defaults to 0.
\n", - "optional": true - }, - { - "type": "Number", - "name": "endIndex", - "doc": "(optional) The ending index. Defaults to the last item.
\n", - "optional": true - } - ], - "return": { - "type": "Array", - "doc": "An array of items
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 536, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-getRange", - "shortDoc": "Returns a range of items in this collection
\n" - }, - { - "tagname": "method", - "name": "hasActiveFx", - "member": "Ext.util.Animate", - "doc": "@deprecated 4.0 Replaced by getActiveAnimation\nReturns thq current animation if this object has any effects actively running or queued, else returns false.
\n", - "params": [ - - ], - "return": { - "type": "Mixed", - "doc": "anim if element has active effects, else false
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 369, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-hasActiveFx", - "shortDoc": "@deprecated 4.0 Replaced by getActiveAnimation\nReturns thq current animation if this object has any effects actively ..." - }, - { - "tagname": "method", - "name": "hasListener", - "member": "Ext.util.Observable", - "doc": "Checks to see if this object has any listeners for a specified event
\n", - "params": [ - { - "type": "String", - "name": "eventName", - "doc": "The name of the event to check for
\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "True if the event is being listened for, else false
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 480, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-hasListener", - "shortDoc": "Checks to see if this object has any listeners for a specified event
\n" - }, - { - "tagname": "method", - "name": "hide", - "member": "Ext.draw.CompositeSprite", - "doc": "Hides all sprites. If the first parameter of the method is true\nthen a redraw will be forced for each sprite.
\n", - "params": [ - { - "type": "Object", - "name": "redraw", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/draw/CompositeSprite.js", - "linenr": 176, - "html_filename": "CompositeSprite.html", - "href": "CompositeSprite.html#Ext-draw-CompositeSprite-method-hide", - "shortDoc": "Hides all sprites. If the first parameter of the method is true\nthen a redraw will be forced for each sprite.
\n" - }, - { - "tagname": "method", - "name": "indexOf", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Returns index within the collection of the passed Object.
\n", - "params": [ - { - "type": "Object", - "name": "o", - "doc": "The item to find the index of.
\n", - "optional": false - } - ], - "return": { - "type": "Number", - "doc": "index of the item. Returns -1 if not found.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 366, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-indexOf", - "shortDoc": "Returns index within the collection of the passed Object.
\n" - }, - { - "tagname": "method", - "name": "indexOfKey", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Returns index within the collection of the passed key.
\n", - "params": [ - { - "type": "String", - "name": "key", - "doc": "The key to find the index of.
\n", - "optional": false - } - ], - "return": { - "type": "Number", - "doc": "index of the key.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 375, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-indexOfKey", - "shortDoc": "Returns index within the collection of the passed key.
\n" - }, - { - "tagname": "method", - "name": "initSortable", - "member": "Ext.util.Sortable", - "doc": "Performs initialization of this mixin. Component classes using this mixin should call this method\nduring their own initialization.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Sortable.js", - "linenr": 37, - "html_filename": "Sortable.html", - "href": "Sortable.html#Ext-util-Sortable-method-initSortable", - "shortDoc": "Performs initialization of this mixin. Component classes using this mixin should call this method\nduring their own in..." - }, - { - "tagname": "method", - "name": "insert", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Inserts an item at the specified index in the collection. Fires the add event when complete.
\n", - "params": [ - { - "type": "Number", - "name": "index", - "doc": "The index to insert the item at.
\n", - "optional": false - }, - { - "type": "String", - "name": "key", - "doc": "The key to associate with the new item, or the item itself.
\n", - "optional": false - }, - { - "type": "Object", - "name": "o", - "doc": "(optional) If the second parameter was a key, the new item.
\n", - "optional": true - } - ], - "return": { - "type": "Object", - "doc": "The item inserted.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 268, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-insert", - "shortDoc": "Inserts an item at the specified index in the collection. Fires the add event when complete.
\n" - }, - { - "tagname": "method", - "name": "last", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Returns the last item in the collection.
\n", - "params": [ - - ], - "return": { - "type": "Object", - "doc": "the last item in the collection..
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 456, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-last", - "shortDoc": "Returns the last item in the collection.
\n" - }, - { - "tagname": "method", - "name": "observe", - "member": "Ext.util.Observable", - "doc": "Sets observability on the passed class constructor.
\n\nThis makes any event fired on any instance of the passed class also fire a single event through\nthe class allowing for central handling of events on many instances at once.
\n\nUsage:
\n\nExt.util.Observable.observe(Ext.data.Connection);\nExt.data.Connection.on('beforerequest', function(con, options) {\n console.log('Ajax request made to ' + options.url);\n});\n
\n",
- "params": [
- {
- "type": "Function",
- "name": "c",
- "doc": "The class constructor to make observable.
\n", - "optional": false - }, - { - "type": "Object", - "name": "listeners", - "doc": "An object containing a series of listeners to add. See addListener.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 69, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-observe", - "shortDoc": "Sets observability on the passed class constructor.\n\nThis makes any event fired on any instance of the passed class a..." - }, - { - "tagname": "method", - "name": "on", - "member": "Ext.util.Observable", - "doc": "Appends an event handler to this object (shorthand for addListener.)
\n", - "params": [ - { - "type": "String", - "name": "eventName", - "doc": "The type of event to listen for
\n", - "optional": false - }, - { - "type": "Function", - "name": "handler", - "doc": "The method the event invokes
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the handler function is executed.\nIf omitted, defaults to the object which fired the event.
(optional) An object containing handler configuration.
\n", - "optional": true - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 616, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-on", - "shortDoc": "Appends an event handler to this object (shorthand for addListener.)
\n" - }, - { - "tagname": "method", - "name": "relayEvents", - "member": "Ext.util.Observable", - "doc": "Relays selected events from the specified Observable as if the events were fired by this
.
The Observable whose events this object is to relay.
\n", - "optional": false - }, - { - "type": "Array", - "name": "events", - "doc": "Array of event names to relay.
\n", - "optional": false - }, - { - "type": "Object", - "name": "prefix", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 520, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-relayEvents", - "shortDoc": "Relays selected events from the specified Observable as if the events were fired by this
.
Removes all added captures from the Observable.
\n", - "params": [ - { - "type": "Observable", - "name": "o", - "doc": "The Observable to release
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 46, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-releaseCapture", - "shortDoc": "Removes all added captures from the Observable.
\n" - }, - { - "tagname": "method", - "name": "remove", - "member": "Ext.draw.CompositeSprite", - "doc": "Remove a Sprite from the Group
\n", - "params": [ - { - "type": "Object", - "name": "o", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/draw/CompositeSprite.js", - "linenr": 108, - "html_filename": "CompositeSprite.html", - "href": "CompositeSprite.html#Ext-draw-CompositeSprite-method-remove", - "shortDoc": "Remove a Sprite from the Group
\n" - }, - { - "tagname": "method", - "name": "removeAll", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Remove all items in the passed array from the collection.
\n", - "params": [ - { - "type": "Array", - "name": "items", - "doc": "An array of items to be removed.
\n", - "optional": false - } - ], - "return": { - "type": "Ext.util.MixedCollection", - "doc": "this object
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 311, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-removeAll", - "shortDoc": "Remove all items in the passed array from the collection.
\n" - }, - { - "tagname": "method", - "name": "removeAt", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Remove an item from a specified index in the collection. Fires the remove event when complete.
\n", - "params": [ - { - "type": "Number", - "name": "index", - "doc": "The index within the collection of the item to remove.
\n", - "optional": false - } - ], - "return": { - "type": "Object", - "doc": "The item removed or false if no item was removed.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 324, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-removeAt", - "shortDoc": "Remove an item from a specified index in the collection. Fires the remove event when complete.
\n" - }, - { - "tagname": "method", - "name": "removeAtKey", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Removed an item associated with the passed key fom the collection.
\n", - "params": [ - { - "type": "String", - "name": "key", - "doc": "The key of the item to remove.
\n", - "optional": false - } - ], - "return": { - "type": "Object", - "doc": "The item removed or false if no item was removed.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 349, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-removeAtKey", - "shortDoc": "Removed an item associated with the passed key fom the collection.
\n" - }, - { - "tagname": "method", - "name": "removeListener", - "member": "Ext.util.Observable", - "doc": "Removes an event handler.
\n", - "params": [ - { - "type": "String", - "name": "eventName", - "doc": "The type of event the handler was associated with.
\n", - "optional": false - }, - { - "type": "Function", - "name": "handler", - "doc": "The handler to remove. This must be a reference to the function passed into the addListener call.
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope originally specified for the handler.
\n", - "optional": true - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 352, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-removeListener", - "shortDoc": "Removes an event handler.
\n" - }, - { - "tagname": "method", - "name": "removeManagedListener", - "member": "Ext.util.Observable", - "doc": "Removes listeners that were added by the mon method.
\n", - "params": [ - { - "type": "Observable|Element", - "name": "item", - "doc": "The item from which to remove a listener/listeners.
\n", - "optional": false - }, - { - "type": "Object|String", - "name": "ename", - "doc": "The event name, or an object containing event name properties.
\n", - "optional": false - }, - { - "type": "Function", - "name": "fn", - "doc": "Optional. If the ename
parameter was an event name, this\nis the handler function.
Optional. If the ename
parameter was an event name, this\nis the scope (this
reference) in which the handler function is executed.
Removes listeners that were added by the mon method.
\n" - }, - { - "tagname": "method", - "name": "reorder", - "member": "Ext.util.MixedCollection", - "doc": "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 occured.
\n", - "params": [ - { - "type": "Object", - "name": "mapping", - "doc": "Mapping from old item index to new item index
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/MixedCollection.js", - "linenr": 151, - "html_filename": "MixedCollection.html", - "href": "MixedCollection.html#Ext-util-MixedCollection-method-reorder", - "shortDoc": "Reorders each of the items based on a mapping from old index to new index. Internally this\njust translates into a sor..." - }, - { - "tagname": "method", - "name": "replace", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Replaces an item in the collection. Fires the replace event when complete.
\n", - "params": [ - { - "type": "String", - "name": "key", - "doc": "The key associated with the item to replace, or the replacement item.
\n\n\nIf you supplied a getKey implementation for this MixedCollection, or if the key\nof your stored items is in a property called id, then the MixedCollection\nwill be able to derive 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.
\n\n", - "optional": false - }, - { - "type": "Object", - "name": "o", - "doc": "{Object} o (optional) If the first parameter passed was a key, the item to associate\nwith that key.
\n", - "optional": true - } - ], - "return": { - "type": "Object", - "doc": "The new item.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 135, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-replace", - "shortDoc": "Replaces an item in the collection. Fires the replace event when complete.
\n" - }, - { - "tagname": "method", - "name": "resumeEvents", - "member": "Ext.util.Observable", - "doc": "Resume firing events. (see suspendEvents)\nIf events were suspended using the queueSuspended
parameter, then all\nevents fired during event suspension will be sent to any listeners now.
Ensures that all effects queued after sequenceFx is called on this object are\nrun in sequence. This is the opposite of syncFx.
\n", - "params": [ - - ], - "return": { - "type": "Object", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 357, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-sequenceFx", - "shortDoc": "Ensures that all effects queued after sequenceFx is called on this object are\nrun in sequence. This is the opposite ..." - }, - { - "tagname": "method", - "name": "setAttributes", - "member": "Ext.draw.CompositeSprite", - "doc": "Iterates through all sprites calling\n setAttributes
on each one. For more information\n Ext.draw.Sprite provides a description of the\n attributes that can be set with this method.
Shows all sprites. If the first parameter of the method is true\nthen a redraw will be forced for each sprite.
\n", - "params": [ - { - "type": "Object", - "name": "redraw", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/draw/CompositeSprite.js", - "linenr": 191, - "html_filename": "CompositeSprite.html", - "href": "CompositeSprite.html#Ext-draw-CompositeSprite-method-show", - "shortDoc": "Shows all sprites. If the first parameter of the method is true\nthen a redraw will be forced for each sprite.
\n" - }, - { - "tagname": "method", - "name": "sort", - "member": "Ext.util.Sortable", - "doc": "Sorts the data in the Store by one or more of its properties. Example usage:
\n\n\n//sort by a single field\nmyStore.sort('myField', 'DESC');\n\n//sorting by multiple fields\nmyStore.sort([\n {\n property : 'age',\n direction: 'ASC'\n },\n {\n property : 'name',\n direction: 'DESC'\n }\n]);\n
\n\n\nInternally, Store converts the passed arguments into an array of Ext.util.Sorter instances, and delegates the actual\nsorting to its internal Ext.util.MixedCollection.
\n\n\nWhen passing a single string argument to sort, Store maintains a ASC/DESC toggler per field, so this code:
\n\n\nstore.sort('myField');\nstore.sort('myField');\n
\n\n\nIs equivalent to this code, because Store handles the toggling automatically:
\n\n\nstore.sort('myField', 'ASC');\nstore.sort('myField', 'DESC');\n
\n\n",
- "params": [
- {
- "type": "String|Array",
- "name": "sorters",
- "doc": "Either a string name of one of the fields in this Store's configured Model,\nor an Array of sorter configurations.
\n", - "optional": false - }, - { - "type": "String", - "name": "direction", - "doc": "The overall direction to sort the data by. Defaults to \"ASC\".
\n", - "optional": false - }, - { - "type": "Object", - "name": "where", - "doc": "\n", - "optional": false - }, - { - "type": "Object", - "name": "doSort", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Sortable.js", - "linenr": 59, - "html_filename": "Sortable.html", - "href": "Sortable.html#Ext-util-Sortable-method-sort", - "shortDoc": "Sorts the data in the Store by one or more of its properties. Example usage:\n\n\n//sort by a single field\nmyStore.sort(..." - }, - { - "tagname": "method", - "name": "sortBy", - "member": "Ext.util.MixedCollection", - "doc": "Sorts the collection by a single sorter function
\n", - "params": [ - { - "type": "Function", - "name": "sorterFn", - "doc": "The function to sort by
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/MixedCollection.js", - "linenr": 112, - "html_filename": "MixedCollection.html", - "href": "MixedCollection.html#Ext-util-MixedCollection-method-sortBy", - "shortDoc": "Sorts the collection by a single sorter function
\n" - }, - { - "tagname": "method", - "name": "sortByKey", - "member": "Ext.util.MixedCollection", - "doc": "Sorts this collection by keys.
\n", - "params": [ - { - "type": "String", - "name": "direction", - "doc": "(optional) 'ASC' or 'DESC'. Defaults to 'ASC'.
\n", - "optional": true - }, - { - "type": "Function", - "name": "fn", - "doc": "(optional) Comparison function that defines the sort order.\nDefaults to sorting by case insensitive string.
\n", - "optional": true - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/MixedCollection.js", - "linenr": 191, - "html_filename": "MixedCollection.html", - "href": "MixedCollection.html#Ext-util-MixedCollection-method-sortByKey", - "shortDoc": "Sorts this collection by keys.
\n" - }, - { - "tagname": "method", - "name": "stopAnimation", - "member": "Ext.util.Animate", - "doc": "Stops any running effects and clears this object's internal effects queue if it contains\nany additional effects that haven't started yet.
\n", - "params": [ - - ], - "return": { - "type": "Ext.core.Element", - "doc": "The Element
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 335, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-stopAnimation", - "shortDoc": "Stops any running effects and clears this object's internal effects queue if it contains\nany additional effects that ..." - }, - { - "tagname": "method", - "name": "stopFx", - "member": "Ext.util.Animate", - "doc": "@deprecated 4.0 Replaced by stopAnimation\nStops any running effects and clears this object's internal effects queue if it contains\nany additional effects that haven't started yet.
\n", - "params": [ - - ], - "return": { - "type": "Ext.core.Element", - "doc": "The Element
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 326, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-stopFx", - "shortDoc": "@deprecated 4.0 Replaced by stopAnimation\nStops any running effects and clears this object's internal effects queue i..." - }, - { - "tagname": "method", - "name": "sum", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Collects all of the values of the given property and returns their sum
\n", - "params": [ - { - "type": "String", - "name": "property", - "doc": "The property to sum by
\n", - "optional": false - }, - { - "type": "String", - "name": "root", - "doc": "Optional '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
\n", - "optional": false - }, - { - "type": "Number", - "name": "start", - "doc": "(optional) The record index to start at (defaults to 0)
\n", - "optional": true - }, - { - "type": "Number", - "name": "end", - "doc": "(optional) The record index to end at (defaults to -1)
\n", - "optional": true - } - ], - "return": { - "type": "Number", - "doc": "The total
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 464, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-method-sum", - "shortDoc": "Collects all of the values of the given property and returns their sum
\n" - }, - { - "tagname": "method", - "name": "suspendEvents", - "member": "Ext.util.Observable", - "doc": "Suspend the firing of all events. (see resumeEvents)
\n", - "params": [ - { - "type": "Boolean", - "name": "queueSuspended", - "doc": "Pass as true to queue up suspended events to be fired\nafter the resumeEvents call instead of discarding all suspended events;
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 490, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-suspendEvents", - "shortDoc": "Suspend the firing of all events. (see resumeEvents)
\n" - }, - { - "tagname": "method", - "name": "syncFx", - "member": "Ext.util.Animate", - "doc": "Ensures that all effects queued after syncFx is called on this object are\nrun concurrently. This is the opposite of sequenceFx.
\n", - "params": [ - - ], - "return": { - "type": "Object", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 345, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-syncFx", - "shortDoc": "Ensures that all effects queued after syncFx is called on this object are\nrun concurrently. This is the opposite of ..." - }, - { - "tagname": "method", - "name": "un", - "member": "Ext.util.Observable", - "doc": "Removes an event handler (shorthand for removeListener.)
\n", - "params": [ - { - "type": "String", - "name": "eventName", - "doc": "The type of event the handler was associated with.
\n", - "optional": false - }, - { - "type": "Function", - "name": "handler", - "doc": "The handler to remove. This must be a reference to the function passed into the addListener call.
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope originally specified for the handler.
\n", - "optional": true - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 608, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-un", - "shortDoc": "Removes an event handler (shorthand for removeListener.)
\n" - }, - { - "tagname": "method", - "name": "updatePosition", - "member": "Ext.chart.LegendItem", - "doc": "Update the positions of all this item's sprites to match the root position\nof the legend box.
\n", - "params": [ - { - "type": "Object", - "name": "relativeTo", - "doc": "(optional) If specified, this object's 'x' and 'y' values will be used
\n\n as the reference point for the relative positioning. Defaults to the Legend.\n
\n",
- "optional": true
- }
- ],
- "return": {
- "type": "void",
- "doc": "\n"
- },
- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/LegendItem.js",
- "linenr": 169,
- "html_filename": "LegendItem.html",
- "href": "LegendItem.html#Ext-chart-LegendItem-method-updatePosition",
- "shortDoc": "Update the positions of all this item's sprites to match the root position\nof the legend box.
\n" - } - ], - "property": [ - { - "tagname": "property", - "name": "defaultSortDirection", - "member": "Ext.util.Sortable", - "type": "String", - "doc": "The default sort direction to use if one is not specified (defaults to \"ASC\")
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Sortable.js", - "linenr": 20, - "html_filename": "Sortable.html", - "href": "Sortable.html#Ext-util-Sortable-property-defaultSortDirection" - }, - { - "tagname": "property", - "name": "isSortable", - "member": "Ext.util.Sortable", - "type": "Boolean", - "doc": "Flag denoting that this object is sortable. Always true.
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Sortable.js", - "linenr": 13, - "html_filename": "Sortable.html", - "href": "Sortable.html#Ext-util-Sortable-property-isSortable" - }, - { - "tagname": "property", - "name": "sortRoot", - "member": "Ext.util.Sortable", - "type": "String", - "doc": "The property in each item that contains the data to sort. (defaults to null)
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Sortable.js", - "linenr": 31, - "html_filename": "Sortable.html", - "href": "Sortable.html#Ext-util-Sortable-property-sortRoot" - }, - { - "tagname": "property", - "name": "sorters", - "member": "Ext.util.Sortable", - "type": "Ext.util.MixedCollection", - "doc": "The collection of Sorters currently applied to this Store
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Sortable.js", - "linenr": 45, - "html_filename": "Sortable.html", - "href": "Sortable.html#Ext-util-Sortable-property-sorters" - } - ], - "event": [ - { - "tagname": "event", - "name": "add", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Fires when an item is added to the collection.
\n", - "params": [ - { - "type": "Number", - "name": "index", - "doc": "The index at which the item was added.
\n", - "optional": false - }, - { - "type": "Object", - "name": "o", - "doc": "The item added.
\n", - "optional": false - }, - { - "type": "String", - "name": "key", - "doc": "The key associated with the added item.
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 26, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-event-add", - "shortDoc": "Fires when an item is added to the collection.
\n" - }, - { - "tagname": "event", - "name": "clear", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Fires when the collection is cleared.
\n", - "params": [ - - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 20, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-event-clear", - "shortDoc": "Fires when the collection is cleared.
\n" - }, - { - "tagname": "event", - "name": "remove", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Fires when an item is removed from the collection.
\n", - "params": [ - { - "type": "Object", - "name": "o", - "doc": "The item being removed.
\n", - "optional": false - }, - { - "type": "String", - "name": "key", - "doc": "(optional) The key associated with the removed item.
\n", - "optional": true - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 44, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-event-remove", - "shortDoc": "Fires when an item is removed from the collection.
\n" - }, - { - "tagname": "event", - "name": "replace", - "member": "Ext.util.AbstractMixedCollection", - "doc": "Fires when an item is replaced in the collection.
\n", - "params": [ - { - "type": "String", - "name": "key", - "doc": "he key associated with the new added.
\n", - "optional": false - }, - { - "type": "Object", - "name": "old", - "doc": "The item being replaced.
\n", - "optional": false - }, - { - "type": "Object", - "name": "new", - "doc": "The new item.
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/AbstractMixedCollection.js", - "linenr": 35, - "html_filename": "AbstractMixedCollection.html", - "href": "AbstractMixedCollection.html#Ext-util-AbstractMixedCollection-event-replace", - "shortDoc": "Fires when an item is replaced in the collection.
\n" - } - ], - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/chart/LegendItem.js", - "linenr": 1, - "html_filename": "LegendItem.html", - "href": "LegendItem.html#Ext-chart-LegendItem", - "cssVar": [ - - ], - "cssMixin": [ - - ], - "component": false, - "superclasses": [ - "Ext.util.AbstractMixedCollection", - "Ext.util.MixedCollection", - "Ext.draw.CompositeSprite" - ], - "subclasses": [ - - ], - "mixedInto": [ - - ], - "allMixins": [ - "Ext.util.Animate", - "Ext.util.Sortable", - "Ext.util.Observable" - ] -}); \ No newline at end of file +Ext.data.JsonP.Ext_chart_LegendItem({"tagname":"class","html":"Hierarchy
Ext.BaseExt.util.AbstractMixedCollectionExt.util.MixedCollectionExt.draw.CompositeSpriteExt.chart.LegendItemMixins
Requires
Files
A single item of a legend (marker plus label)
\nSpecify true if the addAll\nfunction should add function references to the collection. Defaults to\nfalse.
\nDefaults to: false
A config object containing one or more event handlers to be added to this object during initialization. This\nshould be a valid listeners config object as specified in the addListener example for attaching multiple\nhandlers at once.
\n\nDOM events from Ext JS Components
\n\nWhile some Ext JS Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this is usually\nonly done when extra value can be added. For example the DataView's itemclick
event passing the node clicked on. To access DOM events directly from a\nchild element of a Component, we need to specify the element
option to identify the Component property to add a\nDOM listener to:
new Ext.panel.Panel({\n width: 400,\n height: 200,\n dockedItems: [{\n xtype: 'toolbar'\n }],\n listeners: {\n click: {\n element: 'el', //bind to the underlying el property on the panel\n fn: function(){ console.log('click el'); }\n },\n dblclick: {\n element: 'body', //bind to the underlying body property on the panel\n fn: function(){ console.log('dblclick body'); }\n }\n }\n});\n
\nThe default sort direction to use if one is not specified.
\nThe default sort direction to use if one is not specified.
\nFlag denoting that this object is sortable. Always true.
\nGet the reference to the current class from which this object was instantiated. Unlike statics,\nthis.self
is scope-dependent and it's meant to be used for dynamic inheritance. See statics\nfor a detailed comparison
Ext.define('My.Cat', {\n statics: {\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n alert(this.self.speciesName); / dependent on 'this'\n\n return this;\n },\n\n clone: function() {\n return new this.self();\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\n
\nThe property in each item that contains the data to sort.
\nThe property in each item that contains the data to sort.
\nCreates new MixedCollection.
\nSpecify true if the addAll\nfunction should add function references to the collection. Defaults to\nfalse.
\nA function that can accept an item of the type(s) stored in this MixedCollection\nand return the key value for that item. This is used when available to look up the key on items that\nwere passed without an explicit key parameter to a MixedCollection method. Passing this parameter is\nequivalent to providing an implementation for the getKey method.
\nAdds an item to the collection. Fires the add event when complete.
\nThe key to associate with the item, or the new item.
\n\n\nIf a getKey implementation was specified for this MixedCollection,\nor if the key of the stored items is in a property called id,\nthe MixedCollection will be able to derive the key for the new item.\nIn this case just pass the new item in this parameter.
\n\nThe item to add.
\nThe item added.
\nAdds all elements of an Array or an Object to the collection.
\nAn 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 allowFunctions
\nhas been set to true.
Adds the specified events to the list of events which this Observable may fire.
\nEither an object with event names as properties with a value of true
or the first\nevent name string if multiple event names are being passed as separate parameters. Usage:
this.addEvents({\n storeloaded: true,\n storecleared: true\n});\n
\nAdditional event names if multiple event names are being passed as separate\nparameters. Usage:
\n\nthis.addEvents('storeloaded', 'storecleared');\n
\nAppends an event handler to this object.
\nThe name of the event to listen for. May also be an object who's property names are\nevent names.
\n\nThe method the event invokes. Will be called with arguments given to\nfireEvent plus the options
parameter described below.
The scope (this
reference) in which the handler function is executed. If\nomitted, defaults to the object which fired the event.
An object containing handler configuration.
\n\n\n\n\nNote: Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.
\n\n\n\n\nThis object may contain any of the following properties:
\n\n\n\n\nscope : Object
\n\nThe scope (this
reference) in which the handler function is executed. If omitted, defaults to the object\nwhich fired the event.
delay : Number
\n\nThe number of milliseconds to delay the invocation of the handler after the event fires.
single : Boolean
\n\nTrue to add a handler to handle just the next firing of the event, and then remove itself.
buffer : Number
\n\nCauses the handler to be scheduled to run in an Ext.util.DelayedTask delayed by the specified number of\nmilliseconds. If the event fires again within that time, the original handler is not invoked, but the new\nhandler is scheduled in its place.
target : Observable
\n\nOnly call the handler if the event was fired on the target Observable, not if the event was bubbled up from a\nchild Observable.
element : String
\n\nThis option is only valid for listeners bound to Components. The name of a Component\nproperty which references an element to add a listener to.
\n\nThis option is useful during Component construction to add DOM event listeners to elements of\nComponents which will exist only after the Component is rendered.\nFor example, to add a click listener to a Panel's body:
\n\nnew Ext.panel.Panel({\n title: 'The title',\n listeners: {\n click: this.handlePanelClick,\n element: 'body'\n }\n});\n
Combining Options
\n\n\n\n\nUsing the options argument, it is possible to combine different types of listeners:
\n\n\n\n\nA delayed, one-time listener.
\n\n\n\n\nmyPanel.on('hide', this.handleClick, this, {\n single: true,\n delay: 100\n});\n
\n\n\n\n\nAttaching multiple handlers in 1 call
\n\n\n\n\nThe method also allows for a single argument to be passed which is a config object containing properties which\nspecify multiple events. For example:
\n\n\n\n\nmyGridPanel.on({\n cellClick: this.onCellClick,\n mouseover: this.onMouseOver,\n mouseout: this.onMouseOut,\n scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n
\n\n\n\n\nOne can also specify options for each event handler separately:
\n\n\n\n\nmyGridPanel.on({\n cellClick: {fn: this.onCellClick, scope: this, single: true},\n mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n
\n\nAdds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestroyed.
\nThe item to which to add a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
If the ename
parameter was an event name, this is the\naddListener options.
Perform custom animation on this object.
\n
This method is applicable to both the Component class and the Element class.\nIt performs animated transitions of certain properties of this object over a specified timeline.
\nThe sole parameter is an object which specifies start property values, end property values, and properties which\ndescribe the timeline. Of the properties listed below, only to
is mandatory.
Properties include
from
to
duration
easing
\n- ease
\n- easeIn
\n- easeOut
\n- easeInOut
\n- backIn
\n- backOut
\n- elasticIn
\n- elasticOut
\n- bounceIn
\n- bounceOut
\n
keyframes
listeners
beforeanimate
event or the afteranimate
event.from
, to
, and keyframe
objects:x
y
left
left
value. Units must be supplied.top
top
value. Units must be supplied.width
width
value. Units must be supplied.height
height
value. Units must be supplied.scrollLeft
scrollLeft
value.scrollTop
scrollLeft
value.opacity
opacity
value. This must be a value between 0
and 1
.Be aware than animating an Element which is being used by an Ext Component without in some way informing the Component about the changed element state\nwill result in incorrect Component behaviour. This is because the Component will be using the old state of the element. To avoid this problem, it is now possible to\ndirectly animate certain properties of Components.
\nfrom
, to
, and keyframe
objects:x
y
left
left
value in pixels.top
top
value in pixels.width
width
value in pixels.width
width
value in pixels.dynamic
For example, to animate a Window to a new size, ensuring that its internal layout, and any shadow is correct:
\nmyWindow = Ext.create('Ext.window.Window', {\n title: 'Test Component animation',\n width: 500,\n height: 300,\n layout: {\n type: 'hbox',\n align: 'stretch'\n },\n items: [{\n title: 'Left: 33%',\n margins: '5 0 5 5',\n flex: 1\n }, {\n title: 'Left: 66%',\n margins: '5 5 5 5',\n flex: 2\n }]\n});\nmyWindow.show();\nmyWindow.header.el.on('click', function() {\n myWindow.animate({\n to: {\n width: (myWindow.getWidth() == 500) ? 700 : 500,\n height: (myWindow.getHeight() == 300) ? 400 : 300,\n }\n });\n});\n
\nFor performance reasons, by default, the internal layout is only updated when the Window reaches its final \"to\"
size. If dynamic updating of the Window's child\nComponents is required, then configure the animation with dynamic: true
and the two child items will maintain their proportions during the animation.
An object containing properties which describe the animation's start and end states, and the timeline of the animation.
\nthis
\nCall the original method that was previously overridden with override
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\n }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n // alerts \"I'm a cat!\"\n // alerts \"Meeeeoooowwww\"\n
\nThe arguments, either an array or the arguments
object
Returns the result after calling the overridden method
\nCall the parent's overridden method. For example:
\n\nExt.define('My.own.A', {\n constructor: function(test) {\n alert(test);\n }\n});\n\nExt.define('My.own.B', {\n extend: 'My.own.A',\n\n constructor: function(test) {\n alert(test);\n\n this.callParent([test + 1]);\n }\n});\n\nExt.define('My.own.C', {\n extend: 'My.own.B',\n\n constructor: function() {\n alert(\"Going to call parent's overriden constructor...\");\n\n this.callParent(arguments);\n }\n});\n\nvar a = new My.own.A(1); // alerts '1'\nvar b = new My.own.B(1); // alerts '1', then alerts '2'\nvar c = new My.own.C(2); // alerts \"Going to call parent's overriden constructor...\"\n // alerts '2', then alerts '3'\n
\nThe arguments, either an array or the arguments
object\nfrom the current method, for example: this.callParent(arguments)
Returns the result from the superclass' method
\nRemoves all items from the collection. Fires the clear event when complete.
\nRemoves all listeners for this object including the managed listeners
\nCollects unique values of a particular property in this MixedCollection
\nThe property to collect on
\n'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
\nPass true to allow null, undefined or empty string values
\nThe unique values
\nExecutes the specified function once for every item in the collection, passing the following arguments:
\n\nThe collection item
The item's index
The total number of items in the collection
The function should return a boolean value. Returning false from the function will stop the iteration.
\nExecutes the specified function once for every key in the collection, passing each\nkey, and its associated item as the first two parameters.
\nEnables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget()
if\npresent. There is no implementation in the Observable base class.
This is commonly used by Ext.Components to bubble events to owner Containers.\nSee Ext.Component.getBubbleTarget. The default implementation in Ext.Component returns the\nComponent's immediate owner. But if a known target is required, this can be overridden to access the\nrequired target more quickly.
\n\nExample:
\n\nExt.override(Ext.form.field.Base, {\n // Add functionality to Field's initComponent to enable the change event to bubble\n initComponent : 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.\n getBubbleTarget : function() {\n if (!this.formPanel) {\n this.formPanel = this.findParentByType('form');\n }\n return this.formPanel;\n }\n});\n\nvar myForm = new Ext.formPanel({\n title: 'User Details',\n items: [{\n ...\n }],\n listeners: {\n change: function() {\n // Title goes red if form has been modified.\n myForm.header.setStyle('color', 'red');\n }\n }\n});\n
\nFilters the objects in this collection by a set of Filters, or by a single\nproperty/value pair with optional parameters for substring matching and case sensitivity. See\nFilter for an example of using Filter objects (preferred). Alternatively,\nMixedCollection can be easily filtered by property like this:
\n\n\n//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
\n\nA property on your objects, or an array of Filter objects
\nEither string that the property values\nshould start with or a RegExp to test against the property
\nTrue to match any part of the string, not just the beginning
\nDefaults to: false
True for case sensitive comparison.
\nDefaults to: false
The new filtered collection
\nFilter by a function. Returns a new 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.
\nThe function to be called, it will receive the args o (the object), k (the key)
\nThe scope (this
reference) in which the function is executed. Defaults to this MixedCollection.
The new filtered collection
\nReturns the first item in the collection which elicits a true return value from the\npassed selection function.
\nThe selection function to execute for each item.
\nThe scope (this
reference) in which the function is executed. Defaults to the browser window.
The first item in the collection which returned true from the selection function, or null if none was found
\nFinds the index of the first matching object in this collection by a specific property/value.
\nThe name of a property on your objects.
\nA string that the property values\nshould start with or a RegExp to test against the property.
\nThe index to start searching at.
\nDefaults to: 0
True to match any part of the string, not just the beginning.
\nDefaults to: false
True for case sensitive comparison.
\nDefaults to: false
The matched index or -1
\nFind the index of the first matching object in this collection by a function.\nIf the function returns true it is considered a match.
\nThe function to be called, it will receive the args o (the object), k (the key).
\nThe scope (this
reference) in which the function is executed. Defaults to this MixedCollection.
The index to start searching at.
\nDefaults to: 0
The matched index or -1
\nFires the specified event with the passed parameters (minus the event name, plus the options
object passed\nto addListener).
An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget) by\ncalling enableBubble.
\nThe name of the event to fire.
\nVariable number of parameters are passed to handlers.
\nreturns false if any of the handlers return false otherwise it returns true.
\nReturns the item associated with the passed key OR index.\nKey has priority over index. This is the equivalent\nof calling getByKey first, then if nothing matched calling getAt.
\nIf the item is found, returns the item. If the item was not found, returns undefined.\nIf an item was found, but is a Class, returns null.
\nReturns the current animation if this object has any effects actively running or queued, else returns false.
\nAnim if element has active effects, else false
\n\nReturns the group bounding box.\nBehaves like Ext.draw.Sprite.getBBox method.
\nan object with x, y, width, and height properties.
\nReturns the number of items in the collection.
\nthe number of items in the collection.
\nMixedCollection has a generic way to fetch keys if you implement getKey. The default implementation\nsimply returns item.id
but you can provide your own implementation\nto return a different value as in the following examples:
// normal way\nvar mc = new Ext.util.MixedCollection();\nmc.add(someEl.dom.id, someEl);\nmc.add(otherEl.dom.id, otherEl);\n//and so on\n\n// using getKey\nvar mc = new Ext.util.MixedCollection();\nmc.getKey = function(el){\n return el.dom.id;\n};\nmc.add(someEl);\nmc.add(otherEl);\n\n// or via the constructor\nvar mc = new Ext.util.MixedCollection(false, function(el){\n return el.dom.id;\n});\nmc.add(someEl);\nmc.add(otherEl);\n
\n\nThe item for which to find the key.
\nThe key for the passed item.
\nReturns the current animation if this object has any effects actively running or queued, else returns false.
\nThis method has been deprecated since 4.0
Replaced by getActiveAnimation
\nAnim if element has active effects, else false
\n\nHides all sprites. If the first parameter of the method is true\nthen a redraw will be forced for each sprite.
\nFlag to immediatly draw the change.
\nthis
\nInitialize configuration for this class. a typical example:
\n\nExt.define('My.awesome.Class', {\n // The default config\n config: {\n name: 'Awesome',\n isAwesome: true\n },\n\n constructor: function(config) {\n this.initConfig(config);\n\n return this;\n }\n});\n\nvar awesome = new My.awesome.Class({\n name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n
\nmixins The mixin prototypes as key - value pairs
\nPerforms initialization of this mixin. Component classes using this mixin should call this method during their\nown initialization.
\nInserts an item at the specified index in the collection. Fires the add event when complete.
\nThe index to insert the item at.
\nThe key to associate with the new item, or the item itself.
\nIf the second parameter was a key, the new item.
\nThe item inserted.
\nShorthand for addManagedListener.
\n\nAdds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestroyed.
\nThe item to which to add a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
If the ename
parameter was an event name, this is the\naddListener options.
Shorthand for removeManagedListener.
\n\nRemoves listeners that were added by the mon method.
\nThe item from which to remove a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
Shorthand for addListener.
\n\nAppends an event handler to this object.
\nThe name of the event to listen for. May also be an object who's property names are\nevent names.
\n\nThe method the event invokes. Will be called with arguments given to\nfireEvent plus the options
parameter described below.
The scope (this
reference) in which the handler function is executed. If\nomitted, defaults to the object which fired the event.
An object containing handler configuration.
\n\n\n\n\nNote: Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.
\n\n\n\n\nThis object may contain any of the following properties:
\n\n\n\n\nscope : Object
\n\nThe scope (this
reference) in which the handler function is executed. If omitted, defaults to the object\nwhich fired the event.
delay : Number
\n\nThe number of milliseconds to delay the invocation of the handler after the event fires.
single : Boolean
\n\nTrue to add a handler to handle just the next firing of the event, and then remove itself.
buffer : Number
\n\nCauses the handler to be scheduled to run in an Ext.util.DelayedTask delayed by the specified number of\nmilliseconds. If the event fires again within that time, the original handler is not invoked, but the new\nhandler is scheduled in its place.
target : Observable
\n\nOnly call the handler if the event was fired on the target Observable, not if the event was bubbled up from a\nchild Observable.
element : String
\n\nThis option is only valid for listeners bound to Components. The name of a Component\nproperty which references an element to add a listener to.
\n\nThis option is useful during Component construction to add DOM event listeners to elements of\nComponents which will exist only after the Component is rendered.\nFor example, to add a click listener to a Panel's body:
\n\nnew Ext.panel.Panel({\n title: 'The title',\n listeners: {\n click: this.handlePanelClick,\n element: 'body'\n }\n});\n
Combining Options
\n\n\n\n\nUsing the options argument, it is possible to combine different types of listeners:
\n\n\n\n\nA delayed, one-time listener.
\n\n\n\n\nmyPanel.on('hide', this.handleClick, this, {\n single: true,\n delay: 100\n});\n
\n\n\n\n\nAttaching multiple handlers in 1 call
\n\n\n\n\nThe method also allows for a single argument to be passed which is a config object containing properties which\nspecify multiple events. For example:
\n\n\n\n\nmyGridPanel.on({\n cellClick: this.onCellClick,\n mouseover: this.onMouseOver,\n mouseout: this.onMouseOut,\n scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n
\n\n\n\n\nOne can also specify options for each event handler separately:
\n\n\n\n\nmyGridPanel.on({\n cellClick: {fn: this.onCellClick, scope: this, single: true},\n mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n
\n\nRemove all items in the passed array from the collection.
\nAn array of items to be removed.
\nthis object
\nRemoves an event handler.
\nThe type of event the handler was associated with.
\n\nThe handler to remove. This must be a reference to the function passed into the\naddListener call.
\n\nThe scope originally specified for the handler. It must be the same as the\nscope argument specified in the original call to addListener or the listener will not be removed.
\n\nRemoves listeners that were added by the mon method.
\nThe item from which to remove a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
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 occured.
\nMapping from old item index to new item index
\nReplaces an item in the collection. Fires the replace event when complete.
\nThe key associated with the item to replace, or the replacement item.
\n\n\nIf you supplied a getKey implementation for this MixedCollection, or if the key\nof your stored items is in a property called id, then the MixedCollection\nwill be able to derive 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.
\n\n{Object} o (optional) If the first parameter passed was a key, the item to associate\nwith that key.
\nThe new item.
\nResumes firing events (see suspendEvents).
\n\nIf events were suspended using the queueSuspended
parameter, then all events fired\nduring event suspension will be sent to any listeners now.
Iterates through all sprites calling setAttributes
on each one. For more information Ext.draw.Sprite\nprovides a description of the attributes that can be set with this method.
Attributes to be changed on the sprite.
\nFlag to immediatly draw the change.
\nthis
\nShows all sprites. If the first parameter of the method is true\nthen a redraw will be forced for each sprite.
\nFlag to immediatly draw the change.
\nthis
\nSorts the data in the Store by one or more of its properties. Example usage:
\n\n//sort by a single field\nmyStore.sort('myField', 'DESC');\n\n//sorting by multiple fields\nmyStore.sort([\n {\n property : 'age',\n direction: 'ASC'\n },\n {\n property : 'name',\n direction: 'DESC'\n }\n]);\n
\n\nInternally, Store converts the passed arguments into an array of Ext.util.Sorter instances, and delegates\nthe actual sorting to its internal Ext.util.MixedCollection.
\n\nWhen passing a single string argument to sort, Store maintains a ASC/DESC toggler per field, so this code:
\n\nstore.sort('myField');\nstore.sort('myField');\n
\n\nIs equivalent to this code, because Store handles the toggling automatically:
\n\nstore.sort('myField', 'ASC');\nstore.sort('myField', 'DESC');\n
\nEither a string name of one of the fields in this Store's configured\nModel, or an array of sorter configurations.
\nThe overall direction to sort the data by. Defaults to \"ASC\".
\nSorts the collection by a single sorter function
\nThe function to sort by
\nGet the reference to the class from which this object was instantiated. Note that unlike self,\nthis.statics()
is scope-independent and it always returns the class from which it was called, regardless of what\nthis
points to during run-time
Ext.define('My.Cat', {\n statics: {\n totalCreated: 0,\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n var statics = this.statics();\n\n alert(statics.speciesName); // always equals to 'Cat' no matter what 'this' refers to\n // equivalent to: My.Cat.speciesName\n\n alert(this.self.speciesName); // dependent on 'this'\n\n statics.totalCreated++;\n\n return this;\n },\n\n clone: function() {\n var cloned = new this.self; // dependent on 'this'\n\n cloned.groupName = this.statics().speciesName; // equivalent to: My.Cat.speciesName\n\n return cloned;\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n },\n\n constructor: function() {\n this.callParent();\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\nalert(clone.groupName); // alerts 'Cat'\n\nalert(My.Cat.totalCreated); // alerts 3\n
\nStops any running effects and clears this object's internal effects queue if it contains\nany additional effects that haven't started yet.
\nThe Element
\nStops any running effects and clears this object's internal effects queue if it contains\nany additional effects that haven't started yet.
\nThis method has been deprecated since 4.0
Replaced by stopAnimation
\nThe Element
\nCollects all of the values of the given property and returns their sum
\nThe property to sum by
\n'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
\nThe record index to start at
\nDefaults to: 0
The record index to end at
\nDefaults to: -1
The total
\nSuspends the firing of all events. (see resumeEvents)
\nPass as true to queue up suspended events to be fired\nafter the resumeEvents call instead of discarding all suspended events.
\nEnsures that all effects queued after syncFx is called on this object are\nrun concurrently. This is the opposite of sequenceFx.
\nthis
\nShorthand for removeListener.
\n\nRemoves an event handler.
\nThe type of event the handler was associated with.
\n\nThe handler to remove. This must be a reference to the function passed into the\naddListener call.
\n\nThe scope originally specified for the handler. It must be the same as the\nscope argument specified in the original call to addListener or the listener will not be removed.
\n\nUpdate the positions of all this item's sprites to match the root position\nof the legend box.
\nIf specified, this object's 'x' and 'y' values will be used
\n\n as the reference point for the relative positioning. Defaults to the Legend.\n
\nAdd / override static properties of this class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.addStatics({\n someProperty: 'someValue', // My.cool.Class.someProperty = 'someValue'\n method1: function() { ... }, // My.cool.Class.method1 = function() { ... };\n method2: function() { ... } // My.cool.Class.method2 = function() { ... };\n});\n
\nthis
\nBorrow another class' members to the prototype of this class.
\n\nExt.define('Bank', {\n money: '$$$',\n printMoney: function() {\n alert('$$$$$$$');\n }\n});\n\nExt.define('Thief', {\n ...\n});\n\nThief.borrow(Bank, ['money', 'printMoney']);\n\nvar steve = new Thief();\n\nalert(steve.money); // alerts '$$$'\nsteve.printMoney(); // alerts '$$$$$$$'\n
\nThe class to borrow members from
\nThe names of the members to borrow
\nthis
\nCreate a new instance of this Class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfig: true\n});\n
\n\nAll parameters are passed to the constructor of the class.
\nthe created instance.
\nCreate aliases for existing prototype methods. Example:
\n\nExt.define('My.cool.Class', {\n method1: function() { ... },\n method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n method3: 'method1',\n method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -> test.method1()\n
\nThe new method name, or an object to set multiple aliases. See\nflexSetter
\nThe original method name
\nGet the current class' name in string format.
\n\nExt.define('My.cool.Class', {\n constructor: function() {\n alert(this.self.getName()); // alerts 'My.cool.Class'\n }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n
\nclassName
\nAdd methods / properties to the prototype of this class.
\n\nExt.define('My.awesome.Cat', {\n constructor: function() {\n ...\n }\n});\n\n My.awesome.Cat.implement({\n meow: function() {\n alert('Meowww...');\n }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n
\nOverride prototype members of this class. Overridden methods can be invoked via\ncallOverridden
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\n }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n // alerts \"I'm a cat!\"\n // alerts \"Meeeeoooowwww\"\n
\nthis
\nFires when an item is added to the collection.
\nThe index at which the item was added.
\nThe item added.
\nThe key associated with the added item.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the collection is cleared.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when an item is removed from the collection.
\nThe item being removed.
\nThe key associated with the removed item.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when an item is replaced in the collection.
\nhe key associated with the new added.
\nThe item being replaced.
\nThe new item.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nReplaced by getActiveAnimation
\n","version":"4.0"},"static":false,"owner":"Ext.util.Animate","template":false,"required":null,"protected":false,"name":"hasActiveFx","id":"method-hasActiveFx"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"hasListener","id":"method-hasListener"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.draw.CompositeSprite","template":false,"required":null,"protected":false,"name":"hide","id":"method-hide"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":false,"required":null,"protected":false,"name":"indexOf","id":"method-indexOf"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":false,"required":null,"protected":false,"name":"indexOfKey","id":"method-indexOfKey"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Base","template":false,"required":null,"protected":true,"name":"initConfig","id":"method-initConfig"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Sortable","template":false,"required":null,"protected":false,"name":"initSortable","id":"method-initSortable"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":false,"required":null,"protected":false,"name":"insert","id":"method-insert"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":false,"required":null,"protected":false,"name":"last","id":"method-last"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"mon","id":"method-mon"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"mun","id":"method-mun"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"on","id":"method-on"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"relayEvents","id":"method-relayEvents"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":false,"required":null,"protected":false,"name":"remove","id":"method-remove"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":false,"required":null,"protected":false,"name":"removeAll","id":"method-removeAll"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":false,"required":null,"protected":false,"name":"removeAt","id":"method-removeAt"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":false,"required":null,"protected":false,"name":"removeAtKey","id":"method-removeAtKey"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"removeListener","id":"method-removeListener"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"removeManagedListener","id":"method-removeManagedListener"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.MixedCollection","template":false,"required":null,"protected":false,"name":"reorder","id":"method-reorder"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":false,"required":null,"protected":false,"name":"replace","id":"method-replace"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"resumeEvents","id":"method-resumeEvents"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Animate","template":false,"required":null,"protected":false,"name":"sequenceFx","id":"method-sequenceFx"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.draw.CompositeSprite","template":false,"required":null,"protected":false,"name":"setAttributes","id":"method-setAttributes"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.draw.CompositeSprite","template":false,"required":null,"protected":false,"name":"show","id":"method-show"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Sortable","template":false,"required":null,"protected":false,"name":"sort","id":"method-sort"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.MixedCollection","template":false,"required":null,"protected":false,"name":"sortBy","id":"method-sortBy"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.MixedCollection","template":false,"required":null,"protected":false,"name":"sortByKey","id":"method-sortByKey"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Base","template":false,"required":null,"protected":true,"name":"statics","id":"method-statics"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Animate","template":false,"required":null,"protected":false,"name":"stopAnimation","id":"method-stopAnimation"},{"tagname":"method","deprecated":{"doc":"Stops any running effects and clears this object's internal effects queue if it contains\nany additional effects that haven't started yet.","tagname":"deprecated","text":"Replaced by stopAnimation
\n","version":"4.0"},"static":false,"owner":"Ext.util.Animate","template":false,"required":null,"protected":false,"name":"stopFx","id":"method-stopFx"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":false,"required":null,"protected":false,"name":"sum","id":"method-sum"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"suspendEvents","id":"method-suspendEvents"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Animate","template":false,"required":null,"protected":false,"name":"syncFx","id":"method-syncFx"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"un","id":"method-un"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.chart.LegendItem","template":false,"required":null,"protected":false,"name":"updatePosition","id":"method-updatePosition"}],"event":[{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":null,"required":null,"protected":false,"name":"add","id":"event-add"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":null,"required":null,"protected":false,"name":"clear","id":"event-clear"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":null,"required":null,"protected":false,"name":"remove","id":"event-remove"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.util.AbstractMixedCollection","template":null,"required":null,"protected":false,"name":"replace","id":"event-replace"}]},"private":false,"component":false,"name":"Ext.chart.LegendItem","alternateClassNames":[],"id":"class-Ext.chart.LegendItem","mixedInto":[],"xtypes":{},"files":[{"href":"LegendItem.html#Ext-chart-LegendItem","filename":"LegendItem.js"}]}); \ No newline at end of file