public class JoinMode extends AbstractMode
Modifier and Type | Field and Description |
---|---|
private StreetsideImportedImage |
lastClick |
private MouseEvent |
lastPos |
cursor
Constructor and Description |
---|
JoinMode()
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
paint(Graphics2D g,
MapView mv,
Bounds box)
Paint the dataset using the engine set.
|
String |
toString() |
getClosest, resetThread, zoomChanged
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseReleased, mouseWheelMoved
private StreetsideImportedImage lastClick
private MouseEvent lastPos
public JoinMode()
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class MouseAdapter
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
mouseMoved
in class MouseAdapter
public void paint(Graphics2D g, MapView mv, Bounds box)
AbstractMode
paint
in class AbstractMode
g
- Graphics2D
used for paintingmv
- The object that can translate GeoPoints to screen coordinates.box
- Area where painting is going to be performed