net.coderazzi.filters
Class OrFilter
java.lang.Object
net.coderazzi.filters.artifacts.RowFilter
net.coderazzi.filters.Filter
net.coderazzi.filters.ComposedFilter
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
Method Summary |
boolean |
include(RowFilter.Entry rowEntry)
Specifies whether the specified entry should be shown or hidden. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrFilter
public OrFilter()
- Default constructor.
OrFilter
public OrFilter(IFilter... observables)
- Constructor built up out of one or more
IFilter
instances.
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)