Packageorg.springextensions.actionscript.mvcs.command
Classpublic class CompositeCommand
InheritanceCompositeCommand Inheritance AbstractAsyncCommand Inheritance flash.events.EventDispatcher
ImplementsICompositeCommand



Public Properties
 PropertyDefined by
  currentCommand : ICommand
CompositeCommand
  failOnFault : Boolean = false
CompositeCommand
Public Methods
 MethodDefined by
  
Creates a new CompositeCommand object.
CompositeCommand
  
addCommand(command:ICommand):void
Adds a command to this composite command.
CompositeCommand
 Inherited
addFaultListener(listener:Function):void
Adds a listener for the "asyncCommandFault" event.
AbstractAsyncCommand
 Inherited
addResultListener(listener:Function):void
Adds a listener for the "asyncCommandResult" event.
AbstractAsyncCommand
 Inherited
dispatchFaultEvent(fault:Object, bubbles:Boolean = false, cancelable:Boolean = false):void
AbstractAsyncCommand
 Inherited
dispatchResultEvent(result:Object, bubbles:Boolean = false, cancelable:Boolean = false):void
AbstractAsyncCommand
  
execute():void
Executes the command.
CompositeCommand
Protected Methods
 MethodDefined by
  
executeCommand(command:ICommand):void
Executes the given command.
CompositeCommand
  
Executes the next command.
CompositeCommand
Property detail
currentCommandproperty
public var currentCommand:ICommand
failOnFaultproperty 
public var failOnFault:Boolean = false
Constructor detail
CompositeCommand()constructor
public function CompositeCommand()

Creates a new CompositeCommand object.

Method detail
addCommand()method
public function addCommand(command:ICommand):void

Adds a command to this composite command.

Parameters
command:ICommand
execute()method 
public override function execute():void

Executes the command.

executeCommand()method 
protected function executeCommand(command:ICommand):void

Executes the given command.

Parameters
command:ICommand
executeNextCommand()method 
protected function executeNextCommand():void

Executes the next command.