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
MapViewPaintables support this. |
void |
paintablInvalidated(MapViewPaintable.PaintableInvalidationEvent event)
Called whenever a
MapViewPaintable.PaintableInvalidationEvent is fired. |
void |
removeFrom(MapViewPaintable p)
Temporary until all
MapViewPaintables 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.PaintableInvalidationListenerMapViewPaintable.PaintableInvalidationEvent is fired. This might be called from any thread.paintablInvalidated in interface MapViewPaintable.PaintableInvalidationListenerevent - The eventpublic void addTo(MapViewPaintable p)
MapViewPaintables support this.p - The paintable.public void removeFrom(MapViewPaintable p)
MapViewPaintables support this.p - The paintable.protected void traceRandomRepaint()
MapView.repaint()s in code.