Package docking.widgets.table
Class MultiTextFilterTableFilter<ROW_OBJECT>
java.lang.Object
docking.widgets.table.MultiTextFilterTableFilter<ROW_OBJECT>
- All Implemented Interfaces:
TableFilter<ROW_OBJECT>
public class MultiTextFilterTableFilter<ROW_OBJECT>
extends Object
implements TableFilter<ROW_OBJECT>
-
Constructor Summary
ConstructorDescriptionMultiTextFilterTableFilter
(List<TextFilter> filters, RowFilterTransformer<ROW_OBJECT> transformer, MultitermEvaluationMode evalMode) -
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsRow
(ROW_OBJECT rowObject) Returns true if this filter matches the given row (data)boolean
int
hashCode()
boolean
isSubFilterOf
(TableFilter<?> tableFilter) Returns true if this filter is a more specific version of the given filter.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface docking.widgets.table.TableFilter
hasColumnFilter, isEmpty
-
Constructor Details
-
MultiTextFilterTableFilter
public MultiTextFilterTableFilter(List<TextFilter> filters, RowFilterTransformer<ROW_OBJECT> transformer, MultitermEvaluationMode evalMode)
-
-
Method Details
-
isSubFilterOf
Description copied from interface:TableFilter
Returns true if this filter is a more specific version of the given filter.For example, if this filter is a 'starts with' text filter, with the value of 'bobo', then if the given filter is also a 'starts with' filter, with a value of 'bob', then this filter is considered a sub-filter of the given sub-filter.
- Specified by:
isSubFilterOf
in interfaceTableFilter<ROW_OBJECT>
- Parameters:
tableFilter
- the filter to check- Returns:
- true if this filter is a sub-filter of the given filter
-
acceptsRow
Description copied from interface:TableFilter
Returns true if this filter matches the given row (data)- Specified by:
acceptsRow
in interfaceTableFilter<ROW_OBJECT>
- Parameters:
rowObject
- the current row object- Returns:
- true if the element at the given row matches this filter.
-
hashCode
public int hashCode() -
equals
-