Package | org.swizframework.utils.chain |
Class | public class EventChain |
Inheritance | EventChain ![]() ![]() |
Implements | IChain |
Property | Defined By | ||
---|---|---|---|
![]() | chain : IChain | AbstractChain | |
dispatcher : IEventDispatcher | EventChain | ||
![]() | isComplete : Boolean [read-only] | AbstractChain | |
![]() | mode : String = sequence | AbstractChain | |
![]() | position : int | AbstractChain | |
![]() | steps : Array | AbstractChain | |
![]() | stopOnError : Boolean | AbstractChain |
Property | Defined By | ||
---|---|---|---|
![]() | _chain : IChain
Backing variable for chain getter/setter. | AbstractChain | |
_dispatcher : IEventDispatcher
Backing variable for dispatcher getter/setter. | EventChain | ||
![]() | _isComplete : Boolean | AbstractChain | |
![]() | _position : int = -1
Backing variable for position getter/setter. | AbstractChain | |
![]() | _stopOnError : Boolean
Backing variable for stopOnError getter/setter. | AbstractChain |
Method | Defined By | ||
---|---|---|---|
EventChain(dispatcher:IEventDispatcher, mode:String, stopOnError:Boolean = true) | EventChain | ||
EventChain | |||
![]() | AbstractChain | ||
![]() | complete():void | AbstractChain | |
doProceed():void | EventChain | ||
![]() | error():void | AbstractChain | |
![]() | hasNext():Boolean | AbstractChain | |
![]() | proceed():void | AbstractChain | |
![]() | start():void | AbstractChain | |
![]() | stepComplete():void | AbstractChain | |
![]() | stepError():void | AbstractChain |
_dispatcher | property |
protected var _dispatcher:IEventDispatcher
Backing variable for dispatcher
getter/setter.
dispatcher | property |
dispatcher:IEventDispatcher
public function get dispatcher():IEventDispatcher
public function set dispatcher(value:IEventDispatcher):void
EventChain | () | Constructor |
public function EventChain(dispatcher:IEventDispatcher, mode:String, stopOnError:Boolean = true)
dispatcher:IEventDispatcher | |
mode:String (default = NaN )
| |
stopOnError:Boolean (default = true )
|
addEvent | () | method |
public function addEvent(event:EventChainStep):EventChain
Parameters
event:EventChainStep |
EventChain |
doProceed | () | method |
public function doProceed():void