Package | org.spicefactory.lib.command.events |
Class | public class CommandEvent |
Inheritance | CommandEvent flash.events.Event |
Subclasses | CommandResultEvent |
Property | Defined By | ||
---|---|---|---|
command : Object [read-only]
The command that dispatched the event. | CommandEvent |
Method | Defined By | ||
---|---|---|---|
CommandEvent(type:String)
Creates a new instance. | CommandEvent |
Constant | Defined 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 |
command | property |
command:Object
[read-only] The command that dispatched the event.
public function get command():Object
CommandEvent | () | Constructor |
public function CommandEvent(type:String)
Creates a new instance.
Parameterstype:String — the type of the event
|
CANCEL | Constant |
public static const CANCEL:String = cancel
Constant for the type of event fired when a command was cancelled.
RESUME | Constant |
public static const RESUME:String = resume
Constant for the type of event fired when a command was resumed.
SUSPEND | Constant |
public static const SUSPEND:String = suspend
Constant for the type of event fired when a command was suspended.