Package | org.robotlegs.utilities.undoablecommand |
Class | public class CommandEvent |
Inheritance | CommandEvent ![]() |
Subclasses | HistoryEvent |
Property | Defined By | ||
---|---|---|---|
command : IUndoableCommand
The command associated with the event. | CommandEvent |
Method | Defined By | ||
---|---|---|---|
CommandEvent(type:String, command:IUndoableCommand) | CommandEvent |
Constant | Defined By | ||
---|---|---|---|
CANCELLED : String = executeCancelled [static]
CommandEvent of this type will be fired when execution of a command was cancelled. | CommandEvent | ||
EXECUTE_COMPLETE : String = executeComplete [static]
CommandEvent of this type will be fired when a command has completed executing/redoing. | CommandEvent | ||
UNDO_EXECUTE_COMPLETE : String = undoExecuteComplete [static]
CommandEvent of this type will be fired when a command has completed undoing. | CommandEvent |
command | property |
public var command:IUndoableCommand
The command associated with the event.
CommandEvent | () | Constructor |
public function CommandEvent(type:String, command:IUndoableCommand)
Parameters
type:String — The type of event
| |
command:IUndoableCommand — The command associated with the event
|
CANCELLED | Constant |
public static const CANCELLED:String = executeCancelled
CommandEvent of this type will be fired when execution of a command was cancelled.
EXECUTE_COMPLETE | Constant |
public static const EXECUTE_COMPLETE:String = executeComplete
CommandEvent of this type will be fired when a command has completed executing/redoing.
UNDO_EXECUTE_COMPLETE | Constant |
public static const UNDO_EXECUTE_COMPLETE:String = undoExecuteComplete
CommandEvent of this type will be fired when a command has completed undoing.