org.embl.ebi.escience.scuflui.graph
Class MarqueeHandler

java.lang.Object
  extended by org.jgraph.graph.BasicMarqueeHandler
      extended by org.embl.ebi.escience.scuflui.graph.MarqueeHandler

public class MarqueeHandler
extends org.jgraph.graph.BasicMarqueeHandler

COMMENT

Version:
$Revision: 1.6 $
Author:
Kevin Glover

Constructor Summary
MarqueeHandler()
           
 
Method Summary
 boolean isForceMarqueeEvent(java.awt.event.MouseEvent event)
           
 void mouseDragged(java.awt.event.MouseEvent e)
           
 void mouseMoved(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 void overlay(org.jgraph.JGraph graph, java.awt.Graphics g, boolean clear)
           
 void startEdge(org.jgraph.JGraph graph, Port startPort)
           
 
Methods inherited from class org.jgraph.graph.BasicMarqueeHandler
getCurrentPoint, getGraphForEvent, getMarqueeBounds, getPreviousCursor, getStartPoint, handleMarqueeEvent, isMarqueeTriggerEvent, paint, setCurrentPoint, setMarqueeBounds, setPreviousCursor, setStartPoint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarqueeHandler

public MarqueeHandler()
Method Detail

startEdge

public void startEdge(org.jgraph.JGraph graph,
                      Port startPort)

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Overrides:
mouseMoved in class org.jgraph.graph.BasicMarqueeHandler

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Overrides:
mouseDragged in class org.jgraph.graph.BasicMarqueeHandler

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Overrides:
mousePressed in class org.jgraph.graph.BasicMarqueeHandler

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Overrides:
mouseReleased in class org.jgraph.graph.BasicMarqueeHandler

overlay

public void overlay(org.jgraph.JGraph graph,
                    java.awt.Graphics g,
                    boolean clear)
Overrides:
overlay in class org.jgraph.graph.BasicMarqueeHandler

isForceMarqueeEvent

public boolean isForceMarqueeEvent(java.awt.event.MouseEvent event)
Overrides:
isForceMarqueeEvent in class org.jgraph.graph.BasicMarqueeHandler