Package hec.gfx2d

Class SimpleJTableBarData

All Implemented Interfaces:
G2dObject, Serializable

public class SimpleJTableBarData extends G2dData implements G2dObject
Simple data object for holding a table structure for step ploting.
See Also:
  • Field Details

    • UNDEF_DBL

      public static final double UNDEF_DBL
      See Also:
    • xdata

      public double[] xdata
    • ydata

      public double[] ydata
    • _rows

      public int _rows
    • _startRow

      public int _startRow
  • Constructor Details

    • SimpleJTableBarData

      public SimpleJTableBarData()
  • Method Details

    • getXAxisName

      public String getXAxisName()
      Returns the name of the x axis
      Specified by:
      getXAxisName in interface G2dObject
    • getYAxisName

      public String getYAxisName()
      Returns the name of the y axis
      Specified by:
      getYAxisName in interface G2dObject
    • setXAxisType

      public void setXAxisType(int xAxis)
      set the x axis type
    • getXAxisType

      public int getXAxisType()
      Returns the type of the x axis
      Specified by:
      getXAxisType in interface G2dObject
    • setYAxisType

      public void setYAxisType(int yAxis)
      set the y axis type
    • getYAxisType

      public int getYAxisType()
      Returns the type of the y axis
      Specified by:
      getYAxisType in interface G2dObject
    • setWrap

      public void setWrap(boolean b)
    • setXMinValue

      public void setXMinValue(double value)
    • setYMinValue

      public void setYMinValue(double value)
    • setData

      public void setData(RmaJTable tbl, int[] xCol, int[] yCol)
    • setData

      public void setData(RmaJTable tbl, int xCol, int yCol)
      sets the data Vector and notifies observers
    • setXDataElement

      public void setXDataElement(int xPos, double data)
    • setYDataElement

      public void setYDataElement(int yPos, double data)
    • setStartRow

      public void setStartRow(int row)
    • getStartRow

      public int getStartRow()
    • load

      public void load()
      Causes the object to load its data into memory
      Specified by:
      load in interface G2dObject
    • unload

      public void unload()
      Causes the object to unload its data from memory
      Specified by:
      unload in interface G2dObject
    • getBounds

      public WorldRect getBounds()
      Returns the extents of the object in world coordinates
      Specified by:
      getBounds in interface G2dObject
      Specified by:
      getBounds in class G2dData