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

Package | org.fluint.sequence
Class | public class SequenceSetter
Inheritance | SequenceSetter Object
Implements | ISequenceAction

The sequence setter class tells the TestCase instance to set properties on the target.

Public Properties

| Property | Defined By
--- | --- | ---
|  | props : Object [read-only] A generic object that contains name/value pairs that should be set on the target. For example, if the target were a TextInput, a props defined like this: {text:'blah',enabled:false} Would set the text property to 'blah' and the enabled property to false. | SequenceSetter
|  | target : IEventDispatcher [read-only] The event dispatcher where the properties/value pairs defined in the props object will be set. | SequenceSetter

Public Methods

| Method | Defined By
--- | --- | ---
|  | SequenceSetter(target:IEventDispatcher, props:Object) Constructor. | SequenceSetter
|  | execute():void Sets the name/value pairs defined in the props object to the target. | SequenceSetter

Property Detail

props | property

`props:Object` [read-only]

A generic object that contains name/value pairs that should be set on the target.

For example, if the target were a TextInput, a props defined like this:

`{text:'blah',enabled:false}`

Would set the text property to 'blah' and the enabled property to false.

Implementation
`public function get props():Object`

target | property |

`target:IEventDispatcher` [read-only]

The event dispatcher where the properties/value pairs defined in the props object will be set.

Implementation
`public function get target():IEventDispatcher`
Constructor Detail

SequenceSetter | () | Constructor

`public function SequenceSetter(target:IEventDispatcher, props:Object)`

Constructor.

Parameters

| `target:IEventDispatcher` — The target where properties will be set.
| `props:Object` — Contains the property/value pairs to be set on the target.

Method Detail

execute | () | method

`public function execute():void`

Sets the name/value pairs defined in the props object to the target.

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