avrora.actions
Class GUIAction

java.lang.Object
  extended byavrora.util.help.HelpCategory
      extended byavrora.actions.Action
          extended byavrora.actions.GUIAction
All Implemented Interfaces:
HelpItem

public class GUIAction
extends Action

The VisualAction class serves as an action that creates an initializes a GUI for Avrora.


Field Summary
 AvroraGui app
           
static java.lang.String HELP
           
 
Fields inherited from class avrora.actions.Action
options
 
Fields inherited from class avrora.util.help.HelpCategory
COMPARATOR, help, name
 
Constructor Summary
GUIAction()
           
 
Method Summary
 void run(java.lang.String[] args)
          The run() method is called by the main classand starts the GUI.
 void stopSim()
           
 
Methods inherited from class avrora.actions.Action
newOption, newOption, newOption, newOption, newOption, newOptionList
 
Methods inherited from class avrora.util.help.HelpCategory
addCommandExample, addListSection, addOptionSection, addSection, addSubcategorySection, getHelp, getName, printHelp, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

app

public AvroraGui app

HELP

public static final java.lang.String HELP
See Also:
Constant Field Values
Constructor Detail

GUIAction

public GUIAction()
Method Detail

run

public void run(java.lang.String[] args)
         throws java.lang.Exception
The run() method is called by the main classand starts the GUI. If a file was specified by the command line, it will be passed to the GUI as part of the arguments.

Specified by:
run in class Action
Parameters:
args - the command line arguments
Throws:
java.lang.Exception

stopSim

public void stopSim()