| Package | org.springextensions.actionscript.core.task |
| SVN browsing | IIfElseBlock.as |
| Fisheye | IIfElseBlock.as |
| Interface | public interface IIfElseBlock extends ITask, ICommand, IOperation, flash.events.IEventDispatcher, ITaskBlock, IConditionProviderAware |
| Implementors | IfElseBlock |
IConditionProvider instance.
Documentation reference: tasks
| Method | Defined by | ||
|---|---|---|---|
![]() |
addCompleteListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.COMPLETE event.
| IOperation | |
![]() |
addErrorListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.ERROR event.
| IOperation | |
![]() |
addTimeoutListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.TIMEOUT event.
| IOperation | |
![]() |
Adds an
ICommand that will be executed in parallel. | ITask | |
![]() |
Interupts the current
ITaskBlock if its part of a loop construct. | ITaskBlock | |
![]() |
Continues the current
ITaskBlock if its part of a loop construct. | ITaskBlock | |
![]() |
Switches the current
IIfElseBlock control flow to its else block. | ITask | |
![]() |
Closes the current
ITaskBlock. | ITask | |
![]() |
execute():*
Executes the command.
| ICommand | |
![]() |
Stops the execution chain completely.
| ITask | |
![]() |
Adds a repeating execution block which will be executed a specified number of times, determined by the specified
count or ICountProvider parameters. | ITask | |
![]() |
Adds a conditional execution block to the current
ITask which will only
be executed if the specified IConditionProvider return true. | ITask | |
![]() |
Adds an
ICommand that will be executed in sequence. | ITask | |
![]() |
Pauses the current
ITask for the specified amount of milliseconds. | ITask | |
![]() |
removeCompleteListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.COMPLETE event.
| IOperation | |
![]() |
removeErrorListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.ERROR event.
| IOperation | |
![]() |
removeTimeoutListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.TIMEOUT event.
| IOperation | |
![]() |
Restarts the execution of the current
ITask. | ITask | |
|
switchToElseBlock():void
| IIfElseBlock | ||
![]() |
Adds a repeating execution block which will be executed until the specified
IConditionProvider returns false. | ITask | |