Class Percentage

    • Field Detail

      • m_Offset

        protected int m_Offset
        the offset.
      • m_Percentage

        protected double m_Percentage
        the percentage to pick (0-100).
    • Constructor Detail

      • Percentage

        public Percentage()
    • Method Detail

      • setOffset

        public void setOffset​(int value)
        Sets the offset.
        Parameters:
        value - the offset
      • getOffset

        public int getOffset()
        Returns the offset.
        Returns:
        the offset
      • offsetTipText

        public String offsetTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPercentage

        public void setPercentage​(double value)
        Sets the percentage to pick.
        Parameters:
        value - the percentage to pick (100 = same as input)
      • getPercentage

        public double getPercentage()
        Returns the percentage to pick.
        Returns:
        the percentage to pick (100 = same as input)
      • percentageTipText

        public String percentageTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.