Package | impression.events |
Class | public class SimulationDataChangedEvent |
Inheritance | SimulationDataChangedEvent ![]() |
Property | Defined By | ||
---|---|---|---|
changeData : * [read-only]
The data that has changed. | SimulationDataChangedEvent |
Method | Defined By | ||
---|---|---|---|
SimulationDataChangedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, changeData:* = null)
Creates a new instance of a SimulationDataChangedEvent object. | SimulationDataChangedEvent | ||
clone():Event [override]
Duplicates an instance of the event object. | SimulationDataChangedEvent | ||
toString():String [override]
Returns a string containing all the properties of the SimulationDataChangedEvent object. | SimulationDataChangedEvent |
Constant | Defined By | ||
---|---|---|---|
DATA_CHANGE : String = simulationDataChange [static]
The SimulationDataChangedEvent.DATA_CHANGE constant defines the value of the
type property of a data change event object. | SimulationDataChangedEvent | ||
DATA_CHANGE_APPROVED : String = simulationDataChangeApproved [static]
The SimulationDataChangedEvent.DATA_CHANGE_APPROVED constant defines the value of the
type property of a data change approved event object. | SimulationDataChangedEvent |
changeData | property |
changeData:*
[read-only] The data that has changed. The specific data and format are project defined.
public function get changeData():*
SimulationDataChangedEvent | () | Constructor |
public function SimulationDataChangedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, changeData:* = null)
Creates a new instance of a SimulationDataChangedEvent object.
Parameterstype:String — The type of the event. Event listeners can access this information through the inherited type property.
| |
bubbles:Boolean (default = false ) — Determines whether the event object participates in the bubbling phase of the event flow. Event listeners can access this information through the inheritied bubbles property.
| |
cancelable:Boolean (default = false ) — Determines whether the event object can be canceled. Event listeners can access this information through the inherited cancelable property.
| |
changeData:* (default = null ) — The data that has changed. Event listeners can access this information through the changeData property.
|
clone | () | method |
override public function clone():Event
Duplicates an instance of the event object.
Returns a new SimulationDataChangedEvent object that is a copy of the original instance of the SimulationDataChangedEvent object.
You do not normally call clone()
; the EventDispatcher class calls it automatically when you redispatch
an event--that is, when you call dispatchEvent(event)
from a handler that is handling event
.
Event — A new SimulationDataChangedEvent object that is identical to the original.
|
toString | () | method |
override public function toString():String
Returns a string containing all the properties of the SimulationDataChangedEvent object. The string is in the following format:
[SimulationDataChangedEvent type=value bubbles=value cancelable=value eventPhase=value changeData=value]
String — A string containing all the properties of the SimulationDataChangedEvent object.
|
DATA_CHANGE | Constant |
public static const DATA_CHANGE:String = simulationDataChange
The SimulationDataChangedEvent.DATA_CHANGE constant defines the value of the type property of a data change event object. This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | false ; there is no default behavior to cancel. |
currentTarget | The object that is actively processing the Event object with an event listener. |
target | The object that raised the event. |
changeData | The data that has changed. |
DATA_CHANGE_APPROVED | Constant |
public static const DATA_CHANGE_APPROVED:String = simulationDataChangeApproved
The SimulationDataChangedEvent.DATA_CHANGE_APPROVED constant defines the value of the type property of a data change approved event object. This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | false ; there is no default behavior to cancel. |
currentTarget | The object that is actively processing the Event object with an event listener. |
target | The object that raised the event. |
changeData | The data that has changed. |