Packagemx.utils
Classpublic dynamic class OrderedObject
InheritanceOrderedObject Inheritance flash.utils.Proxy

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

OrderedObject acts as a wrapper to Object to preserve the ordering of the properties as they are added.



Protected Properties
 PropertyDefined By
  propertyList : Array
Contains a list of all of the property names for the proxied object.
OrderedObject
Public Methods
 MethodDefined By
  
OrderedObject(item:Object = null)
Constructor.
OrderedObject
Protected Methods
 MethodDefined By
  
callProperty(name:*, ... rest):*
[override] Returns the value of the proxied object's method with the specified name.
OrderedObject
  
deleteProperty(name:*):Boolean
[override] Deletes the specified property on the proxied object.
OrderedObject
  
getProperty(name:*):*
[override] Returns the specified property value of the proxied object.
OrderedObject
  
hasProperty(name:*):Boolean
[override] This is an internal function that must be implemented by a subclass of flash.utils.Proxy.
OrderedObject
  
nextName(index:int):String
[override] This is an internal function that must be implemented by a subclass of flash.utils.Proxy.
OrderedObject
  
nextNameIndex(index:int):int
[override] This is an internal function that must be implemented by a subclass of flash.utils.Proxy.
OrderedObject
  
nextValue(index:int):*
[override] This is an internal function that must be implemented by a subclass of flash.utils.Proxy.
OrderedObject
  
setProperty(name:*, value:*):void
[override] Updates the specified property on the proxied object.
OrderedObject
Property Detail
propertyListproperty
object_proxy var propertyList:Array

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Contains a list of all of the property names for the proxied object.

Constructor Detail
OrderedObject()Constructor
public function OrderedObject(item:Object = null)

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructor.

Parameters
item:Object (default = null) — An Object containing name/value pairs.
Method Detail
callProperty()method
override flash_proxy function callProperty(name:*, ... rest):*

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Returns the value of the proxied object's method with the specified name.

Parameters

name:* — The name of the method being invoked.
 
... rest — An array specifying the arguments to the called method.

Returns
* — The return value of the called method.
deleteProperty()method 
override flash_proxy function deleteProperty(name:*):Boolean

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Deletes the specified property on the proxied object.

Parameters

name:* — Typically a string containing the name of the property, or possibly a QName where the property name is found by inspecting the localName property.

Returns
Boolean — A Boolean indicating if the property was deleted.
getProperty()method 
override flash_proxy function getProperty(name:*):*

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Returns the specified property value of the proxied object.

Parameters

name:* — Typically a string containing the name of the property, or possibly a QName where the property name is found by inspecting the localName property.

Returns
* — The value of the property.
hasProperty()method 
override flash_proxy function hasProperty(name:*):Boolean

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

This is an internal function that must be implemented by a subclass of flash.utils.Proxy.

Parameters

name:* — The property name that should be tested for existence.

Returns
Boolean — If the property exists, true; otherwise false.

See also

flash.utils.Proxy.hasProperty()
nextName()method 
override flash_proxy function nextName(index:int):String

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

This is an internal function that must be implemented by a subclass of flash.utils.Proxy.

Parameters

index:int — The zero-based index value of the object's property.

Returns
String — The property's name.

See also

flash.utils.Proxy.nextName()
nextNameIndex()method 
override flash_proxy function nextNameIndex(index:int):int

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

This is an internal function that must be implemented by a subclass of flash.utils.Proxy.

Parameters

index:int

Returns
int

See also

flash.utils.Proxy.nextNameIndex()
nextValue()method 
override flash_proxy function nextValue(index:int):*

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

This is an internal function that must be implemented by a subclass of flash.utils.Proxy.

Parameters

index:int — The zero-based index value of the object's property.

Returns
* — The property's value.

See also

flash.utils.Proxy.nextValue()
setProperty()method 
override flash_proxy function setProperty(name:*, value:*):void

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Updates the specified property on the proxied object.

Parameters

name:* — Object containing the name of the property that should be updated on the proxied object.
 
value:* — Value that should be set on the proxied object.