Deprecated, replaced by com.adobe.cairngorm.commands.ICommand
.
The Command interface enforces the contract between the Front Controller and concrete command classes in your application.
In a Cairngorm application, the application specific Front Controller will listen for events of interest, dispatching control to appropriate command classes according to the type of the event broadcast.
When an event is broadcasted by the Front Controller, it will lookup its list of registered commands, to find the command capable of carrying out the appropriate work in response to the user gesture that has caused the event.
When the event that a command is registered against is broadcast, the Front Controller class will invoke the command by calling its execute() method, which can be considered the entry point to a command.
See also: