org.opensha.sha.gui.infoTools
Interface GraphWindowAPI

All Known Implementing Classes:
A_FaultsMFD_Plotter, AttenuationRelationshipApplet, AttenuationRelationshipWebBasedApplet, CEA_HazardCurveLocalModeApp, CreateHistogramsFromSegSlipRateFile, CreatePlotFromMagRateFile, CreatePlotFromSegRecurIntvFile, CreatePlotFromSegSlipRateFile, EqkRateModel2_MFDsPlotter, EstimateViewer, GCIM_HazardCurveApp, GraphiWindowAPI_Impl, GraphWindowAPI_Impl, HazardCurveApplication, HazardSpectrumApplication, LogicTreeMFDsPlotter, LossEstimationApplication, MagFreqDistApp, NoCalSoCalMFDsPlotter, PlottingPanel, PredictedTotalMFD_UncertPlotter, ProbabilityDistHistogramPlotter, RuptureDataPanel, SegmentDataPanel

public interface GraphWindowAPI

Title: GraphWindowAPI

Description: This interface has to be implemented by the application that uses GraphWindow class

Version:
1.0
Author:
: Nitin Gupta

Method Summary
 ArrayList getCurveFunctionList()
           
 ArrayList getPlottingFeatures()
           
 double getUserMaxX()
           
 double getUserMaxY()
           
 double getUserMinX()
           
 double getUserMinY()
           
 String getXAxisLabel()
           
 boolean getXLog()
           
 String getYAxisLabel()
           
 boolean getYLog()
           
 boolean isCustomAxis()
           
 

Method Detail

getCurveFunctionList

ArrayList getCurveFunctionList()
Returns:
the List for all the ArbitrarilyDiscretizedFunctions and Weighted Function list.

getXLog

boolean getXLog()
Returns:
the boolean: Log for X-Axis Selected

getYLog

boolean getYLog()
Returns:
the boolean: Log for Y-Axis Selected

getXAxisLabel

String getXAxisLabel()

getYAxisLabel

String getYAxisLabel()

getPlottingFeatures

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

isCustomAxis

boolean isCustomAxis()
Returns:
boolean: Checks if Custom Axis is selected

getUserMinX

double getUserMinX()
Returns:
the Min X-Axis Range Value, if custom Axis is choosen

getUserMaxX

double getUserMaxX()
Returns:
the Max X-Axis Range Value, if custom axis is choosen

getUserMinY

double getUserMinY()
Returns:
the Min Y-Axis Range Value, if custom axis is choosen

getUserMaxY

double getUserMaxY()
Returns:
the Max Y-Axis Range Value, if custom axis is choosen