Package com.macrofocus.filter

# Interface MutableFilter<E>

All Superinterfaces:
  `Filter<E>`

All Known Subinterfaces:
  `MutableIndexFilter<E>`

All Known Implementing Classes:
  `AbstractFilter`, `AbstractMutableFilter`, `AbstractMutableIndexFilter`, `SimpleFilter`, `SimpleIndexFilter`

public interface MutableFilter<E> extends Filter<E>
Defines the requirements for a filter that can change.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `clearFilter()`
  `void`
  `clearFilterBy(Object locksmith)`
  `void`
  `setEnabled(boolean enabled)`
  `void`
  `setFiltered(E element, boolean filtered, Object locksmith)`
  `void`
  `setFilteredIterable(Iterable<E> elements, boolean filtered, Object locksmith)`
  `void`
  `setFilteredState(Iterable<E> filtered, Iterable<E> unfiltered, Object locksmith)`

  ### Methods inherited from interface com.macrofocus.filter.Filter

  `addFilterListener, addWeakFilterListener, getFilteredCount, isActive, isEnabled, isFiltered, isFilteredBy, removeFilterListener, removeFilterListeners`

- ## Method Details

  - ### setFiltered

    void setFiltered(E element, boolean filtered, Object locksmith)

  - ### setFilteredIterable

    void setFilteredIterable(Iterable<E> elements, boolean filtered, Object locksmith)

  - ### setFilteredState

    void setFilteredState(Iterable<E> filtered, Iterable<E> unfiltered, Object locksmith)

  - ### clearFilter

    void clearFilter()

  - ### clearFilterBy

    void clearFilterBy(Object locksmith)

  - ### setEnabled

    void setEnabled(boolean enabled)