summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/event/dd/DragAndDropEvent.java
blob: 4adc4e757e9010a2a5f3874ac43e7ce627c534e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.vaadin.event.dd;

import java.io.Serializable;

import com.vaadin.event.Transferable;

public class DragAndDropEvent implements Serializable {
    private static final long serialVersionUID = -2232591107911385564L;
    private Transferable transferable;
    private DropTargetDetails dropDetails;

    public DragAndDropEvent(Transferable tr, DropTargetDetails details) {
        transferable = tr;
        dropDetails = details;
    }

    public Transferable getTransferable() {
        return transferable;
    }

    public DropTargetDetails getDropTargetData() {
        return dropDetails;
    }
}