Package | impression.events |
Class | public class SimulationDataChangeRequestEvent |
Inheritance | SimulationDataChangeRequestEvent ![]() |
Property | Defined By | ||
---|---|---|---|
changeData : *
The proposed data to be changed. | SimulationDataChangeRequestEvent |
Method | Defined By | ||
---|---|---|---|
SimulationDataChangeRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, changeData:* = null)
Creates a new instance of a SimulationDataChangeRequestEvent object. | SimulationDataChangeRequestEvent | ||
clone():Event [override]
Duplicates an instance of the event object. | SimulationDataChangeRequestEvent | ||
toString():String [override]
Returns a string containing all the properties of the SimulationDataChangeRequestEvent object. | SimulationDataChangeRequestEvent |
Constant | Defined By | ||
---|---|---|---|
DATA_CHANGE_REQUEST : String = simulationDataChangeRequest [static]
The SimulationDataChangeRequestEvent.DATA_CHANGE_REQUEST constant defines the value of the
type property of a data change request event object. | SimulationDataChangeRequestEvent |
changeData | property |
changeData:*
The proposed data to be changed. The specific data and format are project defined.
public function get changeData():*
public function set changeData(value:any):void
SimulationDataChangeRequestEvent | () | Constructor |
public function SimulationDataChangeRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, changeData:* = null)
Creates a new instance of a SimulationDataChangeRequestEvent 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 proposed data to be changed.
|
clone | () | method |
override public function clone():Event
Duplicates an instance of the event object.
Returns a new SimulationDataChangeRequestEvent object that is a copy of the original instance of the SimulationDataChangeRequestEvent 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 SimulationDataChangeRequestEvent object that is identical to the original.
|
toString | () | method |
override public function toString():String
Returns a string containing all the properties of the SimulationDataChangeRequestEvent object. The string is in the following format:
[SimulationDataChangeRequestEvent type=value bubbles=value cancelable=value eventPhase=value changeData=value]
String — A string containing all the properties of the SimulationDataChangeRequestEvent object.
|
DATA_CHANGE_REQUEST | Constant |
public static const DATA_CHANGE_REQUEST:String = simulationDataChangeRequest
The SimulationDataChangeRequestEvent.DATA_CHANGE_REQUEST constant defines the value of the type property of a data change request event object. This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | true ; cancelling the event means that the simulation will not accept the change. |
currentTarget | The object that is actively processing the Event object with an event listener. |
target | The object that raised the event. |
changeData | The proposed data to be changed. |