Class VerticalExtent


  • public class VerticalExtent
    extends Object
    Vertical Extent
    Author:
    osbornb
    • Constructor Detail

      • VerticalExtent

        public VerticalExtent()
        Constructor
      • VerticalExtent

        public VerticalExtent​(double minimumHeight,
                              double maximumHeight)
        Constructor
        Parameters:
        minimumHeight - minimum height
        maximumHeight - maximum height
      • VerticalExtent

        public VerticalExtent​(String minimumHeight,
                              String maximumHeight)
        Constructor
        Parameters:
        minimumHeight - minimum height
        maximumHeight - maximum height
        Since:
        1.1.0
      • VerticalExtent

        public VerticalExtent​(double minimumHeight,
                              double maximumHeight,
                              Unit unit)
        Constructor
        Parameters:
        minimumHeight - minimum height
        maximumHeight - maximum height
        unit - unit (length)
      • VerticalExtent

        public VerticalExtent​(String minimumHeight,
                              String maximumHeight,
                              Unit unit)
        Constructor
        Parameters:
        minimumHeight - minimum height
        maximumHeight - maximum height
        unit - unit (length)
        Since:
        1.1.0
    • Method Detail

      • getMinimumHeight

        public double getMinimumHeight()
        Get the minimum height
        Returns:
        minimum height
      • getMinimumHeightText

        public String getMinimumHeightText()
        Get the minimum height text
        Returns:
        minimum height text
        Since:
        1.1.0
      • setMinimumHeight

        public void setMinimumHeight​(double minimumHeight)
        Set the minimum height
        Parameters:
        minimumHeight - minimum height
      • setMinimumHeight

        public void setMinimumHeight​(String minimumHeight)
        Set the minimum height
        Parameters:
        minimumHeight - minimum height
        Since:
        1.1.0
      • getMaximumHeight

        public double getMaximumHeight()
        Get the maximum height
        Returns:
        maximum height
      • getMaximumHeightText

        public String getMaximumHeightText()
        Get the maximum height text
        Returns:
        maximum height text
        Since:
        1.1.0
      • setMaximumHeight

        public void setMaximumHeight​(double maximumHeight)
        Set the maximum height
        Parameters:
        maximumHeight - maximum height
      • setMaximumHeight

        public void setMaximumHeight​(String maximumHeight)
        Set the maximum height
        Parameters:
        maximumHeight - maximum height
        Since:
        1.1.0
      • getUnit

        public Unit getUnit()
        Get the unit (length)
        Returns:
        unit (length)
      • hasUnit

        public boolean hasUnit()
        Has a unit (length)
        Returns:
        true if has unit (length)
      • setUnit

        public void setUnit​(Unit unit)
        Set the unit (length)
        Parameters:
        unit - unit (length)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object