Changeset 9113 in josm for trunk


Ignore:
Timestamp:
2015-12-13T18:22:02+01:00 (8 years ago)
Author:
bastiK
Message:

javadoc

Location:
trunk/src/org/openstreetmap/josm/data/osm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/Filter.java

    r8840 r9113  
    88
    99/**
    10  *
     10 * Data class representing one entry in the filter dialog.
     11 *
    1112 * @author Petr_Dlouhý
    1213 */
  • trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java

    r7509 r9113  
    99
    1010/**
    11  *
     11 * Class for applying {@link Filter}s to {@link OsmPrimitive}s.
     12 *
     13 * Provides a bridge between Filter GUI and the data.
     14 *
    1215 * @author Petr_Dlouhý
    1316 */
     
    5861    }
    5962
     63    /**
     64     * Apply the filters to a single primitive.
     65     *
     66     * @param primitive the primitive
     67     * @param filterMatcher the FilterMatcher
     68     * @return true, if the filter state (normal / disabled / hidden)
     69     * of the primitive has changed in the process
     70     */
    6071    public static boolean executeFilters(OsmPrimitive primitive, FilterMatcher filterMatcher) {
    6172        return doExecuteFilters(Collections.singleton(primitive), filterMatcher);
    6273    }
    6374
     75    /**
     76     * Clear all filter flags, i.e. turn off filters.
     77     * @param prims the primitives
     78     */
    6479    public static void clearFilterFlags(Collection<OsmPrimitive> prims) {
    6580        for (OsmPrimitive osm : prims) {
Note: See TracChangeset for help on using the changeset viewer.