X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/api/Ext.PluginManager.html diff --git a/docs/api/Ext.PluginManager.html b/docs/api/Ext.PluginManager.html new file mode 100644 index 00000000..9d1b628d --- /dev/null +++ b/docs/api/Ext.PluginManager.html @@ -0,0 +1,129 @@ +
Hierarchy
Ext.AbstractManagerExt.PluginManager
Provides a registry of available Plugin classes indexed by a mnemonic code known as the Plugin's ptype.
+The xtype
provides a way to avoid instantiating child Components
+when creating a full, nested config object for a complete Ext page.
A child Component may be specified simply as a config object
+as long as the correct xtype
is specified so that if and when the Component
+needs rendering, the correct type can be looked up for lazy instantiation.
For a list of all available xtypes
, see Ext.Component.
Creates a new Plugin from the specified config object using the +config object's ptype to determine the class to instantiate.
+A configuration object for the Plugin you wish to create.
+The constructor to provide the default Plugin type if
+the config object does not contain a ptype
. (Optional if the config contains a ptype
).
The newly instantiated Plugin.
+Executes the specified function once for each item in the collection. +Returning false from the function will cease iteration.
+ +The paramaters passed to the function are:
+ +The key of the item
The value of the item
The total number of items in the collection
The function to execute.
+The scope to execute in. Defaults to this.
+Returns all plugins registered with the given type. Here, 'type' refers to the type of plugin, not its ptype.
+Returns all plugins registered with the given type. Here, 'type' refers to the type of plugin, not its ptype.
+The type to search for
+True to only return plugins of this type where the plugin's isDefault property is truthy
+All matching plugins
+Returns an item by id. +For additional details see Ext.util.HashMap.get.
+Returns an item by id. +For additional details see Ext.util.HashMap.get.
+The id of the item
+The item, undefined
if not found.
Gets the number of items in the collection.
+Gets the number of items in the collection.
+The number of items in the collection.
+Checks if an item type is registered.
+Checks if an item type is registered.
+The mnemonic string by which the class may be looked up
+Whether the type is registered.
+Registers a function that will be called when an item with the specified id is added to the manager. This will happen on instantiation.
+The item id
+The callback function. Called with a single parameter, the item.
+The scope (this
reference) in which the callback is executed. Defaults to the item.
Registers an item to be managed
+Registers an item to be managed
+The item to register
+Registers a new item constructor, keyed by a type key. + +
Registers a new item constructor, keyed by a type key. + +
The mnemonic string by which the class may be looked up.
+The new instance class.
+