source: josm/trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerProducers.java@ 7310

Last change on this file since 7310 was 6830, checked in by Don-vip, 10 years ago

javadoc fixes for jdk8 compatibility

  • Property svn:eol-style set to native
File size: 969 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.layer.markerlayer;
3
4import java.io.File;
5
6import org.openstreetmap.josm.data.gpx.WayPoint;
7
8/**
9 * This interface has to be implemented by anyone who wants to create markers.
10 *
11 * When reading a gpx file, all implementations of MarkerMaker registered with
12 * the Marker are consecutively called until one returns a Marker object.
13 *
14 * @author Frederik Ramm
15 */
16public interface MarkerProducers {
17 /**
18 * Returns a Marker object if this implementation wants to create one for the
19 * given input data, or <code>null</code> otherwise.
20 *
21 * @param wp waypoint data
22 * @param relativePath An path to use for constructing relative URLs or
23 * <code>null</code> for no relative URLs
24 * @return A Marker object, or <code>null</code>.
25 */
26 Marker createMarker(WayPoint wp, File relativePath, MarkerLayer parentLayer, double time, double offset);
27}
Note: See TracBrowser for help on using the repository browser.