Package org.openstreetmap.josm.gui.layer
Class MapViewPaintable.MapViewEvent
java.lang.Object
org.openstreetmap.josm.gui.layer.MapViewPaintable.MapViewEvent
- Enclosing interface:
- MapViewPaintable
A event that is fired whenever the map view is attached or detached from any layer.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMapViewEvent(MapView mapView, boolean temporaryLayer) Create a newMapViewPaintable.MapViewEvent -
Method Summary
Modifier and TypeMethodDescriptionGets the map view.booleanDetermines if thisMapViewPaintableis used as a temporary layertoString()
-
Field Details
-
mapView
-
temporaryLayer
-
-
Constructor Details
-
MapViewEvent
Create a newMapViewPaintable.MapViewEvent- Parameters:
mapView- The map viewtemporaryLayer-trueif this layer is in the temporary layer list of the view.
-
-
Method Details
-
getMapView
Gets the map view.- Returns:
- The map view.
-
isTemporaryLayer
Determines if thisMapViewPaintableis used as a temporary layer- Returns:
- true if this
MapViewPaintableis used as a temporary layer.
-
toString
-