org.jdesktop.swingx.mapviewer.WaypointRenderer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jxmapviewer2 Show documentation
Show all versions of jxmapviewer2 Show documentation
This project is based on the JXMapViewer component of SwingX-WS.
The newest version!
/*
* WaypointRenderer.java
*
* Created on March 30, 2006, 5:56 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package org.jdesktop.swingx.mapviewer;
import java.awt.Graphics2D;
import org.jdesktop.swingx.JXMapViewer;
/**
* A interface that draws waypoints. Implementations of WaypointRenderer can
* be set on a WayPointPainter to draw waypoints on a JXMapViewer
* @param the waypoint type
* @author [email protected]
*/
public interface WaypointRenderer
{
/**
* paint the specified waypoint on the specified map and graphics context
* @param g the graphics2D object
* @param map the map
* @param waypoint the waypoint
*/
public void paintWaypoint(Graphics2D g, JXMapViewer map, W waypoint);
}