org.openstreetmap.josm.data.osm
Class FilterWorker

java.lang.Object
  extended by org.openstreetmap.josm.data.osm.FilterWorker

public class FilterWorker
extends java.lang.Object


Constructor Summary
FilterWorker()
           
 
Method Summary
static void clearFilterFlags(java.util.Collection<OsmPrimitive> prims)
           
private static boolean doExecuteFilters(java.util.Collection<OsmPrimitive> all, FilterMatcher filterMatcher)
           
static boolean executeFilters(java.util.Collection<OsmPrimitive> all, FilterMatcher filterMatcher)
          Apply the filters to the primitives of the data set.
static boolean executeFilters(OsmPrimitive primitive, FilterMatcher filterMatcher)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterWorker

public FilterWorker()
Method Detail

executeFilters

public static boolean executeFilters(java.util.Collection<OsmPrimitive> all,
                                     FilterMatcher filterMatcher)
Apply the filters to the primitives of the data set.

Parameters:
all - the collection of primitives for that the filter state should be updated
filterMatcher - the FilterMatcher
Returns:
true, if the filter state (normal / disabled / hidden) of any primitive has changed in the process

doExecuteFilters

private static boolean doExecuteFilters(java.util.Collection<OsmPrimitive> all,
                                        FilterMatcher filterMatcher)

executeFilters

public static boolean executeFilters(OsmPrimitive primitive,
                                     FilterMatcher filterMatcher)

clearFilterFlags

public static void clearFilterFlags(java.util.Collection<OsmPrimitive> prims)


JOSM