Last change
on this file since 13496 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
|
Rev | Line | |
---|
[8378] | 1 | // License: GPL. For details, see LICENSE file.
|
---|
[7937] | 2 | package org.openstreetmap.josm.gui;
|
---|
| 3 |
|
---|
| 4 | /**
|
---|
| 5 | * Listener notified of MapFrame changes.
|
---|
| 6 | * @since 5957
|
---|
[10600] | 7 | * @since 10600 (functional interface)
|
---|
[7937] | 8 | */
|
---|
[10600] | 9 | @FunctionalInterface
|
---|
[7937] | 10 | public 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 | */
|
---|
[8512] | 19 | void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame);
|
---|
[7937] | 20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.