freemind.modes.common.listeners
Class CommonNodeMouseMotionListener
java.lang.Object
freemind.modes.common.listeners.CommonNodeMouseMotionListener
- All Implemented Interfaces:
- NodeMouseMotionListener.NodeMouseMotionObserver, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener
public class CommonNodeMouseMotionListener
- extends java.lang.Object
- implements NodeMouseMotionListener.NodeMouseMotionObserver
The MouseMotionListener which belongs to every NodeView
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonNodeMouseMotionListener
public CommonNodeMouseMotionListener(ModeController controller)
updateSelectionMethod
public void updateSelectionMethod()
- And a static method to reread this holder. This is used when the
selection method is changed via the option menu.
- Specified by:
updateSelectionMethod
in interface NodeMouseMotionListener.NodeMouseMotionObserver
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
- Specified by:
mouseMoved
in interface java.awt.event.MouseMotionListener
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- Invoked when a mouse button is pressed on a component and then dragged.
- Specified by:
mouseDragged
in interface java.awt.event.MouseMotionListener
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked
in interface java.awt.event.MouseListener
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEntered
in interface java.awt.event.MouseListener
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interface java.awt.event.MouseListener
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited
in interface java.awt.event.MouseListener
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interface java.awt.event.MouseListener
getControlRegion
protected java.awt.Rectangle getControlRegion(java.awt.geom.Point2D p)
createTimer
public void createTimer(java.awt.event.MouseEvent e)
stopTimerForDelayedSelection
protected void stopTimerForDelayedSelection()