Packageorg.spicefactory.lib.command.events
Classpublic class CommandEvent
InheritanceCommandEvent Inheritance flash.events.Event
Subclasses CommandResultEvent

Event dispatched by commands to signal state changes.



Public Properties
 PropertyDefined By
  command : Object
[read-only] The command that dispatched the event.
CommandEvent
Public Methods
 MethodDefined By
  
CommandEvent(type:String)
Creates a new instance.
CommandEvent
Public Constants
 ConstantDefined By
  CANCEL : String = cancel
[static] Constant for the type of event fired when a command was cancelled.
CommandEvent
  RESUME : String = resume
[static] Constant for the type of event fired when a command was resumed.
CommandEvent
  SUSPEND : String = suspend
[static] Constant for the type of event fired when a command was suspended.
CommandEvent
Property Detail
commandproperty
command:Object  [read-only]

The command that dispatched the event.


Implementation
    public function get command():Object
Constructor Detail
CommandEvent()Constructor
public function CommandEvent(type:String)

Creates a new instance.

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

Constant for the type of event fired when a command was cancelled.

RESUMEConstant 
public static const RESUME:String = resume

Constant for the type of event fired when a command was resumed.

SUSPENDConstant 
public static const SUSPEND:String = suspend

Constant for the type of event fired when a command was suspended.