GODPAPER | All Packages | All Classes | Index | Frames No Frames |
ITaskGroup

Package | com.adobe.cairngorm.task
Interface | public interface ITaskGroup extends ITask, flash.events.IEventDispatcher
Implementors | TaskGroup

A task is a composition of task-items.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | children : Array The child tasks contained in the task group. | ITaskGroup
|  | currentState : String [read-only] Gets the current state of the task. | ITask
|  | enabled : Boolean Enables or disables the taskgroup task. | ITask
|  | label : 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
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | addChild(child:ITask):void | ITaskGroup
|  | removeChild(child:ITask):void | ITaskGroup
|  | start():void Starts processing the task-item. | ITask

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | childComplete |  | ITaskGroup
|  | childFault |  | ITaskGroup
|  | childStart |  | ITaskGroup
|  | taskProgress |  | ITaskGroup

Property Detail

children | property

`children:Array`

The child tasks contained in the task group.

Implementation
`public function get children():Array`
`public function set children(value:Array):void`

processed | property |

`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`

size | property |

`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`

Thu Jan 16 2014, 01:11 PM +08:00