Packageimpression.events
Classpublic class SimulationObjectEvent
InheritanceSimulationObjectEvent Inheritance flash.events.Event
Subclasses SimulationObjectErrorEvent

A simulation object dispatches a SimulationObjectEvent object when a simulation-related event occurs.



Public Methods
 MethodDefined By
  
SimulationObjectEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new instance of a SimulationObjectEvent object.
SimulationObjectEvent
  
clone():Event
[override] Duplicates an instance of the event object.
SimulationObjectEvent
  
toString():String
[override] Returns a string containing all the properties of the SimulationObjectEvent object.
SimulationObjectEvent
Public Constants
 ConstantDefined By
  INITIALIZATION_COMPLETE : String = initializationComplete
[static] The SimulationObjectEvent.INITIALIZATION_COMPLETE constant defines the value of the type property of a simulation object initialization complete event object.
SimulationObjectEvent
  STATE_READY : String = simulationStateReady
[static] The SimulationObjectEvent.STATE_READY constant defines the value of the type property of a simulation object state ready event object.
SimulationObjectEvent
Constructor Detail
SimulationObjectEvent()Constructor
public function SimulationObjectEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new instance of a SimulationObjectEvent 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.
Method Detail
clone()method
override public function clone():Event

Duplicates an instance of the event object.

Returns a new SimulationObjectEvent object that is a copy of the original instance of the SimulationObjectEvent 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 SimulationObjectEvent object that is identical to the original.
toString()method 
override public function toString():String

Returns a string containing all the properties of the SimulationObjectEvent object. The string is in the following format:

[SimulationObjectEvent type=value bubbles=value cancelable=value eventPhase=value]

Returns
String — A string containing all the properties of the SimulationObjectEvent object.
Constant Detail
INITIALIZATION_COMPLETEConstant
public static const INITIALIZATION_COMPLETE:String = initializationComplete

The SimulationObjectEvent.INITIALIZATION_COMPLETE constant defines the value of the type property of a simulation object initialization complete event object. This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.

STATE_READYConstant 
public static const STATE_READY:String = simulationStateReady

The SimulationObjectEvent.STATE_READY constant defines the value of the type property of a simulation object state ready event object. This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.