public class DragDropHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int |
numDroppedFiles
The numbers of the dropped files in the current drag-n-drop operation.
|
Constructor and Description |
---|
DragDropHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
endFileDrop()
Terminates file dropping operation and clean up resources.
|
static java.lang.String |
getDroppedFile(int index)
Gets the name of the dropped file from internal 1-based list list.
|
static int |
getNumDroppedFiles()
Gets the number of the dropped files.
|
private static int numDroppedFiles
public static boolean endFileDrop()
TRUE
in success, FALSE
otherwise.public static int getNumDroppedFiles()
public static java.lang.String getDroppedFile(int index)
index
- 1-based number of the file name to get.