Java java.awt.dnd DropTargetDropEvent fields, constructors, methods, implement or subclass

Example usage for Java java.awt.dnd DropTargetDropEvent fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt.dnd DropTargetDropEvent.

The text is from its open source code.

Method

voidacceptDrop(int dropAction)
accept the drop, using the specified action.
voiddropComplete(boolean success)
This method notifies the DragSource that the drop transfer(s) are completed.
DataFlavor[]getCurrentDataFlavors()
This method returns the current DataFlavors.
intgetDropAction()
This method returns the user drop action.
DropTargetContextgetDropTargetContext()
This method returns the DropTargetContext associated with this DropTargetEvent .
PointgetLocation()
This method returns a Point indicating the Cursor 's current location in the Component 's coordinates.
ObjectgetSource()
The object on which the Event initially occurred.
intgetSourceActions()
This method returns the source drop actions.
TransferablegetTransferable()
This method returns the Transferable object associated with the drop.
booleanisDataFlavorSupported(DataFlavor df)
This method returns a boolean indicating if the specified DataFlavor is available from the source.
booleanisLocalTransfer()
This method returns an int indicating if the source is in the same JVM as the target.
voidrejectDrop()
reject the Drop.