Packagecom.whirled.net
Classpublic class ElementChangedEvent
InheritanceElementChangedEvent Inheritance PropertyChangedEvent Inheritance flash.events.Event

An event dispatched when a single element is updated in an Array or Dictionary property as a result of calling setAt() or setIn().



Public Properties
 PropertyDefined by
  index : int
[read-only] Get the index (key) of the change.
ElementChangedEvent
  key : int
[read-only] Get the key (index) of the change.
ElementChangedEvent
 Inheritedname : String
Get the name of the property that changed.
PropertyChangedEvent
 InheritednewValue : Object
Get the property's new value.
PropertyChangedEvent
 InheritedoldValue : Object
Get the property's previous value (handy!).
PropertyChangedEvent
Public Methods
 MethodDefined by
  
ElementChangedEvent(type:String, propName:String, newValue:Object, oldValue:Object, key:int)
Constructor.
ElementChangedEvent
  
clone():Event
ElementChangedEvent
  
toString():String
ElementChangedEvent
Public Constants
 ConstantDefined by
  ELEMENT_CHANGED : String = "ElemChanged"
[static] The type of an ElementChangedEvent.
ElementChangedEvent
 InheritedPROPERTY_CHANGED : String = "PropChanged"
[static] The type of a property change event.
PropertyChangedEvent
Property detail
indexproperty
index:int  [read-only]

Get the index (key) of the change.

Implementation
    public function get index():int
keyproperty 
key:int  [read-only]

Get the key (index) of the change.

Implementation
    public function get key():int
Constructor detail
ElementChangedEvent()constructor
public function ElementChangedEvent(type:String, propName:String, newValue:Object, oldValue:Object, key:int)

Constructor.

Parameters
type:String
 
propName:String
 
newValue:Object
 
oldValue:Object
 
key:int
Method detail
clone()method
public override function clone():Event

Returns
Event
toString()method 
public override function toString():String

Returns
String
Constant detail
ELEMENT_CHANGEDconstant
public static const ELEMENT_CHANGED:String = "ElemChanged"

The type of an ElementChangedEvent.