public class SelectMode extends AbstractMode
| Modifier and Type | Field and Description |
|---|---|
private StreetsideAbstractImage |
closest |
private boolean |
imageHighlighted |
private StreetsideAbstractImage |
lastClicked |
private boolean |
nothingHighlighted |
private StreetsideRecord |
record |
cursor| Constructor and Description |
|---|
SelectMode()
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
mouseDragged(MouseEvent e) |
void |
mouseMoved(MouseEvent e)
Checks if the mouse is over pictures.
|
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
void |
paint(Graphics2D g,
MapView mv,
Bounds box)
Paint the dataset using the engine set.
|
String |
toString() |
getClosest, resetThread, zoomChangedmouseClicked, mouseEntered, mouseExited, mouseWheelMovedprivate StreetsideAbstractImage closest
private StreetsideAbstractImage lastClicked
private final StreetsideRecord record
private boolean nothingHighlighted
private boolean imageHighlighted
public SelectMode()
public void mousePressed(MouseEvent e)
mousePressed in interface MouseListenermousePressed in class MouseAdapterpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenermouseDragged in class MouseAdapterpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenermouseReleased in class MouseAdapterpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenermouseMoved in class MouseAdapterpublic void paint(Graphics2D g, MapView mv, Bounds box)
AbstractModepaint in class AbstractModeg - Graphics2D used for paintingmv - The object that can translate GeoPoints to screen coordinates.box - Area where painting is going to be performed