Class ProfileDataRecords

java.lang.Object
hec.gfx2d.profilePlot.ProfileDataRecords

public abstract class ProfileDataRecords extends Object
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 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

      public HecTime startTime
    • endTime

      public HecTime endTime
    • _name

      protected String _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

      public abstract float[] getYData(int irec, String parameter)
      return the y-data for the slider position irec and the paramter string
    • getTime

      public abstract HecTime getTime(int irec)
      return the current HecTime
    • getParameterNames

      public abstract List getParameterNames()
      return the list of parameter names
    • getParameterBounds

      public abstract float[] getParameterBounds(String parameter)
      return the max and min bounds for the data set by parameter
    • getTimeStepPosition

      public abstract int getTimeStepPosition(int itime)
    • getTimeStepPosition

      public abstract int getTimeStepPosition(HecTime hectime)
    • getTimeStep

      public abstract String getTimeStep()
      return the current Date-Time string
    • getStartTime

      public abstract HecTime getStartTime()
      return the data start time
    • getEndTime

      public abstract HecTime getEndTime()
      return the data end time
    • getTimeList

      public abstract List<Integer> getTimeList()
      return a list of the julian minutes representing the time for each record
    • setName

      public void setName(String name)
    • getName

      public String getName()