com.tensegrity.gui.graphdocument
Interface GraphPanelDragListener

All Known Implementing Classes:
ElementConflictListener

public interface GraphPanelDragListener

ViewDragAndDropListener

Author:
BurkhardWick

Method Summary
 void dragDrop(GraphPanelDragEvent event)
          Called when a VisualGraphObject has been dropped into the graph panel
 void dragEnter(GraphPanelDragEvent event)
          Called when a VisualGraphObject has been dragged into the bounds of a VisualGraphObject in the view or into the bounds of the view itself (in this case the GraphPanelDragEvent.getTargetGraphObject() will return null).
 void dragExit(GraphPanelDragEvent event)
          Called when a VisualGraphObject has been dragged out of the bounds of a VisualGraphObject in the view or out of the bounds of the view itself (in this case the GraphPanelDragEvent.getTargetGraphObject() will return null).
 void dragMove(GraphPanelDragEvent event)
          Called when a VisualGraphObject has been dragged over the graph panel
 void dragPreDrop(GraphPanelDragEvent event)
          Called when a VisualGraphObject will be dropped into the graph panel
 

Method Detail

dragDrop

public void dragDrop(GraphPanelDragEvent event)
Called when a VisualGraphObject has been dropped into the graph panel

Parameters:
event - The GraphPanelDragEvent event

dragPreDrop

public void dragPreDrop(GraphPanelDragEvent event)
Called when a VisualGraphObject will be dropped into the graph panel

Parameters:
event - The GraphPanelDragEvent event

dragMove

public void dragMove(GraphPanelDragEvent event)
Called when a VisualGraphObject has been dragged over the graph panel

Parameters:
event - The GraphPanelDragEvent event

dragEnter

public void dragEnter(GraphPanelDragEvent event)
Called when a VisualGraphObject has been dragged into the bounds of a VisualGraphObject in the view or into the bounds of the view itself (in this case the GraphPanelDragEvent.getTargetGraphObject() will return null).

Parameters:
event - The GraphPanelDragEvent event

dragExit

public void dragExit(GraphPanelDragEvent event)
Called when a VisualGraphObject has been dragged out of the bounds of a VisualGraphObject in the view or out of the bounds of the view itself (in this case the GraphPanelDragEvent.getTargetGraphObject() will return null).

Parameters:
event - The GraphPanelDragEvent event


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.