summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2013-01-15 12:42:10 +0200
committerHenri Sara <hesara@vaadin.com>2013-01-15 12:42:10 +0200
commitea2ebd16543c36e389f4204591a7e9d2d9613534 (patch)
tree9d05cf95cf6067b605a25e48787070ca983766d1 /server/src/com/vaadin/ui
parent7413385a7cc0e87ec8d35574963113d3c58af5ec (diff)
downloadvaadin-framework-ea2ebd16543c36e389f4204591a7e9d2d9613534.tar.gz
vaadin-framework-ea2ebd16543c36e389f4204591a7e9d2d9613534.zip
Ensure all server and shared classes are serializable (#10735)
Change-Id: I40a59087fea7fbd4ad202ef803b42bbc76bf94d3
Diffstat (limited to 'server/src/com/vaadin/ui')
-rw-r--r--server/src/com/vaadin/ui/AbstractColorPicker.java3
-rw-r--r--server/src/com/vaadin/ui/components/colorpicker/HasColorChangeListener.java4
2 files changed, 5 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/AbstractColorPicker.java b/server/src/com/vaadin/ui/AbstractColorPicker.java
index 3d1d026d5e..d7037e366d 100644
--- a/server/src/com/vaadin/ui/AbstractColorPicker.java
+++ b/server/src/com/vaadin/ui/AbstractColorPicker.java
@@ -15,6 +15,7 @@
*/
package com.vaadin.ui;
+import java.io.Serializable;
import java.lang.reflect.Method;
import com.vaadin.shared.ui.colorpicker.Color;
@@ -50,7 +51,7 @@ public abstract class AbstractColorPicker extends AbstractComponent implements
/**
* Interface for converting 2d-coordinates to a Color
*/
- public interface Coordinates2Color {
+ public interface Coordinates2Color extends Serializable {
/**
* Calculate color from coordinates
diff --git a/server/src/com/vaadin/ui/components/colorpicker/HasColorChangeListener.java b/server/src/com/vaadin/ui/components/colorpicker/HasColorChangeListener.java
index a5803513b7..c84a90bf6f 100644
--- a/server/src/com/vaadin/ui/components/colorpicker/HasColorChangeListener.java
+++ b/server/src/com/vaadin/ui/components/colorpicker/HasColorChangeListener.java
@@ -15,7 +15,9 @@
*/
package com.vaadin.ui.components.colorpicker;
-public interface HasColorChangeListener {
+import java.io.Serializable;
+
+public interface HasColorChangeListener extends Serializable {
/**
* Adds a {@link ColorChangeListener} to the component.