Package hec.hecmath
Class DisplayUtilities
java.lang.Object
hec.hecmath.DisplayUtilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataContainer
createDisplayObject
(HecMath dataSet) Creates a valid G2dObject suitable for plotting or null if there was an error;static G2dLine
static G2dLine
return theG2dLine
for the path specified indssPath
static Viewport
getViewport
(G2dDialog gfxDlg, HecMath dataSet) return theViewport
that contains the curve specified by dataSetstatic Viewport
getViewport
(G2dDialog gfxDlg, String dataSetPath) return theViewport
that contains the curve specified by dataSetPath
-
Constructor Details
-
DisplayUtilities
public DisplayUtilities()
-
-
Method Details
-
createDisplayObject
Creates a valid G2dObject suitable for plotting or null if there was an error;- Parameters:
dataSet
-- Returns:
- DataContainer
-
getViewport
return theViewport
that contains the curve specified by dataSet- Parameters:
dataSet
-gfxDlg
- Description- Returns:
- the enclosing Viewport
-
getViewport
return theViewport
that contains the curve specified by dataSetPath- Parameters:
dataSetPath
- the path for a curvegfxDlg
- Description- Returns:
- the enclosing Viewport
-
getCurve
- Parameters:
dataSet
- the dataSet to return theG2dLine
forgfxDlg
- Description- Returns:
- the G2dLine that draws dataSet
-
getCurve
return theG2dLine
for the path specified indssPath
- Parameters:
dssPath
- the DSS path name of the curve to returngfxDlg
- Description- Returns:
- the G2dLine or null if not found
-