org.annotation.wordfreak.command
Class CompoundCommand

java.lang.Object
  extended byorg.annotation.wordfreak.command.CompoundCommand
All Implemented Interfaces:
Command

public class CompoundCommand
extends java.lang.Object
implements Command


Constructor Summary
CompoundCommand(java.lang.String n, Command[] coms)
           
CompoundCommand(java.lang.String n, Command[] coms, int ri)
           
 
Method Summary
 void execute()
           
 java.lang.String getName()
           
 java.lang.Object getResult()
           
 void reexecute()
           
 void unexecute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundCommand

public CompoundCommand(java.lang.String n,
                       Command[] coms)

CompoundCommand

public CompoundCommand(java.lang.String n,
                       Command[] coms,
                       int ri)
Method Detail

execute

public void execute()
Specified by:
execute in interface Command

unexecute

public void unexecute()
Specified by:
unexecute in interface Command

reexecute

public void reexecute()
Specified by:
reexecute in interface Command

getName

public java.lang.String getName()
Specified by:
getName in interface Command

getResult

public java.lang.Object getResult()
Specified by:
getResult in interface Command


Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.