public class PanTool extends OpenMapTool
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getID() |
java.lang.String |
getPrettyName()
Return a pretty name, suitable for the GUI.
|
void |
mouseDragged(java.awt.event.MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged.
|
void |
mousePressed(java.awt.event.MouseEvent e)
Invoked when a mouse button has been pressed on a component.
|
void |
mouseReleased(java.awt.event.MouseEvent e)
Invoked when a mouse button has been released on a component.
|
actAsProxyFor, actAsProxyFor, addMapMouseListener, getGUIIcon, getModeCursor, getPressedCursor, getProxyDistributionMask, isActive, isProxyFor, isVisible, listenerPaint, mouseClicked, mouseEntered, mouseExited, mouseMoved, releaseProxy, removeAllMapMouseListeners, removeMapMouseListener, setActive, setModeCursor, setPressedCursor, setProxyDistributionMaskpublic PanTool(OpenMap om)
public java.lang.String getID()
public void mousePressed(java.awt.event.MouseEvent e)
OpenMapToolmousePressed in interface java.awt.event.MouseListenermousePressed in class OpenMapToolpublic void mouseDragged(java.awt.event.MouseEvent e)
OpenMapToolMOUSE_DRAGGED events will continue to be delivered to the
component where the drag originated until the mouse button is released
(regardless of whether the mouse position is within the bounds of the
component).
Due to platform-dependent Drag&Drop implementations,
MOUSE_DRAGGED events may not be delivered during a native
Drag&Drop operation.
mouseDragged in interface java.awt.event.MouseMotionListenermouseDragged in class OpenMapToolpublic void mouseReleased(java.awt.event.MouseEvent e)
OpenMapToolmouseReleased in interface java.awt.event.MouseListenermouseReleased in class OpenMapToolpublic java.lang.String getPrettyName()