Class HorizontalIndicatorPaintlet

    • Field Detail

      • m_Color

        protected Color m_Color
        the color of the indicator.
      • m_Value

        protected double m_Value
        the value where to paint the indicator.
      • m_Percentage

        protected boolean m_Percentage
        whether the value represents a percentage (0-1).
    • Constructor Detail

      • HorizontalIndicatorPaintlet

        public HorizontalIndicatorPaintlet()
    • Method Detail

      • setColor

        public void setColor​(Color value)
        Sets the color for the indicator.
        Parameters:
        value - the color
      • getColor

        public Color getColor()
        Returns the indicator for the indicator.
        Returns:
        the color
      • colorTipText

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

        public void setValue​(double value)
        Sets the y-value the indicator paints.
        Parameters:
        value - the y-value
      • getValue

        public double getValue()
        Returns the y-value the indicator to paint on.
        Returns:
        the y-value
      • valueTipText

        public String valueTipText()
        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​(boolean value)
        Sets whether the y-value represents a percentage (0-1) instead of an absolute value.
        Parameters:
        value - true if percentage
      • getPercentage

        public boolean getPercentage()
        Returns whether the y-value represents a percentage (0-1) instead of an absolute value.
        Returns:
        true if percentage
      • 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.