|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.gui.controls.ControlPanel
org.opensha.sha.gui.controls.PEER_TestCaseSelectorControlPanel
public class PEER_TestCaseSelectorControlPanel
Title: PEER_TestCaseSelectorControlPanel
Description: This class creates the a window that contains the list of different PEER tests cases so that a user can make a selection. This class also sets the default parameters for the selected test in the HazardCurveApplet.
Copyright: Copyright (c) 2002
Company:
| Field Summary | |
|---|---|
protected static String |
C
|
protected static boolean |
D
|
static String |
NAME
|
static String |
PEER_TESTS_SET_ONE
|
static String |
PEER_TESTS_SET_TWO
|
static String |
SITE_FIVE
|
static String |
SITE_FOUR
|
static String |
SITE_ONE
|
static String |
SITE_SEVEN
|
static String |
SITE_SIX
|
static String |
SITE_THREE
|
static String |
SITE_TWO
|
static String |
TEST_CASE_EIGHT_A
|
static String |
TEST_CASE_EIGHT_B
|
static String |
TEST_CASE_EIGHT_C
|
static String |
TEST_CASE_ELEVEN
|
static String |
TEST_CASE_FIVE
|
static String |
TEST_CASE_FOUR
|
static String |
TEST_CASE_NINE_A
|
static String |
TEST_CASE_NINE_B
|
static String |
TEST_CASE_NINE_C
|
static String |
TEST_CASE_ONE
|
static String |
TEST_CASE_SEVEN
|
static String |
TEST_CASE_SIX
|
static String |
TEST_CASE_TEN
|
static String |
TEST_CASE_THREE
|
static String |
TEST_CASE_TWELVE
|
static String |
TEST_CASE_TWO
|
| Constructor Summary | |
|---|---|
PEER_TestCaseSelectorControlPanel(Component parent,
HazardCurveApplication api,
IMR_MultiGuiBean imrGuiBean,
Site_GuiBean siteGuiBean,
IMT_NewGuiBean imtGuiBean,
ERF_GuiBean erfGuiBean,
TimeSpanGuiBean timeSpanGuiBean,
CalculationSettingsControlPanelAPI application)
Class Constructor |
|
| Method Summary | |
|---|---|
void |
doinit()
This method will be called the first time the control panel is displayed. |
Window |
getComponent()
|
ArrayList<String> |
getPEER_SetOneTestCasesNames()
|
ArrayList<String> |
getPEER_SetTwoTestCasesNames()
|
void |
setParams()
This function sets the site Paramters and the IMR parameters based on the selected test case and selected site number for that test case |
void |
setPEER_XValues()
This method sets the X values for the hazard Curve to the PEER supported X Values. |
void |
setTestCaseAndSite(String testAndSite)
This method extracts the selected Site and the selected TestCase set |
| Methods inherited from class org.opensha.sha.gui.controls.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 |
|---|
public static final String NAME
protected static final String C
protected static final boolean D
public static final String PEER_TESTS_SET_ONE
public static final String PEER_TESTS_SET_TWO
public static final String TEST_CASE_ONE
public static final String TEST_CASE_TWO
public static final String TEST_CASE_THREE
public static final String TEST_CASE_FOUR
public static final String TEST_CASE_FIVE
public static final String TEST_CASE_SIX
public static final String TEST_CASE_SEVEN
public static final String TEST_CASE_EIGHT_A
public static final String TEST_CASE_EIGHT_B
public static final String TEST_CASE_EIGHT_C
public static final String TEST_CASE_NINE_A
public static final String TEST_CASE_NINE_B
public static final String TEST_CASE_NINE_C
public static final String TEST_CASE_TEN
public static final String TEST_CASE_ELEVEN
public static final String TEST_CASE_TWELVE
public static final String SITE_ONE
public static final String SITE_TWO
public static final String SITE_THREE
public static final String SITE_FOUR
public static final String SITE_FIVE
public static final String SITE_SIX
public static final String SITE_SEVEN
| Constructor Detail |
|---|
public PEER_TestCaseSelectorControlPanel(Component parent,
HazardCurveApplication api,
IMR_MultiGuiBean imrGuiBean,
Site_GuiBean siteGuiBean,
IMT_NewGuiBean imtGuiBean,
ERF_GuiBean erfGuiBean,
TimeSpanGuiBean timeSpanGuiBean,
CalculationSettingsControlPanelAPI application)
parent - : Give the dimensions of the parent class calling it.api - : Instance of the application implementing the PEER_TestCaseSelectorControlPanelAPIimrGuiBean - siteGuiBean - imtGuiBean - erfGuiBean - timeSpanGuiBean - distanceControlPanel - | Method Detail |
|---|
public void doinit()
ControlPanel
doinit in class ControlPanelpublic void setPEER_XValues()
public void setTestCaseAndSite(String testAndSite)
testAndSite: - Contains both the site and the Selected Test Cases Setpublic void setParams()
public ArrayList<String> getPEER_SetOneTestCasesNames()
public ArrayList<String> getPEER_SetTwoTestCasesNames()
public Window getComponent()
getComponent in class ControlPanel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||