Java Platform 1.2
Beta 4

Class java.awt.dnd.DragSourceDropEvent


public class DragSourceDropEvent
extends DragSourceEvent

The DragSourceDropEvent is delivered from the DragSourceContextPeer, via the DragSourceContext, to its currently registered DragSourceListener. It contains sufficient information for the originator of the operation to provide appropriate feedback to the end user when the operation completes.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
Constructor Summary
DragSourceDropEvent(DragSourceContext dsc, int action, boolean success)
          construct a DragSourceDropEvent for a drop
DragSourceDropEvent(DragSourceContext dsc)
          construct a DragSourceDropEvent for a drag that does not result in a drop
Method Summary
 int getDropAction()
 boolean getDropSuccess()
Methods inherited from class java.awt.dnd.DragSourceEvent
Methods inherited from class java.util.EventObject
getSource , toString
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait

Constructor Detail


public DragSourceDropEvent(DragSourceContext dsc,
                           int action,
                           boolean success)
construct a DragSourceDropEvent for a drop


public DragSourceDropEvent(DragSourceContext dsc)
construct a DragSourceDropEvent for a drag that does not result in a drop
Method Detail


public boolean getDropSuccess()
if the drop was successful


public int getDropAction()
the action performed by the target on the subject of the drop

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.