Java Platform 1.2
Beta 4

Interface java.awt.dnd.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
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
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.
This documentation was generated with a post-Beta4 version of Javadoc.