|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.opensha.nshmp.sha.gui.beans.UHS_GuiBean
public class UHS_GuiBean
Title: UHS_GuiBean
Description: This option sets the parameter for the NEHRP analysis option.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected ProbabilisticHazardApplicationAPI |
application
|
protected boolean |
approxUHS_Calculated
|
protected DataGeneratorAPI_UHS |
dataGenerator
|
protected DataSetSelectionGuiBean |
datasetGui
|
protected static String |
GROUND_MOTION_PARAM_NAME
|
protected StringParameter |
groundMotionParam
|
protected ConstrainedStringParameterEditor |
groundMotionParamEditor
|
protected BatchLocationBean |
locGuiBean
|
protected boolean |
sdSpectrumCalculated
|
protected String |
selectedEdition
|
protected String |
selectedRegion
|
protected boolean |
smSpectrumCalculated
|
protected String |
spectraType
|
protected boolean |
uhsCalculated
|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
UHS_GuiBean(ProbabilisticHazardApplicationAPI api)
|
|
| Method Summary | |
|---|---|
void |
clearData()
Removes all the output from the window |
protected void |
createEditionSelectionParameter()
Creates the Parameter that allows user to select the Editions based on the selected Analysis and choosen geographic region. |
protected void |
createGeographicRegionSelectionParameter()
Creating the parameter that allows user to choose the geographic region list if selected Analysis option is NEHRP. |
protected void |
createGroundMotionParameter()
|
protected void |
createLocation()
Creating the location gui bean |
String |
getData()
|
protected void |
getDataForSA_Period()
Gets the SA Period and Values from datafiles |
JPanel |
getGuiBean()
Returns the instance of itself |
protected Region |
getRegionConstraint()
|
String |
getSelectedDataEdition()
Returns the selected data edition |
String |
getSelectedRegion()
Returns the selected Region |
protected ArrayList |
getSupportedSpectraTypes()
|
protected void |
jbInit()
|
void |
parameterChange(ParameterChangeEvent event)
If GuiBean parameter is changed. |
protected void |
setButtonsEnabled(boolean enableButtons)
|
protected void |
setSiteCoeff()
This function pops up the site coefficient window and allows user to set Site coefficient for the calculation. |
protected void |
uhsButton_actionPerformed(ActionEvent actionEvent)
|
protected void |
viewUHSButton_actionPerformed(ActionEvent actionEvent)
|
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected DataSetSelectionGuiBean datasetGui
protected BatchLocationBean locGuiBean
protected StringParameter groundMotionParam
protected ConstrainedStringParameterEditor groundMotionParamEditor
protected static final String GROUND_MOTION_PARAM_NAME
protected DataGeneratorAPI_UHS dataGenerator
protected ProbabilisticHazardApplicationAPI application
protected boolean smSpectrumCalculated
protected boolean sdSpectrumCalculated
protected boolean uhsCalculated
protected boolean approxUHS_Calculated
protected String selectedRegion
protected String selectedEdition
protected String spectraType
| Constructor Detail |
|---|
public UHS_GuiBean(ProbabilisticHazardApplicationAPI api)
| Method Detail |
|---|
protected void createGroundMotionParameter()
protected ArrayList getSupportedSpectraTypes()
protected void jbInit()
throws Exception
Exceptionprotected void setButtonsEnabled(boolean enableButtons)
public void clearData()
clearData in interface AnalysisOptionsGuiBeanAPIpublic String getSelectedRegion()
getSelectedRegion in interface AnalysisOptionsGuiBeanAPIpublic String getSelectedDataEdition()
getSelectedDataEdition in interface AnalysisOptionsGuiBeanAPIpublic void parameterChange(ParameterChangeEvent event)
parameterChange in interface ParameterChangeListenerevent - ParameterChangeEventpublic JPanel getGuiBean()
getGuiBean in interface AnalysisOptionsGuiBeanAPIprotected void createLocation()
protected Region getRegionConstraint()
protected void createEditionSelectionParameter()
protected void createGeographicRegionSelectionParameter()
throws AnalysisOptionNotSupportedException
AnalysisOptionNotSupportedException
protected void getDataForSA_Period()
throws ZipCodeErrorException,
LocationErrorException,
RemoteException
ZipCodeErrorException
LocationErrorException
RemoteExceptionprotected void uhsButton_actionPerformed(ActionEvent actionEvent)
public String getData()
getData in interface AnalysisOptionsGuiBeanAPIprotected void setSiteCoeff()
protected void viewUHSButton_actionPerformed(ActionEvent actionEvent)
actionEvent - ActionEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||