com.sciapp.filter
Class NotTableFilter
java.lang.Object
com.sciapp.filter.TableFilter
com.sciapp.filter.NotTableFilter
public class NotTableFilter
- extends TableFilter
A TableFilter that implements the logical NEGATION operator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tableFilter
protected TableFilter tableFilter
- The TableFilter to negate.
NotTableFilter
public NotTableFilter(TableFilter tableFilter)
- Constructs a NotTableFilter.
filter
public boolean filter(ListTableModel model,
Object row)
- The NEGATION operation.
The TableFilter specified in the constructor is applied to the given row and
its result is negated.
- Overrides:
filter
in class TableFilter
- Parameters:
model
- the ListTableModel that holds a reference to the tabular row datarow
- the row of the table to filter, represented as an object
- Returns:
- the negation of the normal operation of
tableFilter