Class ComponentMgr

Index

Properties

Methods

Properties

public static self: IClass

[Property] (Ext.Class)

Methods

public static callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

public static callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

public static callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

public static create(component?: any, defaultType?: any): IComponent

[Method] Creates a new Component from the specified config object using the config object s xtype to determine the class to in

Parameters

  • component?: any optional

    Object A configuration object for the Component you wish to create.

  • defaultType?: any optional

    Function The constructor to provide the default Component type if the config object does not contain a xtype. (Optional if the config contains an xtype).

Returns

IComponent

Ext.Component The newly instantiated Component.

public static destroy()

[Method]

public static get(id?: string): any

[Method] Returns an item by id

Parameters

  • id?: string optional

    String The id of the item.

Returns

any

Object The item, or undefined if not found.

public static getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

public static initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

public static isRegistered(component?: string): boolean

[Method] Checks if an item type is registered

Parameters

  • component?: string optional

    String The mnemonic string by which the class may be looked up.

Returns

boolean

Boolean Whether the type is registered.

public static register(component?: any)

[Method] Registers an item to be managed

Parameters

  • component?: any optional

    Object The item to register.

public static statics(): IClass

[Method] Get the reference to the class from which this object was instantiated

Returns

IClass

Ext.Class

public static unregister(component?: any)

[Method] Unregisters an item by removing it from this manager

Parameters

  • component?: any optional

    Object The item to unregister.