Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.utils 
OrderedObject 
Packagemx.utils
Classpublic dynamic class OrderedObject
InheritanceOrderedObject Inheritance Proxy Inheritance Object

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.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
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
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Protected Methods
 MethodDefined By
  
callProperty(name:*, ... rest):*
[override] Returns the value of the proxied object's method with the specified name.
OrderedObject
  
[override] Deletes the specified property on the proxied object.
OrderedObject
  
[override] Returns the specified property value of the proxied object.
OrderedObject
  
[override] This is an internal function that must be implemented by a subclass of flash.utils.Proxy.
OrderedObject
  
[override] This is an internal function that must be implemented by a subclass of flash.utils.Proxy.
OrderedObject
  
[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

propertyList

property
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

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

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

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

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.