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
- See Also:
-
Field Summary
Fields inherited from interface hec.gfx2d.G2dObject
RESET_DATA, UPDATE_DATA
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the extents of the object in world coordinatesReturns the name of the x axisint
Returns the name of the x axisdouble[]
Returns the name of the y axisint
Returns the name of the y axisdouble[]
getYValues
(int curveNum) Returns a double[] for the curve specified by the curve number.void
load()
Causes the object to load its data into memoryvoid
unload()
Causes the object to unload its data from memoryMethods inherited from class hec.gfx2d.G2dData
addObserver, canSwapXYValues, getCurveCount, getDefaultMaxYValue, getDefaultMinYValue, getGmtOffset, getLineStyleName, getLookup, getName, getUnitSystem, getXParameterId, getYParameterId, hasDefaultMaxYValue, hasDefaultMinYValue, setDefaultMaxYValue, setDefaultMinYValue, setGmtOffset, setName, setSwapXYValues, setUnitSystem, setUseDisplayUnits, setXParameterId, setYParameterId, swapXYValues, toString, useDisplayUnits
Methods inherited from class java.util.Observable
clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface hec.gfx2d.G2dObject
getDataZoneId
-
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
Description copied from class:G2dData
Returns the extents of the object in world coordinates -
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
Description copied from interface:G2dObject
Returns the name of the y axis -
getXAxisName
Description copied from interface:G2dObject
Returns the name of the x axis -
getXValues
public double[] getXValues()- Specified by:
getXValues
in interfaceG2dObject
- Overrides:
getXValues
in classG2dData
-
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 interfaceG2dObject
- Overrides:
getYValues
in classG2dData
-