org.opensha.nshmp.sha.gui.beans
Class DataSetSelectionGuiBean

java.lang.Object
  extended by org.opensha.nshmp.sha.gui.beans.DataSetSelectionGuiBean

public class DataSetSelectionGuiBean
extends Object

Title: DataSetSelectionGuiBean

Description: Allows user to select from the choices of various analysis types.

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

Field Summary
static String EDITION_PARAM_NAME
           
static String GEOGRAPHIC_REGION_SELECTION_PARAM_NAME
           
 
Constructor Summary
DataSetSelectionGuiBean()
           
 
Method Summary
 void createDataSetEditor()
          Creating the Editor for user to choose the Geographic Region and Data edition
 void createEditionSelectionParameter(ArrayList supportedEditionList)
          Creates the Parameter that allows user to select the Editions based on the selected Analysis and choosen geographic region.
 void createGeographicRegionSelectionParameter(ArrayList supportedRegionList)
           
 JPanel getDatasetSelectionEditor()
          Returns the parameter list editor that holds the Parameter List
 ConstrainedStringParameterEditor getEditionEditor()
          Returns the editionEditor
 Parameter getEditionSelectionParameter()
           
 Parameter getGeographicRegionSelectionParameter()
           
 ConstrainedStringParameterEditor getRegionEditor()
          Returns the regionEditor
 String getSelectedDataSetEdition()
          Returns the selected geographic region parameter
 String getSelectedGeographicRegion()
          Returns the selected geographic region parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EDITION_PARAM_NAME

public static final String EDITION_PARAM_NAME
See Also:
Constant Field Values

GEOGRAPHIC_REGION_SELECTION_PARAM_NAME

public static final String GEOGRAPHIC_REGION_SELECTION_PARAM_NAME
See Also:
Constant Field Values
Constructor Detail

DataSetSelectionGuiBean

public DataSetSelectionGuiBean()
Method Detail

createDataSetEditor

public void createDataSetEditor()
Creating the Editor for user to choose the Geographic Region and Data edition


getDatasetSelectionEditor

public JPanel getDatasetSelectionEditor()
Returns the parameter list editor that holds the Parameter List

Returns:
JPanel

getSelectedGeographicRegion

public String getSelectedGeographicRegion()
Returns the selected geographic region parameter

Returns:
String

getSelectedDataSetEdition

public String getSelectedDataSetEdition()
Returns the selected geographic region parameter

Returns:
String

createGeographicRegionSelectionParameter

public void createGeographicRegionSelectionParameter(ArrayList supportedRegionList)

getEditionEditor

public ConstrainedStringParameterEditor getEditionEditor()
Returns the editionEditor

Returns:
ConstrainedStringParameterEditor

getRegionEditor

public ConstrainedStringParameterEditor getRegionEditor()
Returns the regionEditor

Returns:
ConstrainedStringParameterEditor

getGeographicRegionSelectionParameter

public Parameter getGeographicRegionSelectionParameter()
Returns:
ParameterAPI

getEditionSelectionParameter

public Parameter getEditionSelectionParameter()
Returns:
ParameterAPI

createEditionSelectionParameter

public void createEditionSelectionParameter(ArrayList supportedEditionList)
Creates the Parameter that allows user to select the Editions based on the selected Analysis and choosen geographic region.