Class LatLonAxisScaleInfo

java.lang.Object
ucar.visad.display.AxisScaleInfo
ucar.unidata.view.geoloc.LatLonAxisScaleInfo
Direct Known Subclasses:
AxisScaleInfo

public class LatLonAxisScaleInfo extends AxisScaleInfo
Class to hold lat/lon specific AxisScaleInfo stuff
  • Field Details

    • COORD_FORMATS

      public static String[] COORD_FORMATS
      Some default coordinate formats
  • Constructor Details

    • LatLonAxisScaleInfo

      public LatLonAxisScaleInfo()
      Instantiates a new lat lon scale info.
  • Method Details

    • getCoordFormat

      public String getCoordFormat()
      Gets the coord format.
      Returns:
      the coord format
    • setCoordFormat

      public void setCoordFormat(String coordFormat)
      Sets the coord format.
      Parameters:
      coordFormat - the new coord format
    • getBaseLabel

      public double getBaseLabel()
      Gets the base label.
      Returns:
      the base label
    • setBaseLabel

      public void setBaseLabel(String baseLabel)
      Sets the base label. deprecated
      Parameters:
      baseLabel - the new base label
    • setBaseLabel

      public void setBaseLabel(double baseLabel)
      Sets the base label.
      Parameters:
      baseLabel - the new base label
    • getIncrement

      public double getIncrement()
      Gets the increment.
      Returns:
      the increment
    • setIncrement

      public void setIncrement(String increment)
      Sets the increment. deprecated
      Parameters:
      increment - the new increment
    • setIncrement

      public void setIncrement(double increment)
      Sets the increment.
      Parameters:
      increment - the new increment
    • getMinorDivision

      public int getMinorDivision()
      Gets the minor division.
      Returns:
      the minor division
    • setMinorDivision

      public void setMinorDivision(int minorDivision)
      Sets the minor division.
      Parameters:
      minorDivision - the new minor division
    • isUse360

      public boolean isUse360()
      Checks to see if user wants 360 degree angles
      Returns:
      true, if is use360
    • setUse360

      public void setUse360(boolean use360)
      The user wants 360 degree angles
      Parameters:
      use360 - the new use360
    • isLabelRelief

      public boolean isLabelRelief()
      Checks if label has relief.
      Returns:
      true, if label has relief
    • setLabelRelief

      public void setLabelRelief(boolean labelRelief)
      Sets the label relief.
      Parameters:
      labelRelief - the new label relief
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class AxisScaleInfo