| Package | org.springextensions.actionscript.collections |
| Class | public class TypedCollection |
| Inheritance | TypedCollection mx.collections.ArrayCollection |
| Subclasses | EntityCollection |
Authors: Christophe Herreman, Bert Vandamme
Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
Since: 0.1
| Property | Defined by | ||
|---|---|---|---|
| type : Class [read-only]
| TypedCollection | ||
| Method | Defined by | ||
|---|---|---|---|
|
TypedCollection(type:Class, source:Array = null)
| TypedCollection | ||
|
addItem(item:Object):void
| TypedCollection | ||
|
addItemAt(item:Object, index:int):void
| TypedCollection | ||
|
addListener(listener:ITypedCollectionListener):void
Registers an ITypedCollectionListener listener
| TypedCollection | ||
|
addRange(range:TypedCollection):void
| TypedCollection | ||
|
createCursor():IViewCursor
| TypedCollection | ||
|
removeItem(item:Object):Boolean
Removes an item from the TypedCollection
| TypedCollection | ||
| Method | Defined by | ||
|---|---|---|---|
|
check(item:Object):void
Checks if the passed item is of the object type of the TypedCollection
| TypedCollection | ||
| type | property |
type:Class [read-only]Implementation
public function get type():Class
| TypedCollection | () | constructor |
public function TypedCollection(type:Class, source:Array = null)Parameters
type:Class |
|
source:Array (default = null) |
| addItem | () | method |
public override function addItem(item:Object):voidParameters
item:Object |
| addItemAt | () | method |
public override function addItemAt(item:Object, index:int):voidParameters
item:Object |
|
index:int |
| addListener | () | method |
public function addListener(listener:ITypedCollectionListener):voidRegisters an ITypedCollectionListener listener
Parameterslistener:ITypedCollectionListener — the event listener
|
| addRange | () | method |
| check | () | method |
protected function check(item:Object):voidChecks if the passed item is of the object type of the TypedCollection
Parametersitem:Object — the object to be checked
|
| createCursor | () | method |
public override function createCursor():IViewCursor
Returns
IViewCursor |
| removeItem | () | method |
public function removeItem(item:Object):BooleanRemoves an item from the TypedCollection
Parametersitem:Object — the item to be removed from the TypedCollection
|
Boolean — a boolean indicating the succes of the operation
|