Class AbstractPointPreprocessor

    • Field Detail

      • m_Enabled

        protected boolean m_Enabled
        whether the preprocessor is enabled.
    • Constructor Detail

      • AbstractPointPreprocessor

        public AbstractPointPreprocessor()
    • Method Detail

      • setEnabled

        public void setEnabled​(boolean value)
        Sets whether the preprocessor is enabled.
        Parameters:
        value - true if enabled
      • isEnabled

        public boolean isEnabled()
        Returns whether the preprocessor is enabled.
        Returns:
        true if enabled
      • enabledTipText

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

        public void resetPreprocessor()
        Resets the processor for another sequence.
        Default implementation does nothing.
        Specified by:
        resetPreprocessor in interface PointPreprocessor
      • doPreprocess

        protected abstract XYSequencePoint doPreprocess​(XYSequencePoint point,
                                                        AxisPanel axisX,
                                                        AxisPanel axisY)
        Preprocesses the point.
        Parameters:
        point - the point to process
        axisX - the X axis to use
        axisY - the Y axis to use
        Returns:
        the new point