net.clackrouter.jgraph.pad
Class GPGraphUI.GraphDropTargetListener

java.lang.Object
  extended by BasicGraphDropTargetListener
      extended by net.clackrouter.jgraph.pad.GPGraphUI.GraphDropTargetListener
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
GPGraphUI

public class GPGraphUI.GraphDropTargetListener
extends BasicGraphDropTargetListener
implements java.io.Serializable

Graph Drop Target Listener


Constructor Summary
GPGraphUI.GraphDropTargetListener()
           
 
Method Summary
 void dragEnter(java.awt.dnd.DropTargetDragEvent e)
           
 void dropActionChanged(java.awt.dnd.DropTargetDragEvent e)
           
protected  void restoreComponentState(javax.swing.JComponent comp)
          called to restore the state of a component because a drop was not performed.
protected  void saveComponentState(javax.swing.JComponent comp)
          called to save the state of a component in case it needs to be restored because a drop is not performed.
protected  void updateInsertionLocation(javax.swing.JComponent comp, java.awt.Point p)
          called to set the insertion location to match the current mouse pointer coordinates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPGraphUI.GraphDropTargetListener

public GPGraphUI.GraphDropTargetListener()
Method Detail

saveComponentState

protected void saveComponentState(javax.swing.JComponent comp)
called to save the state of a component in case it needs to be restored because a drop is not performed.


restoreComponentState

protected void restoreComponentState(javax.swing.JComponent comp)
called to restore the state of a component because a drop was not performed.


updateInsertionLocation

protected void updateInsertionLocation(javax.swing.JComponent comp,
                                       java.awt.Point p)
called to set the insertion location to match the current mouse pointer coordinates.


dragEnter

public void dragEnter(java.awt.dnd.DropTargetDragEvent e)

dropActionChanged

public void dropActionChanged(java.awt.dnd.DropTargetDragEvent e)