Class FilterPipeline.IdentityFilter

    • Constructor Detail

      • IdentityFilter

        public IdentityFilter()
    • Method Detail

      • refresh

        public void refresh()
        PENDING JW: fires always, even without sorter .. Could do better - but will break behaviour of apps which relied on the (buggy) side-effect of repainting on each change.
        Overrides:
        refresh in class Filter
      • init

        protected void init()
        Description copied from class: Filter
        Provides filter-specific initialization. Called from the Filter constructor.
        Specified by:
        init in class Filter
      • reset

        protected void reset()
        Description copied from class: Filter
        Resets the internal row mappings from this filter to the previous filter.
        Specified by:
        reset in class Filter
      • filter

        protected void filter()
        Description copied from class: Filter
        Performs the filter operation defined by this filter.
        Specified by:
        filter in class Filter
      • getSize

        public int getSize()
        Description copied from class: Filter
        Returns the number of records that remain in this filter's output ("view") after the input records have been filtered.
        Specified by:
        getSize in class Filter
        Returns:
        the number of records that remain in this filter's output ("view") after the input records have been filtered
      • mapTowardModel

        protected int mapTowardModel​(int row)
        Description copied from class: Filter
        PRE: 0 <= row < getSize();
        Specified by:
        mapTowardModel in class Filter
        Returns:
        TODO:
      • mapTowardView

        protected int mapTowardView​(int row)
        Description copied from class: Filter
        PRE: 0 <= row < getInputSize();
        Overrides:
        mapTowardView in class Filter
        Returns:
        TODO: