Class AbstractPreFilter<T extends DataContainer>

    • Field Detail

      • m_Filter

        protected Filter m_Filter
        the filter to apply to the data first.
    • Constructor Detail

      • AbstractPreFilter

        public AbstractPreFilter()
    • Method Detail

      • getDefaultFilter

        protected Filter getDefaultFilter()
        Returns the default pre-filter to use.
        Returns:
        the default
      • setFilter

        public void setFilter​(Filter value)
        Sets the pre-filter.
        Parameters:
        value - the filter
      • getFilter

        public Filter getFilter()
        Returns the current pre-filter.
        Returns:
        the filter
      • filterTipText

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

        protected abstract T processData​(T filtered,
                                         T original)
        Performs the actual filtering, using the pre-filtered data to manipulate the original data.
        Parameters:
        filtered - the pref-filtered data
        original - the original input data
        Returns:
        the final data
      • processData

        protected T processData​(T data)
        Performs the actual filtering.
        Specified by:
        processData in class AbstractFilter<T extends DataContainer>
        Parameters:
        data - the data to filter
        Returns:
        the filtered data