|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sc.seis.fissuresUtil.map.tools.OpenMapTool
edu.sc.seis.fissuresUtil.map.tools.PanTool
public class PanTool
Constructor Summary | |
---|---|
PanTool(OpenMap om)
|
Method Summary | |
---|---|
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. |
Methods inherited from class edu.sc.seis.fissuresUtil.map.tools.OpenMapTool |
---|
actAsProxyFor, actAsProxyFor, addMapMouseListener, getGUIIcon, getModeCursor, getPressedCursor, getProxyDistributionMask, isActive, isProxyFor, isVisible, listenerPaint, mouseClicked, mouseEntered, mouseExited, mouseMoved, releaseProxy, removeAllMapMouseListeners, removeMapMouseListener, setActive, setModeCursor, setPressedCursor, setProxyDistributionMask |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PanTool(OpenMap om)
Method Detail |
---|
public java.lang.String getID()
public void mousePressed(java.awt.event.MouseEvent e)
OpenMapTool
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class OpenMapTool
public void mouseDragged(java.awt.event.MouseEvent e)
OpenMapTool
MOUSE_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.MouseMotionListener
mouseDragged
in class OpenMapTool
public void mouseReleased(java.awt.event.MouseEvent e)
OpenMapTool
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class OpenMapTool
public java.lang.String getPrettyName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |