Class AbstractZScorePaintlet

    • Field Detail

      • m_Index

        protected int m_Index
        index of the attribute being plotted
      • m_Values

        protected double[] m_Values
        data from the attribute
      • m_AxisLeft

        protected AxisPanel m_AxisLeft
        y axis of plot
      • m_AxisBottom

        protected AxisPanel m_AxisBottom
        x axis of plot
      • m_LineColor

        protected Color m_LineColor
        the line color.
      • m_AntiAliasingEnabled

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

      • AbstractZScorePaintlet

        public AbstractZScorePaintlet()
    • Method Detail

      • setLineColor

        public void setLineColor​(Color val)
        Set the color to draw the lines.
        Parameters:
        val - color for lines
      • getLineColor

        public Color getLineColor()
        Get the color for drawing the lines
        Returns:
        color for lines
      • lineColorTipText

        public String lineColorTipText()
        Tip text for the line color property.
        Returns:
        String to describe the property
      • 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.
      • setIndex

        public void setIndex​(int ind)
        set the index of the attribute
      • parameters

        public void parameters​(SpreadSheet data,
                               int ind)
        pass the required parameters for the paintlet
        Parameters:
        data - Instances to be plotted
        ind - index of the attribute
      • drawData

        protected void drawData​(Graphics g)