Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Class java.awt.dnd.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

Fields inherited from class java.util.EventObject
 source
 

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
 getDragSourceContext
 
Methods inherited from class java.util.EventObject
 getSource, toString
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

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.