org.graphstream.ui.swingViewer.util
Interface MouseManager

All Superinterfaces:
EventListener, MouseInputListener, MouseListener, MouseMotionListener
All Known Implementing Classes:
DefaultMouseManager

public interface MouseManager
extends MouseInputListener

A global behavior for all mouse events on graphic elements.


Method Summary
 void init(GraphicGraph graph, View view)
          Make the manager active on the given graph and view.
 void release()
          Release the links between this manager and the view and the graph.
 
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from interface java.awt.event.MouseMotionListener
mouseDragged, mouseMoved
 

Method Detail

init

void init(GraphicGraph graph,
          View view)
Make the manager active on the given graph and view.

Parameters:
graph - The graph to control.
view - The view to control.

release

void release()
Release the links between this manager and the view and the graph.



Copyright © 2013. All Rights Reserved.