org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.gui
Class EqkRateModel2_MFDsPlotter

java.lang.Object
  extended by org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.gui.EqkRateModel2_MFDsPlotter
All Implemented Interfaces:
GraphWindowAPI

public class EqkRateModel2_MFDsPlotter
extends Object
implements GraphWindowAPI

This class is used for plotting the MFDs for the EqkRateModel2.1

Author:
vipingupta

Constructor Summary
EqkRateModel2_MFDsPlotter(UCERF2 ucerf2, boolean isCumMFD)
           
 
Method Summary
 ArrayList getCurveFunctionList()
           
 ArrayList getPlottingFeatures()
           
 double getUserMaxX()
           
 double getUserMaxY()
           
 double getUserMinX()
           
 double getUserMinY()
           
 String getXAxisLabel()
           
 boolean getXLog()
           
 String getYAxisLabel()
           
 boolean getYLog()
           
 boolean isCustomAxis()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqkRateModel2_MFDsPlotter

public EqkRateModel2_MFDsPlotter(UCERF2 ucerf2,
                                 boolean isCumMFD)
Method Detail

getCurveFunctionList

public ArrayList getCurveFunctionList()
Specified by:
getCurveFunctionList in interface GraphWindowAPI
Returns:
the List for all the ArbitrarilyDiscretizedFunctions and Weighted Function list.

getXLog

public boolean getXLog()
Specified by:
getXLog in interface GraphWindowAPI
Returns:
the boolean: Log for X-Axis Selected

getYLog

public boolean getYLog()
Specified by:
getYLog in interface GraphWindowAPI
Returns:
the boolean: Log for Y-Axis Selected

getXAxisLabel

public String getXAxisLabel()
Specified by:
getXAxisLabel in interface GraphWindowAPI

getYAxisLabel

public String getYAxisLabel()
Specified by:
getYAxisLabel in interface GraphWindowAPI

getPlottingFeatures

public ArrayList getPlottingFeatures()
Specified by:
getPlottingFeatures in interface GraphWindowAPI
Returns:
the plotting feature like width, color and shape type of each curve in list.

isCustomAxis

public boolean isCustomAxis()
Specified by:
isCustomAxis in interface GraphWindowAPI
Returns:
boolean: Checks if Custom Axis is selected

getUserMinX

public double getUserMinX()
Specified by:
getUserMinX in interface GraphWindowAPI
Returns:
the Min X-Axis Range Value, if custom Axis is choosen

getUserMaxX

public double getUserMaxX()
Specified by:
getUserMaxX in interface GraphWindowAPI
Returns:
the Max X-Axis Range Value, if custom axis is choosen

getUserMinY

public double getUserMinY()
Specified by:
getUserMinY in interface GraphWindowAPI
Returns:
the Min Y-Axis Range Value, if custom axis is choosen

getUserMaxY

public double getUserMaxY()
Specified by:
getUserMaxY in interface GraphWindowAPI
Returns:
the Max Y-Axis Range Value, if custom axis is choosen