|
||||||||||
| 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.X_ValuesInCurveControlPanel
public class X_ValuesInCurveControlPanel
Title: X_ValuesInCurveControlPanel
Description: Provides the user to input his own set of X-Values for the HazardCurve
| Field Summary | |
|---|---|
static String |
CUSTOM_VALUES
|
static String |
DEFAULT
|
static String |
MIN_MAX_NUM
|
static String |
NAME
|
static String |
PEER_X_VALUES
|
static String |
USGS_PGA_X_VALUES
|
static String |
USGS_SA_01_AND_02_X_VALUES
|
static String |
USGS_SA_X_VALUES
|
| Constructor Summary | |
|---|---|
X_ValuesInCurveControlPanel(Component parent,
CurveDisplayAppAPI api)
Class constructor |
|
| Method Summary | |
|---|---|
void |
doinit()
This method will be called the first time the control panel is displayed. |
Window |
getComponent()
|
void |
setX_Values(ArbitrarilyDiscretizedFunc func)
Shows the custom X-Values from the application in the control Panel. |
void |
useDefaultX_Values()
Sets the Control Panel to show the Defualt X values based on the selecetd IMT |
| 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
public static final String PEER_X_VALUES
public static final String USGS_PGA_X_VALUES
public static final String USGS_SA_01_AND_02_X_VALUES
public static final String USGS_SA_X_VALUES
public static final String CUSTOM_VALUES
public static final String DEFAULT
public static final String MIN_MAX_NUM
| Constructor Detail |
|---|
public X_ValuesInCurveControlPanel(Component parent,
CurveDisplayAppAPI api)
parent - : Takes the Application instance to get its dimensionsapi - : Takes the instance of the application implementing the
X_ValuesInCurveControlPanelAPI to get the IMT value from the application, to
show the the default X values based on IMT selected in the application.| Method Detail |
|---|
public void doinit()
ControlPanel
doinit in class ControlPanelpublic void useDefaultX_Values()
imt - public void setX_Values(ArbitrarilyDiscretizedFunc func)
func: - ArbitrarilyDiscretizedFunc function to be shown in the control Panelpublic Window getComponent()
getComponent in class ControlPanel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||