Packagesandy.commands
Classpublic class Delegate
ImplementsCommand



Public Methods
 MethodDefined by
  
Delegate(f:Function, ... rest)
Delegate
  
addArguments(... rest):void
Delegate
  
addArgumentsArray(a:Array):void
Delegate
  
Delegate
  
create(method:Function, ... args):Function
[static]
Delegate
  
execute(e:Event = null):void
Delegate
  
getArguments():Array
Delegate
  
handleEvent(e:Event):void
Delegate
  
setArguments(... rest):void
Delegate
  
setArgumentsArray(a:Array):void
Delegate
  
toString():String
Returns the string representation of this instance.
Delegate
Constructor detail
Delegate()constructor
public function Delegate(f:Function, ... rest)Parameters
f:Function
 
... rest
Method detail
addArguments()method
public function addArguments(... rest):voidParameters
... rest
addArgumentsArray()method 
public function addArgumentsArray(a:Array):voidParameters
a:Array
callFunction()method 
public function callFunction():*

Returns
*
create()method 
public static function create(method:Function, ... args):FunctionParameters
method:Function
 
... args

Returns
Function
execute()method 
public function execute(e:Event = null):voidParameters
e:Event (default = null)
getArguments()method 
public function getArguments():Array

Returns
Array
handleEvent()method 
public function handleEvent(e:Event):voidParameters
e:Event
setArguments()method 
public function setArguments(... rest):voidParameters
... rest
setArgumentsArray()method 
public function setArgumentsArray(a:Array):voidParameters
a:Array
toString()method 
public function toString():String

Returns the string representation of this instance.

Returns
String — the string representation of this instance