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

Package | org.generalrelativity.thread.event
Class | public class GreenThreadEvent
Inheritance | GreenThreadEvent 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

| Property | Defined By
--- | --- | ---
|  | process : IRunnable | GreenThreadEvent

Public Methods

| Method | Defined By
--- | --- | ---
|  | GreenThreadEvent(type:String, process:IRunnable, bubbles:Boolean = false, cancelable:Boolean = false) | GreenThreadEvent
|  | clone():Event [override] | GreenThreadEvent

Public Constants

| Constant | Defined By
--- | --- | ---
|  | PROCESS_COMPLETE : String = processComplete [static] | GreenThreadEvent
|  | PROCESS_TIMEOUT : String = processTimeout [static] | GreenThreadEvent

Property Detail

process | property

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

`public static const PROCESS_COMPLETE:String = processComplete`

PROCESS_TIMEOUT | Constant |

`public static const PROCESS_TIMEOUT:String = processTimeout`

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