Module java.desktop
Package java.awt.dnd

Interface DragSourceListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
DragSourceAdapter, DragSourceContext

public interface DragSourceListener extends EventListener
The DragSourceListener defines the event interface for originators of Drag and Drop operations to track the state of the user's gesture, and to provide appropriate "drag over" feedback to the user throughout the Drag and Drop operation.

The drop site is associated with the previous dragEnter() invocation if the latest invocation of dragEnter() on this listener:

  • corresponds to that drop site and
  • is not followed by a dragExit() invocation on this listener.
Since:
1.2