Class com.flashdoctors.reflex.ParallelCommand

Implemented Interfaces

ICommand ICommandRunEventListener

Description

This command will run multiple commands when executed. Use CompositeCommand.addCommand(cmd:ICommand) to add more commands to this one. It will wait for all of them to complete before completing itself. Be sure any commands you add to this command properly call their done commands. The easiest way to make sure this happens is by extending AbstractCommand.

Method Index

new ParallelCommand()
addCommand(), execute(), onCommandRunEvent(), oneFinished(), setCommands()

Inherited from AbstractCommand

Constructor Detail

ParallelCommand

public function ParallelCommand()

Method Detail

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

addCommand

public function addCommand(cmd:ICommand):Void

setCommands

public function setCommands(c:IList):Void

oneFinished

public function oneFinished():Void

onCommandRunEvent

public function onCommandRunEvent(evt:CommandRunEvent):Void