org.opensha.sha.gui.controls
Class RunAll_PEER_TestCasesControlPanel

java.lang.Object
  extended by org.opensha.commons.gui.ControlPanel
      extended by org.opensha.sha.gui.controls.RunAll_PEER_TestCasesControlPanel
All Implemented Interfaces:
Named

public class RunAll_PEER_TestCasesControlPanel
extends ControlPanel

Title: RunAll_PEER_TestCasesControlPanel

Description: This class runs all the PEER tst cases and output the results in a file

Version:
1.0
Author:
: Edward (Ned) Field, Nitin Gupta and Vipin Gupta

Field Summary
static java.lang.String NAME
           
 
Constructor Summary
RunAll_PEER_TestCasesControlPanel(java.awt.Component parent)
           
 
Method Summary
 void doinit()
          This method will be called the first time the control panel is displayed.
 java.awt.Window getComponent()
           
 boolean runAllPEER_TestCases()
           
 
Methods inherited from class org.opensha.commons.gui.ControlPanel
getName, init, isInitialized, showControlPanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

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

RunAll_PEER_TestCasesControlPanel

public RunAll_PEER_TestCasesControlPanel(java.awt.Component parent)
Method Detail

doinit

public void doinit()
Description copied from class: ControlPanel
This method will be called the first time the control panel is displayed. All setup should be in this method and not in the constructor, so that the apps can start quickly.

Specified by:
doinit in class ControlPanel

runAllPEER_TestCases

public boolean runAllPEER_TestCases()
Returns:
true if we have to run all the PEER test cases

getComponent

public java.awt.Window getComponent()
Specified by:
getComponent in class ControlPanel