java.awt.dnd
Class DragSourceDropEvent
java.lang.Object
|
+--java.util.EventObject
|
+--java.awt.dnd.DragSourceEvent
|
+--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.
- Since:
- JDK1.2
- See Also:
- Serialized Form
DragSourceDropEvent
public DragSourceDropEvent(DragSourceContext dsc,
int action,
boolean success)
- construct a DragSourceDropEvent for a drop
DragSourceDropEvent
public DragSourceDropEvent(DragSourceContext dsc)
- construct a DragSourceDropEvent for a drag that does not result in a drop
getDropSuccess
public boolean getDropSuccess()
- Returns:
- if the drop was successful
getDropAction
public int getDropAction()
- Returns:
- the action performed by the target on the subject of the drop
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.