Packageorg.fluint.sequence
Classpublic class SequenceEventDispatcher
InheritanceSequenceEventDispatcher Inheritance Object
Implements ISequenceAction

The sequencer event dispatcher class is used by the TestCase sequence code to broadcast an event from a target. It is generally used to simulate a user gesture, such as clicking on a button.



Public Properties
 PropertyDefined By
  eventToBroadcast : Event
[read-only] An event object which will be broadcast on the target.
SequenceEventDispatcher
  target : IEventDispatcher
[read-only] The target event dispatcher where the eventToBroadcast will be broadcast from.
SequenceEventDispatcher
Public Methods
 MethodDefined By
  
SequenceEventDispatcher(target:EventDispatcher, eventToBroadcast:Event)
Constructor.
SequenceEventDispatcher
  
execute():void
Dispatches the specified event on the target IEventDispatcher.
SequenceEventDispatcher
Property Detail
eventToBroadcastproperty
eventToBroadcast:Event  [read-only]

An event object which will be broadcast on the target.


Implementation
    public function get eventToBroadcast():Event
targetproperty 
target:IEventDispatcher  [read-only]

The target event dispatcher where the eventToBroadcast will be broadcast from.


Implementation
    public function get target():IEventDispatcher
Constructor Detail
SequenceEventDispatcher()Constructor
public function SequenceEventDispatcher(target:EventDispatcher, eventToBroadcast:Event)

Constructor.

Parameters
target:EventDispatcher — EventDispatcher, from which the event will be broadcast.
 
eventToBroadcast:Event — An actual event, which will be broadcast from the target.
Method Detail
execute()method
public function execute():void

Dispatches the specified event on the target IEventDispatcher.