Package hec.script

Class Plot

java.lang.Object
hec.script.Plot

public class Plot extends Object
wrapper class for the G2dDialog plots for scripting.
  • Field Details

    • _title

      protected String _title
    • _dialog

      protected G2dDialog _dialog
    • _dataSetList

      protected Vector _dataSetList
    • _colorVec

      protected Vector _colorVec
    • _x

      protected int _x
    • _y

      protected int _y
    • _width

      protected int _width
    • _height

      protected int _height
    • _currentColor

      protected Color _currentColor
    • _timeWindow

      protected String _timeWindow
  • Constructor Details

    • Plot

      public Plot()
    • Plot

      public Plot(String title)
  • Method Details

    • newPlot

      public static G2dDialog newPlot()
    • newPlot

      public static G2dDialog newPlot(String title)
    • newPlotLayout

      public static PlotLayout newPlotLayout()
    • setTitle

      public void setTitle(String title)
    • setTimeWindow

      public void setTimeWindow(String startTime, String endTime)
    • setLineColor

      public void setLineColor(String color)
    • getData

      public void getData(String source, String path)
    • hide

      public void hide()
    • show

      public void show()
    • close

      public void close()
    • setLocation

      public void setLocation(int x, int y)
    • setSize

      public void setSize(int width, int height)
    • setSizeAndLoc

      protected void setSizeAndLoc()
    • getWindow

      public G2dDialog getWindow()