001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.gui.layer; 003 004import java.awt.Graphics2D; 005 006import org.openstreetmap.josm.data.Bounds; 007import org.openstreetmap.josm.gui.MapView; 008 009public interface MapViewPaintable { 010 011 /** 012 * Paint the dataset using the engine set. 013 * @param g Graphics 014 * @param mv The object that can translate GeoPoints to screen coordinates. 015 * @param bbox Bounding box 016 */ 017 void paint(Graphics2D g, MapView mv, Bounds bbox); 018}