edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction
Class DragMultiselectUI

java.lang.Object
  extended by edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.TGUserInterface
      extended by edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.TGSelfDeactivatingUI
          extended by edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.TGAbstractDragUI
              extended by edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.DragMultiselectUI
All Implemented Interfaces:
TGPaintListener, java.util.EventListener

public class DragMultiselectUI
extends TGAbstractDragUI
implements TGPaintListener

DragMultiselectUI contains code for selecting a group on nodes by enclosing them in a dotted box.

Version:
1.22-jre1.1 $Id: DragMultiselectUI.java,v 1.1 2010/01/20 20:38:32 jiecui Exp $
Author:
Alexander Shapiro

Field Summary
 
Fields inherited from class edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.TGAbstractDragUI
mouseWasDragged, tgPanel
 
Method Summary
 void mouseDragged(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 void paintAfterEdges(java.awt.Graphics g)
           
 void paintFirst(java.awt.Graphics g)
           
 void paintLast(java.awt.Graphics g)
           
 void preActivate()
           
 void preDeactivate()
           
 
Methods inherited from class edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.TGAbstractDragUI
activate, activate, deactivate
 
Methods inherited from class edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.TGSelfDeactivatingUI
setSelfDeactivate
 
Methods inherited from class edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.TGUserInterface
activate, isActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

preActivate

public void preActivate()
Specified by:
preActivate in class TGAbstractDragUI

preDeactivate

public void preDeactivate()
Specified by:
preDeactivate in class TGAbstractDragUI

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in class TGAbstractDragUI

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in class TGAbstractDragUI

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Specified by:
mouseDragged in class TGAbstractDragUI

paintFirst

public void paintFirst(java.awt.Graphics g)
Specified by:
paintFirst in interface TGPaintListener

paintAfterEdges

public void paintAfterEdges(java.awt.Graphics g)
Specified by:
paintAfterEdges in interface TGPaintListener

paintLast

public void paintLast(java.awt.Graphics g)
Specified by:
paintLast in interface TGPaintListener