org.opensha.sha.gui.controls
Class CyberShakePlotFromDBControlPanel

java.lang.Object
  extended by org.opensha.commons.gui.ControlPanel
      extended by org.opensha.sha.gui.controls.CyberShakePlotFromDBControlPanel
All Implemented Interfaces:
EventListener, Named, ParameterChangeListener

public class CyberShakePlotFromDBControlPanel
extends ControlPanel
implements ParameterChangeListener

Title: CyberShakePlotFromDBControlPanel

Description: This allows to view the Deterministic Cybershake Curves with that of OpenSHA using teh Empirical based AttenuationRelationships.

Since:
March 7,2006
Version:
1.0
Author:
Nitin Gupta

Field Summary
static String ERF_NAME
           
static String ERF_SELECTOR_PARAM
           
static String NAME
           
static String RUP_INDEX_PARAM
           
static String RUP_VAR_SCENARIO_PARAM
           
static String SA_PERIOD_SELECTOR_PARAM
           
static String SGT_VAR_PARAM
           
static String SITE_SELECTOR_PARAM
           
static String SRC_INDEX_PARAM
           
 
Constructor Summary
CyberShakePlotFromDBControlPanel(HazardCurveApplication app)
           
 
Method Summary
static ArbitrarilyDiscretizedFunc createUSGS_PGA_Function()
          initialises the function with the x and y values if the user has chosen the USGS-PGA X Vals the y values are modified with the values entered by the user
 void doinit()
          This method will be called the first time the control panel is displayed.
 Window getComponent()
           
 void parameterChange(ParameterChangeEvent e)
          Updates the list editor when user changes the Cybershake site
 
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 String NAME
See Also:
Constant Field Values

ERF_NAME

public static final String ERF_NAME

SITE_SELECTOR_PARAM

public static final String SITE_SELECTOR_PARAM
See Also:
Constant Field Values

ERF_SELECTOR_PARAM

public static final String ERF_SELECTOR_PARAM
See Also:
Constant Field Values

SA_PERIOD_SELECTOR_PARAM

public static final String SA_PERIOD_SELECTOR_PARAM
See Also:
Constant Field Values

SRC_INDEX_PARAM

public static final String SRC_INDEX_PARAM
See Also:
Constant Field Values

RUP_INDEX_PARAM

public static final String RUP_INDEX_PARAM
See Also:
Constant Field Values

SGT_VAR_PARAM

public static final String SGT_VAR_PARAM
See Also:
Constant Field Values

RUP_VAR_SCENARIO_PARAM

public static final String RUP_VAR_SCENARIO_PARAM
See Also:
Constant Field Values
Constructor Detail

CyberShakePlotFromDBControlPanel

public CyberShakePlotFromDBControlPanel(HazardCurveApplication app)
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

parameterChange

public void parameterChange(ParameterChangeEvent e)
Updates the list editor when user changes the Cybershake site

Specified by:
parameterChange in interface ParameterChangeListener
Parameters:
e - ParameterChangeEvent

createUSGS_PGA_Function

public static ArbitrarilyDiscretizedFunc createUSGS_PGA_Function()
initialises the function with the x and y values if the user has chosen the USGS-PGA X Vals the y values are modified with the values entered by the user


getComponent

public Window getComponent()
Specified by:
getComponent in class ControlPanel