org.opensha.nshmp.sha.gui.beans
Interface AnalysisOptionsGuiBeanAPI

All Known Implementing Classes:
ASCE7_GuiBean, IBC_GuiBean, IRC_GuiBean, NEHRP_GuiBean, NEHRP_GuiBean_bak, NFPA_GuiBean, NFPA_GuiBean_Wrapper, ProbHazCurvesGuiBean, UHS_GuiBean

public interface AnalysisOptionsGuiBeanAPI

Title: AnalysisOptionsGuiBeanAPI

Description: This interface is implemented by all the Analysis Option Gui Beans. For eg: Gui Bean(NEHRP_GuiBean) for the NEHRP analysis option selection implements this GUI bean. This has been done becuase application can show the GUIbean in the main application without knowing which GUI bean it is actually calling. As all GUI beans for analysis option implements this interface, so application just create instance the instance of this interface and contact the GUI beans using this interface

Version:
1.0
Author:
Ned Field, Nitin Gupta and E.V.Leyendecker

Method Summary
 void clearData()
          Clears the Data window
 String getData()
           
 JPanel getGuiBean()
          Gets the panel for the Gui Bean for the selected analysis option in the application.
 String getSelectedDataEdition()
          Returns the selected data edition
 String getSelectedRegion()
          Returns the selected Region
 

Method Detail

getGuiBean

JPanel getGuiBean()
Gets the panel for the Gui Bean for the selected analysis option in the application.


clearData

void clearData()
Clears the Data window


getData

String getData()
Returns:
String

getSelectedRegion

String getSelectedRegion()
Returns the selected Region

Returns:
String

getSelectedDataEdition

String getSelectedDataEdition()
Returns the selected data edition

Returns:
String