X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/output/Ext.ClassManager.js diff --git a/docs/output/Ext.ClassManager.js b/docs/output/Ext.ClassManager.js index ef9563b3..232e5983 100644 --- a/docs/output/Ext.ClassManager.js +++ b/docs/output/Ext.ClassManager.js @@ -1,592 +1,657 @@ Ext.data.JsonP.Ext_ClassManager({ - "tagname": "class", - "name": "Ext.ClassManager", - "doc": "

Ext.ClassManager manages all classes and handles mapping from string class name to\nactual class objects throughout the whole framework. It is not generally accessed directly, rather through\nthese convenient shorthands:

\n\n\n\n", - "extends": null, - "mixins": [ - - ], - "alternateClassNames": [ + "allMixins": [ ], - "xtype": null, - "author": "Jacky Nguyen ", + "deprecated": null, "docauthor": "Jacky Nguyen ", - "singleton": true, - "private": false, - "cfg": [ + "members": { + "cfg": [ - ], - "method": [ - { - "tagname": "method", - "name": "create", - "member": "Ext.ClassManager", - "doc": "

Defines a class. This is usually invoked via the alias Ext.define

\n\n
Ext.ClassManager.create('My.awesome.Class', {\n    someProperty: 'something',\n    someMethod: function() { ... }\n    ...\n\n}, function() {\n    alert('Created!');\n    alert(this === My.awesome.Class); // alerts true\n\n    var myInstance = new this();\n});\n
\n", - "params": [ - { - "type": "String", - "name": "className", - "doc": "

The class name to create in string dot-namespaced format, for example:\n'My.very.awesome.Class', 'FeedViewer.plugin.CoolPager'\nIt is highly recommended to follow this simple convention:

\n\n\n\n", - "optional": false - }, - { - "type": "Object", - "name": "data", - "doc": "

The key - value pairs of properties to apply to this class. Property names can be of any valid\nstrings, except those in the reserved listed below:

\n\n\n\n", - "optional": false + ], + "method": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-create", + "shortDoc": "Defines a class. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "

The class name to create in string dot-namespaced format, for example:\n'My.very.awesome.Class', 'FeedViewer.plugin.CoolPager'\nIt is highly recommended to follow this simple convention:

\n\n\n\n", + "name": "className" + }, + { + "type": "Object", + "optional": false, + "doc": "

The key - value pairs of properties to apply to this class. Property names can be of any valid\nstrings, except those in the reserved list below:

\n\n\n\n", + "name": "data" + }, + { + "type": "Function", + "optional": false, + "doc": "

Optional callback to execute after the class is created, the execution scope of which\n(this) will be the newly created class itself.

\n", + "name": "createdFn" + } + ], + "name": "create", + "owner": "Ext.ClassManager", + "doc": "

Defines a class.

\n\n
Ext.ClassManager.create('My.awesome.Class', {\n    someProperty: 'something',\n    someMethod: function() { ... }\n    ...\n\n}, function() {\n    alert('Created!');\n    alert(this === My.awesome.Class); // alerts true\n\n    var myInstance = new this();\n});\n
\n\n

Ext.define is alias for Ext.ClassManager.create.

\n", + "linenr": 396, + "return": { + "type": "Ext.Base", + "doc": "\n" }, - { - "type": "Function", - "name": "createdFn", - "doc": "

Optional callback to execute after the class is created, the execution scope of which\n(this) will be the newly created class itself.

\n", - "optional": false - } - ], - "return": { - "type": "Ext.Base", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 398, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-create", - "shortDoc": "Defines a class. This is usually invoked via the alias Ext.define\n\nExt.ClassManager.create('My.awesome.Class', {\n ..." - }, - { - "tagname": "method", - "name": "get", - "member": "Ext.ClassManager", - "doc": "

Retrieve a class by its name.

\n", - "params": [ - { - "type": "String", - "name": "name", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Class", - "doc": "

class

\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 257, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-get", - "shortDoc": "

Retrieve a class by its name.

\n" - }, - { - "tagname": "method", - "name": "getAliasesByName", - "member": "Ext.ClassManager", - "doc": "

Get the aliases of a class by the class name

\n", - "params": [ - { - "type": "String", - "name": "name", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Array", - "doc": "

aliases

\n" + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 358, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-getAliasesByName", - "shortDoc": "

Get the aliases of a class by the class name

\n" - }, - { - "tagname": "method", - "name": "getByAlias", - "member": "Ext.ClassManager", - "doc": "

Get a reference to the class by its alias.

\n", - "params": [ - { - "type": "String", - "name": "alias", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Class", - "doc": "

class

\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 328, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-getByAlias", - "shortDoc": "

Get a reference to the class by its alias.

\n" - }, - { - "tagname": "method", - "name": "getClass", - "member": "Ext.ClassManager", - "doc": "

Get the class of the provided object; returns null if it's not an instance\nof any class created with Ext.define. This is usually invoked by the shorthand Ext.getClass

\n\n
var component = new Ext.Component();\n\nExt.ClassManager.getClass(component); // returns Ext.Component\n
\n", - "params": [ - { - "type": "Object", - "name": "object", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Class", - "doc": "

class

\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 382, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-getClass", - "shortDoc": "Get the class of the provided object; returns null if it's not an instance\nof any class created with Ext.define. This..." - }, - { - "tagname": "method", - "name": "getDisplayName", - "member": "Ext.ClassManager", - "doc": "\n", - "params": [ - { - "type": "Mixed", - "name": "object", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-get", + "shortDoc": "Retrieve a class by its name. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "name" + } + ], + "name": "get", + "owner": "Ext.ClassManager", + "doc": "

Retrieve a class by its name.

\n", + "linenr": 254, + "return": { + "type": "Class", + "doc": "

class

\n" + }, + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 1006, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-getDisplayName", - "shortDoc": "\n" - }, - { - "tagname": "method", - "name": "getName", - "member": "Ext.ClassManager", - "doc": "

Get the name of the class by its reference or its instance;\nusually invoked by the shorthand Ext.getClassName

\n\n
Ext.ClassManager.getName(Ext.Action); // returns \"Ext.Action\"\n
\n", - "params": [ - { - "type": "Class/Object", - "name": "object", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "String", - "doc": "

className

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-getAliasesByName", + "shortDoc": "Get the aliases of a class by the class name ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "name" + } + ], + "name": "getAliasesByName", + "owner": "Ext.ClassManager", + "doc": "

Get the aliases of a class by the class name

\n", + "linenr": 355, + "return": { + "type": "Array", + "doc": "

aliases

\n" + }, + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 368, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-getName", - "shortDoc": "Get the name of the class by its reference or its instance;\nusually invoked by the shorthand Ext.getClassName\n\nExt.Cl..." - }, - { - "tagname": "method", - "name": "getNameByAlias", - "member": "Ext.ClassManager", - "doc": "

Get the name of a class by its alias.

\n", - "params": [ - { - "type": "String", - "name": "alias", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "String", - "doc": "

className

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-getByAlias", + "shortDoc": "Get a reference to the class by its alias. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "alias" + } + ], + "name": "getByAlias", + "owner": "Ext.ClassManager", + "doc": "

Get a reference to the class by its alias.

\n", + "linenr": 325, + "return": { + "type": "Class", + "doc": "

class

\n" + }, + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 338, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-getNameByAlias", - "shortDoc": "

Get the name of a class by its alias.

\n" - }, - { - "tagname": "method", - "name": "getNameByAlternate", - "member": "Ext.ClassManager", - "doc": "

Get the name of a class by its alternate name.

\n", - "params": [ - { - "type": "String", - "name": "alternate", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "String", - "doc": "

className

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-getClass", + "shortDoc": "Get the class of the provided object; returns null if it's not an instance\nof any class created with Ext.define. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "Object", + "optional": false, + "doc": "\n", + "name": "object" + } + ], + "name": "getClass", + "owner": "Ext.ClassManager", + "doc": "

Get the class of the provided object; returns null if it's not an instance\nof any class created with Ext.define.

\n\n
var component = new Ext.Component();\n\nExt.ClassManager.getClass(component); // returns Ext.Component\n
\n\n

Ext.getClass is alias for Ext.ClassManager.getClass.

\n", + "linenr": 379, + "return": { + "type": "Class", + "doc": "

class

\n" + }, + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 348, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-getNameByAlternate", - "shortDoc": "

Get the name of a class by its alternate name.

\n" - }, - { - "tagname": "method", - "name": "getNamesByExpression", - "member": "Ext.ClassManager", - "doc": "

Converts a string expression to an array of matching class names. An expression can either refers to class aliases\nor class names. Expressions support wildcards:

\n\n
 // returns ['Ext.window.Window']\nvar window = Ext.ClassManager.getNamesByExpression('widget.window');\n\n// returns ['widget.panel', 'widget.window', ...]\nvar allWidgets = Ext.ClassManager.getNamesByExpression('widget.*');\n\n// returns ['Ext.data.Store', 'Ext.data.ArrayProxy', ...]\nvar allData = Ext.ClassManager.getNamesByExpression('Ext.data.*');\n
\n", - "params": [ - { - "type": "String", - "name": "expression", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Array", - "doc": "

classNames

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-getDisplayName", + "shortDoc": " ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "Mixed", + "optional": false, + "doc": "\n", + "name": "object" + } + ], + "name": "getDisplayName", + "owner": "Ext.ClassManager", + "doc": "\n", + "linenr": 1065, + "return": { + "type": "void", + "doc": "\n" + }, + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 769, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-getNamesByExpression", - "shortDoc": "Converts a string expression to an array of matching class names. An expression can either refers to class aliases\nor..." - }, - { - "tagname": "method", - "name": "instantiate", - "member": "Ext.ClassManager", - "doc": "

