public abstract class AbstractMode extends MouseAdapter implements 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(Point clickPoint) |
abstract void |
paint(Graphics2D g,
MapView mv,
Bounds box)
Paint the dataset using the engine set.
|
static void |
resetThread()
Resets the semiautomatic mode thread.
|
void |
zoomChanged() |
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMovedprivate static final int DOWNLOAD_COOLDOWN
private static AbstractMode.SemiautomaticThread semiautomaticThread
public int cursor
public AbstractMode()
protected StreetsideAbstractImage getClosest(Point clickPoint)
public abstract void paint(Graphics2D g, MapView mv, 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 NavigatableComponent.ZoomChangeListenerpublic static void resetThread()