Packageorg.openPyro.collections
Classpublic class ArrayCollection
InheritanceArrayCollection Inheritance flash.events.EventDispatcher
ImplementsICollection



Public Properties
 PropertyDefined by
  filterFunction : Function
[write-only]
ArrayCollection
  iterator : IIterator
[read-only]
ArrayCollection
  length : int
[read-only]
ArrayCollection
  normalizedArray : Array
[read-only]
ArrayCollection
  source : *
ArrayCollection
Protected Properties
 PropertyDefined by
  _originalSource : Array
ArrayCollection
Public Methods
 MethodDefined by
  
ArrayCollection(source:Array = null)
ArrayCollection
  
addItem(obj:*):void
ArrayCollection
  
addItems(items:Array):void
ArrayCollection
  
addItemsAt(items:Array, idx:Number):void
ArrayCollection
  
getItemAt(index:int):*
ArrayCollection
  
getItemIndex(ob:Object):int
ArrayCollection
  
refresh():void
ArrayCollection
  
removeItems(items:Array):void
ArrayCollection
Property detail
filterFunctionproperty
filterFunction:Function  [write-only]Implementation
    public function set filterFunction(value:Function):void
iteratorproperty 
iterator:IIterator  [read-only]Implementation
    public function get iterator():IIterator
lengthproperty 
length:int  [read-only]Implementation
    public function get length():int
normalizedArrayproperty 
normalizedArray:Array  [read-only]Implementation
    public function get normalizedArray():Array
_originalSourceproperty 
protected var _originalSource:Array
sourceproperty 
source:*  [read-write]Implementation
    public function get source():*
    public function set source(value:*):void
Constructor detail
ArrayCollection()constructor
public function ArrayCollection(source:Array = null)Parameters
source:Array (default = null)
Method detail
addItem()method
public function addItem(obj:*):voidParameters
obj:*
addItems()method 
public function addItems(items:Array):voidParameters
items:Array
addItemsAt()method 
public function addItemsAt(items:Array, idx:Number):voidParameters
items:Array
 
idx:Number
getItemAt()method 
public function getItemAt(index:int):*Parameters
index:int

Returns
*
getItemIndex()method 
public function getItemIndex(ob:Object):intParameters
ob:Object

Returns
int
refresh()method 
public function refresh():void
removeItems()method 
public function removeItems(items:Array):voidParameters
items:Array