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 )
:
MixedCreates 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.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:
| AbstractManager | |
isRegistered( Ext.Component xtype )
:
BooleanChecks if a Component type is registered. Checks if a Component type is registered. Parameters:
| AbstractManager | |
onAvailable( String id , Function fn , Object scope )
:
voidRegisters 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 )
:
voidRegisters an item to be managed Registers an item to be managed Parameters:
| AbstractManager | |
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:
| AbstractManager | |
unregister( Mixed item )
:
voidUnregisters a component by removing it from this manager Unregisters a component by removing it from this manager Parameters:
| AbstractManager |