Packageorg.springextensions.actionscript.core.task.event
SVN browsingTaskEvent.as
FisheyeTaskEvent.as
Classpublic class TaskEvent
InheritanceTaskEvent Inheritance flash.events.Event



Documentation reference: tasks


Public Properties
 PropertyDefined by
  command : ICommand
[read-only]
TaskEvent
  task : ITask
[read-only]
TaskEvent
Public Methods
 MethodDefined by
  
TaskEvent(type:String, task:ITask, command:ICommand, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new TaskEvent instance.
TaskEvent
  
clone():Event
TaskEvent
Public Constants
 ConstantDefined by
  AFTER_EXECUTE_COMMAND : String = "taskAfterExecuteCommand"
[static] Defines the value of the type property of a TaskEvent.AFTER_EXECUTE_COMMAND event object.
TaskEvent
  BEFORE_EXECUTE_COMMAND : String = "taskBeforeExecuteCommand"
[static] Defines the value of the type property of a TaskEvent.BEFORE_EXECUTE_COMMAND event object.
TaskEvent
  TASK_ABORTED : String = "taskAborted"
[static] Defines the value of the type property of a TaskEvent.TASK_ABORTED event object.
TaskEvent
  TASK_COMPLETE : String = "taskComplete"
[static] Defines the value of the type property of a TaskEvent.TASK_COMPLETE event object.
TaskEvent
  TASK_ERROR : String = "taskError"
[static] Defines the value of the type property of a TaskEvent.TASK_ERROR event object.
TaskEvent
Property detail
commandproperty
command:ICommand  [read-only]Implementation
    public function get command():ICommand
taskproperty 
task:ITask  [read-only]Implementation
    public function get task():ITask
Constructor detail
TaskEvent()constructor
public function TaskEvent(type:String, task:ITask, command:ICommand, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new TaskEvent instance.

Parameters
type:String
 
task:ITask
 
command:ICommand
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method detail
clone()method
public override function clone():Event

Returns
Event — An exact copy of the current TaskEvent.
Constant detail
AFTER_EXECUTE_COMMANDconstant
public static const AFTER_EXECUTE_COMMAND:String = "taskAfterExecuteCommand"

Defines the value of the type property of a TaskEvent.AFTER_EXECUTE_COMMAND event object.

BEFORE_EXECUTE_COMMANDconstant 
public static const BEFORE_EXECUTE_COMMAND:String = "taskBeforeExecuteCommand"

Defines the value of the type property of a TaskEvent.BEFORE_EXECUTE_COMMAND event object.

TASK_ABORTEDconstant 
public static const TASK_ABORTED:String = "taskAborted"

Defines the value of the type property of a TaskEvent.TASK_ABORTED event object.

TASK_COMPLETEconstant 
public static const TASK_COMPLETE:String = "taskComplete"

Defines the value of the type property of a TaskEvent.TASK_COMPLETE event object.

TASK_ERRORconstant 
public static const TASK_ERROR:String = "taskError"

Defines the value of the type property of a TaskEvent.TASK_ERROR event object.