Package hec.geometry

Class DataObjectRating.TestObject

java.lang.Object
java.util.Observable
hec.gfx2d.G2dData
hec.geometry.DataObjectRating.TestObject
All Implemented Interfaces:
G2dObject, Serializable
Enclosing class:
DataObjectRating

public static class DataObjectRating.TestObject extends G2dData
See Also:
  • Constructor Details

    • TestObject

      public TestObject(double[] x, double[] y)
  • Method Details

    • load

      public void load()
      Description copied from interface: G2dObject
      Causes the object to load its data into memory
    • getBounds

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

      public void unload()
      Description copied from interface: G2dObject
      Causes the object to unload its data from memory
    • getYAxisType

      public int getYAxisType()
      Description copied from interface: G2dObject
      Returns the name of the y axis
    • getXAxisType

      public int getXAxisType()
      Description copied from interface: G2dObject
      Returns the name of the x axis
    • getYAxisName

      public String getYAxisName()
      Description copied from interface: G2dObject
      Returns the name of the y axis
    • getXAxisName

      public String getXAxisName()
      Description copied from interface: G2dObject
      Returns the name of the x axis
    • getXValues

      public double[] getXValues()
      Specified by:
      getXValues in interface G2dObject
      Overrides:
      getXValues in class G2dData
    • getYValues

      public double[] getYValues(int curveNum)
      Description copied from class: G2dData
      Returns a double[] for the curve specified by the curve number.
      Specified by:
      getYValues in interface G2dObject
      Overrides:
      getYValues in class G2dData