Packageorg.spicefactory.lib.task.events
Classpublic class TaskEvent
InheritanceTaskEvent Inheritance flash.events.Event

Event that fires when a Task changes its internal state.



Public Methods
 MethodDefined By
  
TaskEvent(type:String)
Creates a new event instance.
TaskEvent
Public Constants
 ConstantDefined By
  CANCEL : String = cancel
[static] Constant for the type of event fired when a Task is cancelled.
TaskEvent
  COMPLETE : String = complete
[static] Constant for the type of event fired when a Task is completed.
TaskEvent
  RESUME : String = resume
[static] Constant for the type of event fired when a Task is resumed.
TaskEvent
  START : String = start
[static] Constant for the type of event fired when a Task is started.
TaskEvent
  SUSPEND : String = suspend
[static] Constant for the type of event fired when a Task is suspended.
TaskEvent
Constructor Detail
TaskEvent()Constructor
public function TaskEvent(type:String)

Creates a new event instance.

Parameters
type:String — the type of this event
Constant Detail
CANCELConstant
public static const CANCEL:String = cancel

Constant for the type of event fired when a Task is cancelled.

COMPLETEConstant 
public static const COMPLETE:String = complete

Constant for the type of event fired when a Task is completed.

RESUMEConstant 
public static const RESUME:String = resume

Constant for the type of event fired when a Task is resumed.

STARTConstant 
public static const START:String = start

Constant for the type of event fired when a Task is started.

SUSPENDConstant 
public static const SUSPEND:String = suspend

Constant for the type of event fired when a Task is suspended.