be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.topEdit.graph
Class MyEditingPopupGraphMousePlugin

java.lang.Object
  extended by edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
      extended by edu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin
          extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.topEdit.graph.MyEditingPopupGraphMousePlugin
All Implemented Interfaces:
BatchModeCapable, edu.uci.ics.jung.visualization.control.GraphMousePlugin, java.awt.event.MouseListener, java.util.EventListener

public class MyEditingPopupGraphMousePlugin
extends edu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin
implements BatchModeCapable

Can only be used with a MyDirectedSparseGraph instance. Popups to create and edit edges. Can operate in batch mode or not.

Creation date: 3/10/2007

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Field Summary
 
Fields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
cursor, down, modifiers
 
Constructor Summary
MyEditingPopupGraphMousePlugin(edu.uci.ics.jung.visualization.SettableVertexLocationFunction vertexLocations)
           
 
Method Summary
 boolean getBatchMode()
           
protected  void handlePopup(java.awt.event.MouseEvent e)
           
 void setBatchMode(boolean batchMode)
           
 
Methods inherited from class edu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
checkModifiers, getCursor, getModifiers, setCursor, setModifiers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyEditingPopupGraphMousePlugin

public MyEditingPopupGraphMousePlugin(edu.uci.ics.jung.visualization.SettableVertexLocationFunction vertexLocations)
Method Detail

setBatchMode

public void setBatchMode(boolean batchMode)
Specified by:
setBatchMode in interface BatchModeCapable

getBatchMode

public boolean getBatchMode()
Specified by:
getBatchMode in interface BatchModeCapable

handlePopup

protected void handlePopup(java.awt.event.MouseEvent e)
Specified by:
handlePopup in class edu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.