net.coderazzi.filters
Class OrFilter

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.OrFilter
All Implemented Interfaces:
IFilter, IFilterObserver

public class OrFilter
extends ComposedFilter

Composed set of filters, added via logical OR.

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

OrFilter

public OrFilter()
Default constructor.


OrFilter

public OrFilter(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)