Package | org.spicefactory.lib.command.util |
Class | public class DelegateCommand |
Inheritance | DelegateCommand ![]() |
Implements | Command |
Method | Defined By | ||
---|---|---|---|
DelegateCommand(delegate:Function, params:Array)
Creates a new instance. | DelegateCommand | ||
execute():void
Executes the command. | DelegateCommand |
DelegateCommand | () | Constructor |
public function DelegateCommand(delegate:Function, params:Array)
Creates a new instance.
Parametersdelegate:Function — the function to invoke when this command executes
| |
params:Array — parameters to pass to the function
|
execute | () | method |
public function execute():void
Executes the command.