| Package | com.bourre.commands |
| Class | public class ReversedBatch |
| Inheritance | ReversedBatch Batch AbstractCommand |
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Batch to process commands in the reversed order.
| Method | Defined by | ||
|---|---|---|---|
![]() |
addCommand(command:Command):Boolean
Adds a command in the batch stack.
| Batch | |
![]() |
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 | ||
![]() |
Returns the exclusive logger object owned by the plugin.
| AbstractCommand | |
![]() |
getModel(key:String):AbstractModel
Returns a reference to the model
AbstractModel. | AbstractCommand | |
![]() |
Returns a reference to the owner of this command.
| AbstractCommand | |
![]() |
getView(key:String):AbstractView
Returns a reference to the view
AbstractView. | AbstractCommand | |
![]() |
isModelRegistered(key:String):Boolean
Check if a model
AbstractModel is registered
with passed key in owner's ModelLocator. | AbstractCommand | |
![]() |
isViewRegistered(key:String):Boolean
Check if a view
AbstractView is registered
with passed key in owner's ViewLocator. | AbstractCommand | |
![]() |
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 | |
![]() |
removeAll():void
Removes all commands stored in the batch stack.
| Batch | |
![]() |
removeCommand(command:Command):Boolean
Removes all references to the passed-in command.
| Batch | |
![]() |
Defines the plugin owner of this command.
| Batch | |
![]() |
size():uint
Returns the number of commands stored in this batch.
| Batch | |
![]() |
toString():String
Returns the string representation of this instance.
| AbstractCommand | |
| 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.
e:Event (default = null) — event object to relay to the sub-commands.
|