org.jgraph.plaf.basic

Class BasicGraphUI.GraphDropTargetListener

public class BasicGraphUI.GraphDropTargetListener extends BasicGraphDropTargetListener implements Serializable

Graph Drop Target Listener
Method Summary
voiddragEnter(DropTargetDragEvent e)
voiddropActionChanged(DropTargetDragEvent e)
protected voidrestoreComponentState(JComponent comp)
called to restore the state of a component because a drop was not performed.
protected voidsaveComponentState(JComponent comp)
called to save the state of a component in case it needs to be restored because a drop is not performed.
protected voidupdateInsertionLocation(JComponent comp, Point p)
called to set the insertion location to match the current mouse pointer coordinates.

Method Detail

dragEnter

public void dragEnter(DropTargetDragEvent e)

dropActionChanged

public void dropActionChanged(DropTargetDragEvent e)

restoreComponentState

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

saveComponentState

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

updateInsertionLocation

protected void updateInsertionLocation(JComponent comp, Point p)
called to set the insertion location to match the current mouse pointer coordinates.
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.