freemind.controller

Class NodeMouseMotionListener

Implemented Interfaces:
MouseListener, MouseMotionListener

public class NodeMouseMotionListener
extends java.lang.Object
implements MouseMotionListener, MouseListener

The MouseMotionListener which belongs to every NodeView

Nested Class Summary

protected class
NodeMouseMotionListener.timeDelayedSelection

Constructor Summary

NodeMouseMotionListener(Controller controller)

Method Summary

void
createTimer(MouseEvent e)
protected Rectangle
getControlRegion(Point2D p)
void
mouseClicked(MouseEvent e)
void
mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged.
void
mouseEntered(MouseEvent e)
void
mouseExited(MouseEvent e)
void
mouseMoved(MouseEvent e)
void
mousePressed(MouseEvent e)
void
mouseReleased(MouseEvent e)
protected void
stopTimerForDelayedSelection()
static void
updateSelectionMethod(Controller c)
And a static method to reread this holder.

Constructor Details

NodeMouseMotionListener

public NodeMouseMotionListener(Controller controller)

Method Details

createTimer

public void createTimer(MouseEvent e)

getControlRegion

protected Rectangle getControlRegion(Point2D p)

mouseClicked

public void mouseClicked(MouseEvent e)

mouseDragged

public void mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged.

mouseEntered

public void mouseEntered(MouseEvent e)

mouseExited

public void mouseExited(MouseEvent e)

mouseMoved

public void mouseMoved(MouseEvent e)

mousePressed

public void mousePressed(MouseEvent e)

mouseReleased

public void mouseReleased(MouseEvent e)

stopTimerForDelayedSelection

protected void stopTimerForDelayedSelection()

updateSelectionMethod

public static void updateSelectionMethod(Controller c)
And a static method to reread this holder. This is used when the selection method is changed via the option menu.