net.coderazzi.filters
Class AndFilter

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
All Implemented Interfaces:
IFilter, IFilterObserver
Direct Known Subclasses:
FiltersHandler, NotFilter

public class AndFilter
extends ComposedFilter

Composed set of filters, added via logical AND.

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
AndFilter()
          Default constructor.
AndFilter(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

AndFilter

public AndFilter()
Default constructor.


AndFilter

public AndFilter(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
Specified by:
include in class RowFilter
Returns:
true to show the entry
See Also:
IFilter.include(RowFilter.Entry)