Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The ArrayList class provides an event-driven wrapper for the
standard Array. Events are dispatched when items are added, removed,
or changed.
length:int
[read-only]
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The number of items.
Implementation public function get length():int
source:Array
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The array of raw data needing conversion.
Implementation public function get source():Array
public function set source(value:Array):void
public function addItem(item:Object):void
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Adds an item to the end of the array.
Parameters
public function addItemAt(item:Object, index:int):void
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Inserts an item to a specific location within the array.
Parameters
public function getItemAt(index:int):Object
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Fetches an item from the collection
Parameters
Returns public function getItemIndex(item:Object):int
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Fetches an item from the collection given an index.
Parameters
Returns public function itemUpdated(item:Object):void
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Signals that an item in the array has been updated.
Parameters
public function itemUpdatedAt(index:int):void
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Signals that an item in the array has been updated.
Parameters
public function removeAll():void
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Removes all of the items from the array.
public function removeItem(item:Object):Boolean
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Removed an item from the array and returns it.
Parameters
Returns public function removeItemAt(index:int):Object
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Removes an item from a specific location within the array and
returns it.
Parameters
Returns public function setItemAt(item:Object, index:int):Object
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Replaces the item at the given index with a new item and
returns the old item.
Parameters
Returns public function toArray():Array
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Returns a copy of the source array.
Returns
Mon Sep 5 2016, 07:19 AM -07:00