public abstract class AbstractMode extends java.awt.event.MouseAdapter implements org.openstreetmap.josm.gui.NavigatableComponent.ZoomChangeListener
StreetsideLayer.StreetsideLayer| Modifier and Type | Class and Description |
|---|---|
private static class |
AbstractMode.SemiautomaticThread |
| Modifier and Type | Field and Description |
|---|---|
int |
cursor
Cursor that should become active when this mode is activated.
|
private static int |
DOWNLOAD_COOLDOWN |
private static AbstractMode.SemiautomaticThread |
semiautomaticThread |
| Constructor and Description |
|---|
AbstractMode() |
| Modifier and Type | Method and Description |
|---|---|
protected StreetsideAbstractImage |
getClosest(java.awt.Point clickPoint) |
abstract void |
paint(java.awt.Graphics2D g,
org.openstreetmap.josm.gui.MapView mv,
org.openstreetmap.josm.data.Bounds box)
Paint the dataset using the engine set.
|
static void |
resetThread()
Resets the semiautomatic mode thread.
|
void |
zoomChanged() |
private static final int DOWNLOAD_COOLDOWN
private static AbstractMode.SemiautomaticThread semiautomaticThread
public int cursor
public AbstractMode()
protected StreetsideAbstractImage getClosest(java.awt.Point clickPoint)
public abstract void paint(java.awt.Graphics2D g, org.openstreetmap.josm.gui.MapView mv, org.openstreetmap.josm.data.Bounds box)
g - Graphics2D used for paintingmv - The object that can translate GeoPoints to screen coordinates.box - Area where painting is going to be performedpublic void zoomChanged()
zoomChanged in interface org.openstreetmap.josm.gui.NavigatableComponent.ZoomChangeListenerpublic static void resetThread()