org.opensha.sha.gui.controls
Class SanAndreasScenarioControlPanel

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

public class SanAndreasScenarioControlPanel
extends ConfirmDialogControlPanel

Title: PuenteHillsScenarioControlPanelUsingEqkRuptureCreation

Description: Sets the param value to replicate the official scenario shakemap for the Puente Hill Scenario (http://www.trinet.org/shake/Puente_Hills_se)

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

Field Summary
protected static boolean D
           
static java.lang.String MESSAGE
           
static java.lang.String NAME
           
 
Constructor Summary
SanAndreasScenarioControlPanel(EqkRupSelectorGuiBean erfGuiBean, AttenuationRelationshipGuiBean imrGuiBean, SitesInGriddedRectangularRegionGuiBean regionGuiBean, MapGuiBean mapGuiBean, java.awt.Component parent)
          Accepts 3 params for the EqkRupSelectorGuiBean, AttenuationRelationshipGuiBean, SitesInGriddedRectangularRegionGuiBean from the applet.
 
Method Summary
 void applyControl()
          Sets the default Parameters in the Application for the Puente Hill Scenario
 void doinit()
          This method will be called the first time the control panel is displayed.
 
Methods inherited from class org.opensha.sha.gui.controls.ConfirmDialogControlPanel
getComponent, showControlPanel
 
Methods inherited from class org.opensha.commons.gui.ControlPanel
getName, init, isInitialized
 
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

MESSAGE

public static final java.lang.String MESSAGE
See Also:
Constant Field Values

D

protected static final boolean D
See Also:
Constant Field Values
Constructor Detail

SanAndreasScenarioControlPanel

public SanAndreasScenarioControlPanel(EqkRupSelectorGuiBean erfGuiBean,
                                      AttenuationRelationshipGuiBean imrGuiBean,
                                      SitesInGriddedRectangularRegionGuiBean regionGuiBean,
                                      MapGuiBean mapGuiBean,
                                      java.awt.Component parent)
Accepts 3 params for the EqkRupSelectorGuiBean, AttenuationRelationshipGuiBean, SitesInGriddedRectangularRegionGuiBean from the applet.

Parameters:
erfGuiBean -
imrGuiBean -
regionGuiBean -
MapGuiBean -
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

applyControl

public void applyControl()
Sets the default Parameters in the Application for the Puente Hill Scenario

Specified by:
applyControl in class ConfirmDialogControlPanel