Package | impression.events |
Class | public class SimulationDataRequestEvent |
Inheritance | SimulationDataRequestEvent ![]() |
Property | Defined By | ||
---|---|---|---|
data : *
The simulation data requested. | SimulationDataRequestEvent | ||
request : * [read-only]
The data change request. | SimulationDataRequestEvent |
Method | Defined By | ||
---|---|---|---|
SimulationDataRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, request:* = null)
Creates a new instance of a SimulationDataRequestEvent object. | SimulationDataRequestEvent | ||
clone():Event [override]
Duplicates an instance of the event object. | SimulationDataRequestEvent | ||
toString():String [override]
Returns a string containing all the properties of the SimulationDataRequestEvent object. | SimulationDataRequestEvent |
Constant | Defined By | ||
---|---|---|---|
DATA_REQUEST : String = simulationDataRequest [static]
The SimulationDataRequestEvent.DATA_REQUEST constant defines the value of the
type property of a data request event object. | SimulationDataRequestEvent |
data | property |
data:*
The simulation data requested. The specific data and format are project defined.
public function get data():*
public function set data(value:any):void
request | property |
request:*
[read-only] The data change request. The specific data and format are project defined.
public function get request():*
SimulationDataRequestEvent | () | Constructor |
public function SimulationDataRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, request:* = null)
Creates a new instance of a SimulationDataRequestEvent 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.
| |
request:* (default = null ) — The data change request. Event listeners can access this information through the request property.
|
clone | () | method |
override public function clone():Event
Duplicates an instance of the event object.
Returns a new SimulationDataRequestEvent object that is a copy of the original instance of the SimulationDataRequestEvent 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 SimulationDataRequestEvent object that is identical to the original.
|
toString | () | method |
override public function toString():String
Returns a string containing all the properties of the SimulationDataRequestEvent object. The string is in the following format:
[SimulationDataRequestEvent type=value bubbles=value cancelable=value eventPhase=value request=value data=value]
String — A string containing all the properties of the SimulationDataRequestEvent object.
|
DATA_REQUEST | Constant |
public static const DATA_REQUEST:String = simulationDataRequest
The SimulationDataRequestEvent.DATA_REQUEST constant defines the value of the type property of a data request 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. |
request | The data change request. |
data | The simulation data. |