Package org.loboevolution.events
Interface DataTransfer
public interface DataTransfer
This is an interface to work with JavaScript DataTransfer and DataTransferItems
-
Method Summary
Modifier and TypeMethodDescriptionReturns the data for a given type.int
Returns the number of files.File[]
getFiles()
Returns the files.String[]
getTypes()
Returns the types.void
Set the data for a given type.void
setDragImage
(HTMLElement aImg, double xOffset, double yOffset) Sets the image Element element to use for the drag feedback image.
-
Method Details
-
getTypes
String[] getTypes()Returns the types. -
getData
Returns the data for a given type. -
setData
Set the data for a given type. -
getFileCount
int getFileCount()Returns the number of files. -
getFiles
File[] getFiles()Returns the files. -
setDragImage
Sets the image Element element to use for the drag feedback image.
-