| Package | org.spicefactory.lib.util |
| Class | public class Command |
| Subclasses | CommandChain |
| Method | Defined by | ||
|---|---|---|---|
|
Command(method:Function, params:Array = null)
Creates a new Command for deferred execution.
| Command | ||
|
execute():*
Executes the Command.
| Command | ||
| Command | () | constructor |
public function Command(method:Function, params:Array = null)Creates a new Command for deferred execution.
Parametersmethod:Function — the method to execute
|
|
params:Array (default = null) — the parameters to pass to the method
|
| execute | () | method |
public function execute():*Executes the Command.
Returns* — the return value of the executed method
|