Java Platform 1.2

java.awt.dnd
Interface DropTargetListener

All Known Implementing Classes:
DropTarget

public abstract interface DropTargetListener
extends EventListener

The DropTargetListener interface is the callback interface used by the DropTarget class to provide notification of DnD operations that involve the subject DropTarget.

Since:
JDK1.2

Method Summary
 void dragEnter(DropTargetDragEvent dtde)
          a Drag operation has encountered the DropTarget
 void dragExit(DropTargetEvent dte)
          The Drag operation has departed the DropTarget without dropping.
 void dragOver(DropTargetDragEvent dtde)
          a Drag operation is ongoing on the DropTarget
 void drop(DropTargetDropEvent dtde)
          The Drag operation has terminated with a Drop on this DropTarget
 void dropActionChanged(DropTargetDragEvent dtde)
          The user as modified the current drop gesture
 

Method Detail

dragEnter

public void dragEnter(DropTargetDragEvent dtde)
a Drag operation has encountered the DropTarget

dragOver

public void dragOver(DropTargetDragEvent dtde)
a Drag operation is ongoing on the DropTarget

dropActionChanged

public void dropActionChanged(DropTargetDragEvent dtde)
The user as modified the current drop gesture

dragExit

public void dragExit(DropTargetEvent dte)
The Drag operation has departed the DropTarget without dropping.

drop

public void drop(DropTargetDropEvent dtde)
The Drag operation has terminated with a Drop on this DropTarget

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.