avrora.gui
Class ManageSimInput

java.lang.Object
  extended byavrora.gui.ManageSimInput

public class ManageSimInput
extends java.lang.Object

From a high level view, this class handles "input to the simulator," which entails entering files that can be loaded as program as well as specifiying options. Node locations and monitor selection are NOT handeled by this class. This class is now only utilized by the menu bar and there are no visual elements besides dialog boxes that this class owns.


Constructor Summary
ManageSimInput()
           
 
Method Summary
 boolean checkAndDispatch(java.awt.event.ActionEvent e)
          This function sees if an event was caused by this panel.
 void createFileSelectionDialog()
          This creates the dialog box that adds files ("nodes") to the simulator
static ManageSimInput createManageSimInput()
          This is the "constructor" for this class.
 void createSetOptionsDialog()
          This creates the dialog box that asks for sim options Called by SimMenuBar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManageSimInput

public ManageSimInput()
Method Detail

createManageSimInput

public static ManageSimInput createManageSimInput()
This is the "constructor" for this class. It inits all the dialog boxes where appropiate

Returns:
An object of ManageSimInput which can then be used to input to sim

createSetOptionsDialog

public void createSetOptionsDialog()
This creates the dialog box that asks for sim options Called by SimMenuBar


createFileSelectionDialog

public void createFileSelectionDialog()
This creates the dialog box that adds files ("nodes") to the simulator


checkAndDispatch

public boolean checkAndDispatch(java.awt.event.ActionEvent e)
This function sees if an event was caused by this panel. If so, it reacts to it by calling other methods.

Returns:
true if indeed this class caused the event