Package com.nnamo.view.painter
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
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 -
Method Summary
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
-
Constructor Details
-
PositionPainter
- Throws:
IOException
-
-
Method Details
-
repaint
public void repaint()- Specified by:
repaint
in classCustomPainter
-