| Package | org.spicefactory.lib.task |
| Class | public class SequentialTaskGroup |
| Inheritance | SequentialTaskGroup TaskGroup Task flash.events.EventDispatcher |
COMPLETE event. If the TaskGroup gets cancelled or suspended the currently active child
task will also be cancelled or suspended in turn.
If a child Task throws an ERROR event and the ignoreChildErrors property
of this TaskGroup is set to false, then the TaskGroup will fire an ERROR event
and will not execute its remaining child tasks.
If the autoStart property of this TaskGroup is set to true, the TaskGroup
will automatically be started if a child task gets added to an empty chain.
| Method | Defined By | ||
|---|---|---|---|
SequentialTaskGroup(name:String = null)
Creates a new TaskGroup. | SequentialTaskGroup | ||
![]() |
Adds the specified task to this TaskGroup. | TaskGroup | |
![]() | cancel():Boolean
Cancels this Task. | Task | |
![]() |
Returns the Task at the specified index. | TaskGroup | |
![]() | removeAllTasks():void
Removes all tasks from this TaskGroup. | TaskGroup | |
![]() | removeTask(task:Task):Boolean
Removes the specified task from this TaskGroup. | TaskGroup | |
![]() | resume():Boolean
Resumes this Task if it is suspended. | Task | |
![]() | skip():Boolean
Forces this Task to move to its final state. | Task | |
![]() | start():Boolean
Starts this Task. | Task | |
![]() | suspend():Boolean
Suspends this Task. | Task | |