Class SimpleInstanceLinePaintlet

    • Field Detail

      • m_AntiAliasingEnabled

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

      • SimpleInstanceLinePaintlet

        public SimpleInstanceLinePaintlet()
    • Method Detail

      • getColor

        public Color getColor​(int index)
        Returns the color for the data with the given index.
        index - the index of the chromatogram
        the color for the chromatogram
      • setAntiAliasingEnabled

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

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

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

        protected void drawData​(Graphics g,
                                Instance data,
                                Color color)
        Draws the data with the given color.
        g - the graphics context
        data - the data to draw
        color - the color to draw in