Package dataGram

Class DatagramScaleInformation

java.lang.Object
dataGram.DatagramScaleInformation

public class DatagramScaleInformation extends Object
Class to pass around a few bits of information about a datagrams scale
Author:
Doug Gillespie
  • Field Details

  • Constructor Details

    • DatagramScaleInformation

      public DatagramScaleInformation(double minValue, double maxValue, String units, boolean logScale, int displayType)
      Parameters:
      minValue -
      maxValue -
      logScale -
    • DatagramScaleInformation

      public DatagramScaleInformation(double minValue, double maxValue, String units)
      Parameters:
      minValue -
      maxValue -
  • Method Details

    • getMaxValue

      public double getMaxValue()
      Returns:
      the maxValue
    • setMaxValue

      public void setMaxValue(double maxValue)
      Parameters:
      maxValue - the maxValue to set
    • getMinValue

      public double getMinValue()
      Returns:
      the minValue
    • setMinValue

      public void setMinValue(double minValue)
      Parameters:
      minValue - the minValue to set
    • isLogScale

      public boolean isLogScale()
      Returns:
      the logScale
    • setLogScale

      public void setLogScale(boolean logScale)
      Parameters:
      logScale - the logScale to set
    • getUnits

      public String getUnits()
      Returns:
      the units
    • setUnits

      public void setUnits(String units)
      Parameters:
      units - the units to set
    • getDisplayType

      public int getDisplayType()
      Returns:
      the displayType PLOT_3D or PLOT_2D
    • setDisplayType

      public void setDisplayType(int displayType)
      Parameters:
      displayType - the displayType to set