Package org.openstreetmap.josm.actions
Class AutoScaleAction.MapFrameAdapter
- java.lang.Object
-
- org.openstreetmap.josm.actions.AutoScaleAction.MapFrameAdapter
-
- All Implemented Interfaces:
MapFrameListener
- Enclosing class:
- AutoScaleAction
private class AutoScaleAction.MapFrameAdapter extends java.lang.Object implements MapFrameListener
Adapter for MapFrame change events
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.event.ListSelectionListener
conflictSelectionListener
private javax.swing.event.TreeSelectionListener
validatorSelectionListener
-
Constructor Summary
Constructors Constructor Description MapFrameAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame)
Called after Main.mapFrame is initialized.
-
-
-
Field Detail
-
conflictSelectionListener
private javax.swing.event.ListSelectionListener conflictSelectionListener
-
validatorSelectionListener
private javax.swing.event.TreeSelectionListener validatorSelectionListener
-
-
Constructor Detail
-
MapFrameAdapter
MapFrameAdapter()
-
-
Method Detail
-
mapFrameInitialized
public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame)
Description copied from interface:MapFrameListener
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.- Specified by:
mapFrameInitialized
in interfaceMapFrameListener
- Parameters:
oldFrame
- The old MapFramenewFrame
- The new MapFrame
-
-