Class StickPaintlet

    • Field Detail

      • m_PaintAll

        protected boolean m_PaintAll
        whether to paint all the data points (no optimization).
      • m_Offset

        protected int m_Offset
        the offset factor.
      • m_CurrentOffset

        protected int m_CurrentOffset
        the current offset.
    • Constructor Detail

      • StickPaintlet

        public StickPaintlet()
    • Method Detail

      • setOffset

        public void setOffset​(int value)
        Sets the X offset for additional sequences.
        Parameters:
        value - offset in pixel
      • getOffset

        public int getOffset()
        Returns the X offset for additional sequences.
        Returns:
        offset in pixel
      • 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.
      • getPaintAll

        public boolean getPaintAll()
        Returns whether marker shapes are disabled.
        Returns:
        true if marker shapes are disabled
      • setPaintAll

        public void setPaintAll​(boolean value)
        Sets whether to draw markers or not.
        Parameters:
        value - if true then marker shapes won't be drawn
      • paintAllTipText

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

        protected void doDrawCustomData​(Graphics g,
                                        PaintEvent.PaintMoment moment,
                                        XYSequence data,
                                        Color color)
        Draws the custom data with the given color.
        Parameters:
        g - the graphics context
        moment - the paint moment
        data - the data to draw
        color - the color to draw in