java.awt.dnd
public class DropTargetDragEvent extends DropTargetEvent
Since: 1.2
Constructor Summary | |
---|---|
DropTargetDragEvent(DropTargetContext context, Point location, int dropAction, int srcActions)
Initializes a DropTargetDragEvent .
|
Method Summary | |
---|---|
void | acceptDrag(int dragOperation) |
DataFlavor[] | getCurrentDataFlavors() |
List<DataFlavor> | getCurrentDataFlavorsAsList() |
int | getDropAction() |
Point | getLocation() |
int | getSourceActions() |
Transferable | getTransferable()
TODO
|
boolean | isDataFlavorSupported(DataFlavor df) |
void | rejectDrag() |
DropTargetDragEvent
.
Throws: IllegalArgumentException If dropAction is not one of DnDConstants, srcActions is not a bitwise mask of DnDConstants, or dtc is null. NullPointerException If location is null.
Returns:
Since: 1.5