source: josm/trunk/src/org/openstreetmap/josm/gui/MapFrameListener.java@ 13494

Last change on this file since 13494 was 10600, checked in by Don-vip, 8 years ago

see #11390 - sonar - squid:S1609 - Java 8: @FunctionalInterface annotation should be used to flag Single Abstract Method interfaces

  • Property svn:eol-style set to native
File size: 616 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui;
3
4/**
5 * Listener notified of MapFrame changes.
6 * @since 5957
7 * @since 10600 (functional interface)
8 */
9@FunctionalInterface
10public interface MapFrameListener {
11
12 /**
13 * Called after Main.mapFrame is initalized. (After the first data is loaded).
14 * You can use this callback to tweak the newFrame to your needs, as example install
15 * an alternative Painter.
16 * @param oldFrame The old MapFrame
17 * @param newFrame The new MapFrame
18 */
19 void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame);
20}
Note: See TracBrowser for help on using the repository browser.