From 6ae4e88d23dba31bee1c6521607f7135e9d5e4ec Mon Sep 17 00:00:00 2001 From: Holt59 Date: Sat, 3 Mar 2018 00:43:38 +0100 Subject: [PATCH] Add comments. --- .../insa/graphics/drawing/MapViewDrawing.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/main/org/insa/graphics/drawing/MapViewDrawing.java b/src/main/org/insa/graphics/drawing/MapViewDrawing.java index 637a271..518db1c 100644 --- a/src/main/org/insa/graphics/drawing/MapViewDrawing.java +++ b/src/main/org/insa/graphics/drawing/MapViewDrawing.java @@ -46,7 +46,11 @@ public class MapViewDrawing extends MapView implements Drawing { */ private static final long serialVersionUID = 8606967833704938092L; - private class MapViewOverlay implements Overlay { + /** + * Base Overlay for MapViewDrawing overlays. + * + */ + private abstract class MapViewOverlay implements Overlay { // Marker associated. protected Layer[] layers; @@ -83,6 +87,10 @@ public class MapViewDrawing extends MapView implements Drawing { }; + /** + * MarkerOverlay for MapViewDrawing. + * + */ private class MapViewMarkerOverlay extends MapViewOverlay implements MarkerOverlay { // Color of this marker @@ -116,6 +124,10 @@ public class MapViewDrawing extends MapView implements Drawing { }; + /** + * PathOverlay for MapViewDrawing. + * + */ private class MapViewPathOverlay extends MapViewOverlay implements PathOverlay { public MapViewPathOverlay(PolylineAutoScaling path, Marker origin, Marker destination) { @@ -128,6 +140,10 @@ public class MapViewDrawing extends MapView implements Drawing { } + /** + * PointSetOverlay for MapViewDrawing - Not currently implemented. + * + */ private class MapViewPointSetOverlay extends MapViewOverlay implements PointSetOverlay { public MapViewPointSetOverlay() {