Package hec.gfx2d.profilePlot
Class ProfileDataRecords
java.lang.Object
hec.gfx2d.profilePlot.ProfileDataRecords
The Class ProfileDataRecord is an abstract class specifying the
method interface for plotting {vertical) profile data
in the animated plot dialog AnimatedProfileG2dDialog.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
int
static final int
static final int
int
int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract HecTime
return the data end timegetName()
abstract float[]
getParameterBounds
(String parameter) return the max and min bounds for the data set by parameterabstract List
return the list of parameter namesabstract int
Returns the maximum number of profile records contained in the database for a particular element.abstract HecTime
return the data start timeabstract HecTime
getTime
(int irec) return the current HecTimereturn a list of the julian minutes representing the time for each recordabstract String
return the current Date-Time stringabstract int
getTimeStepPosition
(int itime) abstract int
getTimeStepPosition
(HecTime hectime) abstract int
getType()
Gets the type attribute of the ProfileDataRecord objectabstract float[]
getXData
(int irec) return the x-data for the slider position irecabstract float[]
getYData
(int irec) return the y-data for the slider position irecabstract float[]
return the y-data for the slider position irec and the paramter stringvoid
-
Field Details
-
VERTICAL
public static final int VERTICAL- See Also:
-
LONGITUDINAL
public static final int LONGITUDINAL- See Also:
-
RIVER
public static final int RIVER- See Also:
-
type
public int type -
startTimeStep
public int startTimeStep -
endTimeStep
public int endTimeStep -
startTime
-
endTime
-
_name
-
-
Constructor Details
-
ProfileDataRecords
public ProfileDataRecords()
-
-
Method Details
-
getType
public abstract int getType()Gets the type attribute of the ProfileDataRecord object- Returns:
- The type value (VERTICAL, LONGITUDINAL )
-
getRecordCount
public abstract int getRecordCount()Returns the maximum number of profile records contained in the database for a particular element.- Returns:
- an int value representing the maximum number of records
-
getXData
public abstract float[] getXData(int irec) return the x-data for the slider position irec -
getYData
public abstract float[] getYData(int irec) return the y-data for the slider position irec -
getYData
return the y-data for the slider position irec and the paramter string -
getTime
return the current HecTime -
getParameterNames
return the list of parameter names -
getParameterBounds
return the max and min bounds for the data set by parameter -
getTimeStepPosition
public abstract int getTimeStepPosition(int itime) -
getTimeStepPosition
-
getTimeStep
return the current Date-Time string -
getStartTime
return the data start time -
getEndTime
return the data end time -
getTimeList
return a list of the julian minutes representing the time for each record -
setName
-
getName
-