Class LoadDialog

java.lang.Object
  extended byLoadDialog
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class LoadDialog
extends java.lang.Object
implements java.awt.event.ActionListener

A class that creates the loading dialog for the simulation. This allows the user to configure the majority of the variables that control the simulation. The user may input values for: maxLength, numSubunit, bindTime, breakTime, bsToNoneTime, noneToBsTime, bindMonomerOnly, breakOnlyEnds, iterations_per_run, events_per_printout, simChoice, csAllowed, showBorder, grey, and the number of runs to perform. Creates the simulation by loading MainFrame

See Also:
Test.java

Constructor Summary
LoadDialog()
          Creates the loading frame and all the buttons, labels, text boxes for it the values displayed are read in from the Test.java file and those are used as defaults
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Listens to user input events, loads the simulation when the load button is pressed and resets the values to defaults when default is presseed
static void hide()
          Hides the loading window
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadDialog

public LoadDialog()
Creates the loading frame and all the buttons, labels, text boxes for it the values displayed are read in from the Test.java file and those are used as defaults

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Listens to user input events, loads the simulation when the load button is pressed and resets the values to defaults when default is presseed

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - ActionEvent

hide

public static void hide()
Hides the loading window