Packagevegas.config
Classpublic class ConfigCollector
InheritanceConfigCollector Inheritance Object

The ConfigCollector class is a static collection to register all IConfigurable objects.



Public Methods
 MethodDefined By
  
contains(conf:IConfigurable):Boolean
[static] Returns true if the collector contains the specified IConfigurable object.
ConfigCollector
  
insert(conf:IConfigurable):Boolean
[static] Inserts an IConfigurable object in the collector.
ConfigCollector
  
[static] Returns the Iterator of this collector.
ConfigCollector
  
[static] Removes the specified IConfigurable object in the collector.
ConfigCollector
  
run():void
[static] Run the ConfigCollector command to invoked the setup() method of all IConfigurable object registered in the collector.
ConfigCollector
  
size():Number
[static] Returns the number of elements in the collector.
ConfigCollector
Method Detail
contains()method
public static function contains(conf:IConfigurable):Boolean

Returns true if the collector contains the specified IConfigurable object.

Parameters

conf:IConfigurable

Returns
Booleantrue if the collector contains the specified IConfigurable object.
insert()method 
public static function insert(conf:IConfigurable):Boolean

Inserts an IConfigurable object in the collector.

Parameters

conf:IConfigurable

Returns
Boolean
iterator()method 
public static function iterator():Iterator

Returns the Iterator of this collector.

Returns
Iterator — the Iterator of this collector.
remove()method 
public static function remove(conf:IConfigurable):*

Removes the specified IConfigurable object in the collector.

Parameters

conf:IConfigurable

Returns
*
run()method 
public static function run():void

Run the ConfigCollector command to invoked the setup() method of all IConfigurable object registered in the collector.

size()method 
public static function size():Number

Returns the number of elements in the collector.

Returns
Number — the number of elements in the collector.