Package org.openstreetmap.josm.gui
Interface MapView.RepaintListener
-
- Enclosing class:
- MapView
- 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 static interface MapView.RepaintListener
This is a listener that gets informed whenever repaint is called for this MapView.This is the only safe method to find changes to the map view, since many components call MapView.repaint() directly.
- Since:
- 10600 (functional interface)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
repaint(long tm, int x, int y, int width, int height)
Called when any repaint method is called (using default arguments if required).
-
-
-
Method Detail
-
repaint
void repaint(long tm, int x, int y, int width, int height)
Called when any repaint method is called (using default arguments if required).- Parameters:
tm
- seeJComponent.repaint(long, int, int, int, int)
x
- seeJComponent.repaint(long, int, int, int, int)
y
- seeJComponent.repaint(long, int, int, int, int)
width
- seeJComponent.repaint(long, int, int, int, int)
height
- seeJComponent.repaint(long, int, int, int, int)
-
-