Instantiate a class by either full name, alias or alternate name; usually invoked by the convenient\nshorthand Ext.create

\n\n

If Ext.Loader is enabled and the class has not been defined yet, it will\nattempt to load the class via synchronous loading.

\n\n

For example, all these three lines return the same result:

\n\n
// alias\nvar window = Ext.ClassManager.instantiate('widget.window', { width: 600, height: 800, ... });\n\n// alternate name\nvar window = Ext.ClassManager.instantiate('Ext.Window', { width: 600, height: 800, ... });\n\n// full class name\nvar window = Ext.ClassManager.instantiate('Ext.window.Window', { width: 600, height: 800, ... });\n
\n", - "params": [ - { + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-getName", + "shortDoc": "Get the name of the class by its reference or its instance. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "Class/Object", + "optional": false, + "doc": "\n", + "name": "object" + } + ], + "name": "getName", + "owner": "Ext.ClassManager", + "doc": "

Get the name of the class by its reference or its instance.

\n\n
Ext.ClassManager.getName(Ext.Action); // returns \"Ext.Action\"\n
\n\n

Ext.getClassName is alias for Ext.ClassManager.getName.

\n", + "linenr": 365, + "return": { "type": "String", - "name": "name", - "doc": "\n", - "optional": false + "doc": "

