Raccoon.GUI
Class PVDragAddNodeUI

java.lang.Object
  extended bycom.touchgraph.graphlayout.interaction.TGUserInterface
      extended bycom.touchgraph.graphlayout.interaction.TGSelfDeactivatingUI
          extended bycom.touchgraph.graphlayout.interaction.TGAbstractDragUI
              extended byRaccoon.GUI.PVDragAddNodeUI
All Implemented Interfaces:
java.util.EventListener, com.touchgraph.graphlayout.TGPaintListener

public class PVDragAddNodeUI
extends com.touchgraph.graphlayout.interaction.TGAbstractDragUI
implements com.touchgraph.graphlayout.TGPaintListener

PVDragAddNodeUI contains code for adding LBNodes + LBEdges by dragging.

Version:
1.20
Author:
Alexander Shapiro

Field Summary
 
Fields inherited from class com.touchgraph.graphlayout.interaction.TGAbstractDragUI
mouseWasDragged, tgPanel
 
Constructor Summary
PVDragAddNodeUI(PeerViewBrowser tglb)
           
 
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 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PVDragAddNodeUI

public PVDragAddNodeUI(PeerViewBrowser tglb)
Method Detail

preActivate

public void preActivate()

preDeactivate

public void preDeactivate()

mousePressed

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

mouseReleased

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

mouseDragged

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

paintFirst

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

paintLast

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

paintAfterEdges

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