org.opensha.sha.gui.controls
Class ERF_EpistemicListControlPanel

java.lang.Object
  extended by org.opensha.commons.gui.ControlPanel
      extended by org.opensha.sha.gui.controls.ERF_EpistemicListControlPanel
All Implemented Interfaces:
EventListener, Named, ParameterChangeFailListener

public class ERF_EpistemicListControlPanel
extends ControlPanel
implements ParameterChangeFailListener

Title: ERF Epistemic List Control Panel

Description: This window will allow the user to select the fractile to be plotted for the ERF list

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
unascribed

Field Summary
static String CUSTOM_FRACTILE
           
static String NAME
           
static String NO_PERCENTILE
           
 
Constructor Summary
ERF_EpistemicListControlPanel(HazardCurveApplication api, Component parentComponent)
           
 
Method Summary
 void doinit()
          This method will be called the first time the control panel is displayed.
 Window getComponent()
           
 ArrayList<Double> getSelectedFractileValues()
           
 void parameterChangeFailed(ParameterChangeFailEvent e)
          Shown when a Constraint error is thrown on Disaggregation ParameterEditor
 void setCustomFractileValues(ArrayList<Double> values)
          If user wants to set the custom values for fractiles from application
 
Methods inherited from class org.opensha.commons.gui.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

NAME

public static final String NAME
See Also:
Constant Field Values

NO_PERCENTILE

public static final String NO_PERCENTILE
See Also:
Constant Field Values

CUSTOM_FRACTILE

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

ERF_EpistemicListControlPanel

public ERF_EpistemicListControlPanel(HazardCurveApplication api,
                                     Component parentComponent)
Parameters:
api - : the calling class. It should implement the ERF_EpistemicListControlPanelAPI
parentComponent -
Method Detail

doinit

public void doinit()
Description copied from class: ControlPanel
This method will be called the first time the control panel is displayed. All setup should be in this method and not in the constructor, so that the apps can start quickly.

Specified by:
doinit in class ControlPanel

parameterChangeFailed

public void parameterChangeFailed(ParameterChangeFailEvent e)
Shown when a Constraint error is thrown on Disaggregation ParameterEditor

Specified by:
parameterChangeFailed in interface ParameterChangeFailListener
Parameters:
e - Description of the Parameter

setCustomFractileValues

public void setCustomFractileValues(ArrayList<Double> values)
If user wants to set the custom values for fractiles from application

Parameters:
values -

getSelectedFractileValues

public ArrayList<Double> getSelectedFractileValues()
Returns:
the fractile values for fractiles needed to be calculated

getComponent

public Window getComponent()
Specified by:
getComponent in class ControlPanel