X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/output/Ext.ComponentMgr.html diff --git a/docs/output/Ext.ComponentMgr.html b/docs/output/Ext.ComponentMgr.html index 7d2f4e53..312086dd 100644 --- a/docs/output/Ext.ComponentMgr.html +++ b/docs/output/Ext.ComponentMgr.html @@ -1,193 +1,53 @@ -
Package: | Ext |
Defined In: | ComponentMgr.js |
Class: | ComponentMgr |
Extends: | Object |
Provides a registry of all Components (instances of Ext.Component or any subclass -thereof) on a page so that they can be easily accessed by component id (see get, or -the convenience method Ext.getCmp).
+Package: | Ext |
Defined In: | ComponentMgr.js |
Class: | ComponentMgr |
Extends: | Object |
Provides a registry of all Components (instances of Ext.Component or any subclass +thereof) on a page so that they can be easily accessed by component +id (see get, or the convenience method Ext.getCmp).
This object also provides a registry of available Component classes
-indexed by a mnemonic code known as the Component's xtype.
-The xtype provides a way to avoid instantiating child Components
+indexed by a mnemonic code known as the Component's xtype.
+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
+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.
Method | -Defined By | -|
---|---|---|
- |
-
- create( config {Object} , defaultType {Constructor} ) : Ext.Component
-
- Creates a new Component from the specified config object using the
-config object's xtype to determine the class to in...
-
- Creates a new Component from the specified config object using the
-config object's xtype to determine the class to instantiate.
-
- Parameters:
-
-
|
- ComponentMgr | -
- |
-
- get( String id ) : Ext.Component
-
- Returns a component by id
-
- Returns a component by id
-
- Parameters:
-
-
|
- ComponentMgr | -
- |
-
- onAvailable( String id , Function fn , Object scope ) : void
-
- Registers a function that will be called when a specified component is added to ComponentMgr
-
- Registers a function that will be called when a specified component is added to ComponentMgr
-
- Parameters:
-
-
|
- ComponentMgr | -
- |
-
- register( Ext.Component c ) : void
-
- Registers a component.
-
- Registers a component.
-
- Parameters:
-
-
|
- ComponentMgr | -
- |
-
- registerType( String xtype , Constructor cls ) : void
-
- Registers a new Component constructor, keyed by a new
-Ext.Component.xtype.
-Use this method to register new subclasses...
-
-
- Registers a new Component constructor, keyed by a new -Ext.Component.xtype. -Use this method to register new subclasses of Ext.Component so -that lazy instantiation may be used when specifying child Components. -see Ext.Container.items
- Parameters:
-
-
|
- ComponentMgr | -
- |
-
- unregister( Ext.Component c ) : void
-
- Unregisters a component.
-
- Unregisters a component.
-
- Parameters:
-
-
|
- ComponentMgr | -
For a list of all available xtypes
, see Ext.Component.
Property | Defined By | |
---|---|---|
all : MixedCollection The MixedCollection used internally for the component cache. An example usage may be subscribing to
+events on the Mix... The MixedCollection used internally for the component cache. An example usage may be subscribing to
+events on the MixedCollection to monitor addition or removal. Read-only. | ComponentMgr |
Method | Defined By | |
---|---|---|
create( Object config , Constructor defaultType )
+ :
+ Ext.ComponentCreates a new Component from the specified config object using the
+config object's xtype to determine the class to in... Creates a new Component from the specified config object using the
+config object's xtype to determine the class to instantiate. Parameters:
| ComponentMgr | |
createPlugin( Object config , Constructor defaultType )
+ :
+ Ext.ComponentCreates a new Plugin from the specified config object using the
+config object's ptype to determine the class to insta... Creates a new Plugin from the specified config object using the
+config object's ptype to determine the class to instantiate. Parameters:
| ComponentMgr | |
get( String id )
+ :
+ Ext.ComponentReturns a component by id.
+For additional details see Ext.util.MixedCollection.get. Returns a component by id.
+For additional details see Ext.util.MixedCollection.get. Parameters:
| ComponentMgr | |
isRegistered( Ext.Component xtype )
+ :
+ BooleanChecks if a Component type is registered. Checks if a Component type is registered. Parameters:
| ComponentMgr | |
onAvailable( String id , Function fn , Object scope )
+ :
+ voidRegisters a function that will be called when a Component with the specified id is added to ComponentMgr. This will h... Registers a function that will be called when a Component with the specified id is added to ComponentMgr. This will happen on instantiation. Parameters:
| ComponentMgr | |
register( Ext.Component c )
+ :
+ voidRegisters a component. Registers a component. Parameters:
| ComponentMgr | |
registerPlugin( String ptype , Constructor cls )
+ :
+ voidRegisters a new Plugin constructor, keyed by a new
+Ext.Component.ptype.
+Use this method (or its alias Ext.preg) to re... Registers a new Plugin constructor, keyed by a new +Ext.Component.ptype. +Use this method (or its alias Ext.preg) to register new +plugins for Ext.Components so that lazy instantiation may be used when specifying +Plugins. Parameters:
| ComponentMgr | |
registerType( String xtype , Constructor cls )
+ :
+ voidRegisters a new Component constructor, keyed by a new
+Ext.Component.xtype.
+Use this method (or its alias Ext.reg) to ... Registers a new Component constructor, keyed by a new +Ext.Component.xtype. +Use this method (or its alias Ext.reg) to register new +subclasses of Ext.Component so that lazy instantiation may be used when specifying +child Components. +see Ext.Container.items Parameters:
| ComponentMgr | |
unregister( Ext.Component c )
+ :
+ voidUnregisters a component. Unregisters a component. Parameters:
| ComponentMgr |