edu.memphis.ccrg.lida.framework.gui.commands
Class SetTimeScaleCommand

java.lang.Object
  extended by edu.memphis.ccrg.lida.framework.gui.commands.CommandImpl
      extended by edu.memphis.ccrg.lida.framework.gui.commands.SetTimeScaleCommand
All Implemented Interfaces:
Command

public class SetTimeScaleCommand
extends CommandImpl

Sets the tickDuration of the system. A Integer "tickDuration" parameter must be specified.

Author:
Javier Snaider

Field Summary
 
Fields inherited from class edu.memphis.ccrg.lida.framework.gui.commands.CommandImpl
result
 
Constructor Summary
SetTimeScaleCommand()
           
 
Method Summary
 void execute(Agent agent)
          Executes this command performing the necessary actions in the model (the Agent).
 
Methods inherited from class edu.memphis.ccrg.lida.framework.gui.commands.CommandImpl
getParameter, getResult, setParameter, setParameters, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetTimeScaleCommand

public SetTimeScaleCommand()
Method Detail

execute

public void execute(Agent agent)
Description copied from interface: Command
Executes this command performing the necessary actions in the model (the Agent).

Specified by:
execute in interface Command
Specified by:
execute in class CommandImpl
Parameters:
agent - Agent Object