Package docking.widgets.table
Class DefaultTableTextFilterFactory<ROW_OBJECT>
java.lang.Object
docking.widgets.table.DefaultTableTextFilterFactory<ROW_OBJECT>
- All Implemented Interfaces:
TableTextFilterFactory<ROW_OBJECT>
public class DefaultTableTextFilterFactory<ROW_OBJECT>
extends Object
implements TableTextFilterFactory<ROW_OBJECT>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTableFilter
(String text, RowFilterTransformer<ROW_OBJECT> transformer) Returns a filter using the given text as the filter string.
-
Constructor Details
-
DefaultTableTextFilterFactory
-
-
Method Details
-
getTableFilter
public TableFilter<ROW_OBJECT> getTableFilter(String text, RowFilterTransformer<ROW_OBJECT> transformer) Description copied from interface:TableTextFilterFactory
Returns a filter using the given text as the filter string.- Specified by:
getTableFilter
in interfaceTableTextFilterFactory<ROW_OBJECT>
- Parameters:
text
- the text to filter on.transformer
- the object that converts a table row into a list of strings.- Returns:
- the filter that will determine if a table row matches the given text.
-