Class PositionPainter

java.lang.Object
org.jxmapviewer.beans.AbstractBean
org.jxmapviewer.painter.AbstractPainter<org.jxmapviewer.JXMapViewer>
org.jxmapviewer.viewer.WaypointPainter<org.jxmapviewer.viewer.Waypoint>
com.nnamo.view.painter.CustomPainter
com.nnamo.view.painter.PositionPainter
All Implemented Interfaces:
org.jxmapviewer.painter.Painter<org.jxmapviewer.JXMapViewer>
Direct Known Subclasses:
RealtimePositionPainter, StaticPositionPainter

public abstract class PositionPainter extends CustomPainter
An abstract class that extends WaypointPainter to provide functionality for rendering waypoints on a map with different icon sizes based on the zoom level. This class manages a collection of icons and updates the displayed icon according to the map's zoom level.
Author:
Samuele Lombardi
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.jxmapviewer.painter.AbstractPainter

    org.jxmapviewer.painter.AbstractPainter.Interpolation
  • Field Summary

    Fields inherited from class com.nnamo.view.painter.CustomPainter

    currentIcon, icons, map
  • Constructor Summary

    Constructors
    Constructor
    Description
    PositionPainter(org.jxmapviewer.JXMapViewer map)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class com.nnamo.view.painter.CustomPainter

    getCurrentIcon, getIcon, getIcons

    Methods inherited from class org.jxmapviewer.viewer.WaypointPainter

    doPaint, getWaypoints, setRenderer, setWaypoints

    Methods inherited from class org.jxmapviewer.painter.AbstractPainter

    clearCache, configureGraphics, getFilters, getInterpolation, isAntialiasing, isCacheable, isDirty, isVisible, paint, setAntialiasing, setCacheable, setDirty, setFilters, setInterpolation, setVisible, shouldUseCache, validate

    Methods inherited from class org.jxmapviewer.beans.AbstractBean

    addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PositionPainter

      public PositionPainter(org.jxmapviewer.JXMapViewer map) throws IOException
      Throws:
      IOException
  • Method Details