Package org.openstreetmap.josm.gui
Interface MapFrameListener
-
- All Known Implementing Classes:
AutoScaleAction.MapFrameAdapter
,Plugin
,PluginProxy
,SessionSaveAction
,SessionSaveAsAction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MapFrameListener
Listener notified of MapFrame changes.- Since:
- 5957, 10600 (functional interface)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame)
Called after Main.mapFrame is initialized.
-
-
-
Method Detail
-
mapFrameInitialized
void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame)
Called after Main.mapFrame is initialized. (After the first data is loaded). You can use this callback to tweak the newFrame to your needs, as example install an alternative Painter.- Parameters:
oldFrame
- The old MapFramenewFrame
- The new MapFrame
-
-