Package | com.threerings.util |
Class | public class MapProxyObject |
Inheritance | MapProxyObject ![]() |
Property | Defined by | ||
---|---|---|---|
_itrKeys : Array A temporary ordering for iteration.
| MapProxyObject | ||
_map : Map
The map we use for storage.
| MapProxyObject |
Method | Defined by | ||
---|---|---|---|
MapProxyObject(source:Map)
Construct a MapProxyObject backed by the specified Map.
| MapProxyObject |
Method | Defined by | ||
---|---|---|---|
deleteProperty(key:*):Boolean
Handle delete proxy[key].
| MapProxyObject | ||
getProperty(key:*):*
Handle value = proxy[key].
| MapProxyObject | ||
nextName(index:int):String
Used when iterating with a "for" loop.
| MapProxyObject | ||
nextNameIndex(index:int):int
Iteration support.
| MapProxyObject | ||
nextValue(index:int):*
Used when iterating with a "for each" loop.
| MapProxyObject | ||
setProperty(key:*, value:*):void
Handle proxy[key] = value.
| MapProxyObject |
_itrKeys | property |
protected var _itrKeys:Array
A temporary ordering for iteration.
_map | property |
protected var _map:Map
The map we use for storage.
MapProxyObject | () | constructor |
public function MapProxyObject(source:Map)
Construct a MapProxyObject backed by the specified Map.
Parameterssource:Map |
deleteProperty | () | method |
flash_proxy override function deleteProperty(key:*):Boolean
Handle delete proxy[key].
Parameterskey:* |
Boolean |
getProperty | () | method |
flash_proxy override function getProperty(key:*):*
Handle value = proxy[key].
Parameterskey:* |
* |
nextName | () | method |
flash_proxy override function nextName(index:int):String
Used when iterating with a "for" loop. Note well that keys are turned into Strings. This is a major failing.
Parametersindex:int |
String |
nextNameIndex | () | method |
flash_proxy override function nextNameIndex(index:int):int
Iteration support.
Parametersindex:int |
int |
nextValue | () | method |
flash_proxy override function nextValue(index:int):*
Used when iterating with a "for each" loop.
Parametersindex:int |
* |
setProperty | () | method |
flash_proxy override function setProperty(key:*, value:*):void
Handle proxy[key] = value.
Parameterskey:* |
|
value:* |