Packageorg.aswing.event
Classpublic class PropertyChangeEvent
InheritancePropertyChangeEvent Inheritance AWEvent Inheritance flash.events.Event

Event for object property changed.



Public Methods
 MethodDefined by
  
PropertyChangeEvent(propertyName:String, oldValue:*, newValue:*)
PropertyChangeEvent
  
clone():Event
PropertyChangeEvent
  
PropertyChangeEvent
  
PropertyChangeEvent
  
getPropertyName():String
PropertyChangeEvent
Public Constants
 ConstantDefined by
 InheritedACT : String = "act"
[static] The AWEvent.ACT constant defines the value of the type property of the event object for a act event.
AWEvent
 InheritedFOCUS_GAINED : String = "focusGained"
[static] The AWEvent.FOCUS_GAINED constant defines the value of the type property of the event object for a focusGained event.
AWEvent
 InheritedFOCUS_LOST : String = "focusLost"
[static] The AWEvent.FOCUS_LOST constant defines the value of the type property of the event object for a focusLost event.
AWEvent
 InheritedHIDDEN : String = "hidden"
[static] The AWEvent.HIDDEN constant defines the value of the type property of the event object for a hidden event.
AWEvent
 InheritedPAINT : String = "paint"
[static] The AWEvent.PAINT constant defines the value of the type property of the event object for a paint event.
AWEvent
  PROPERTY_CHANGE : String = "propertyChange"
[static] The PropertyChangeEvent.PROPERTY_CHANGE constant defines the value of the type property of the event object for a propertyChange event.
PropertyChangeEvent
 InheritedSHOWN : String = "shown"
[static] The AWEvent.SHOWN constant defines the value of the type property of the event object for a shown event.
AWEvent
Constructor detail
PropertyChangeEvent()constructor
public function PropertyChangeEvent(propertyName:String, oldValue:*, newValue:*)Parameters
propertyName:String
 
oldValue:*
 
newValue:*
Method detail
clone()method
public override function clone():Event

Returns
Event
getNewValue()method 
public function getNewValue():*

Returns
*
getOldValue()method 
public function getOldValue():*

Returns
*
getPropertyName()method 
public function getPropertyName():String

Returns
String
Constant detail
PROPERTY_CHANGEconstant
public static const PROPERTY_CHANGE:String = "propertyChange"

The PropertyChangeEvent.PROPERTY_CHANGE constant defines the value of the type property of the event object for a propertyChange event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
getPropertyName()value changed property name
getOldValue()old value
getNewValue()new value
currentTargetThe Object that defines the event listener that handles the event. For example, if you use comp.addEventListener() to register an event listener, comp is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.