net.coderazzi.filters
Class NotFilter

java.lang.Object
  extended by net.coderazzi.filters.artifacts.RowFilter
      extended by net.coderazzi.filters.Filter
          extended by net.coderazzi.filters.ComposedFilter
              extended by net.coderazzi.filters.AndFilter
                  extended by net.coderazzi.filters.NotFilter
All Implemented Interfaces:
IFilter, IFilterObserver

public class NotFilter
extends AndFilter

Composed set of filters, added via logical AND, and then NOT-ed the result.

Author:
Luis M Pena - lu@coderazzi.net

Nested Class Summary
 
Nested classes/interfaces inherited from class net.coderazzi.filters.artifacts.RowFilter
RowFilter.Entry
 
Field Summary
 
Fields inherited from class net.coderazzi.filters.ComposedFilter
filters
 
Constructor Summary
NotFilter()
          Default constructor.
NotFilter(IFilter... observables)
          Constructor built up out of one or more IFilter instances.
 
Method Summary
 boolean include(RowFilter.Entry rowEntry)
          Specifies whether the specified entry should be shown or hidden.
 
Methods inherited from class net.coderazzi.filters.ComposedFilter
addFilter, filterUpdated, getFilters, isDisabled, removeFilter, setEnabled
 
Methods inherited from class net.coderazzi.filters.Filter
addFilterObserver, getFilterObservers, isEnabled, removeFilterObserver, reportFilterUpdatedToObservers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotFilter

public NotFilter()
Default constructor.


NotFilter

public NotFilter(IFilter... observables)
Constructor built up out of one or more IFilter instances.

Method Detail

include

public boolean include(RowFilter.Entry rowEntry)
Description copied from class: RowFilter
Specifies whether the specified entry should be shown or hidden.

Specified by:
include in interface IFilter
Overrides:
include in class AndFilter
Returns:
true to show the entry
See Also:
IFilter.include(RowFilter.Entry)