AbstractIterationCommand
| Kind of class: | public class |
|---|---|
| Package: | com.bourre.commands |
| Inherits from: | none |
| Implements: | |
| Classpath: | com.bourre.commands.AbstractIterationCommand |
| File last modified: | Tuesday, 22 January 2008, 21:59:34 |
Summary
Constructor
- AbstractIterationCommand (i:Iterator)
- Initializes this iteration command with the passed-in
Constructor
AbstractIterationCommand
Initializes this iteration command with the passed-in
Iterator. Instance methods
execute
public function execute (
e:Event = null) : void
Override the
to create a concret iteration command. Concret command
may use the passed-in event as data source for
their operation. Used with a
execute virtual methodto create a concret iteration command. Concret command
may use the passed-in event as data source for
their operation. Used with a
LoopCommandthe passed-in event is an IterationEvent. Parameters:
e:
event object that will be used as data source by the command
Throws:
- {VISDOC_LINK_0}
UnimplementedVirtualMethodException— Concret
command doesn't override theexecutemethod
iterator
Returns the iterator composed by this command.
Returns:
- the iterator composed by this command
Specified by:
setIterator
Defines which iterator is composed by this command
Parameters:
i:
iterator instance to be used by this command
toString
public function toString (
) : String
Returns the string representation of this object.
Returns:
- the string representation of this object