| Package: | CQ.Ext |
| Class: | AbstractManager |
| Extends: | Object |
| Clientlib: | cq.widgets |
| Property | Defined By | |
|---|---|---|
|
all : CQ.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 ) : CQ.Ext.Component Returns a component by id.
For additional details see CQ.Ext.util.MixedCollection.get.
Returns a component by id.
For additional details see CQ.Ext.util.MixedCollection.get.
Parameters:
|
AbstractManager | |
isRegistered( CQ.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
CQ.Ext.Component.xtype.
Use this method (or its alias CQ.Ext.re...
Registers a new Component constructor, keyed by a new CQ.Ext.Component.xtype. Use this method (or its alias CQ.Ext.reg) to register new subclasses of CQ.Ext.Component so that lazy instantiation may be used when specifying child Components. see CQ.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 | |