@FunctionalInterface public static interface MapView.RepaintListener
This is the only safe method to find changes to the map view, since many components call MapView.repaint() directly.
Modifier and Type | Method and 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).
|
void repaint(long tm, int x, int y, int width, int height)
tm
- see JComponent.repaint(long, int, int, int, int)
x
- see JComponent.repaint(long, int, int, int, int)
y
- see JComponent.repaint(long, int, int, int, int)
width
- see JComponent.repaint(long, int, int, int, int)
height
- see JComponent.repaint(long, int, int, int, int)