com.sun.xml.registry.client.browser.graph
Class JBMarqueeHandler

java.lang.Object
  extended bycom.jgraph.graph.BasicMarqueeHandler
      extended bycom.sun.xml.registry.client.browser.graph.JBMarqueeHandler

public class JBMarqueeHandler
extends com.jgraph.graph.BasicMarqueeHandler

MarqueeHandler that Connects Vertices and Displays PopupMenus

Author:
Farrukh S. Najmi

Field Summary
protected  java.awt.Point current
           
protected  com.jgraph.graph.PortView firstPort
           
protected  com.jgraph.graph.PortView port
           
protected  java.awt.Point start
           
 
Fields inherited from class com.jgraph.graph.BasicMarqueeHandler
currentPoint, lastVisibleRect, marqueeBounds, startPoint
 
Constructor Summary
JBMarqueeHandler(JBGraph graph)
           
 
Method Summary
 javax.swing.JPopupMenu createPopupMenu(java.awt.Point pt, java.lang.Object cell)
           
 com.jgraph.graph.PortView getSourcePortAt(java.awt.Point point)
           
protected  com.jgraph.graph.PortView getTargetPortAt(java.awt.Point point)
           
 boolean isForceMarqueeEvent(java.awt.event.MouseEvent e)
           
 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)
           
protected  void paintConnector(java.awt.Color fg, java.awt.Color bg, java.awt.Graphics g)
           
protected  void paintPort(java.awt.Graphics g)
           
 
Methods inherited from class com.jgraph.graph.BasicMarqueeHandler
overlay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

start

protected java.awt.Point start

current

protected java.awt.Point current

port

protected com.jgraph.graph.PortView port

firstPort

protected com.jgraph.graph.PortView firstPort
Constructor Detail

JBMarqueeHandler

public JBMarqueeHandler(JBGraph graph)
Method Detail

isForceMarqueeEvent

public boolean isForceMarqueeEvent(java.awt.event.MouseEvent e)

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)

getSourcePortAt

public com.jgraph.graph.PortView getSourcePortAt(java.awt.Point point)

getTargetPortAt

protected com.jgraph.graph.PortView getTargetPortAt(java.awt.Point point)

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)

paintConnector

protected void paintConnector(java.awt.Color fg,
                              java.awt.Color bg,
                              java.awt.Graphics g)

paintPort

protected void paintPort(java.awt.Graphics g)

createPopupMenu

public javax.swing.JPopupMenu createPopupMenu(java.awt.Point pt,
                                              java.lang.Object cell)


Copyright © 2001-2004 OASIS. All Rights Reserved.