com.ontimize.gui.table
Class TableSorter.DefaultFilterValidator
java.lang.Object
com.ontimize.gui.table.TableSorter.DefaultFilterValidator
- All Implemented Interfaces:
- TableSorter.FilterValidator
- Enclosing class:
- TableSorter
- public static class TableSorter.DefaultFilterValidator
- extends java.lang.Object
- implements TableSorter.FilterValidator
The default implementation of the FilterValidator interface. Checks
whether the object matches the filter. The object can be an instance of
the following classes: DateFilter, MultipleFilter,
DifferentSimpleFilter, DifferentFilter,
SimpleFilter (wrapping a String or a Boolean) or a Filter
|
Method Summary |
boolean |
matchsFilter(java.lang.Object object,
java.lang.Object filterValue)
Checks whether the object matches with the filter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableSorter.DefaultFilterValidator
public TableSorter.DefaultFilterValidator()
matchsFilter
public boolean matchsFilter(java.lang.Object object,
java.lang.Object filterValue)
- Description copied from interface:
TableSorter.FilterValidator
- Checks whether the object matches with the filter.
- Specified by:
matchsFilter in interface TableSorter.FilterValidator
- Parameters:
object - the object to evaluatefilterValue - the filter to be applied
- Returns:
- true if the object matches the filter