Class VertScaleInfo

java.lang.Object
ucar.visad.display.AxisScaleInfo
ucar.unidata.view.geoloc.VertScaleInfo

public class VertScaleInfo extends AxisScaleInfo
A class to hold vertical range settings for a VisAD display from the dialog box VertScaleDialog class. They are public member data to simply access. NB: this should be VertRangeInfo, but history trumps practicality
Author:
IDV Development Team
  • Field Details

    • maxVertRange

      public double maxVertRange
      maximum range of the vertical scale
    • minVertRange

      public double minVertRange
      minimum range of the vertical scale
    • unit

      public Unit unit
      Units of the range values
    • visible

      public boolean visible
      Is visible
    • DEFAULT_MAJ_DIVISIONS

      public static final int DEFAULT_MAJ_DIVISIONS
      See Also:
    • DEFAULT_AXIS_LABEL

      public static final String DEFAULT_AXIS_LABEL
      See Also:
  • Constructor Details

    • VertScaleInfo

      public VertScaleInfo(double min, double max)
      Construct a VertScaleInfo with the specified range. Unit is assumed to be meters.
      Parameters:
      min - minimum of the range
      max - maximum of the range
    • VertScaleInfo

      public VertScaleInfo(double min, double max, Unit unit)
      Construct a VertScaleInfo with the specified range..
      Parameters:
      min - minimum of the range
      max - maximum of the range
      unit - unit of range values
  • Method Details

    • getMajorIncrement

      public double getMajorIncrement()
      Returns:
      the majorIncrement
    • setMajorIncrement

      public void setMajorIncrement(double majorIncrement)
      Parameters:
      majorIncrement - the majorIncrement to set
    • getMinorDivision

      public int getMinorDivision()
      Returns:
      the minorDivision
    • setMinorDivision

      public void setMinorDivision(int minorDivision)
      Parameters:
      minorDivision - the minorDivision to set
    • hashCode

      public int hashCode()
      _more_
      Overrides:
      hashCode in class AxisScaleInfo
      Returns:
      _more_
    • equals

      public boolean equals(Object obj)
      _more_
      Overrides:
      equals in class AxisScaleInfo
      Parameters:
      obj - _more_
      Returns:
      _more_