Class MapViewDrawing.MapViewPathOverlay
- java.lang.Object
-
- org.insa.graphs.gui.drawing.components.MapViewDrawing.MapViewOverlay
-
- org.insa.graphs.gui.drawing.components.MapViewDrawing.MapViewPathOverlay
-
- All Implemented Interfaces:
Overlay
,PathOverlay
- Enclosing class:
- MapViewDrawing
private class MapViewDrawing.MapViewPathOverlay extends MapViewDrawing.MapViewOverlay implements PathOverlay
PathOverlay for MapViewDrawing.
-
-
Field Summary
-
Fields inherited from class org.insa.graphs.gui.drawing.components.MapViewDrawing.MapViewOverlay
color, layers
-
-
Constructor Summary
Constructors Constructor Description MapViewPathOverlay(PolylineAutoScaling path)
MapViewPathOverlay(PolylineAutoScaling path, MarkerAutoScaling origin, MarkerAutoScaling destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setColor(java.awt.Color color)
Set the color of this overlay.-
Methods inherited from class org.insa.graphs.gui.drawing.components.MapViewDrawing.MapViewOverlay
delete, getColor, isVisible, redraw, setVisible
-
-
-
-
Constructor Detail
-
MapViewPathOverlay
public MapViewPathOverlay(PolylineAutoScaling path, MarkerAutoScaling origin, MarkerAutoScaling destination)
-
MapViewPathOverlay
public MapViewPathOverlay(PolylineAutoScaling path)
-
-
Method Detail
-
setColor
public void setColor(java.awt.Color color)
Description copied from interface:Overlay
Set the color of this overlay.- Specified by:
setColor
in interfaceOverlay
- Overrides:
setColor
in classMapViewDrawing.MapViewOverlay
- Parameters:
color
- New color for the overlay.
-
-