Java Platform 1.2

java.awt.dnd
Interface DragSourceListener

All Known Implementing Classes:
DragSourceContext

public abstract interface DragSourceListener
extends EventListener

The DragSourceListener defines the event interface for originators of Drag and Drop operations to track the state of the users gesture to provide the appropriate feedback to the user.

Since:
JDK1.2

Method Summary
 void dragDropEnd(DragSourceDropEvent dsde)
          as the operation completes
 void dragEnter(DragSourceDragEvent dsde)
          as the hotspot enters a platform dependent drop site
 void dragExit(DragSourceEvent dse)
          as the hotspot exits a platform dependent drop site
 void dragOver(DragSourceDragEvent dsde)
          as the hotspot moves over a platform dependent drop site
 void dropActionChanged(DragSourceDragEvent dsde)
          the user has modified the drop gesture
 

Method Detail

dragEnter

public void dragEnter(DragSourceDragEvent dsde)
as the hotspot enters a platform dependent drop site

dragOver

public void dragOver(DragSourceDragEvent dsde)
as the hotspot moves over a platform dependent drop site

dropActionChanged

public void dropActionChanged(DragSourceDragEvent dsde)
the user has modified the drop gesture

dragExit

public void dragExit(DragSourceEvent dse)
as the hotspot exits a platform dependent drop site

dragDropEnd

public void dragDropEnd(DragSourceDropEvent dsde)
as the operation completes

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.