org.opensha.sha.gui.controls
Class CalculationSettingsControlPanel

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

public class CalculationSettingsControlPanel
extends ControlPanel

Title: CalculationSettingsControlPanel

Description: This class takes the adjustable parameters from the calculators like ScenarioshakeMapCalc and HazardMapCalc and show it in the control panel.

Version:
1.0
Author:
: Ned Field, Nitin Gupta and Vipin Gupta

Field Summary
static java.lang.String NAME
           
 
Constructor Summary
CalculationSettingsControlPanel(java.awt.Component parentComponent, CalculationSettingsControlPanelAPI api)
           
 
Method Summary
 void doinit()
          This method will be called the first time the control panel is displayed.
 ParameterList getAdjustableCalcParams()
           
 java.awt.Window getComponent()
           
 java.lang.Object getParameterValue(java.lang.String paramName)
           
 
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

CalculationSettingsControlPanel

public CalculationSettingsControlPanel(java.awt.Component parentComponent,
                                       CalculationSettingsControlPanelAPI api)
Parameters:
api - : Instance of the class using this control panel and implmenting the CalculationSettingsControlPanelAPI.
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

getParameterValue

public java.lang.Object getParameterValue(java.lang.String paramName)

getAdjustableCalcParams

public ParameterList getAdjustableCalcParams()

getComponent

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