private class MapView.LayerInvalidatedListener extends java.lang.Object implements MapViewPaintable.PaintableInvalidationListener
Modifier and Type | Field and Description |
---|---|
private boolean |
ignoreRepaint |
Modifier | Constructor and Description |
---|---|
private |
LayerInvalidatedListener() |
Modifier and Type | Method and Description |
---|---|
void |
addTo(MapViewPaintable p)
Temporary until all
MapViewPaintable s support this. |
void |
paintablInvalidated(MapViewPaintable.PaintableInvalidationEvent event)
Called whenever a
MapViewPaintable.PaintableInvalidationEvent is fired. |
void |
removeFrom(MapViewPaintable p)
Temporary until all
MapViewPaintable s support this. |
protected void |
traceRandomRepaint()
Attempts to trace repaints that did not originate from this listener.
|
private boolean ignoreRepaint
private LayerInvalidatedListener()
public void paintablInvalidated(MapViewPaintable.PaintableInvalidationEvent event)
MapViewPaintable.PaintableInvalidationListener
MapViewPaintable.PaintableInvalidationEvent
is fired. This might be called from any thread.paintablInvalidated
in interface MapViewPaintable.PaintableInvalidationListener
event
- The eventpublic void addTo(MapViewPaintable p)
MapViewPaintable
s support this.p
- The paintable.public void removeFrom(MapViewPaintable p)
MapViewPaintable
s support this.p
- The paintable.protected void traceRandomRepaint()
MapView.repaint()
s in code.