Packageimpression.events
Classpublic class SimulationDataChangeRequestEvent
InheritanceSimulationDataChangeRequestEvent Inheritance flash.events.Event

An object that implements ISimulationUI dispatches a SimulationDataChangeRequestEvent object when a change to simulation state data is requested.



Public Properties
 PropertyDefined By
  changeData : *
The proposed data to be changed.
SimulationDataChangeRequestEvent
Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined 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
Property Detail
changeDataproperty
changeData:*

The proposed data to be changed. The specific data and format are project defined.


Implementation
    public function get changeData():*
    public function set changeData(value:any):void
Constructor Detail
SimulationDataChangeRequestEvent()Constructor
public function SimulationDataChangeRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, changeData:* = null)

Creates a new instance of a SimulationDataChangeRequestEvent object.

Parameters
type: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.
Method Detail
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.

Returns
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]

Returns
String — A string containing all the properties of the SimulationDataChangeRequestEvent object.
Constant Detail
DATA_CHANGE_REQUESTConstant
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:

PropertyValue
bubblesfalse
cancelabletrue; cancelling the event means that the simulation will not accept the change.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.
changeDataThe proposed data to be changed.