Class MapLimits


  • public class MapLimits
    extends java.lang.Object
    This class represents map limit values for an SSC graphing request.
    Version:
    $Revison: $
    Author:
    B. Harris
    • Constructor Summary

      Constructors 
      Constructor Description
      MapLimits()
      Constructs a MapLimits object with default attribute values of no limits (that is, the entire map [min lat/lon == -90/-180 and max lat/lon == 90/180]).
      MapLimits​(int minLatitude, int maxLatitude, int minLongitude, int maxLongitude)
      Constructs a MapLimits object with the given attribute values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float getMaxLatitude()
      Gets the maximum Latitude value.
      float getMaxLongitude()
      Gets the maximum Longitude value.
      float getMinLatitude()
      Gets the minimum Latitude value.
      float getMinLongitude()
      Gets the minimum Longitude value.
      void setMaxLatitude​(float value)
      Sets the maximum Latitude value.
      void setMaxLongitude​(float value)
      Sets the maximum Longitude value.
      void setMinLatitude​(float value)
      Sets the minimum Latitude value.
      void setMinLongitude​(float value)
      Sets the minimum Longitude value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapLimits

        public MapLimits()
        Constructs a MapLimits object with default attribute values of no limits (that is, the entire map [min lat/lon == -90/-180 and max lat/lon == 90/180]).
      • MapLimits

        public MapLimits​(int minLatitude,
                         int maxLatitude,
                         int minLongitude,
                         int maxLongitude)
        Constructs a MapLimits object with the given attribute values.
        Parameters:
        minLatitude - minimum Latitude value
        maxLatitude - maximum Latitude value
        minLongitude - minimum Longitude value
        maxLongitude - maximum Longitude value
    • Method Detail

      • getMinLatitude

        public float getMinLatitude()
        Gets the minimum Latitude value.
        Returns:
        minimum Latitude value.
        See Also:
        setMinLatitude(float)
      • setMinLatitude

        public void setMinLatitude​(float value)
        Sets the minimum Latitude value.
        Parameters:
        value - new value
        See Also:
        getMinLatitude()
      • getMaxLatitude

        public float getMaxLatitude()
        Gets the maximum Latitude value.
        Returns:
        maximum Latitude value.
        See Also:
        setMaxLatitude(float)
      • setMaxLatitude

        public void setMaxLatitude​(float value)
        Sets the maximum Latitude value.
        Parameters:
        value - new value
        See Also:
        getMaxLatitude()
      • getMinLongitude

        public float getMinLongitude()
        Gets the minimum Longitude value.
        Returns:
        minimum Longitude value.
        See Also:
        setMinLongitude(float)
      • setMinLongitude

        public void setMinLongitude​(float value)
        Sets the minimum Longitude value.
        Parameters:
        value - new value
        See Also:
        getMinLongitude()
      • getMaxLongitude

        public float getMaxLongitude()
        Gets the maximum Longitude value.
        Returns:
        maximum Longitude value.
        See Also:
        setMaxLongitude(float)
      • setMaxLongitude

        public void setMaxLongitude​(float value)
        Sets the maximum Longitude value.
        Parameters:
        value - new value
        See Also:
        getMaxLongitude()