Packagecom.bourre.commands
Classpublic class ReversedBatch
InheritanceReversedBatch Inheritance Batch Inheritance AbstractCommand

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Extends Batch to process commands in the reversed order.



Protected Properties
 PropertyDefined by
 Inherited_aCommands : Array
Contains all commands currently in this macro command
Batch
 Inherited_owner : Plugin
A reference to the plugin owner of this command.
AbstractCommand
Public Methods
 MethodDefined by
 Inherited
addCommand(command:Command):Boolean
Adds a command in the batch stack.
Batch
 Inherited
contains(command:Command):Boolean
Returns true if the passed-in command is stored in this batch.
Batch
  
execute(e:Event = null):void
Executes the whole set of commands in the reversed order they were registered.
ReversedBatch
 Inherited
Returns the exclusive logger object owned by the plugin.
AbstractCommand
 Inherited
getModel(key:String):AbstractModel
Returns a reference to the model AbstractModel.
AbstractCommand
 Inherited
Returns a reference to the owner of this command.
AbstractCommand
 Inherited
getView(key:String):AbstractView
Returns a reference to the view AbstractView.
AbstractCommand
 Inherited
isModelRegistered(key:String):Boolean
Check if a model AbstractModel is registered with passed key in owner's ModelLocator.
AbstractCommand
 Inherited
isViewRegistered(key:String):Boolean
Check if a view AbstractView is registered with passed key in owner's ViewLocator.
AbstractCommand
 Inherited
process(f:Function, a:Array, ... args):void
[static] Takes all elements of an Array and pass them one by one as arguments to a method of an object.
Batch
 Inherited
removeAll():void
Removes all commands stored in the batch stack.
Batch
 Inherited
removeCommand(command:Command):Boolean
Removes all references to the passed-in command.
Batch
 Inherited
setOwner(owner:Plugin):void
Defines the plugin owner of this command.
Batch
 Inherited
size():uint
Returns the number of commands stored in this batch.
Batch
 Inherited
toString():String
Returns the string representation of this instance.
AbstractCommand
Protected Methods
 MethodDefined by
 Inherited
firePrivateEvent(e:Event):void
Fires a private event directly on this command's owner.
AbstractCommand
Method detail
execute()method
public override function execute(e:Event = null):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Executes the whole set of commands in the reversed order they were registered.

If an event is passed to the function, it will be relayed to the sub-commands execute method.

Parameters
e:Event (default = null) — event object to relay to the sub-commands.