org.opensha.sha.gui.controls
Interface CurveDisplayAppAPI

All Known Implementing Classes:
AttenuationRelationshipApplet, AttenuationRelationshipWebBasedApplet, CEA_HazardCurveLocalModeApp, GCIM_HazardCurveApp, HazardCurveApplication, HazardSpectrumApplication, LossEstimationApplication

public interface CurveDisplayAppAPI


Method Summary
 void addCurve(ArbitrarilyDiscretizedFunc function)
          Sets ArbitraryDiscretizedFunc inside list containing all the functions.
 String getSelectedIMT()
          Get the selected IMT from the application, based on which it shows the default X Values for the chosen IMT.
 void setCurveXValues()
          Set the default X Values for the Hazard Curve for the selected IMT.
 void setCurveXValues(ArbitrarilyDiscretizedFunc func)
          Set the X Values from the ArbitrarilyDiscretizedFunc passed as the parameter
 

Method Detail

addCurve

void addCurve(ArbitrarilyDiscretizedFunc function)
Sets ArbitraryDiscretizedFunc inside list containing all the functions.

Parameters:
function - ArbitrarilyDiscretizedFunc

setCurveXValues

void setCurveXValues(ArbitrarilyDiscretizedFunc func)
Set the X Values from the ArbitrarilyDiscretizedFunc passed as the parameter

Parameters:
func -

setCurveXValues

void setCurveXValues()
Set the default X Values for the Hazard Curve for the selected IMT.


getSelectedIMT

String getSelectedIMT()
Get the selected IMT from the application, based on which it shows the default X Values for the chosen IMT.

Returns: