Basic implementation of the IMap interface.
filterFunction:Function [read-write]Implementation
public function get filterFunction():Function
public function set filterFunction(value:Function):void
length:int [read-only]Implementation
public function get length():int
size:uint [read-only]Implementation
public function get size():uint
sort:Sort [read-write]Implementation
public function get sort():Sort
public function set sort(value:Sort):void
values:Array [read-only]Implementation
public function get values():Array
public function Map()
Constructs a new Map instance.
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidParameters
| type:String |
| |
| listener:Function |
| |
| useCapture:Boolean (default = false) |
| |
| priority:int (default = 0) |
| |
| useWeakReference:Boolean (default = false) |
public function clear():void
public function contains(item:Object):BooleanParameters
Returns
public function createCursor():IViewCursor
Returns
public function disableAutoUpdate():void
public function dispatchEvent(event:Event):BooleanParameters
Returns
public function enableAutoUpdate():void
public function get(key:Object):*Parameters
Returns
public function hasEventListener(type:String):BooleanParameters
Returns
public function itemUpdated(item:Object, property:Object = null, oldValue:Object = null, newValue:Object = null):voidParameters
| item:Object |
| |
| property:Object (default = null) |
| |
| oldValue:Object (default = null) |
| |
| newValue:Object (default = null) |
public function put(key:Object, value:Object):voidParameters
public function refresh():Boolean
Returns
public function remove(key:Object):*
Removes the mapping for this key from this map if it is present.
Returns the value to which the map previously associated the key,
or null if the map contained no mapping for this key.
(A null return can also indicate that the map previously associated
null with the specified key if the implementation supports null
values.) The map will not contain a mapping for the specified key
once the call returns.
Parameters
| key:Object — the key whose mapping is to be removed from the map
|
Returns
| * — previous value associated with specified key, or null if
there was no mapping for key
|
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidParameters
| type:String |
| |
| listener:Function |
| |
| useCapture:Boolean (default = false) |
public function toString():String
Returns
public function willTrigger(type:String):BooleanParameters
Returns
Prana Framework 0.5 - 2008