X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/source/ComponentMgr.html diff --git a/docs/source/ComponentMgr.html b/docs/source/ComponentMgr.html index ea9ede8a..8c4db2b6 100644 --- a/docs/source/ComponentMgr.html +++ b/docs/source/ComponentMgr.html @@ -1,12 +1,18 @@ - - - - The source code - - - - -
/** + + + + The source code + + + + +
/*!
+ * Ext JS Library 3.2.1
+ * Copyright(c) 2006-2010 Ext JS, Inc.
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+
/** * @class Ext.ComponentMgr *

Provides a registry of all Components (instances of {@link Ext.Component} or any subclass * thereof) on a page so that they can be easily accessed by {@link Ext.Component component} @@ -76,6 +82,18 @@ Ext.ComponentMgr = function(){ */ all : all, +

/** + * The xtypes that have been registered with the component manager. + * @type {Object} + */ + types : types, + +
/** + * The ptypes that have been registered with the component manager. + * @type {Object} + */ + ptypes: ptypes, +
/** * Checks if a Component type is registered. * @param {Ext.Component} xtype The mnemonic string by which the Component class may be looked up @@ -84,6 +102,15 @@ Ext.ComponentMgr = function(){ isRegistered : function(xtype){ return types[xtype] !== undefined; }, + +
/** + * Checks if a Plugin type is registered. + * @param {Ext.Component} ptype The mnemonic string by which the Plugin class may be looked up + * @return {Boolean} Whether the type is registered. + */ + isPluginRegistered : function(ptype){ + return ptypes[ptype] !== undefined; + },
/** *

Registers a new Component constructor, keyed by a new @@ -174,6 +201,6 @@ Ext.preg = Ext.ComponentMgr.registerPlugin; * @member Ext * @method create */ -Ext.create = Ext.ComponentMgr.create;

- +Ext.create = Ext.ComponentMgr.create;
+ \ No newline at end of file