1 Ext.data.JsonP.Ext_state_Stateful({
15 "href": "Observable.html#Ext-util-Observable-cfg-listeners",
16 "shortDoc": "A config object containing one or more event handlers to be added to this object during initialization. ...",
18 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
21 "owner": "Ext.util.Observable",
22 "doc": "<p>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 <a href=\"#/api/Ext.state.Stateful-method-addListener\" rel=\"Ext.state.Stateful-method-addListener\" class=\"docClass\">addListener</a> example for attaching multiple\nhandlers at once.</p>\n\n<p><strong>DOM events from ExtJS <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a></strong></p>\n\n<p>While <em>some</em> ExtJs 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 <a href=\"#/api/Ext.view.View\" rel=\"Ext.view.View\" class=\"docClass\">DataView</a>'s <strong><code><a href=\"#/api/Ext.view.View-event-itemclick\" rel=\"Ext.view.View-event-itemclick\" class=\"docClass\">itemclick</a></code></strong> event passing the node clicked on. To access DOM events directly from a\nchild element of a Component, we need to specify the <code>element</code> option to identify the Component property to add a\nDOM 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",
24 "html_filename": "Observable.html"
32 "href": "Stateful.html#Ext-state-Stateful-cfg-saveBuffer",
33 "shortDoc": "A buffer to be applied if many state events are fired within\na short period. ...",
35 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
38 "owner": "Ext.state.Stateful",
39 "doc": "<p>A buffer to be applied if many state events are fired within\na short period. Defaults to 100.</p>\n",
41 "html_filename": "Stateful.html"
49 "href": "Stateful.html#Ext-state-Stateful-cfg-stateEvents",
50 "shortDoc": "An array of events that, when fired, should trigger this object to\nsave its state (defaults to none). ...",
52 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
54 "name": "stateEvents",
55 "owner": "Ext.state.Stateful",
56 "doc": "<p>An array of events that, when fired, should trigger this object to\nsave its state (defaults to none). <code>stateEvents</code> may be any type\nof event supported by this object, including browser or custom events\n(e.g., <tt>['click', 'customerchange']</tt>).</p>\n\n\n<p>See <code><a href=\"#/api/Ext.state.Stateful-cfg-stateful\" rel=\"Ext.state.Stateful-cfg-stateful\" class=\"docClass\">stateful</a></code> for an explanation of saving and\nrestoring object state.</p>\n\n",
58 "html_filename": "Stateful.html"
66 "href": "Stateful.html#Ext-state-Stateful-cfg-stateId",
67 "shortDoc": "The unique id for this object to use for state management purposes. ...",
69 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
72 "owner": "Ext.state.Stateful",
73 "doc": "<p>The unique id for this object to use for state management purposes.</p>\n\n<p>See <a href=\"#/api/Ext.state.Stateful-cfg-stateful\" rel=\"Ext.state.Stateful-cfg-stateful\" class=\"docClass\">stateful</a> for an explanation of saving and restoring state.</p>\n\n",
75 "html_filename": "Stateful.html"
83 "href": "Stateful.html#Ext-state-Stateful-cfg-stateful",
84 "shortDoc": "A flag which causes the object to attempt to restore the state of\ninternal properties from a saved state on startup. ...",
86 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
89 "owner": "Ext.state.Stateful",
90 "doc": "<p>A flag which causes the object to attempt to restore the state of\ninternal properties from a saved state on startup. The object must have\na <code><a href=\"#/api/Ext.state.Stateful-cfg-stateId\" rel=\"Ext.state.Stateful-cfg-stateId\" class=\"docClass\">stateId</a></code> for state to be managed.\nAuto-generated ids are not guaranteed to be stable across page loads and\ncannot be relied upon to save and restore the same state for a object.<p>\n<p>For state saving to work, the state manager's provider must have been\nset to an implementation of <a href=\"#/api/Ext.state.Provider\" rel=\"Ext.state.Provider\" class=\"docClass\">Ext.state.Provider</a> which overrides the\n<a href=\"#/api/Ext.state.Provider-method-set\" rel=\"Ext.state.Provider-method-set\" class=\"docClass\">set</a> and <a href=\"#/api/Ext.state.Provider-method-get\" rel=\"Ext.state.Provider-method-get\" class=\"docClass\">get</a>\nmethods to save and recall name/value pairs. A built-in implementation,\n<a href=\"#/api/Ext.state.CookieProvider\" rel=\"Ext.state.CookieProvider\" class=\"docClass\">Ext.state.CookieProvider</a> is available.</p>\n<p>To set the state provider for the current page:</p>\n<pre><code>Ext.state.Manager.setProvider(new Ext.state.CookieProvider({\n expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now\n}));\n</code></pre>\n<p>A stateful object attempts to save state when one of the events\nlisted in the <code><a href=\"#/api/Ext.state.Stateful-cfg-stateEvents\" rel=\"Ext.state.Stateful-cfg-stateEvents\" class=\"docClass\">stateEvents</a></code> configuration fires.</p>\n<p>To save state, a stateful object first serializes its state by\ncalling <b><code><a href=\"#/api/Ext.state.Stateful-method-getState\" rel=\"Ext.state.Stateful-method-getState\" class=\"docClass\">getState</a></code></b>. By default, this function does\nnothing. The developer must provide an implementation which returns an\nobject hash which represents the restorable state of the object.</p>\n<p>The value yielded by getState is passed to <a href=\"#/api/Ext.state.Manager-method-set\" rel=\"Ext.state.Manager-method-set\" class=\"docClass\">Ext.state.Manager.set</a>\nwhich uses the configured <a href=\"#/api/Ext.state.Provider\" rel=\"Ext.state.Provider\" class=\"docClass\">Ext.state.Provider</a> to save the object\nkeyed by the <code><a href=\"#/api/Ext.state.Stateful-cfg-stateId\" rel=\"Ext.state.Stateful-cfg-stateId\" class=\"docClass\">stateId</a></code></p>.\n<p>During construction, a stateful object attempts to <i>restore</i>\nits state by calling <a href=\"#/api/Ext.state.Manager-method-get\" rel=\"Ext.state.Manager-method-get\" class=\"docClass\">Ext.state.Manager.get</a> passing the\n<code><a href=\"#/api/Ext.state.Stateful-cfg-stateId\" rel=\"Ext.state.Stateful-cfg-stateId\" class=\"docClass\">stateId</a></code></p>\n<p>The resulting object is passed to <b><code><a href=\"#/api/Ext.state.Stateful-method-applyState\" rel=\"Ext.state.Stateful-method-applyState\" class=\"docClass\">applyState</a></code></b>.\nThe default implementation of <code><a href=\"#/api/Ext.state.Stateful-method-applyState\" rel=\"Ext.state.Stateful-method-applyState\" class=\"docClass\">applyState</a></code> simply copies\nproperties into the object, but a developer may override this to support\nmore behaviour.</p>\n<p>You can perform extra processing on state save and restore by attaching\nhandlers to the <a href=\"#/api/Ext.state.Stateful-event-beforestaterestore\" rel=\"Ext.state.Stateful-event-beforestaterestore\" class=\"docClass\">beforestaterestore</a>, <a href=\"#/api/Ext.state.Stateful-event-staterestore\" rel=\"Ext.state.Stateful-event-staterestore\" class=\"docClass\">staterestore</a>,\n<a href=\"#/api/Ext.state.Stateful-event-beforestatesave\" rel=\"Ext.state.Stateful-event-beforestatesave\" class=\"docClass\">beforestatesave</a> and <a href=\"#/api/Ext.state.Stateful-event-statesave\" rel=\"Ext.state.Stateful-event-statesave\" class=\"docClass\">statesave</a> events.</p>\n\n",
92 "html_filename": "Stateful.html"
101 "href": "Observable.html#Ext-util-Observable-method-addEvents",
102 "shortDoc": "Adds the specified events to the list of events which this Observable may fire. ...",
104 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
108 "type": "Object/String",
110 "doc": "<p>Either an object with event names as properties with a value of <code>true</code> or the first\nevent name string if multiple event names are being passed as separate parameters. Usage:</p>\n\n<pre><code>this.addEvents({\n storeloaded: true,\n storecleared: true\n});\n</code></pre>\n",
116 "doc": "<p>Optional additional event names if multiple event names are being passed as separate\nparameters. Usage:</p>\n\n<pre><code>this.addEvents('storeloaded', 'storecleared');\n</code></pre>\n",
121 "owner": "Ext.util.Observable",
122 "doc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n",
128 "html_filename": "Observable.html"
135 "href": "Observable.html#Ext-util-Observable-method-addListener",
136 "shortDoc": "Appends an event handler to this object. ...",
138 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
144 "doc": "<p>The name of the event to listen for. May also be an object who's property names are\nevent names.</p>\n",
150 "doc": "<p>The method the event invokes. Will be called with arguments given to\n<a href=\"#/api/Ext.state.Stateful-method-fireEvent\" rel=\"Ext.state.Stateful-method-fireEvent\" class=\"docClass\">fireEvent</a> plus the <code>options</code> parameter described below.</p>\n",
156 "doc": "<p>(optional) The scope (<code>this</code> reference) in which the handler function is executed. <strong>If\nomitted, defaults to the object which fired the event.</strong></p>\n",
162 "doc": "<p>(optional) An object containing handler configuration.</p>\n\n<p><strong>Note:</strong> Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.</p>\n\n<p>This object may contain any of the following properties:</p>\n\n<ul>\n<li><p><strong>scope</strong> : Object</p>\n\n<p>The scope (<code>this</code> reference) in which the handler function is executed. <strong>If omitted, defaults to the object\nwhich fired the event.</strong></p></li>\n<li><p><strong>delay</strong> : Number</p>\n\n<p>The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>\n<li><p><strong>single</strong> : Boolean</p>\n\n<p>True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>\n<li><p><strong>buffer</strong> : Number</p>\n\n<p>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 by the specified number of\nmilliseconds. If the event fires again within that time, the original handler is <em>not</em> invoked, but the new\nhandler is scheduled in its place.</p></li>\n<li><p><strong>target</strong> : Observable</p>\n\n<p>Only call the handler if the event was fired on the target Observable, <em>not</em> if the event was bubbled up from a\nchild Observable.</p></li>\n<li><p><strong>element</strong> : String</p>\n\n<p><strong>This option is only valid for listeners bound to <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a>.</strong> The name of a Component\nproperty 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\n<a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a> which will exist only after the Component is rendered.\nFor example, to add a click listener to a Panel's body:</p>\n\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></li>\n</ul>\n\n\n<p><strong>Combining Options</strong></p>\n\n<p>Using the options argument, it is possible to combine different types of listeners:</p>\n\n<p>A delayed, one-time listener.</p>\n\n<pre><code>myPanel.on('hide', this.handleClick, this, {\n single: true,\n delay: 100\n});\n</code></pre>\n\n<p><strong>Attaching multiple handlers in 1 call</strong></p>\n\n<p>The method also allows for a single argument to be passed which is a config object containing properties which\nspecify multiple events. For example:</p>\n\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\n<p>One can also specify options for each event handler separately:</p>\n\n<pre><code>myGridPanel.on({\n cellClick: {fn: this.onCellClick, scope: this, single: true},\n mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n</code></pre>\n",
166 "name": "addListener",
167 "owner": "Ext.util.Observable",
168 "doc": "<p>Appends an event handler to this object.</p>\n",
174 "html_filename": "Observable.html"
181 "href": "Observable.html#Ext-util-Observable-method-addManagedListener",
182 "shortDoc": "Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed. ...",
184 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
188 "type": "Observable/Element",
190 "doc": "<p>The item to which to add a listener/listeners.</p>\n",
194 "type": "Object/String",
196 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
202 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
208 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the scope (<code>this</code> reference)\nin which the handler function is executed.</p>\n",
214 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the\n<a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">addListener</a> options.</p>\n",
218 "name": "addManagedListener",
219 "owner": "Ext.util.Observable",
220 "doc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed.</p>\n",
226 "html_filename": "Observable.html"
233 "href": "Stateful.html#Ext-state-Stateful-method-addStateEvents",
234 "shortDoc": "Add events that will trigger the state to be saved. ...",
236 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
240 "type": "String/Array",
242 "doc": "<p>The event name or an array of event names.</p>\n",
246 "name": "addStateEvents",
247 "owner": "Ext.state.Stateful",
248 "doc": "<p>Add events that will trigger the state to be saved.</p>\n",
254 "html_filename": "Stateful.html"
261 "href": "Base3.html#Ext-Base-method-addStatics",
262 "shortDoc": "Add / override static properties of this class. ...",
264 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
274 "name": "addStatics",
276 "doc": "<p>Add / override static properties of this class.</p>\n\n<pre><code>Ext.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</code></pre>\n",
280 "doc": "<p>this</p>\n"
282 "html_filename": "Base3.html"
289 "href": "Stateful.html#Ext-state-Stateful-method-applyState",
290 "shortDoc": "Applies the state to the object. ...",
292 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
298 "doc": "<p>The state</p>\n",
302 "name": "applyState",
303 "owner": "Ext.state.Stateful",
304 "doc": "<p>Applies the state to the object. This should be overridden in subclasses to do\nmore complex state operations. By default it applies the state properties onto\nthe current object.</p>\n",
310 "html_filename": "Stateful.html"
317 "href": "Base3.html#Ext-Base-method-callOverridden",
318 "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n constructo...",
320 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
324 "type": "Array/Arguments",
326 "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
330 "name": "callOverridden",
332 "doc": "<p>Call the original method that was previously overridden with <a href=\"#/api/Ext.Base-method-override\" rel=\"Ext.Base-method-override\" class=\"docClass\">Ext.Base.override</a></p>\n\n<pre><code>Ext.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</code></pre>\n",
336 "doc": "<p>Returns the result after calling the overridden method</p>\n"
338 "html_filename": "Base3.html"
345 "href": "Base3.html#Ext-Base-method-callParent",
346 "shortDoc": "Call the parent's overridden method. ...",
348 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
352 "type": "Array/Arguments",
354 "doc": "<p>The arguments, either an array or the <code>arguments</code> object\nfrom the current method, for example: <code>this.callParent(arguments)</code></p>\n",
358 "name": "callParent",
360 "doc": "<p>Call the parent's overridden method. For example:</p>\n\n<pre><code>Ext.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</code></pre>\n",
364 "doc": "<p>Returns the result from the superclass' method</p>\n"
366 "html_filename": "Base3.html"
373 "href": "Observable.html#Ext-util-Observable-method-capture",
374 "shortDoc": "Starts capture on the specified Observable. ...",
376 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
380 "type": "Observable",
382 "doc": "<p>The Observable to capture events from.</p>\n",
388 "doc": "<p>The function to call when an event is fired.</p>\n",
394 "doc": "<p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to\nthe Observable firing the event.</p>\n",
399 "owner": "Ext.util.Observable",
400 "doc": "<p>Starts capture on the specified Observable. All events will be passed to the supplied function with the event\nname + standard signature of the event <strong>before</strong> the event is fired. If the supplied function returns false,\nthe event will not fire.</p>\n",
406 "html_filename": "Observable.html"
413 "href": "Observable.html#Ext-util-Observable-method-clearListeners",
414 "shortDoc": "Removes all listeners for this object including the managed listeners ...",
416 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
421 "name": "clearListeners",
422 "owner": "Ext.util.Observable",
423 "doc": "<p>Removes all listeners for this object including the managed listeners</p>\n",
429 "html_filename": "Observable.html"
436 "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners",
437 "shortDoc": "Removes all managed listeners for this object. ...",
439 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
444 "name": "clearManagedListeners",
445 "owner": "Ext.util.Observable",
446 "doc": "<p>Removes all managed listeners for this object.</p>\n",
452 "html_filename": "Observable.html"
459 "href": "Base3.html#Ext-Base-method-create",
460 "shortDoc": "Create a new instance of this Class. ...",
462 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
469 "doc": "<p>Create a new instance of this Class.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfig: true\n});\n</code></pre>\n\n<p>All parameters are passed to the constructor of the class.</p>\n",
473 "doc": "<p>the created instance.</p>\n"
475 "html_filename": "Base3.html"
482 "href": "Base3.html#Ext-Base-method-createAlias",
483 "shortDoc": "Create aliases for existing prototype methods. ...",
485 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
489 "type": "String/Object",
491 "doc": "<p>The new method name, or an object to set multiple aliases. See\n<a href=\"#/api/Ext.Function-method-flexSetter\" rel=\"Ext.Function-method-flexSetter\" class=\"docClass\">flexSetter</a></p>\n",
495 "type": "String/Object",
497 "doc": "<p>The original method name</p>\n",
501 "name": "createAlias",
503 "doc": "<p>Create aliases for existing prototype methods. Example:</p>\n\n<pre><code>Ext.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</code></pre>\n",
509 "html_filename": "Base3.html"
516 "href": "Stateful.html#Ext-state-Stateful-method-destroy",
517 "shortDoc": "Destroys this stateful object. ...",
519 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
525 "owner": "Ext.state.Stateful",
526 "doc": "<p>Destroys this stateful object.</p>\n",
532 "html_filename": "Stateful.html"
539 "href": "Observable.html#Ext-util-Observable-method-enableBubble",
540 "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if\npresent. ...",
542 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
546 "type": "String/[String]",
548 "doc": "<p>The event name to bubble, or an Array of event names.</p>\n",
552 "name": "enableBubble",
553 "owner": "Ext.util.Observable",
554 "doc": "<p>Enables events fired by this Observable to bubble up an owner hierarchy by calling <code>this.getBubbleTarget()</code> if\npresent. There is no implementation in the Observable base class.</p>\n\n<p>This is commonly used by Ext.Components to bubble events to owner Containers.\nSee <a href=\"#/api/Ext.Component-method-getBubbleTarget\" rel=\"Ext.Component-method-getBubbleTarget\" class=\"docClass\">Ext.Component.getBubbleTarget</a>. The default implementation in <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Ext.Component</a> returns the\nComponent's immediate owner. But if a known target is required, this can be overridden to access the\nrequired target more quickly.</p>\n\n<p>Example:</p>\n\n<pre><code>Ext.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</code></pre>\n",
560 "html_filename": "Observable.html"
567 "href": "Observable.html#Ext-util-Observable-method-fireEvent",
568 "shortDoc": "Fires the specified event with the passed parameters (minus the event name, plus the options object passed\nto addList...",
570 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
576 "doc": "<p>The name of the event to fire.</p>\n",
582 "doc": "<p>Variable number of parameters are passed to handlers.</p>\n",
587 "owner": "Ext.util.Observable",
588 "doc": "<p>Fires the specified event with the passed parameters (minus the event name, plus the <code>options</code> object passed\nto <a href=\"#/api/Ext.state.Stateful-method-addListener\" rel=\"Ext.state.Stateful-method-addListener\" class=\"docClass\">addListener</a>).</p>\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>) by\ncalling <a href=\"#/api/Ext.state.Stateful-method-enableBubble\" rel=\"Ext.state.Stateful-method-enableBubble\" class=\"docClass\">enableBubble</a>.</p>\n",
592 "doc": "<p>returns false if any of the handlers return false otherwise it returns true.</p>\n"
594 "html_filename": "Observable.html"
601 "href": "Base3.html#Ext-Base-method-getName",
602 "shortDoc": "Get the current class' name in string format. ...",
604 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
611 "doc": "<p>Get the current class' name in string format.</p>\n\n<pre><code>Ext.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</code></pre>\n",
615 "doc": "<p>className</p>\n"
617 "html_filename": "Base3.html"
624 "href": "Stateful.html#Ext-state-Stateful-method-getState",
625 "shortDoc": "Gets the current state of the object. ...",
627 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
633 "owner": "Ext.state.Stateful",
634 "doc": "<p>Gets the current state of the object. By default this function returns null,\nit should be overridden in subclasses to implement methods for getting the state.</p>\n",
638 "doc": "<p>The current state</p>\n"
640 "html_filename": "Stateful.html"
647 "href": "Stateful.html#Ext-state-Stateful-method-getStateId",
648 "shortDoc": "Gets the state id for this object. ...",
650 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
655 "name": "getStateId",
656 "owner": "Ext.state.Stateful",
657 "doc": "<p>Gets the state id for this object.</p>\n",
661 "doc": "<p>The state id, null if not found.</p>\n"
663 "html_filename": "Stateful.html"
670 "href": "Observable.html#Ext-util-Observable-method-hasListener",
671 "shortDoc": "Checks to see if this object has any listeners for a specified event ...",
673 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
679 "doc": "<p>The name of the event to check for</p>\n",
683 "name": "hasListener",
684 "owner": "Ext.util.Observable",
685 "doc": "<p>Checks to see if this object has any listeners for a specified event</p>\n",
689 "doc": "<p>True if the event is being listened for, else false</p>\n"
691 "html_filename": "Observable.html"
698 "href": "Base3.html#Ext-Base-method-implement",
699 "shortDoc": "Add methods / properties to the prototype of this class. ...",
701 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
713 "doc": "<p>Add methods / properties to the prototype of this class.</p>\n\n<pre><code>Ext.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</code></pre>\n",
719 "html_filename": "Base3.html"
726 "href": "Base3.html#Ext-Base-method-initConfig",
727 "shortDoc": "Initialize configuration for this class. ...",
729 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
739 "name": "initConfig",
741 "doc": "<p>Initialize configuration for this class. a typical example:</p>\n\n<pre><code>Ext.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</code></pre>\n",
745 "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
747 "html_filename": "Base3.html"
753 "cls": "Ext.util.Observable",
755 "owner": "addManagedListener"
759 "href": "Observable.html#Ext-util-Observable-method-mon",
760 "shortDoc": "Shorthand for addManagedListener. ...",
762 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
766 "type": "Observable/Element",
768 "doc": "<p>The item to which to add a listener/listeners.</p>\n",
772 "type": "Object/String",
774 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
780 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
786 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the scope (<code>this</code> reference)\nin which the handler function is executed.</p>\n",
792 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the\n<a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">addListener</a> options.</p>\n",
797 "owner": "Ext.util.Observable",
798 "doc": "<p>Shorthand for <a href=\"#/api/Ext.state.Stateful-method-addManagedListener\" rel=\"Ext.state.Stateful-method-addManagedListener\" class=\"docClass\">addManagedListener</a>.</p>\n\n<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed.</p>\n",
804 "html_filename": "Observable.html"
810 "cls": "Ext.util.Observable",
812 "owner": "removeManagedListener"
816 "href": "Observable.html#Ext-util-Observable-method-mun",
817 "shortDoc": "Shorthand for removeManagedListener. ...",
819 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
823 "type": "Observable|Element",
825 "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
829 "type": "Object|String",
831 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
837 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
843 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the scope (<code>this</code> reference)\nin which the handler function is executed.</p>\n",
848 "owner": "Ext.util.Observable",
849 "doc": "<p>Shorthand for <a href=\"#/api/Ext.state.Stateful-method-removeManagedListener\" rel=\"Ext.state.Stateful-method-removeManagedListener\" class=\"docClass\">removeManagedListener</a>.</p>\n\n<p>Removes listeners that were added by the <a href=\"#/api/Ext.state.Stateful-method-mon\" rel=\"Ext.state.Stateful-method-mon\" class=\"docClass\">mon</a> method.</p>\n",
855 "html_filename": "Observable.html"
862 "href": "Observable.html#Ext-util-Observable-method-observe",
863 "shortDoc": "Sets observability on the passed class constructor. ...",
865 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
871 "doc": "<p>The class constructor to make observable.</p>\n",
877 "doc": "<p>An object containing a series of listeners to add. See <a href=\"#/api/Ext.state.Stateful-method-addListener\" rel=\"Ext.state.Stateful-method-addListener\" class=\"docClass\">addListener</a>.</p>\n",
882 "owner": "Ext.util.Observable",
883 "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",
889 "html_filename": "Observable.html"
895 "cls": "Ext.util.Observable",
897 "owner": "addListener"
901 "href": "Observable.html#Ext-util-Observable-method-on",
902 "shortDoc": "Shorthand for addListener. ...",
904 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
910 "doc": "<p>The name of the event to listen for. May also be an object who's property names are\nevent names.</p>\n",
916 "doc": "<p>The method the event invokes. Will be called with arguments given to\n<a href=\"#/api/Ext.state.Stateful-method-fireEvent\" rel=\"Ext.state.Stateful-method-fireEvent\" class=\"docClass\">fireEvent</a> plus the <code>options</code> parameter described below.</p>\n",
922 "doc": "<p>(optional) The scope (<code>this</code> reference) in which the handler function is executed. <strong>If\nomitted, defaults to the object which fired the event.</strong></p>\n",
928 "doc": "<p>(optional) An object containing handler configuration.</p>\n\n<p><strong>Note:</strong> Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.</p>\n\n<p>This object may contain any of the following properties:</p>\n\n<ul>\n<li><p><strong>scope</strong> : Object</p>\n\n<p>The scope (<code>this</code> reference) in which the handler function is executed. <strong>If omitted, defaults to the object\nwhich fired the event.</strong></p></li>\n<li><p><strong>delay</strong> : Number</p>\n\n<p>The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>\n<li><p><strong>single</strong> : Boolean</p>\n\n<p>True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>\n<li><p><strong>buffer</strong> : Number</p>\n\n<p>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 by the specified number of\nmilliseconds. If the event fires again within that time, the original handler is <em>not</em> invoked, but the new\nhandler is scheduled in its place.</p></li>\n<li><p><strong>target</strong> : Observable</p>\n\n<p>Only call the handler if the event was fired on the target Observable, <em>not</em> if the event was bubbled up from a\nchild Observable.</p></li>\n<li><p><strong>element</strong> : String</p>\n\n<p><strong>This option is only valid for listeners bound to <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a>.</strong> The name of a Component\nproperty 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\n<a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a> which will exist only after the Component is rendered.\nFor example, to add a click listener to a Panel's body:</p>\n\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></li>\n</ul>\n\n\n<p><strong>Combining Options</strong></p>\n\n<p>Using the options argument, it is possible to combine different types of listeners:</p>\n\n<p>A delayed, one-time listener.</p>\n\n<pre><code>myPanel.on('hide', this.handleClick, this, {\n single: true,\n delay: 100\n});\n</code></pre>\n\n<p><strong>Attaching multiple handlers in 1 call</strong></p>\n\n<p>The method also allows for a single argument to be passed which is a config object containing properties which\nspecify multiple events. For example:</p>\n\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\n<p>One can also specify options for each event handler separately:</p>\n\n<pre><code>myGridPanel.on({\n cellClick: {fn: this.onCellClick, scope: this, single: true},\n mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n</code></pre>\n",
933 "owner": "Ext.util.Observable",
934 "doc": "<p>Shorthand for <a href=\"#/api/Ext.state.Stateful-method-addListener\" rel=\"Ext.state.Stateful-method-addListener\" class=\"docClass\">addListener</a>.</p>\n\n<p>Appends an event handler to this object.</p>\n",
940 "html_filename": "Observable.html"
947 "href": "Base3.html#Ext-Base-method-override",
948 "shortDoc": "Override prototype members of this class. ...",
950 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
962 "doc": "<p>Override prototype members of this class. Overridden methods can be invoked via\n<a href=\"#/api/Ext.Base-method-callOverridden\" rel=\"Ext.Base-method-callOverridden\" class=\"docClass\">Ext.Base.callOverridden</a></p>\n\n<pre><code>Ext.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</code></pre>\n",
966 "doc": "<p>this</p>\n"
968 "html_filename": "Base3.html"
975 "href": "Observable.html#Ext-util-Observable-method-relayEvents",
976 "shortDoc": "Relays selected events from the specified Observable as if the events were fired by this. ...",
978 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
984 "doc": "<p>The Observable whose events this object is to relay.</p>\n",
990 "doc": "<p>Array of event names to relay.</p>\n",
1000 "name": "relayEvents",
1001 "owner": "Ext.util.Observable",
1002 "doc": "<p>Relays selected events from the specified Observable as if the events were fired by <code>this</code>.</p>\n",
1008 "html_filename": "Observable.html"
1014 "tagname": "method",
1015 "href": "Observable.html#Ext-util-Observable-method-releaseCapture",
1016 "shortDoc": "Removes all added captures from the Observable. ...",
1018 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1022 "type": "Observable",
1024 "doc": "<p>The Observable to release</p>\n",
1028 "name": "releaseCapture",
1029 "owner": "Ext.util.Observable",
1030 "doc": "<p>Removes <strong>all</strong> added captures from the Observable.</p>\n",
1036 "html_filename": "Observable.html"
1042 "tagname": "method",
1043 "href": "Observable.html#Ext-util-Observable-method-removeListener",
1044 "shortDoc": "Removes an event handler. ...",
1046 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1052 "doc": "<p>The type of event the handler was associated with.</p>\n",
1058 "doc": "<p>The handler to remove. <strong>This must be a reference to the function passed into the\n<a href=\"#/api/Ext.state.Stateful-method-addListener\" rel=\"Ext.state.Stateful-method-addListener\" class=\"docClass\">addListener</a> call.</strong></p>\n",
1064 "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1068 "name": "removeListener",
1069 "owner": "Ext.util.Observable",
1070 "doc": "<p>Removes an event handler.</p>\n",
1076 "html_filename": "Observable.html"
1082 "tagname": "method",
1083 "href": "Observable.html#Ext-util-Observable-method-removeManagedListener",
1084 "shortDoc": "Removes listeners that were added by the mon method. ...",
1086 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1090 "type": "Observable|Element",
1092 "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
1096 "type": "Object|String",
1098 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
1104 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
1110 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the scope (<code>this</code> reference)\nin which the handler function is executed.</p>\n",
1114 "name": "removeManagedListener",
1115 "owner": "Ext.util.Observable",
1116 "doc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.state.Stateful-method-mon\" rel=\"Ext.state.Stateful-method-mon\" class=\"docClass\">mon</a> method.</p>\n",
1122 "html_filename": "Observable.html"
1128 "tagname": "method",
1129 "href": "Observable.html#Ext-util-Observable-method-resumeEvents",
1130 "shortDoc": "Resumes firing events (see suspendEvents). ...",
1132 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1137 "name": "resumeEvents",
1138 "owner": "Ext.util.Observable",
1139 "doc": "<p>Resumes firing events (see <a href=\"#/api/Ext.state.Stateful-method-suspendEvents\" rel=\"Ext.state.Stateful-method-suspendEvents\" class=\"docClass\">suspendEvents</a>).</p>\n\n<p>If events were suspended using the <code>**queueSuspended**</code> parameter, then all events fired\nduring event suspension will be sent to any listeners now.</p>\n",
1145 "html_filename": "Observable.html"
1151 "tagname": "method",
1152 "href": "Base3.html#Ext-Base-method-statics",
1153 "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
1155 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1161 "owner": "Ext.Base",
1162 "doc": "<p>Get the reference to the class from which this object was instantiated. Note that unlike <a href=\"#/api/Ext.Base-property-self\" rel=\"Ext.Base-property-self\" class=\"docClass\">Ext.Base.self</a>,\n<code>this.statics()</code> is scope-independent and it always returns the class from which it was called, regardless of what\n<code>this</code> points to during run-time</p>\n\n<pre><code>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</code></pre>\n",
1168 "html_filename": "Base3.html"
1174 "tagname": "method",
1175 "href": "Observable.html#Ext-util-Observable-method-suspendEvents",
1176 "shortDoc": "Suspends the firing of all events. ...",
1178 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1184 "doc": "<p>Pass as true to queue up suspended events to be fired\nafter the <a href=\"#/api/Ext.state.Stateful-method-resumeEvents\" rel=\"Ext.state.Stateful-method-resumeEvents\" class=\"docClass\">resumeEvents</a> call instead of discarding all suspended events.</p>\n",
1185 "name": "queueSuspended"
1188 "name": "suspendEvents",
1189 "owner": "Ext.util.Observable",
1190 "doc": "<p>Suspends the firing of all events. (see <a href=\"#/api/Ext.state.Stateful-method-resumeEvents\" rel=\"Ext.state.Stateful-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n",
1196 "html_filename": "Observable.html"
1202 "cls": "Ext.util.Observable",
1204 "owner": "removeListener"
1207 "tagname": "method",
1208 "href": "Observable.html#Ext-util-Observable-method-un",
1209 "shortDoc": "Shorthand for removeListener. ...",
1211 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1217 "doc": "<p>The type of event the handler was associated with.</p>\n",
1223 "doc": "<p>The handler to remove. <strong>This must be a reference to the function passed into the\n<a href=\"#/api/Ext.state.Stateful-method-addListener\" rel=\"Ext.state.Stateful-method-addListener\" class=\"docClass\">addListener</a> call.</strong></p>\n",
1229 "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1234 "owner": "Ext.util.Observable",
1235 "doc": "<p>Shorthand for <a href=\"#/api/Ext.state.Stateful-method-removeListener\" rel=\"Ext.state.Stateful-method-removeListener\" class=\"docClass\">removeListener</a>.</p>\n\n<p>Removes an event handler.</p>\n",
1241 "html_filename": "Observable.html"
1250 "tagname": "property",
1251 "href": "Base3.html#Ext-Base-property-self",
1252 "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
1254 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1257 "owner": "Ext.Base",
1258 "doc": "<p>Get the reference to the current class from which this object was instantiated. Unlike <a href=\"#/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">Ext.Base.statics</a>,\n<code>this.self</code> is scope-dependent and it's meant to be used for dynamic inheritance. See <a href=\"#/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">Ext.Base.statics</a>\nfor a detailed comparison</p>\n\n<pre><code>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</code></pre>\n",
1260 "html_filename": "Base3.html"
1275 "href": "Stateful.html#Ext-state-Stateful-event-beforestaterestore",
1276 "shortDoc": "Fires before the state of the object is restored. ...",
1278 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
1282 "type": "Ext.state.Stateful",
1290 "doc": "<p>The hash of state values returned from the StateProvider. If this\nevent is not vetoed, then the state object is passed to <b><tt>applyState</tt></b>. By default,\nthat simply copies property values into this object. The method maybe overriden to\nprovide custom state restoration.</p>\n",
1297 "doc": "<p>The options object passed to <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n"
1300 "name": "beforestaterestore",
1301 "owner": "Ext.state.Stateful",
1302 "doc": "<p>Fires before the state of the object is restored. Return false from an event handler to stop the restore.</p>\n",
1304 "html_filename": "Stateful.html"
1311 "href": "Stateful.html#Ext-state-Stateful-event-beforestatesave",
1312 "shortDoc": "Fires before the state of the object is saved to the configured state provider. ...",
1314 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
1318 "type": "Ext.state.Stateful",
1326 "doc": "<p>The hash of state values. This is determined by calling\n<b><tt>getState()</tt></b> on the object. This method must be provided by the\ndeveloper to return whetever representation of state is required, by default, <a href=\"#/api/Ext.state.Stateful\" rel=\"Ext.state.Stateful\" class=\"docClass\">Ext.state.Stateful</a>\nhas a null implementation.</p>\n",
1333 "doc": "<p>The options object passed to <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n"
1336 "name": "beforestatesave",
1337 "owner": "Ext.state.Stateful",
1338 "doc": "<p>Fires before the state of the object is saved to the configured state provider. Return false to stop the save.</p>\n",
1340 "html_filename": "Stateful.html"
1347 "href": "Stateful.html#Ext-state-Stateful-event-staterestore",
1348 "shortDoc": "Fires after the state of the object is restored. ...",
1350 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
1354 "type": "Ext.state.Stateful",
1362 "doc": "<p>The hash of state values returned from the StateProvider. This is passed\nto <b><tt>applyState</tt></b>. By default, that simply copies property values into this\nobject. The method maybe overriden to provide custom state restoration.</p>\n",
1369 "doc": "<p>The options object passed to <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n"
1372 "name": "staterestore",
1373 "owner": "Ext.state.Stateful",
1374 "doc": "<p>Fires after the state of the object is restored.</p>\n",
1376 "html_filename": "Stateful.html"
1383 "href": "Stateful.html#Ext-state-Stateful-event-statesave",
1384 "shortDoc": "Fires after the state of the object is saved to the configured state provider. ...",
1386 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
1390 "type": "Ext.state.Stateful",
1398 "doc": "<p>The hash of state values. This is determined by calling\n<b><tt>getState()</tt></b> on the object. This method must be provided by the\ndeveloper to return whetever representation of state is required, by default, <a href=\"#/api/Ext.state.Stateful\" rel=\"Ext.state.Stateful\" class=\"docClass\">Ext.state.Stateful</a>\nhas a null implementation.</p>\n",
1405 "doc": "<p>The options object passed to <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n"
1408 "name": "statesave",
1409 "owner": "Ext.state.Stateful",
1410 "doc": "<p>Fires after the state of the object is saved to the configured state provider.</p>\n",
1412 "html_filename": "Stateful.html"
1424 "Ext.util.Observable"
1426 "href": "Stateful.html#Ext-state-Stateful",
1433 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/state/Stateful.js",
1435 "alternateClassNames": [
1438 "name": "Ext.state.Stateful",
1439 "doc": "<p>A mixin for being able to save the state of an object to an underlying\n<a href=\"#/api/Ext.state.Provider\" rel=\"Ext.state.Provider\" class=\"docClass\">Ext.state.Provider</a>.</p>\n",
1441 "Ext.AbstractComponent"
1447 "html_filename": "Stateful.html",
1448 "extends": "Ext.Base"