Class LimitPaintlet

    • Field Detail

      • m_ColorLower

        protected Color m_ColorLower
        the color for the lower limit.
      • m_ColorCenter

        protected Color m_ColorCenter
        the color for the center.
      • m_ColorUpper

        protected Color m_ColorUpper
        the color for the upper limit.
      • m_AntiAliasingEnabled

        protected boolean m_AntiAliasingEnabled
        whether anti-aliasing is enabled.
    • Constructor Detail

      • LimitPaintlet

        public LimitPaintlet()
    • Method Detail

      • setColorLower

        public void setColorLower​(Color value)
        Sets the color for the lower limit.
        Parameters:
        value - the color
      • getColorLower

        public Color getColorLower()
        Returns the color for the lower limit.
        Returns:
        the color
      • colorLowerTipText

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

        public void setColorCenter​(Color value)
        Sets the color for the center.
        Parameters:
        value - the color
      • getColorCenter

        public Color getColorCenter()
        Returns the color for the center.
        Returns:
        the color
      • colorCenterTipText

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

        public void setColorUpper​(Color value)
        Sets the color for the upper limit.
        Parameters:
        value - the color
      • getColorUpper

        public Color getColorUpper()
        Returns the color for the upper limit.
        Returns:
        the color
      • colorUpperTipText

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

        public void setAntiAliasingEnabled​(boolean value)
        Sets whether to use anti-aliasing.
        Specified by:
        setAntiAliasingEnabled in interface AntiAliasingSupporter
        Parameters:
        value - if true then anti-aliasing is used
      • isAntiAliasingEnabled

        public boolean isAntiAliasingEnabled()
        Returns whether anti-aliasing is used.
        Specified by:
        isAntiAliasingEnabled in interface AntiAliasingSupporter
        Returns:
        true if anti-aliasing is used
      • antiAliasingEnabledTipText

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

        protected void drawData​(Graphics g,
                                PaintEvent.PaintMoment moment,
                                XYSequence data)
        Draws the limits.
        Parameters:
        g - the graphics context
        moment - the paint moment
        data - the data to draw