Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / docs / output / Ext.fx.Anim.js
1 Ext.data.JsonP.Ext_fx_Anim({
2   "tagname": "class",
3   "name": "Ext.fx.Anim",
4   "doc": "<p>This class manages animation for a specific <a href=\"#/api/Ext.fx.Anim-cfg-target\" rel=\"Ext.fx.Anim-cfg-target\" class=\"docClass\">target</a>. The animation allows\nanimation of various properties on the target, such as size, position, color and others.</p>\n\n<h2>Starting Conditions</h2>\n\n<p>The starting conditions for the animation are provided by the <a href=\"#/api/Ext.fx.Anim-cfg-from\" rel=\"Ext.fx.Anim-cfg-from\" class=\"docClass\">from</a> configuration.\nAny/all of the properties in the <a href=\"#/api/Ext.fx.Anim-cfg-from\" rel=\"Ext.fx.Anim-cfg-from\" class=\"docClass\">from</a> configuration can be specified. If a particular\nproperty is not defined, the starting value for that property will be read directly from the target.</p>\n\n<h2>End Conditions</h2>\n\n<p>The ending conditions for the animation are provided by the <a href=\"#/api/Ext.fx.Anim-cfg-to\" rel=\"Ext.fx.Anim-cfg-to\" class=\"docClass\">to</a> configuration. These mark\nthe final values once the animations has finished. The values in the <a href=\"#/api/Ext.fx.Anim-cfg-from\" rel=\"Ext.fx.Anim-cfg-from\" class=\"docClass\">from</a> can mirror\nthose in the <a href=\"#/api/Ext.fx.Anim-cfg-to\" rel=\"Ext.fx.Anim-cfg-to\" class=\"docClass\">to</a> configuration to provide a starting point.</p>\n\n<h2>Other Options</h2>\n\n<ul>\n<li><a href=\"#/api/Ext.fx.Anim-cfg-duration\" rel=\"Ext.fx.Anim-cfg-duration\" class=\"docClass\">duration</a>: Specifies the time period of the animation.</li>\n<li><a href=\"#/api/Ext.fx.Anim-cfg-easing\" rel=\"Ext.fx.Anim-cfg-easing\" class=\"docClass\">easing</a>: Specifies the easing of the animation.</li>\n<li><a href=\"#/api/Ext.fx.Anim-cfg-iterations\" rel=\"Ext.fx.Anim-cfg-iterations\" class=\"docClass\">iterations</a>: Allows the animation to repeat a number of times.</li>\n<li><a href=\"#/api/Ext.fx.Anim-cfg-alternate\" rel=\"Ext.fx.Anim-cfg-alternate\" class=\"docClass\">alternate</a>: Used in conjunction with <a href=\"#/api/Ext.fx.Anim-cfg-iterations\" rel=\"Ext.fx.Anim-cfg-iterations\" class=\"docClass\">iterations</a>, reverses the direction every second iteration.</li>\n</ul>\n\n\n<h2>Example Code</h2>\n\n<pre><code>var myComponent = Ext.create('Ext.Component', {\n    renderTo: document.body,\n    width: 200,\n    height: 200,\n    style: 'border: 1px solid red;'\n});\n\nnew Ext.fx.Anim({\n    target: myComponent,\n    duration: 1000,\n    from: {\n        width: 400 //starting width 400\n    },\n    to: {\n        width: 300, //end width 300\n        height: 300 // end width 300\n    }\n});\n</code></pre>\n",
5   "extends": null,
6   "mixins": [
7     "Ext.util.Observable"
8   ],
9   "alternateClassNames": [
10
11   ],
12   "xtype": null,
13   "author": null,
14   "docauthor": null,
15   "singleton": false,
16   "private": false,
17   "cfg": [
18     {
19       "tagname": "cfg",
20       "name": "alternate",
21       "member": "Ext.fx.Anim",
22       "type": "Boolean",
23       "doc": "<p>Used in conjunction with iterations to reverse the animation each time an iteration completes. Defaults to false.</p>\n",
24       "private": false,
25       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
26       "linenr": 165,
27       "html_filename": "Anim.html",
28       "href": "Anim.html#Ext-fx-Anim-cfg-alternate"
29     },
30     {
31       "tagname": "cfg",
32       "name": "delay",
33       "member": "Ext.fx.Anim",
34       "type": "Number",
35       "doc": "<p>Time to delay before starting the animation. Defaults to 0.</p>\n",
36       "private": false,
37       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
38       "linenr": 64,
39       "html_filename": "Anim.html",
40       "href": "Anim.html#Ext-fx-Anim-cfg-delay"
41     },
42     {
43       "tagname": "cfg",
44       "name": "duration",
45       "member": "Ext.fx.Anim",
46       "type": "Number",
47       "doc": "<p>Time in milliseconds for a single animation to last. Defaults to 250. If the <a href=\"#/api/Ext.fx.Anim-cfg-iterations\" rel=\"Ext.fx.Anim-cfg-iterations\" class=\"docClass\">iterations</a> property is\nspecified, then each animate will take the same duration for each iteration.</p>\n",
48       "private": false,
49       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
50       "linenr": 57,
51       "html_filename": "Anim.html",
52       "href": "Anim.html#Ext-fx-Anim-cfg-duration",
53       "shortDoc": "Time in milliseconds for a single animation to last. Defaults to 250. If the iterations property is\nspecified, then e..."
54     },
55     {
56       "tagname": "cfg",
57       "name": "dynamic",
58       "member": "Ext.fx.Anim",
59       "type": "Boolean",
60       "doc": "<p>Currently only for Component Animation: Only set a component's outer element size bypassing layouts.  Set to true to do full layouts for every frame of the animation.  Defaults to false.</p>\n",
61       "private": false,
62       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
63       "linenr": 73,
64       "html_filename": "Anim.html",
65       "href": "Anim.html#Ext-fx-Anim-cfg-dynamic",
66       "shortDoc": "Currently only for Component Animation: Only set a component's outer element size bypassing layouts.  Set to true to ..."
67     },
68     {
69       "tagname": "cfg",
70       "name": "easing",
71       "member": "Ext.fx.Anim",
72       "type": "String",
73       "doc": "<p>This describes how the intermediate values used during a transition will be calculated. It allows for a transition to change\nspeed over its duration.</p>\n\n<pre><code>     -backIn\n     -backOut\n     -bounceIn\n     -bounceOut\n     -ease\n     -easeIn\n     -easeOut\n     -easeInOut\n     -elasticIn\n     -elasticOut\n     -cubic-bezier(x1, y1, x2, y2)\n</code></pre>\n\n<p>Note that cubic-bezier will create a custom easing curve following the CSS3 transition-timing-function specification <code><a href=\"#/api/http://www.w3.org/TR/css3-transitions/--transition-timing-function_tag\" rel=\"http://www.w3.org/TR/css3-transitions/--transition-timing-function_tag\" class=\"docClass\">http://www.w3.org/TR/css3-transitions/.transition-timing-function_tag</a></code>. The four values specify points P1 and P2 of the curve\nas (x1, y1, x2, y2). All values must be in the range [0, 1] or the definition is invalid.</p>\n",
74       "private": false,
75       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
76       "linenr": 79,
77       "html_filename": "Anim.html",
78       "href": "Anim.html#Ext-fx-Anim-cfg-easing",
79       "shortDoc": "This describes how the intermediate values used during a transition will be calculated. It allows for a transition to..."
80     },
81     {
82       "tagname": "cfg",
83       "name": "from",
84       "member": "Ext.fx.Anim",
85       "type": "Object",
86       "doc": "<p>An object containing property/value pairs for the beginning of the animation.  If not specified, the current state of the\nExt.fx.target will be used. For example:</p>\n\n<pre><code>from : {\n    opacity: 0,       // Transparent\n    color: '#ffffff', // White\n    left: 0\n}\n</code></pre>\n\n",
87       "private": false,
88       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
89       "linenr": 201,
90       "html_filename": "Anim.html",
91       "href": "Anim.html#Ext-fx-Anim-cfg-from",
92       "shortDoc": "An object containing property/value pairs for the beginning of the animation.  If not specified, the current state of..."
93     },
94     {
95       "tagname": "cfg",
96       "name": "iterations",
97       "member": "Ext.fx.Anim",
98       "type": "int",
99       "doc": "<p>Number of times to execute the animation. Defaults to 1.</p>\n",
100       "private": false,
101       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
102       "linenr": 159,
103       "html_filename": "Anim.html",
104       "href": "Anim.html#Ext-fx-Anim-cfg-iterations"
105     },
106     {
107       "tagname": "cfg",
108       "name": "keyframes",
109       "member": "Ext.fx.Anim",
110       "type": "Object",
111       "doc": "<p>Animation keyframes follow the CSS3 Animation configuration pattern. 'from' is always considered '0%' and 'to'\nis considered '100%'.<b>Every keyframe declaration must have a keyframe rule for 0% and 100%, possibly defined using\n\"from\" or \"to\"</b>.  A keyframe declaration without these keyframe selectors is invalid and will not be available for\nanimation.  The keyframe declaration for a keyframe rule consists of properties and values. Properties that are unable to\nbe animated are ignored in these rules, with the exception of 'easing' which can be changed at each keyframe. For example:</p>\n\n<pre><code>keyframes : {\n    '0%': {\n        left: 100\n    },\n    '40%': {\n        left: 150\n    },\n    '60%': {\n        left: 75\n    },\n    '100%': {\n        left: 100\n    }\n}\n </code></pre>\n\n",
112       "private": false,
113       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
114       "linenr": 102,
115       "html_filename": "Anim.html",
116       "href": "Anim.html#Ext-fx-Anim-cfg-keyframes",
117       "shortDoc": "Animation keyframes follow the CSS3 Animation configuration pattern. 'from' is always considered '0%' and 'to'\nis con..."
118     },
119     {
120       "tagname": "cfg",
121       "name": "listeners",
122       "member": "Ext.util.Observable",
123       "type": "Object",
124       "doc": "<p>(optional) <p>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\n<a href=\"#/api/Ext.fx.Anim-method-addListener\" rel=\"Ext.fx.Anim-method-addListener\" class=\"docClass\">addListener</a> example for attaching multiple handlers at once.</p></p>\n\n<br><p><b><u>DOM events from ExtJs <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a></u></b></p>\n\n\n<br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this\n\n\n<p>is usually only done when extra value can be added. For example the <a href=\"#/api/Ext.view.View\" rel=\"Ext.view.View\" class=\"docClass\">DataView</a>'s\n<b><code><a href=\"#/api/Ext.view.View--click\" rel=\"Ext.view.View--click\" class=\"docClass\">click</a></code></b> event passing the node clicked on. To access DOM\nevents directly from a child element of a Component, we need to specify the <code>element</code> option to\nidentify the Component property to add a DOM listener to:</p>\n\n<pre><code>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</code></pre>\n\n\n<p></p></p>\n",
125       "private": false,
126       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
127       "linenr": 103,
128       "html_filename": "Observable.html",
129       "href": "Observable.html#Ext-util-Observable-cfg-listeners",
130       "shortDoc": "(optional) A config object containing one or more event handlers to be added to this\nobject during initialization.  T..."
131     },
132     {
133       "tagname": "cfg",
134       "name": "reverse",
135       "member": "Ext.fx.Anim",
136       "type": "Boolean",
137       "doc": "<p>Run the animation from the end to the beginning\nDefaults to false.</p>\n",
138       "private": false,
139       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
140       "linenr": 137,
141       "html_filename": "Anim.html",
142       "href": "Anim.html#Ext-fx-Anim-cfg-reverse"
143     },
144     {
145       "tagname": "cfg",
146       "name": "target",
147       "member": "Ext.fx.Anim",
148       "type": "String/Object",
149       "doc": "<p>The <a href=\"#/api/Ext.fx.target.Target\" rel=\"Ext.fx.target.Target\" class=\"docClass\">Ext.fx.target.Target</a> to apply the animation to.  This should only be specified when creating an <a href=\"#/api/Ext.fx.Anim\" rel=\"Ext.fx.Anim\" class=\"docClass\">Ext.fx.Anim</a> directly.\nThe target does not need to be a <a href=\"#/api/Ext.fx.target.Target\" rel=\"Ext.fx.target.Target\" class=\"docClass\">Ext.fx.target.Target</a> instance, it can be the underlying object. For example, you can\npass a Component, Element or Sprite as the target and the Anim will create the appropriate <a href=\"#/api/Ext.fx.target.Target\" rel=\"Ext.fx.target.Target\" class=\"docClass\">Ext.fx.target.Target</a> object\nautomatically.</p>\n",
150       "private": false,
151       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
152       "linenr": 193,
153       "html_filename": "Anim.html",
154       "href": "Anim.html#Ext-fx-Anim-cfg-target",
155       "shortDoc": "The Ext.fx.target.Target to apply the animation to.  This should only be specified when creating an Ext.fx.Anim direc..."
156     },
157     {
158       "tagname": "cfg",
159       "name": "to",
160       "member": "Ext.fx.Anim",
161       "type": "Object",
162       "doc": "<p>An object containing property/value pairs for the end of the animation. For example:</p>\n\n<pre><code> to : {\n     opacity: 1,       // Opaque\n     color: '#00ff00', // Green\n     left: 500\n }\n </code></pre>\n\n",
163       "private": false,
164       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
165       "linenr": 214,
166       "html_filename": "Anim.html",
167       "href": "Anim.html#Ext-fx-Anim-cfg-to",
168       "shortDoc": "An object containing property/value pairs for the end of the animation. For example:\n\n to : {\n     opacity: 1,       ..."
169     }
170   ],
171   "method": [
172     {
173       "tagname": "method",
174       "name": "addEvents",
175       "member": "Ext.util.Observable",
176       "doc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n",
177       "params": [
178         {
179           "type": "Object/String",
180           "name": "o",
181           "doc": "<p>Either an object with event names as properties with a value of <code>true</code>\nor the first event name string if multiple event names are being passed as separate parameters.</p>\n",
182           "optional": false
183         },
184         {
185           "type": "String",
186           "name": "",
187           "doc": "<p>[additional] Optional additional event names if multiple event names are being passed as separate parameters.\nUsage:</p>\n\n<pre><code>this.addEvents('storeloaded', 'storecleared');\n</code></pre>\n\n",
188           "optional": false
189         }
190       ],
191       "return": {
192         "type": "void",
193         "doc": "\n"
194       },
195       "private": false,
196       "static": false,
197       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
198       "linenr": 452,
199       "html_filename": "Observable.html",
200       "href": "Observable.html#Ext-util-Observable-method-addEvents",
201       "shortDoc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n"
202     },
203     {
204       "tagname": "method",
205       "name": "addListener",
206       "member": "Ext.util.Observable",
207       "doc": "<p>Appends an event handler to this object.</p>\n",
208       "params": [
209         {
210           "type": "String",
211           "name": "eventName",
212           "doc": "<p>The name of the event to listen for. May also be an object who's property names are event names. See</p>\n",
213           "optional": false
214         },
215         {
216           "type": "Function",
217           "name": "handler",
218           "doc": "<p>The method the event invokes.</p>\n",
219           "optional": false
220         },
221         {
222           "type": "Object",
223           "name": "scope",
224           "doc": "<p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.\n<b>If omitted, defaults to the object which fired the event.</b></p>\n",
225           "optional": true
226         },
227         {
228           "type": "Object",
229           "name": "options",
230           "doc": "<p>(optional) An object containing handler configuration.\nproperties. This may contain any of the following properties:<ul>\n<li><b>scope</b> : Object<div class=\"sub-desc\">The scope (<code><b>this</b></code> reference) in which the handler function is executed.\n<b>If omitted, defaults to the object which fired the event.</b></div></li>\n<li><b>delay</b> : Number<div class=\"sub-desc\">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>\n<li><b>single</b> : Boolean<div class=\"sub-desc\">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>\n<li><b>buffer</b> : Number<div class=\"sub-desc\">Causes the handler to be scheduled to run in an <a href=\"#/api/Ext.util.DelayedTask\" rel=\"Ext.util.DelayedTask\" class=\"docClass\">Ext.util.DelayedTask</a> delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>\n<li><b>target</b> : Observable<div class=\"sub-desc\">Only call the handler if the event was fired on the target Observable, <i>not</i>\nif the event was bubbled up from a child Observable.</div></li>\n<li><b>element</b> : String<div class=\"sub-desc\"><b>This option is only valid for listeners bound to <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a>.</b>\nThe name of a Component property which references an element to add a listener to.</p>\n\n<p>This option is useful during Component construction to add DOM event listeners to elements of <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a> which\nwill exist only after the Component is rendered. For example, to add a click listener to a Panel's body:\n<pre><code>new Ext.panel.Panel({\n    title: 'The title',\n    listeners: {\n        click: this.handlePanelClick,\n        element: 'body'\n    }\n});\n</code></pre></p>\n\n\n<p>When added in this way, the options available are the options applicable to <a href=\"#/api/Ext.core.Element-method-addListener\" rel=\"Ext.core.Element-method-addListener\" class=\"docClass\">Ext.core.Element.addListener</a></p>\n\n\n<p></div></li>\n</ul><br></p>\n\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA delayed, one-time listener.\n<pre><code>myPanel.on('hide', this.handleClick, this, {\nsingle: true,\ndelay: 100\n});</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\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<pre><code>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</code></pre>.\n<p>\n\n",
231           "optional": true
232         }
233       ],
234       "return": {
235         "type": "void",
236         "doc": "\n"
237       },
238       "private": false,
239       "static": false,
240       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
241       "linenr": 271,
242       "html_filename": "Observable.html",
243       "href": "Observable.html#Ext-util-Observable-method-addListener",
244       "shortDoc": "<p>Appends an event handler to this object.</p>\n"
245     },
246     {
247       "tagname": "method",
248       "name": "addManagedListener",
249       "member": "Ext.util.Observable",
250       "doc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n",
251       "params": [
252         {
253           "type": "Observable/Element",
254           "name": "item",
255           "doc": "<p>The item to which to add a listener/listeners.</p>\n",
256           "optional": false
257         },
258         {
259           "type": "Object/String",
260           "name": "ename",
261           "doc": "<p>The event name, or an object containing event name properties.</p>\n",
262           "optional": false
263         },
264         {
265           "type": "Function",
266           "name": "fn",
267           "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the handler function.</p>\n",
268           "optional": false
269         },
270         {
271           "type": "Object",
272           "name": "scope",
273           "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the scope (<code>this</code> reference) in which the handler function is executed.</p>\n",
274           "optional": false
275         },
276         {
277           "type": "Object",
278           "name": "opt",
279           "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">addListener</a> options.</p>\n",
280           "optional": false
281         }
282       ],
283       "return": {
284         "type": "void",
285         "doc": "\n"
286       },
287       "private": false,
288       "static": false,
289       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
290       "linenr": 155,
291       "html_filename": "Observable.html",
292       "href": "Observable.html#Ext-util-Observable-method-addManagedListener",
293       "shortDoc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n"
294     },
295     {
296       "tagname": "method",
297       "name": "capture",
298       "member": "Ext.util.Observable",
299       "doc": "<p>Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.</p>\n",
300       "params": [
301         {
302           "type": "Observable",
303           "name": "o",
304           "doc": "<p>The Observable to capture events from.</p>\n",
305           "optional": false
306         },
307         {
308           "type": "Function",
309           "name": "fn",
310           "doc": "<p>The function to call when an event is fired.</p>\n",
311           "optional": false
312         },
313         {
314           "type": "Object",
315           "name": "scope",
316           "doc": "<p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Observable firing the event.</p>\n",
317           "optional": true
318         }
319       ],
320       "return": {
321         "type": "void",
322         "doc": "\n"
323       },
324       "private": false,
325       "static": true,
326       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
327       "linenr": 55,
328       "html_filename": "Observable.html",
329       "href": "Observable.html#Ext-util-Observable-method-capture",
330       "shortDoc": "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + ..."
331     },
332     {
333       "tagname": "method",
334       "name": "clearListeners",
335       "member": "Ext.util.Observable",
336       "doc": "<p>Removes all listeners for this object including the managed listeners</p>\n",
337       "params": [
338
339       ],
340       "return": {
341         "type": "void",
342         "doc": "\n"
343       },
344       "private": false,
345       "static": false,
346       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
347       "linenr": 383,
348       "html_filename": "Observable.html",
349       "href": "Observable.html#Ext-util-Observable-method-clearListeners",
350       "shortDoc": "<p>Removes all listeners for this object including the managed listeners</p>\n"
351     },
352     {
353       "tagname": "method",
354       "name": "clearManagedListeners",
355       "member": "Ext.util.Observable",
356       "doc": "<p>Removes all managed listeners for this object.</p>\n",
357       "params": [
358
359       ],
360       "return": {
361         "type": "void",
362         "doc": "\n"
363       },
364       "private": false,
365       "static": false,
366       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
367       "linenr": 412,
368       "html_filename": "Observable.html",
369       "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners",
370       "shortDoc": "<p>Removes all managed listeners for this object.</p>\n"
371     },
372     {
373       "tagname": "method",
374       "name": "enableBubble",
375       "member": "Ext.util.Observable",
376       "doc": "<p>Enables events fired by this Observable to bubble up an owner hierarchy by calling\n<code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>\n\n\n<p>This is commonly used by Ext.Components to bubble events to owner Containers. See <a href=\"#/api/Ext.Component-method-getBubbleTarget\" rel=\"Ext.Component-method-getBubbleTarget\" class=\"docClass\">Ext.Component.getBubbleTarget</a>. The default\nimplementation in <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Ext.Component</a> returns the Component's immediate owner. But if a known target is required, this can be overridden to\naccess the required target more quickly.</p>\n\n\n<p>Example:</p>\n\n\n<pre><code>Ext.override(Ext.form.field.Base, {\n//  Add functionality to Field&#39;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&#39;s events to bubble directly to the FormPanel.\ngetBubbleTarget : function() {\n    if (!this.formPanel) {\n        this.formPanel = this.findParentByType('form');\n    }\n    return this.formPanel;\n}\n});\n\nvar myForm = new Ext.formPanel({\ntitle: 'User Details',\nitems: [{\n    ...\n}],\nlisteners: {\n    change: function() {\n        // Title goes red if form has been modified.\n        myForm.header.setStyle('color', 'red');\n    }\n}\n});\n</code></pre>\n\n",
377       "params": [
378         {
379           "type": "String/Array",
380           "name": "events",
381           "doc": "<p>The event name to bubble, or an Array of event names.</p>\n",
382           "optional": false
383         }
384       ],
385       "return": {
386         "type": "void",
387         "doc": "\n"
388       },
389       "private": false,
390       "static": false,
391       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
392       "linenr": 554,
393       "html_filename": "Observable.html",
394       "href": "Observable.html#Ext-util-Observable-method-enableBubble",
395       "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling\nthis.getBubbleTarget() if present...."
396     },
397     {
398       "tagname": "method",
399       "name": "fireEvent",
400       "member": "Ext.util.Observable",
401       "doc": "<p>Fires the specified event with the passed parameters (minus the event name).</p>\n\n\n<p>An event may be set to bubble up an Observable parent hierarchy (See <a href=\"#/api/Ext.Component-method-getBubbleTarget\" rel=\"Ext.Component-method-getBubbleTarget\" class=\"docClass\">Ext.Component.getBubbleTarget</a>)\nby calling <a href=\"#/api/Ext.fx.Anim-method-enableBubble\" rel=\"Ext.fx.Anim-method-enableBubble\" class=\"docClass\">enableBubble</a>.</p>\n\n",
402       "params": [
403         {
404           "type": "String",
405           "name": "eventName",
406           "doc": "<p>The name of the event to fire.</p>\n",
407           "optional": false
408         },
409         {
410           "type": "Object...",
411           "name": "args",
412           "doc": "<p>Variable number of parameters are passed to handlers.</p>\n",
413           "optional": false
414         }
415       ],
416       "return": {
417         "type": "Boolean",
418         "doc": "<p>returns false if any of the handlers return false otherwise it returns true.</p>\n"
419       },
420       "private": false,
421       "static": false,
422       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
423       "linenr": 232,
424       "html_filename": "Observable.html",
425       "href": "Observable.html#Ext-util-Observable-method-fireEvent",
426       "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..."
427     },
428     {
429       "tagname": "method",
430       "name": "hasListener",
431       "member": "Ext.util.Observable",
432       "doc": "<p>Checks to see if this object has any listeners for a specified event</p>\n",
433       "params": [
434         {
435           "type": "String",
436           "name": "eventName",
437           "doc": "<p>The name of the event to check for</p>\n",
438           "optional": false
439         }
440       ],
441       "return": {
442         "type": "Boolean",
443         "doc": "<p>True if the event is being listened for, else false</p>\n"
444       },
445       "private": false,
446       "static": false,
447       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
448       "linenr": 480,
449       "html_filename": "Observable.html",
450       "href": "Observable.html#Ext-util-Observable-method-hasListener",
451       "shortDoc": "<p>Checks to see if this object has any listeners for a specified event</p>\n"
452     },
453     {
454       "tagname": "method",
455       "name": "observe",
456       "member": "Ext.util.Observable",
457       "doc": "<p>Sets observability on the passed class constructor.</p>\n\n<p>This makes any event fired on any instance of the passed class also fire a single event through\nthe <strong>class</strong> allowing for central handling of events on many instances at once.</p>\n\n<p>Usage:</p>\n\n<pre><code>Ext.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</code></pre>\n",
458       "params": [
459         {
460           "type": "Function",
461           "name": "c",
462           "doc": "<p>The class constructor to make observable.</p>\n",
463           "optional": false
464         },
465         {
466           "type": "Object",
467           "name": "listeners",
468           "doc": "<p>An object containing a series of listeners to add. See <a href=\"#/api/Ext.fx.Anim-method-addListener\" rel=\"Ext.fx.Anim-method-addListener\" class=\"docClass\">addListener</a>.</p>\n",
469           "optional": false
470         }
471       ],
472       "return": {
473         "type": "void",
474         "doc": "\n"
475       },
476       "private": false,
477       "static": true,
478       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
479       "linenr": 69,
480       "html_filename": "Observable.html",
481       "href": "Observable.html#Ext-util-Observable-method-observe",
482       "shortDoc": "Sets observability on the passed class constructor.\n\nThis makes any event fired on any instance of the passed class a..."
483     },
484     {
485       "tagname": "method",
486       "name": "on",
487       "member": "Ext.util.Observable",
488       "doc": "<p>Appends an event handler to this object (shorthand for <a href=\"#/api/Ext.fx.Anim-method-addListener\" rel=\"Ext.fx.Anim-method-addListener\" class=\"docClass\">addListener</a>.)</p>\n",
489       "params": [
490         {
491           "type": "String",
492           "name": "eventName",
493           "doc": "<p>The type of event to listen for</p>\n",
494           "optional": false
495         },
496         {
497           "type": "Function",
498           "name": "handler",
499           "doc": "<p>The method the event invokes</p>\n",
500           "optional": false
501         },
502         {
503           "type": "Object",
504           "name": "scope",
505           "doc": "<p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.\n<b>If omitted, defaults to the object which fired the event.</b></p>\n",
506           "optional": true
507         },
508         {
509           "type": "Object",
510           "name": "options",
511           "doc": "<p>(optional) An object containing handler configuration.</p>\n",
512           "optional": true
513         }
514       ],
515       "return": {
516         "type": "void",
517         "doc": "\n"
518       },
519       "private": false,
520       "static": false,
521       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
522       "linenr": 616,
523       "html_filename": "Observable.html",
524       "href": "Observable.html#Ext-util-Observable-method-on",
525       "shortDoc": "<p>Appends an event handler to this object (shorthand for <a href=\"#/api/Ext.fx.Anim-method-addListener\" rel=\"Ext.fx.Anim-method-addListener\" class=\"docClass\">addListener</a>.)</p>\n"
526     },
527     {
528       "tagname": "method",
529       "name": "relayEvents",
530       "member": "Ext.util.Observable",
531       "doc": "<p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>\n",
532       "params": [
533         {
534           "type": "Object",
535           "name": "origin",
536           "doc": "<p>The Observable whose events this object is to relay.</p>\n",
537           "optional": false
538         },
539         {
540           "type": "Array",
541           "name": "events",
542           "doc": "<p>Array of event names to relay.</p>\n",
543           "optional": false
544         },
545         {
546           "type": "Object",
547           "name": "prefix",
548           "doc": "\n",
549           "optional": false
550         }
551       ],
552       "return": {
553         "type": "void",
554         "doc": "\n"
555       },
556       "private": false,
557       "static": false,
558       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
559       "linenr": 520,
560       "html_filename": "Observable.html",
561       "href": "Observable.html#Ext-util-Observable-method-relayEvents",
562       "shortDoc": "<p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>\n"
563     },
564     {
565       "tagname": "method",
566       "name": "releaseCapture",
567       "member": "Ext.util.Observable",
568       "doc": "<p>Removes <b>all</b> added captures from the Observable.</p>\n",
569       "params": [
570         {
571           "type": "Observable",
572           "name": "o",
573           "doc": "<p>The Observable to release</p>\n",
574           "optional": false
575         }
576       ],
577       "return": {
578         "type": "void",
579         "doc": "\n"
580       },
581       "private": false,
582       "static": true,
583       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
584       "linenr": 46,
585       "html_filename": "Observable.html",
586       "href": "Observable.html#Ext-util-Observable-method-releaseCapture",
587       "shortDoc": "<p>Removes <b>all</b> added captures from the Observable.</p>\n"
588     },
589     {
590       "tagname": "method",
591       "name": "removeListener",
592       "member": "Ext.util.Observable",
593       "doc": "<p>Removes an event handler.</p>\n",
594       "params": [
595         {
596           "type": "String",
597           "name": "eventName",
598           "doc": "<p>The type of event the handler was associated with.</p>\n",
599           "optional": false
600         },
601         {
602           "type": "Function",
603           "name": "handler",
604           "doc": "<p>The handler to remove. <b>This must be a reference to the function passed into the <a href=\"#/api/Ext.fx.Anim-method-addListener\" rel=\"Ext.fx.Anim-method-addListener\" class=\"docClass\">addListener</a> call.</b></p>\n",
605           "optional": false
606         },
607         {
608           "type": "Object",
609           "name": "scope",
610           "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
611           "optional": true
612         }
613       ],
614       "return": {
615         "type": "void",
616         "doc": "\n"
617       },
618       "private": false,
619       "static": false,
620       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
621       "linenr": 352,
622       "html_filename": "Observable.html",
623       "href": "Observable.html#Ext-util-Observable-method-removeListener",
624       "shortDoc": "<p>Removes an event handler.</p>\n"
625     },
626     {
627       "tagname": "method",
628       "name": "removeManagedListener",
629       "member": "Ext.util.Observable",
630       "doc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.fx.Anim--mon\" rel=\"Ext.fx.Anim--mon\" class=\"docClass\">mon</a> method.</p>\n",
631       "params": [
632         {
633           "type": "Observable|Element",
634           "name": "item",
635           "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
636           "optional": false
637         },
638         {
639           "type": "Object|String",
640           "name": "ename",
641           "doc": "<p>The event name, or an object containing event name properties.</p>\n",
642           "optional": false
643         },
644         {
645           "type": "Function",
646           "name": "fn",
647           "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the handler function.</p>\n",
648           "optional": false
649         },
650         {
651           "type": "Object",
652           "name": "scope",
653           "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this\nis the scope (<code>this</code> reference) in which the handler function is executed.</p>\n",
654           "optional": false
655         }
656       ],
657       "return": {
658         "type": "void",
659         "doc": "\n"
660       },
661       "private": false,
662       "static": false,
663       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
664       "linenr": 196,
665       "html_filename": "Observable.html",
666       "href": "Observable.html#Ext-util-Observable-method-removeManagedListener",
667       "shortDoc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.fx.Anim--mon\" rel=\"Ext.fx.Anim--mon\" class=\"docClass\">mon</a> method.</p>\n"
668     },
669     {
670       "tagname": "method",
671       "name": "resumeEvents",
672       "member": "Ext.util.Observable",
673       "doc": "<p>Resume firing events. (see <a href=\"#/api/Ext.fx.Anim-method-suspendEvents\" rel=\"Ext.fx.Anim-method-suspendEvents\" class=\"docClass\">suspendEvents</a>)\nIf events were suspended using the <code><b>queueSuspended</b></code> parameter, then all\nevents fired during event suspension will be sent to any listeners now.</p>\n",
674       "params": [
675
676       ],
677       "return": {
678         "type": "void",
679         "doc": "\n"
680       },
681       "private": false,
682       "static": false,
683       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
684       "linenr": 502,
685       "html_filename": "Observable.html",
686       "href": "Observable.html#Ext-util-Observable-method-resumeEvents",
687       "shortDoc": "Resume firing events. (see suspendEvents)\nIf events were suspended using the queueSuspended parameter, then all\nevent..."
688     },
689     {
690       "tagname": "method",
691       "name": "suspendEvents",
692       "member": "Ext.util.Observable",
693       "doc": "<p>Suspend the firing of all events. (see <a href=\"#/api/Ext.fx.Anim-method-resumeEvents\" rel=\"Ext.fx.Anim-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n",
694       "params": [
695         {
696           "type": "Boolean",
697           "name": "queueSuspended",
698           "doc": "<p>Pass as true to queue up suspended events to be fired\nafter the <a href=\"#/api/Ext.fx.Anim-method-resumeEvents\" rel=\"Ext.fx.Anim-method-resumeEvents\" class=\"docClass\">resumeEvents</a> call instead of discarding all suspended events;</p>\n",
699           "optional": false
700         }
701       ],
702       "return": {
703         "type": "void",
704         "doc": "\n"
705       },
706       "private": false,
707       "static": false,
708       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
709       "linenr": 490,
710       "html_filename": "Observable.html",
711       "href": "Observable.html#Ext-util-Observable-method-suspendEvents",
712       "shortDoc": "<p>Suspend the firing of all events. (see <a href=\"#/api/Ext.fx.Anim-method-resumeEvents\" rel=\"Ext.fx.Anim-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n"
713     },
714     {
715       "tagname": "method",
716       "name": "un",
717       "member": "Ext.util.Observable",
718       "doc": "<p>Removes an event handler (shorthand for <a href=\"#/api/Ext.fx.Anim-method-removeListener\" rel=\"Ext.fx.Anim-method-removeListener\" class=\"docClass\">removeListener</a>.)</p>\n",
719       "params": [
720         {
721           "type": "String",
722           "name": "eventName",
723           "doc": "<p>The type of event the handler was associated with.</p>\n",
724           "optional": false
725         },
726         {
727           "type": "Function",
728           "name": "handler",
729           "doc": "<p>The handler to remove. <b>This must be a reference to the function passed into the <a href=\"#/api/Ext.fx.Anim-method-addListener\" rel=\"Ext.fx.Anim-method-addListener\" class=\"docClass\">addListener</a> call.</b></p>\n",
730           "optional": false
731         },
732         {
733           "type": "Object",
734           "name": "scope",
735           "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
736           "optional": true
737         }
738       ],
739       "return": {
740         "type": "void",
741         "doc": "\n"
742       },
743       "private": false,
744       "static": false,
745       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
746       "linenr": 608,
747       "html_filename": "Observable.html",
748       "href": "Observable.html#Ext-util-Observable-method-un",
749       "shortDoc": "<p>Removes an event handler (shorthand for <a href=\"#/api/Ext.fx.Anim-method-removeListener\" rel=\"Ext.fx.Anim-method-removeListener\" class=\"docClass\">removeListener</a>.)</p>\n"
750     }
751   ],
752   "property": [
753     {
754       "tagname": "property",
755       "name": "currentIteration",
756       "member": "Ext.fx.Anim",
757       "type": "int",
758       "doc": "<p>Current iteration the animation is running.</p>\n",
759       "private": false,
760       "static": false,
761       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
762       "linenr": 172,
763       "html_filename": "Anim.html",
764       "href": "Anim.html#Ext-fx-Anim-property-currentIteration"
765     },
766     {
767       "tagname": "property",
768       "name": "paused",
769       "member": "Ext.fx.Anim",
770       "type": "boolean",
771       "doc": "<p>Flag to determine if the animation is paused. Only set this to true if you need to\nkeep the Anim instance around to be unpaused later; otherwise call <a href=\"#/api/Ext.fx.Anim--end\" rel=\"Ext.fx.Anim--end\" class=\"docClass\">end</a>.</p>\n",
772       "private": false,
773       "static": false,
774       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
775       "linenr": 151,
776       "html_filename": "Anim.html",
777       "href": "Anim.html#Ext-fx-Anim-property-paused",
778       "shortDoc": "Flag to determine if the animation is paused. Only set this to true if you need to\nkeep the Anim instance around to b..."
779     },
780     {
781       "tagname": "property",
782       "name": "running",
783       "member": "Ext.fx.Anim",
784       "type": "boolean",
785       "doc": "<p>Flag to determine if the animation has started</p>\n",
786       "private": false,
787       "static": false,
788       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
789       "linenr": 144,
790       "html_filename": "Anim.html",
791       "href": "Anim.html#Ext-fx-Anim-property-running"
792     },
793     {
794       "tagname": "property",
795       "name": "startTime",
796       "member": "Ext.fx.Anim",
797       "type": "Date",
798       "doc": "<p>Starting time of the animation.</p>\n",
799       "private": false,
800       "static": false,
801       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
802       "linenr": 179,
803       "html_filename": "Anim.html",
804       "href": "Anim.html#Ext-fx-Anim-property-startTime"
805     }
806   ],
807   "event": [
808     {
809       "tagname": "event",
810       "name": "afteranimate",
811       "member": "Ext.fx.Anim",
812       "doc": "<p>Fires when the animation is complete.</p>\n",
813       "params": [
814         {
815           "type": "Ext.fx.Anim",
816           "name": "this",
817           "doc": "\n",
818           "optional": false
819         },
820         {
821           "type": "Date",
822           "name": "startTime",
823           "doc": "\n",
824           "optional": false
825         }
826       ],
827       "private": false,
828       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
829       "linenr": 261,
830       "html_filename": "Anim.html",
831       "href": "Anim.html#Ext-fx-Anim-event-afteranimate",
832       "shortDoc": "<p>Fires when the animation is complete.</p>\n"
833     },
834     {
835       "tagname": "event",
836       "name": "beforeanimate",
837       "member": "Ext.fx.Anim",
838       "doc": "<p>Fires before the animation starts. A handler can return false to cancel the animation.</p>\n",
839       "params": [
840         {
841           "type": "Ext.fx.Anim",
842           "name": "this",
843           "doc": "\n",
844           "optional": false
845         }
846       ],
847       "private": false,
848       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
849       "linenr": 255,
850       "html_filename": "Anim.html",
851       "href": "Anim.html#Ext-fx-Anim-event-beforeanimate",
852       "shortDoc": "<p>Fires before the animation starts. A handler can return false to cancel the animation.</p>\n"
853     },
854     {
855       "tagname": "event",
856       "name": "lastframe",
857       "member": "Ext.fx.Anim",
858       "doc": "<p>Fires when the animation's last frame has been set.</p>\n",
859       "params": [
860         {
861           "type": "Ext.fx.Anim",
862           "name": "this",
863           "doc": "\n",
864           "optional": false
865         },
866         {
867           "type": "Date",
868           "name": "startTime",
869           "doc": "\n",
870           "optional": false
871         }
872       ],
873       "private": false,
874       "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
875       "linenr": 268,
876       "html_filename": "Anim.html",
877       "href": "Anim.html#Ext-fx-Anim-event-lastframe",
878       "shortDoc": "<p>Fires when the animation's last frame has been set.</p>\n"
879     }
880   ],
881   "filename": "/Users/nick/Projects/sencha/SDK/platform/src/fx/Anim.js",
882   "linenr": 1,
883   "html_filename": "Anim.html",
884   "href": "Anim.html#Ext-fx-Anim",
885   "cssVar": [
886
887   ],
888   "cssMixin": [
889
890   ],
891   "component": false,
892   "superclasses": [
893
894   ],
895   "subclasses": [
896
897   ],
898   "mixedInto": [
899
900   ],
901   "allMixins": [
902     "Ext.util.Observable"
903   ]
904 });