Packagecom.soma.core.interfaces
Interfacepublic interface ISequenceCommand extends ICommand
Implementors SequenceCommand

Author: Romuald Quantin - www.soundstep.com

Resources: http://www.soundstep.com/downloads/somacore

Actionscript version: 3.0

Copyright: Mozilla Public License 1.1 (MPL 1.1) http://www.opensource.org/licenses/mozilla1.1.php

See also

com.soma.core.controller.SequenceCommand


Public Properties
 PropertyDefined By
  commands : Array
[read-only] Retrieves the list of commands added as subcommands.
ISequenceCommand
  currentCommand : Event
[read-only] Retrieves the command that is currently executed (running).
ISequenceCommand
  length : int
[read-only] Retrieves the number of commands added as subcommands.
ISequenceCommand
Public Methods
 MethodDefined By
 Inherited
execute(event:Event):void
Method called by the framework, this is the execution of the command.
ICommand
  
Method used to execute the next command in the list of subcommands.
ISequenceCommand
  
stop():void
Stops the current sequence.
ISequenceCommand
Property Detail
commandsproperty
commands:Array  [read-only]

Retrieves the list of commands added as subcommands.


Implementation
    public function get commands():Array
currentCommandproperty 
currentCommand:Event  [read-only]

Retrieves the command that is currently executed (running).


Implementation
    public function get currentCommand():Event
lengthproperty 
length:int  [read-only]

Retrieves the number of commands added as subcommands.


Implementation
    public function get length():int
Method Detail
executeNextCommand()method
public function executeNextCommand():void

Method used to execute the next command in the list of subcommands.

stop()method 
public function stop():void

Stops the current sequence.