source: josm/trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/Rendering.java@ 12966

Last change on this file since 12966 was 10600, checked in by Don-vip, 8 years ago

see #11390 - sonar - squid:S1609 - Java 8: @FunctionalInterface annotation should be used to flag Single Abstract Method interfaces

  • Property svn:eol-style set to native
File size: 817 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.osm.visitor.paint;
3
4import org.openstreetmap.josm.data.Bounds;
5import org.openstreetmap.josm.data.osm.DataSet;
6
7/**
8 * <p>An object which can render data provided by a {@link DataSet}.</p>
9 * @since 4087 (creation)
10 * @since 10600 (functional interface)
11 */
12@FunctionalInterface
13public interface Rendering {
14 /**
15 * <p>Renders the OSM data in {@code data}</p>
16 *
17 * @param data the data set to be rendered
18 * @param renderVirtualNodes if true, renders virtual nodes. Otherwise, ignores them.
19 * @param bbox the bounding box for the data to be rendered. Only objects within or intersecting
20 * with {@code bbox} are rendered
21 */
22 void render(DataSet data, boolean renderVirtualNodes, Bounds bbox);
23}
Note: See TracBrowser for help on using the repository browser.