H - handler typepublic abstract class DragDropEventBase<H extends EventHandler> extends DomEvent<H>
| Modifier and Type | Class and Description | 
|---|---|
| (package private) static class  | DragDropEventBase.DragSupportDetectorDetector for browser support of drag events. | 
| (package private) static class  | DragDropEventBase.DragSupportDetectorNoDetector for permutations that do not support drag events. | 
DomEvent.Type<H extends EventHandler>| Constructor and Description | 
|---|
| DragDropEventBase() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getData(java.lang.String format)Get the data for the specified format from the  DataTransferobject. | 
| DataTransfer | getDataTransfer()Get the  DataTransferassociated with the current drag event. | 
| static boolean | isSupported()Runtime check for whether drag events are supported in this browser. | 
| void | setData(java.lang.String format,
       java.lang.String data)Set the data in the  DataTransferobject for the specified format. | 
fireNativeEvent, fireNativeEvent, getAssociatedType, getNativeEvent, getRelativeElement, init, preventDefault, setNativeEvent, setRelativeElement, stopPropagationassertLive, dispatch, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic static boolean isSupported()
public java.lang.String getData(java.lang.String format)
DataTransfer object.format - the formatpublic DataTransfer getDataTransfer()
DataTransfer associated with the current drag event.DataTransfer objectpublic void setData(java.lang.String format,
                    java.lang.String data)
DataTransfer object for the specified format.format - the formatdata - the data to associate with the format