Packageorg.spicefactory.lib.command.group
Interfacepublic interface CommandGroup extends CommandExecutor, SuspendableCommand, CancellableCommand
Implementors CommandSequence, ParallelCommands

Represents a group of commands.



Public Properties
 PropertyDefined By
 Inheritedactive : Boolean
[read-only] Indicates whether this command is currently executing.
AsyncCommand
 Inheritedcancellable : Boolean
[read-only] Indicates whether this executor can be cancelled.
CommandExecutor
 Inheritedsuspendable : Boolean
[read-only] Indicates whether this executor can be suspended.
CommandExecutor
 Inheritedsuspended : Boolean
[read-only] Indicates whether this command is currently suspended.
SuspendableCommand
Public Methods
 MethodDefined By
  
addCommand(command:Command):void
Adds a command to this group.
CommandGroup
 Inherited
cancel():void
Cancels the command.
CancellableCommand
 Inherited
prepare(lifecycle:CommandLifecycle, data:CommandData):void
Method that may be called by frameworks before executing this command to hook into the lifecycle and data handling of this executor.
CommandExecutor
 Inherited
resume():void
Resumes the command.
SuspendableCommand
 Inherited
suspend():void
Suspends the command.
SuspendableCommand
Method Detail
addCommand()method
public function addCommand(command:Command):void

Adds a command to this group.

Parameters

command:Command — the command to add to this group