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.