Class SearchBasedRowFilter
- java.lang.Object
-
- javax.swing.RowFilter<TableModel,Integer>
-
- org.openstreetmap.josm.gui.dialogs.properties.SearchBasedRowFilter
-
class SearchBasedRowFilter extends RowFilter<TableModel,Integer>
ARowFilter
implementation which matches tags w.r.t. the specified filter'sSearchCompiler.Match.match(org.openstreetmap.josm.data.osm.Tagged)
method.An
RowFilter.Entry
's column 0 is considered as key, and column 1 is considered as value.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.RowFilter
RowFilter.ComparisonType, RowFilter.Entry<M extends Object,I extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) SearchCompiler.Match
filter
-
Constructor Summary
Constructors Constructor Description SearchBasedRowFilter(SearchCompiler.Match filter)
Constructs a newSearchBasedRowFilter
with the given filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
include(RowFilter.Entry<? extends TableModel,? extends Integer> entry)
-
Methods inherited from class javax.swing.RowFilter
andFilter, dateFilter, notFilter, numberFilter, orFilter, regexFilter
-
-
-
-
Field Detail
-
filter
final SearchCompiler.Match filter
-
-
Constructor Detail
-
SearchBasedRowFilter
SearchBasedRowFilter(SearchCompiler.Match filter)
Constructs a newSearchBasedRowFilter
with the given filter.- Parameters:
filter
- the filter used to match tags
-
-
Method Detail
-
include
public boolean include(RowFilter.Entry<? extends TableModel,? extends Integer> entry)
- Specified by:
include
in classRowFilter<TableModel,Integer>
-
-