freemind.controller

Class NodeMouseMotionListener

public class NodeMouseMotionListener extends Object implements MouseMotionListener, MouseListener

The MouseMotionListener which belongs to every NodeView
Nested Class Summary
protected classNodeMouseMotionListener.timeDelayedSelection
Constructor Summary
NodeMouseMotionListener(Controller controller)
Method Summary
voidcreateTimer(MouseEvent e)
protected RectanglegetControlRegion(Point2D p)
voidmouseClicked(MouseEvent e)
voidmouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged.
voidmouseEntered(MouseEvent e)
voidmouseExited(MouseEvent e)
voidmouseMoved(MouseEvent e)
voidmousePressed(MouseEvent e)
voidmouseReleased(MouseEvent e)
protected voidstopTimerForDelayedSelection()
static voidupdateSelectionMethod(Controller c)
And a static method to reread this holder.

Constructor Detail

NodeMouseMotionListener

public NodeMouseMotionListener(Controller controller)

Method Detail

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.