Package org.openstreetmap.josm.gui.layer
Class MapViewPaintable.PaintableInvalidationEvent
- java.lang.Object
-
- org.openstreetmap.josm.gui.layer.MapViewPaintable.PaintableInvalidationEvent
-
- Enclosing interface:
- MapViewPaintable
public static class MapViewPaintable.PaintableInvalidationEvent extends java.lang.Object
This event is fired whenever the paintable got invalidated and needs repainting some time in the future.Note: We might add an area in the future.
-
-
Field Summary
Fields Modifier and Type Field Description private MapViewPaintable
paintable
-
Constructor Summary
Constructors Constructor Description PaintableInvalidationEvent(MapViewPaintable paintable)
Creates a newMapViewPaintable.PaintableInvalidationEvent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapViewPaintable
getLayer()
Gets the layer that was invalidated.java.lang.String
toString()
-
-
-
Field Detail
-
paintable
private final MapViewPaintable paintable
-
-
Constructor Detail
-
PaintableInvalidationEvent
public PaintableInvalidationEvent(MapViewPaintable paintable)
Creates a newMapViewPaintable.PaintableInvalidationEvent
- Parameters:
paintable
- The paintable that is invalidated.
-
-
Method Detail
-
getLayer
public MapViewPaintable getLayer()
Gets the layer that was invalidated.- Returns:
- The layer.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-