API Documentation | All Packages | All Classes | Index | Frames No Frames |
SequenceEventDispatcher

Package | org.fluint.sequence
Class | public class SequenceEventDispatcher
Inheritance | SequenceEventDispatcher 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

| Property | Defined 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

| Method | Defined By
--- | --- | ---
|  | SequenceEventDispatcher(target:EventDispatcher, eventToBroadcast:Event) Constructor. | SequenceEventDispatcher
|  | execute():void Dispatches the specified event on the target IEventDispatcher. | SequenceEventDispatcher

Property Detail

eventToBroadcast | property

`eventToBroadcast:Event` [read-only]

An event object which will be broadcast on the target.

Implementation
`public function get eventToBroadcast():Event`

target | property |

`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.

Thu Apr 10 2014, 08:07 AM +10:00