Package: | Ext |
Defined In: | AbstractManager.js |
Class: | AbstractManager |
Extends: | Object |
Property | Defined By | |
---|---|---|
all : Ext.util.MixedCollection Contains all of the items currently managed | AbstractManager |
Method | Defined By | |
---|---|---|
create( Object config, String defaultType ) : Mixed Creates and returns an instance of whatever this manager manages, based on the supplied type and config object Creates and returns an instance of whatever this manager manages, based on the supplied type and config object Parameters:
| AbstractManager | |
get( String id ) : Ext.Component Returns 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:
| AbstractManager | |
isRegistered( Ext.Component xtype ) : Boolean Checks if a Component type is registered. Checks if a Component type is registered. Parameters:
| AbstractManager | |
onAvailable( String id, Function fn, Object scope ) : void Registers a function that will be called when a Component with the specified id is added to the manager. This will ha... Registers a function that will be called when a Component with the specified id is added to the manager. This will happen on instantiation. Parameters:
| AbstractManager | |
register( Mixed item ) : void Registers an item to be managed Registers an item to be managed Parameters:
| AbstractManager | |
registerType( String xtype, Constructor cls ) : void Registers 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:
| AbstractManager | |
unregister( Mixed item ) : void Unregisters a component by removing it from this manager Unregisters a component by removing it from this manager Parameters:
| AbstractManager |