Packageorg.generalrelativity.thread.event
Classpublic class GreenThreadEvent
InheritanceGreenThreadEvent Inheritance flash.events.Event

Carries an instance of IRunnable to handle process specific Events related to the running GreenThread.

See also

IRunnable
GreenThread.onCycle


Public Properties
 PropertyDefined By
  process : IRunnable
GreenThreadEvent
Public Methods
 MethodDefined By
  
GreenThreadEvent(type:String, process:IRunnable, bubbles:Boolean = false, cancelable:Boolean = false)
GreenThreadEvent
  
clone():Event
[override]
GreenThreadEvent
Public Constants
 ConstantDefined By
  PROCESS_COMPLETE : String = processComplete
[static]
GreenThreadEvent
  PROCESS_TIMEOUT : String = processTimeout
[static]
GreenThreadEvent
Property Detail
processproperty
public var process:IRunnable

Constructor Detail
GreenThreadEvent()Constructor
public function GreenThreadEvent(type:String, process:IRunnable, bubbles:Boolean = false, cancelable:Boolean = false)



Parameters
type:String
 
process:IRunnable
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
PROCESS_COMPLETEConstant
public static const PROCESS_COMPLETE:String = processComplete

PROCESS_TIMEOUTConstant 
public static const PROCESS_TIMEOUT:String = processTimeout