X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/api/Ext.AbstractManager.html diff --git a/docs/api/Ext.AbstractManager.html b/docs/api/Ext.AbstractManager.html deleted file mode 100644 index fd8b6395..00000000 --- a/docs/api/Ext.AbstractManager.html +++ /dev/null @@ -1,109 +0,0 @@ -Ext.AbstractManager | Ext JS 4.0 Documentation -
For up to date documentation and features, visit -http://docs.sencha.com/ext-js/4-0

Sencha Documentation

- - - - - -

Base Manager class

-
Defined By

Properties

 
all : Ext.util.MixedCollection

Contains all of the items currently managed

-

Contains all of the items currently managed

-
Defined By

Methods

 
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

  • config : Object

    The config object

    -
  • defaultType : String

    If no type is discovered in the config object, we fall back to this type

    -

Returns

  • Mixed   

    The instance of whatever this manager is managing

    -
 
each( -Object fn, Object scope) - : void
Executes the specified function once for each item in the collection. -Returning false from the function will cease it...

Executes the specified function once for each item in the collection. -Returning false from the function will cease iteration.

- -

The paramaters passed to the function are:

- -
    -
  • key : String

    The key of the item

  • -
  • value : Number

    The value of the item

  • -
  • length : Number

    The total number of items in the collection

  • -
- -

Parameters

  • fn : Object

    The function to execute.

    -
  • scope : Object

    The scope to execute in. Defaults to this.

    -

Returns

  • void    -
 
get( -String id) - : Mixed

Returns an item by id. -For additional details see Ext.util.HashMap.get.

-

Returns an item by id. -For additional details see Ext.util.HashMap.get.

-

Parameters

  • id : String

    The id of the item

    -

Returns

  • Mixed   

    The item, undefined if not found.

    -
 

Gets the number of items in the collection.

-

Gets the number of items in the collection.

-

Returns

  • Number   

    The number of items in the collection.

    -
 

Checks if an item type is registered.

-

Checks if an item type is registered.

-

Parameters

  • type : String

    The mnemonic string by which the class may be looked up

    -

Returns

  • Boolean   

    Whether the type is registered.

    -
 
onAvailable( -String id, Function fn, Object scope) - : void
Registers a function that will be called when an item with the specified id is added to the manager. This will happen...

Registers a function that will be called when an item with the specified id is added to the manager. This will happen on instantiation.

-

Parameters

  • id : String

    The item id

    -
  • fn : Function

    The callback function. Called with a single parameter, the item.

    -
  • scope : Object

    The scope (this reference) in which the callback is executed. Defaults to the item.

    -

Returns

  • void    -
 

Registers an item to be managed

-

Registers an item to be managed

-

Parameters

  • item : Mixed

    The item to register

    -

Returns

  • void    -
 
registerType( -String type, Constructor cls) - : void

Registers a new item constructor, keyed by a type key. - -

Registers a new item constructor, keyed by a type key. - -

Parameters

  • type : String

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

    -
  • cls : Constructor

    The new instance class.

    -

Returns

  • void    -
 

Unregisters an item by removing it from this manager

-

Unregisters an item by removing it from this manager

-

Parameters

  • item : Mixed

    The item to unregister

    -

Returns

  • void    -
\ No newline at end of file