summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/event
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/event')
-rw-r--r--src/com/vaadin/event/ComponentTransferable.java2
-rw-r--r--src/com/vaadin/event/dd/DragSource.java3
-rw-r--r--src/com/vaadin/event/dd/DropHandler.java4
-rw-r--r--src/com/vaadin/event/dd/TargetDetails.java5
-rw-r--r--src/com/vaadin/event/dd/TargetDetailsImpl.java1
5 files changed, 11 insertions, 4 deletions
diff --git a/src/com/vaadin/event/ComponentTransferable.java b/src/com/vaadin/event/ComponentTransferable.java
index f3d7e04162..c1b713690a 100644
--- a/src/com/vaadin/event/ComponentTransferable.java
+++ b/src/com/vaadin/event/ComponentTransferable.java
@@ -5,7 +5,7 @@ import com.vaadin.ui.Component;
public interface ComponentTransferable extends Transferable {
/**
- * @return the component where the drag operation started
+ * @return the component that started the drag operation
*/
public Component getSourceComponent();
diff --git a/src/com/vaadin/event/dd/DragSource.java b/src/com/vaadin/event/dd/DragSource.java
index 9d901f0d41..3b69f1b028 100644
--- a/src/com/vaadin/event/dd/DragSource.java
+++ b/src/com/vaadin/event/dd/DragSource.java
@@ -1,10 +1,11 @@
package com.vaadin.event.dd;
+import java.io.Serializable;
import java.util.Map;
import com.vaadin.event.Transferable;
-public interface DragSource {
+public interface DragSource extends Serializable {
/**
* DragSource may convert client side variables to meaningful values on
diff --git a/src/com/vaadin/event/dd/DropHandler.java b/src/com/vaadin/event/dd/DropHandler.java
index 2bb03aa7b0..b5ebbc0fa1 100644
--- a/src/com/vaadin/event/dd/DropHandler.java
+++ b/src/com/vaadin/event/dd/DropHandler.java
@@ -1,9 +1,11 @@
package com.vaadin.event.dd;
+import java.io.Serializable;
+
import com.vaadin.event.dd.acceptCriteria.AcceptAll;
import com.vaadin.event.dd.acceptCriteria.AcceptCriterion;
-public interface DropHandler {
+public interface DropHandler extends Serializable {
public void drop(DropEvent dropEvent);
diff --git a/src/com/vaadin/event/dd/TargetDetails.java b/src/com/vaadin/event/dd/TargetDetails.java
index d3f488052b..7711160f6e 100644
--- a/src/com/vaadin/event/dd/TargetDetails.java
+++ b/src/com/vaadin/event/dd/TargetDetails.java
@@ -1,6 +1,9 @@
package com.vaadin.event.dd;
-public interface TargetDetails {
+import java.io.Serializable;
+
+public interface TargetDetails extends Serializable {
+
public Object getData(String key);
public Object setData(String key, Object value);
diff --git a/src/com/vaadin/event/dd/TargetDetailsImpl.java b/src/com/vaadin/event/dd/TargetDetailsImpl.java
index be9fa5598f..ae7c7d0a5e 100644
--- a/src/com/vaadin/event/dd/TargetDetailsImpl.java
+++ b/src/com/vaadin/event/dd/TargetDetailsImpl.java
@@ -24,4 +24,5 @@ public class TargetDetailsImpl implements TargetDetails {
public DropTarget getTarget() {
return (DropTarget) data.get(DragAndDropService.DROPTARGET_KEY);
}
+
} \ No newline at end of file