diff options
Diffstat (limited to 'src/com/vaadin/event/dd/DragAndDropEvent.java')
-rw-r--r-- | src/com/vaadin/event/dd/DragAndDropEvent.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/com/vaadin/event/dd/DragAndDropEvent.java b/src/com/vaadin/event/dd/DragAndDropEvent.java new file mode 100644 index 0000000000..126edb15d8 --- /dev/null +++ b/src/com/vaadin/event/dd/DragAndDropEvent.java @@ -0,0 +1,24 @@ +package com.vaadin.event.dd; + +import java.io.Serializable; + +import com.vaadin.event.Transferable; + +public abstract class DragAndDropEvent implements Serializable { + private static final long serialVersionUID = -2232591107911385564L; + private Transferable transferable; + private TargetDetails dropDetails; + + public DragAndDropEvent(Transferable tr, TargetDetails details) { + transferable = tr; + dropDetails = details; + } + + public Transferable getTransferable() { + return transferable; + } + + public TargetDetails getDropTargetData() { + return dropDetails; + } +} |