Class com.flashdoctors.reflex.DelegateCommand

Implemented Interfaces

ICommand

Description

This command allows you to call a method on a specific object, with specific arguments.

Method Index

new DelegateCommand()
create(), execute(), setArgs(), setFunction(), setFunctionName(), setScope()

Inherited from AbstractCommand

Constructor Detail

DelegateCommand

public function DelegateCommand(scope1:Object, func1:Function, args1:Array)

Method Detail

create

static public function create(scope1:Object, func1:Function, args1:Array):DelegateCommand

execute

public function execute():Void

Description copied from ICommand

Run this command

Specified By

execute() in com.flashdoctors.reflex.ICommand

Overrides

execute() in com.flashdoctors.reflex.AbstractCommand

setScope

public function setScope(obj:Object):Void

setFunction

public function setFunction(func:Function):Void

setFunctionName

public function setFunctionName(func:String):Void

setArgs

public function setArgs(args:Array):Void