| Package | system.events |
| Class | public class Command |
| Inheritance | Command Object |
| Implements | Runnable |
| Property | Defined By | ||
|---|---|---|---|
| channel : String
The channel of this command. | Command | ||
| controller : FrontController
The front controller reference of this command. | Command | ||
| name : String
The command's type name. | Command | ||
| value : *
The value of this command. | Command | ||
| Method | Defined By | ||
|---|---|---|---|
Command(... arguments)
Creates a new Command instance. | Command | ||
run(... arguments):void
Run the process. | Command | ||
toObject():Object
Returns the Object representation of the instance. | Command | ||
toString(verbose:Boolean = false):String
Returns the String representation of this object. | Command | ||
| channel | property |
public var channel:StringThe channel of this command.
| controller | property |
controller:FrontControllerThe front controller reference of this command. If the controller property isn't define the internal FrontController defines with the channel property of the command is used.
public function get controller():FrontController public function set controller(value:FrontController):void| name | property |
public var name:StringThe command's type name.
| value | property |
public var value:*The value of this command.
| Command | () | Constructor |
public function Command(... arguments)Creates a new Command instance.
Example :
var c1:Command = new Command() ;
var c2:Command = new Command([name:String [, value:, channel:String]]]) ;
var c3:Command = new Command([initObject:Object]) ;
Parameters ... arguments |
| run | () | method |
public function run(... arguments):voidRun the process.
Parameters
... arguments |
| toObject | () | method |
public function toObject():ObjectReturns the Object representation of the instance.
ReturnsObject — the Object representation of the instance.
|
| toString | () | method |
public function toString(verbose:Boolean = false):StringReturns the String representation of this object.
Parameters
verbose:Boolean (default = false) |
String — the String representation of this object.
|