public abstract static class DragTargetOverlay.FileDropInfo extends java.lang.Object implements DragTargetOverlay.IDropInfo
Constructor and Description |
---|
FileDropInfo(boolean doReset) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
acceptFile(java.io.File pathname) |
java.awt.datatransfer.DataFlavor |
getDataFlavor() |
int |
getDnDAction() |
protected abstract java.lang.String |
getImportDestination() |
boolean |
handleDroppedObject(java.lang.Object dropped) |
protected boolean |
handleFiles(java.util.List<java.io.File> files)
Handle the dropped files
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canAcceptDrop, getComponentToOverlay, getOverlayMessage
public java.awt.datatransfer.DataFlavor getDataFlavor()
getDataFlavor
in interface DragTargetOverlay.IDropInfo
public int getDnDAction()
getDnDAction
in interface DragTargetOverlay.IDropInfo
public boolean handleDroppedObject(java.lang.Object dropped)
handleDroppedObject
in interface DragTargetOverlay.IDropInfo
protected boolean handleFiles(java.util.List<java.io.File> files)
files
- protected abstract boolean acceptFile(java.io.File pathname)
protected abstract java.lang.String getImportDestination()