className

\n" }, - { - "type": "Mixed", - "name": "args", - "doc": "

,... Additional arguments after the name will be passed to the class' constructor.

\n", - "optional": false - } - ], - "return": { - "type": "Object", - "doc": "

instance

\n" + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 550, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-instantiate", - "shortDoc": "Instantiate a class by either full name, alias or alternate name; usually invoked by the convenient\nshorthand Ext.cre..." - }, - { - "tagname": "method", - "name": "instantiateByAlias", - "member": "Ext.ClassManager", - "doc": "

Instantiate a class by its alias; usually invoked by the convenient shorthand Ext.createByAlias\nIf Ext.Loader is enabled and the class has not been defined yet, it will\nattempt to load the class via synchronous loading.

\n\n
var window = Ext.ClassManager.instantiateByAlias('widget.window', { width: 600, height: 800, ... });\n
\n", - "params": [ - { + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-getNameByAlias", + "shortDoc": "Get the name of a class by its alias. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "alias" + } + ], + "name": "getNameByAlias", + "owner": "Ext.ClassManager", + "doc": "

Get the name of a class by its alias.

\n", + "linenr": 335, + "return": { "type": "String", - "name": "alias", - "doc": "\n", - "optional": false + "doc": "

className

\n" }, - { - "type": "Mixed", - "name": "args", - "doc": "

,... Additional arguments after the alias will be passed to the\nclass constructor.

\n", - "optional": false - } - ], - "return": { - "type": "Object", - "doc": "

instance

\n" + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 504, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-instantiateByAlias", - "shortDoc": "Instantiate a class by its alias; usually invoked by the convenient shorthand Ext.createByAlias\nIf Ext.Loader is enab..." - }, - { - "tagname": "method", - "name": "isCreated", - "member": "Ext.ClassManager", - "doc": "

Checks if a class has already been created.

\n", - "params": [ - { + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-getNameByAlternate", + "shortDoc": "Get the name of a class by its alternate name. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "alternate" + } + ], + "name": "getNameByAlternate", + "owner": "Ext.ClassManager", + "doc": "

Get the name of a class by its alternate name.

\n", + "linenr": 345, + "return": { "type": "String", - "name": "className", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "

exist

\n" + "doc": "

className

\n" + }, + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 70, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-isCreated", - "shortDoc": "

Checks if a class has already been created.

\n" - }, - { - "tagname": "method", - "name": "registerPostprocessor", - "member": "Ext.ClassManager", - "doc": "

Register a post-processor function.

\n", - "params": [ - { - "type": "String", - "name": "name", - "doc": "\n", - "optional": false + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-getNamesByExpression", + "shortDoc": "Converts a string expression to an array of matching class names. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "expression" + } + ], + "name": "getNamesByExpression", + "owner": "Ext.ClassManager", + "doc": "

Converts a string expression to an array of matching class names. An expression can either refers to class aliases\nor class names. Expressions support wildcards:

\n\n
// returns ['Ext.window.Window']\nvar window = Ext.ClassManager.getNamesByExpression('widget.window');\n\n// returns ['widget.panel', 'widget.window', ...]\nvar allWidgets = Ext.ClassManager.getNamesByExpression('widget.*');\n\n// returns ['Ext.data.Store', 'Ext.data.ArrayProxy', ...]\nvar allData = Ext.ClassManager.getNamesByExpression('Ext.data.*');\n
\n", + "linenr": 774, + "return": { + "type": "Array", + "doc": "

classNames

\n" }, - { - "type": "Function", - "name": "postprocessor", - "doc": "\n", - "optional": false + "html_filename": "ClassManager.html" + }, + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-instantiate", + "shortDoc": "Instantiate a class by either full name, alias or alternate name. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "name" + }, + { + "type": "Mixed", + "optional": false, + "doc": "

,... Additional arguments after the name will be passed to the class' constructor.

\n", + "name": "args" + } + ], + "name": "instantiate", + "owner": "Ext.ClassManager", + "doc": "

Instantiate a class by either full name, alias or alternate name.

\n\n

If Ext.Loader is enabled and the class has not been defined yet, it will\nattempt to load the class via synchronous loading.

\n\n

For example, all these three lines return the same result:

\n\n
// alias\nvar window = Ext.ClassManager.instantiate('widget.window', { width: 600, height: 800, ... });\n\n// alternate name\nvar window = Ext.ClassManager.instantiate('Ext.Window', { width: 600, height: 800, ... });\n\n// full class name\nvar window = Ext.ClassManager.instantiate('Ext.window.Window', { width: 600, height: 800, ... });\n
\n\n

Ext.create is alias for Ext.ClassManager.instantiate.

\n", + "linenr": 555, + "return": { + "type": "Object", + "doc": "

instance

\n" }, - { + "html_filename": "ClassManager.html" + }, + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-instantiateByAlias", + "shortDoc": "Instantiate a class by its alias. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "alias" + }, + { + "type": "Mixed", + "optional": false, + "doc": "

,... Additional arguments after the alias will be passed to the\nclass constructor.

\n", + "name": "args" + } + ], + "name": "instantiateByAlias", + "owner": "Ext.ClassManager", + "doc": "

Instantiate a class by its alias.

\n\n

If Ext.Loader is enabled and the class has not been defined yet, it will\nattempt to load the class via synchronous loading.

\n\n
var window = Ext.ClassManager.instantiateByAlias('widget.window', { width: 600, height: 800, ... });\n
\n\n

Ext.createByAlias is alias for Ext.ClassManager.instantiateByAlias.

\n", + "linenr": 507, + "return": { "type": "Object", - "name": "always", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" + "doc": "

instance

\n" + }, + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 702, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-registerPostprocessor", - "shortDoc": "

Register a post-processor function.

\n" - }, - { - "tagname": "method", - "name": "set", - "member": "Ext.ClassManager", - "doc": "

Sets a name reference to a class.

\n", - "params": [ - { - "type": "String", - "name": "name", - "doc": "\n", - "optional": false + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-isCreated", + "shortDoc": "Checks if a class has already been created. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "className" + } + ], + "name": "isCreated", + "owner": "Ext.ClassManager", + "doc": "

Checks if a class has already been created.

\n", + "linenr": 68, + "return": { + "type": "Boolean", + "doc": "

exist

\n" }, - { - "type": "Object", - "name": "value", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Ext.ClassManager", - "doc": "

this

\n" + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 238, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-set", - "shortDoc": "

Sets a name reference to a class.

\n" - }, - { - "tagname": "method", - "name": "setAlias", - "member": "Ext.ClassManager", - "doc": "

Register the alias for a class.

\n", - "params": [ - { - "type": "Class/String", - "name": "cls", - "doc": "

a reference to a class or a className

\n", - "optional": false + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-registerPostprocessor", + "shortDoc": "Register a post-processor function. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "name" + }, + { + "type": "Function", + "optional": false, + "doc": "\n", + "name": "postprocessor" + }, + { + "type": "Object", + "optional": false, + "doc": "\n", + "name": "always" + } + ], + "name": "registerPostprocessor", + "owner": "Ext.ClassManager", + "doc": "

Register a post-processor function.

\n", + "linenr": 707, + "return": { + "type": "void", + "doc": "\n" }, - { - "type": "String", - "name": "alias", - "doc": "

Alias to use when referring to this class

\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 289, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-setAlias", - "shortDoc": "

Register the alias for a class.

\n" - }, - { - "tagname": "method", - "name": "setDefaultPostprocessorPosition", - "member": "Ext.ClassManager", - "doc": "

Insert this post-processor at a specific position in the stack, optionally relative to\nany existing post-processor

\n", - "params": [ - { - "type": "String", - "name": "name", - "doc": "

The post-processor name. Note that it needs to be registered with\nregisterPostprocessor before this

\n", - "optional": false + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-set", + "shortDoc": "Sets a name reference to a class. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "name" + }, + { + "type": "Object", + "optional": false, + "doc": "\n", + "name": "value" + } + ], + "name": "set", + "owner": "Ext.ClassManager", + "doc": "

Sets a name reference to a class.

\n", + "linenr": 235, + "return": { + "type": "Ext.ClassManager", + "doc": "

this

\n" }, - { - "type": "String", - "name": "offset", - "doc": "

The insertion position. Four possible values are:\n'first', 'last', or: 'before', 'after' (relative to the name provided in the third argument)

\n", - "optional": false + "html_filename": "ClassManager.html" + }, + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-setAlias", + "shortDoc": "Register the alias for a class. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "Class/String", + "optional": false, + "doc": "

a reference to a class or a className

\n", + "name": "cls" + }, + { + "type": "String", + "optional": false, + "doc": "

Alias to use when referring to this class

\n", + "name": "alias" + } + ], + "name": "setAlias", + "owner": "Ext.ClassManager", + "doc": "

Register the alias for a class.

\n", + "linenr": 286, + "return": { + "type": "void", + "doc": "\n" }, - { - "type": "String", - "name": "relativeName", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Ext.ClassManager", - "doc": "

this

\n" + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 730, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-setDefaultPostprocessorPosition", - "shortDoc": "

Insert this post-processor at a specific position in the stack, optionally relative to\nany existing post-processor

\n" - }, - { - "tagname": "method", - "name": "setDefaultPostprocessors", - "member": "Ext.ClassManager", - "doc": "

Set the default post processors array stack which are applied to every class.

\n", - "params": [ - { - "type": "String/Array", - "name": "The", - "doc": "

name of a registered post processor or an array of registered names.

\n", - "optional": false - } - ], - "return": { - "type": "Ext.ClassManager", - "doc": "

this

\n" + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-setDefaultPostprocessorPosition", + "shortDoc": "Insert this post-processor at a specific position in the stack, optionally relative to\nany existing post-processor ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "

The post-processor name. Note that it needs to be registered with\nregisterPostprocessor before this

\n", + "name": "name" + }, + { + "type": "String", + "optional": false, + "doc": "

The insertion position. Four possible values are:\n'first', 'last', or: 'before', 'after' (relative to the name provided in the third argument)

\n", + "name": "offset" + }, + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "relativeName" + } + ], + "name": "setDefaultPostprocessorPosition", + "owner": "Ext.ClassManager", + "doc": "

Insert this post-processor at a specific position in the stack, optionally relative to\nany existing post-processor

\n", + "linenr": 735, + "return": { + "type": "Ext.ClassManager", + "doc": "

this

\n" + }, + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 718, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-setDefaultPostprocessors", - "shortDoc": "

Set the default post processors array stack which are applied to every class.

\n" - }, - { - "tagname": "method", - "name": "setNamespace", - "member": "Ext.ClassManager", - "doc": "

Creates a namespace and assign the value to the created object

\n\n
Ext.ClassManager.setNamespace('MyCompany.pkg.Example', someObject);\n\nalert(MyCompany.pkg.Example === someObject); // alerts true\n
\n", - "params": [ - { - "type": "String", - "name": "name", - "doc": "\n", - "optional": false + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-setDefaultPostprocessors", + "shortDoc": "Set the default post processors array stack which are applied to every class. ...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String/Array", + "optional": false, + "doc": "

name of a registered post processor or an array of registered names.

\n", + "name": "The" + } + ], + "name": "setDefaultPostprocessors", + "owner": "Ext.ClassManager", + "doc": "

Set the default post processors array stack which are applied to every class.

\n", + "linenr": 723, + "return": { + "type": "Ext.ClassManager", + "doc": "

this

\n" }, - { - "type": "Mixed", - "name": "value", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" + "html_filename": "ClassManager.html" }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 173, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager-method-setNamespace", - "shortDoc": "Creates a namespace and assign the value to the created object\n\nExt.ClassManager.setNamespace('MyCompany.pkg.Example'..." - } - ], - "property": [ + { + "deprecated": null, + "alias": null, + "protected": false, + "tagname": "method", + "href": "ClassManager.html#Ext-ClassManager-method-setNamespace", + "shortDoc": "Creates a namespace and assign the value to the created object\n\nExt.ClassManager.setNamespace('MyCompany.pkg.Example'...", + "static": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "params": [ + { + "type": "String", + "optional": false, + "doc": "\n", + "name": "name" + }, + { + "type": "Mixed", + "optional": false, + "doc": "\n", + "name": "value" + } + ], + "name": "setNamespace", + "owner": "Ext.ClassManager", + "doc": "

Creates a namespace and assign the value to the created object

\n\n
Ext.ClassManager.setNamespace('MyCompany.pkg.Example', someObject);\n\nalert(MyCompany.pkg.Example === someObject); // alerts true\n
\n", + "linenr": 171, + "return": { + "type": "void", + "doc": "\n" + }, + "html_filename": "ClassManager.html" + } + ], + "property": [ - ], - "event": [ + ], + "cssVar": [ - ], - "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/ClassManager.js", - "linenr": 1, - "html_filename": "ClassManager.html", - "href": "ClassManager.html#Ext-ClassManager", - "cssVar": [ + ], + "cssMixin": [ - ], - "cssMixin": [ + ], + "event": [ - ], - "component": false, + ] + }, + "singleton": true, + "alias": null, "superclasses": [ ], + "protected": false, + "tagname": "class", + "mixins": [ + + ], + "href": "ClassManager.html#Ext-ClassManager", "subclasses": [ ], + "static": false, + "author": "Jacky Nguyen ", + "component": false, + "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/ClassManager.js", + "private": false, + "alternateClassNames": [ + + ], + "name": "Ext.ClassManager", + "doc": "

Ext.ClassManager manages all classes and handles mapping from string class name to\nactual class objects throughout the whole framework. It is not generally accessed directly, rather through\nthese convenient shorthands:

\n\n\n\n", "mixedInto": [ ], - "allMixins": [ + "linenr": 1, + "xtypes": [ - ] + ], + "html_filename": "ClassManager.html", + "extends": null }); \ No newline at end of file