Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt.dnd

Interface DropTargetListener

java.lang.Object
|
+--java.util.EventListener
   |
   +--java.awt.dnd.DropTargetListener

All Implemented Interfaces:

EventListener


public interface DropTargetListener

implements EventListener

Since:Author:

Method Summary

voiddragEnter(java.awt.dnd.DropTargetDragEvent e)

Called when the cursor hotspot enters a drop site which will accept the drag.
voiddragExit(java.awt.dnd.DropTargetEvent e)

Called when the cursor hotspot moves outside of a drop site which will accept the drag.
voiddragOver(java.awt.dnd.DropTargetDragEvent e)

Called when the cursor hotspot moves inside of a drop site which will accept the drag.
voiddrop(java.awt.dnd.DropTargetDropEvent e)

FIXME
voiddropActionChanged(java.awt.dnd.DropTargetDragEvent e)

Called when the user modifies the drop gesture.

Method Details

dragEnter

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

Called when the cursor hotspot enters a drop site which will accept the drag.

Parameters:


dragExit

public void dragExit(java.awt.dnd.DropTargetEvent e)

Called when the cursor hotspot moves outside of a drop site which will accept the drag. This could also happen if the drop site is no longer active, or no longer accepts the drag.

Parameters:


dragOver

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

Called when the cursor hotspot moves inside of a drop site which will accept the drag.

Parameters:


drop

public void drop(java.awt.dnd.DropTargetDropEvent e)

FIXME

Parameters:


dropActionChanged

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

Called when the user modifies the drop gesture. This is often the case when additional mouse or key events are received during the drag.

Parameters: