org.ceryle.graph
Class MultiDragNodeUI

java.lang.Object
  extended by com.touchgraph.graphlayout.interaction.TGUserInterface
      extended by com.touchgraph.graphlayout.interaction.TGSelfDeactivatingUI
          extended by com.touchgraph.graphlayout.interaction.TGAbstractDragUI
              extended by com.touchgraph.graphlayout.interaction.DragNodeUI
                  extended by org.ceryle.graph.MultiDragNodeUI

public class MultiDragNodeUI
extends DragNodeUI

MultiDragNodeUI extends DragNodeUI to drag multiple nodes.

Version:
$Id: MultiDragNodeUI.java,v 3.6 2007-06-15 12:09:24 altheim Exp $
Author:
Murray Altheim
See Also:
DragNodeUI

Field Summary
 
Fields inherited from class com.touchgraph.graphlayout.interaction.DragNodeUI
dragOffs
 
Fields inherited from class com.touchgraph.graphlayout.interaction.TGAbstractDragUI
mouseWasDragged, tgPanel
 
Constructor Summary
MultiDragNodeUI(GraphPanel gpanel)
          Constructor with TGPanel tgp.
 
Method Summary
 void mouseDragged(MouseEvent e)
          Overrides the superclass to handle multiple selection.
 void mousePressed(MouseEvent e)
          Passes off mousePressed messages to TNodes, ignored in all other cases.
 
Methods inherited from class com.touchgraph.graphlayout.interaction.DragNodeUI
mouseReleased, preActivate, preDeactivate
 
Methods inherited from class com.touchgraph.graphlayout.interaction.TGAbstractDragUI
activate, activate, deactivate
 
Methods inherited from class com.touchgraph.graphlayout.interaction.TGSelfDeactivatingUI
setSelfDeactivate
 
Methods inherited from class com.touchgraph.graphlayout.interaction.TGUserInterface
activate, isActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiDragNodeUI

public MultiDragNodeUI(GraphPanel gpanel)
Constructor with TGPanel tgp.

Method Detail

mouseDragged

public void mouseDragged(MouseEvent e)
Overrides the superclass to handle multiple selection.

Overrides:
mouseDragged in class DragNodeUI

mousePressed

public void mousePressed(MouseEvent e)
Passes off mousePressed messages to TNodes, ignored in all other cases. (This method does not really belong in this package; it should be in org.ceryle.graph.tm.*).

Overrides:
mousePressed in class DragNodeUI


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.