Packagecom.adobe.cairngorm.task
Interfacepublic interface ITaskGroup extends ITask, flash.events.IEventDispatcher
Implementors TaskGroup

A task is a composition of task-items.



Public Properties
 PropertyDefined By
  children : Array
The child tasks contained in the task group.
ITaskGroup
 InheritedcurrentState : String
[read-only] Gets the current state of the task.
ITask
 Inheritedenabled : Boolean
Enables or disables the taskgroup task.
ITask
 Inheritedlabel : String
A label associated with the task.
ITask
  processed : uint
[read-only] The number of tasks that have been processed to completion or skipped because they it was disabled.
ITaskGroup
  size : uint
[read-only] The number of tasks contained in the task group, including nested children.
ITaskGroup
Public Methods
 MethodDefined By
  
addChild(child:ITask):void
ITaskGroup
  
removeChild(child:ITask):void
ITaskGroup
 Inherited
start():void
Starts processing the task-item.
ITask
Events
 Event Summary Defined By
  ITaskGroup
  ITaskGroup
  ITaskGroup
  ITaskGroup
Property Detail
childrenproperty
children:Array

The child tasks contained in the task group.


Implementation
    public function get children():Array
    public function set children(value:Array):void
processedproperty 
processed:uint  [read-only]

The number of tasks that have been processed to completion or skipped because they it was disabled.

This property can be used as the source for data binding.


Implementation
    public function get processed():uint
sizeproperty 
size:uint  [read-only]

The number of tasks contained in the task group, including nested children.

This property can be used as the source for data binding.


Implementation
    public function get size():uint
Method Detail
addChild()method
public function addChild(child:ITask):void

Parameters

child:ITask

removeChild()method 
public function removeChild(child:ITask):void

Parameters

child:ITask

Event Detail
childComplete Event
Event Object Type: com.adobe.cairngorm.task.TaskEvent

childFault Event  
Event Object Type: com.adobe.cairngorm.task.TaskEvent

childStart Event  
Event Object Type: com.adobe.cairngorm.task.TaskEvent

taskProgress Event  
Event Object Type: com.adobe.cairngorm.task.TaskEvent