info.aduna.linkmap.render
Class InteractionHandler
java.lang.Object
info.aduna.linkmap.render.InteractionHandler
- All Implemented Interfaces:
- MouseListener, MouseMotionListener, EventListener
public class InteractionHandler
- extends Object
- implements MouseListener, MouseMotionListener
InteractionHandler provides default facilities for vertex dragging and
selections on a GraphPanel. Its constructor adds it as a MouseListener and
MouseMotionListener to the specified GraphPanel and makes it interactive.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InteractionHandler
public InteractionHandler(GraphPanel panel)
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed in interface MouseListener
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClicked in interface MouseListener
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
mouseReleased in interface MouseListener
mouseDragged
public void mouseDragged(MouseEvent e)
- Specified by:
mouseDragged in interface MouseMotionListener
mouseMoved
public void mouseMoved(MouseEvent e)
- Specified by:
mouseMoved in interface MouseMotionListener
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
mouseEntered in interface MouseListener
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
mouseExited in interface MouseListener
mouseWheelMoved
public void mouseWheelMoved(MouseWheelEvent e)
Copyright © 1997-2008 Aduna. All Rights Reserved.