| Package | org.aswing.event |
| Class | public class PropertyChangeEvent |
| Inheritance | PropertyChangeEvent AWEvent flash.events.Event |
| Method | Defined by | ||
|---|---|---|---|
|
PropertyChangeEvent(propertyName:String, oldValue:*, newValue:*)
| PropertyChangeEvent | ||
|
clone():Event
| PropertyChangeEvent | ||
|
getNewValue():*
| PropertyChangeEvent | ||
|
getOldValue():*
| PropertyChangeEvent | ||
|
getPropertyName():String
| PropertyChangeEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
![]() | ACT : String = "act" [static]
The
AWEvent.ACT constant defines the value of the
type property of the event object for a act event. | AWEvent | |
![]() | FOCUS_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 | |
![]() | FOCUS_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 | |
![]() | HIDDEN : String = "hidden" [static]
The
AWEvent.HIDDEN constant defines the value of the
type property of the event object for a hidden event. | AWEvent | |
![]() | PAINT : 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 | ||
![]() | SHOWN : String = "shown" [static]
The
AWEvent.SHOWN constant defines the value of the
type property of the event object for a shown event. | AWEvent | |
| PropertyChangeEvent | () | constructor |
public function PropertyChangeEvent(propertyName:String, oldValue:*, newValue:*)Parameters
propertyName:String |
|
oldValue:* |
|
newValue:* |
| 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 |
| PROPERTY_CHANGE | constant |
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:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
getPropertyName() | value changed property name |
getOldValue() | old value |
getNewValue() | new value |
currentTarget | The 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. |
target | The 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. |