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 axisintReturns the name of the x axisdouble[]Returns the name of the y axisintReturns the name of the y axisdouble[]getYValues(int curveNum) Returns a double[] for the curve specified by the curve number.voidload()Causes the object to load its data into memoryvoidunload()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, useDisplayUnitsMethods inherited from class java.util.Observable
clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:G2dObjectCauses the object to load its data into memory -
getBounds
Description copied from class:G2dDataReturns the extents of the object in world coordinates -
unload
public void unload()Description copied from interface:G2dObjectCauses the object to unload its data from memory -
getYAxisType
public int getYAxisType()Description copied from interface:G2dObjectReturns the name of the y axis -
getXAxisType
public int getXAxisType()Description copied from interface:G2dObjectReturns the name of the x axis -
getYAxisName
Description copied from interface:G2dObjectReturns the name of the y axis -
getXAxisName
Description copied from interface:G2dObjectReturns the name of the x axis -
getXValues
public double[] getXValues()- Specified by:
getXValuesin interfaceG2dObject- Overrides:
getXValuesin classG2dData
-
getYValues
public double[] getYValues(int curveNum) Description copied from class:G2dDataReturns a double[] for the curve specified by the curve number.- Specified by:
getYValuesin interfaceG2dObject- Overrides:
getYValuesin classG2dData
-