| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
AbstractIterationCommand provides a skeleton
for concret
IterationCommand implementations.
IterationCommands are not fully stateless as they
provide to the LoopCommand which own them the iterator
onto which they will work.
For informations and examples on the behavior of loop commands see the
How to use LoopCommand
and IterationCommand document.
protected var _oIterator:Iterator
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
A reference to the iterator used by this command
public function AbstractIterationCommand(i:Iterator)
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Initializes this iteration command with the passed-in
Iterator.
Parameters
public function execute(e:Event = null):void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Override the execute virtual method
to create a concret iteration command. Concret command
may use the passed-in event as data source for
their operation. Used with a LoopCommand
the passed-in event is an IterationEvent.
Parameters
| e:Event (default = null) — event object that will be used as data source by the command
|
Throws
| — UnimplementedVirtualMethodException — Concret
command doesn't override the execute method
|
public function iterator():Iterator
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns the iterator composed by this command.
Returns
| Iterator —
the iterator composed by this command
|
public function setIterator(i:Iterator):void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines which iterator is composed by this command
Parameters
| i:Iterator — iterator instance to be used by this command
|
public function toString():String
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns the string representation of this object.
Returns
| String — the string representation of this object
|
LowRA API documentation 2008- 2009
Licensed under the MOZILLA PUBLIC LICENSE, Version 1.1
mer. févr. 25 2009, 9:22 AM GMT+01:00