org.jgraph.util
Class JGraphHeavyweightRedirector
java.lang.Object
javax.swing.event.MouseInputAdapter
org.jgraph.util.JGraphHeavyweightRedirector
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.MouseInputListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener
- public class JGraphHeavyweightRedirector
- extends javax.swing.event.MouseInputAdapter
Field Summary |
protected boolean |
heavyweightOnly
Specifies whether this class only redirects to heavyweight cells. |
protected boolean |
selectedOnly
Specifies whether this class only redirects to selected cells. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
heavyweightOnly
protected boolean heavyweightOnly
- Specifies whether this class only redirects to heavyweight cells.
Default is false.
selectedOnly
protected boolean selectedOnly
- Specifies whether this class only redirects to selected cells.
Default is true.
JGraphHeavyweightRedirector
public JGraphHeavyweightRedirector()
JGraphHeavyweightRedirector
public JGraphHeavyweightRedirector(boolean heavyweightOnly,
boolean selectedOnly)
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)