Packageorg.robotlegs.base
Classpublic class ContextEvent
InheritanceContextEvent Inheritance flash.events.Event

A framework Event implementation



Public Properties
 PropertyDefined By
  body : *
[read-only] Loosely typed Event payload
ContextEvent
Protected Properties
 PropertyDefined By
  _body : *
ContextEvent
Public Methods
 MethodDefined By
  
ContextEvent(type:String, body:* = null)
A generic context Event implementation This class is handy for prototype work, but it's usage is not considered Best Practice
ContextEvent
  
clone():Event
[override]
ContextEvent
Public Constants
 ConstantDefined By
  SHUTDOWN : String = shutdown
[static]
ContextEvent
  SHUTDOWN_COMPLETE : String = shutdownComplete
[static]
ContextEvent
  STARTUP : String = startup
[static]
ContextEvent
  STARTUP_COMPLETE : String = startupComplete
[static]
ContextEvent
Property Detail
_bodyproperty
protected var _body:*

bodyproperty 
body:*  [read-only]

Loosely typed Event payload


Implementation
    public function get body():*
Constructor Detail
ContextEvent()Constructor
public function ContextEvent(type:String, body:* = null)

A generic context Event implementation

This class is handy for prototype work, but it's usage is not considered Best Practice

Parameters
type:String — The Event type
 
body:* (default = null) — A loosely typed payload
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
SHUTDOWNConstant
public static const SHUTDOWN:String = shutdown

SHUTDOWN_COMPLETEConstant 
public static const SHUTDOWN_COMPLETE:String = shutdownComplete

STARTUPConstant 
public static const STARTUP:String = startup

STARTUP_COMPLETEConstant 
public static const STARTUP_COMPLETE:String = startupComplete