public interface DropTargetListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
dragEnter(DropTargetDragEvent e)
Called when the cursor hotspot enters a drop site which will accept the
drag.
|
void |
dragExit(DropTargetEvent e)
Called when the cursor hotspot moves outside of a drop site which will
accept the drag.
|
void |
dragOver(DropTargetDragEvent e)
Called when the cursor hotspot moves inside of a drop site which will
accept the drag.
|
void |
drop(DropTargetDropEvent e)
Called when the drag operation has terminated with a drop.
|
void |
dropActionChanged(DropTargetDragEvent e)
Called when the user modifies the drop gesture.
|
void dragEnter(DropTargetDragEvent e)
e
- the drag source drag eventvoid dragOver(DropTargetDragEvent e)
e
- the drag source drag eventvoid dropActionChanged(DropTargetDragEvent e)
e
- the drag source drag eventvoid dragExit(DropTargetEvent e)
e
- the drag source drag eventvoid drop(DropTargetDropEvent e)
e
- the drag source drag event