Ontimize 5.2072EN

com.ontimize.gui.table
Class TableSorter.DefaultFilterValidator

java.lang.Object
  extended bycom.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


Constructor Summary
TableSorter.DefaultFilterValidator()
           
 
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
 

Constructor Detail

TableSorter.DefaultFilterValidator

public TableSorter.DefaultFilterValidator()
Method Detail

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 evaluate
filterValue - the filter to be applied
Returns:
true if the object matches the filter

Ontimize