summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2010-07-01 07:38:48 +0000
committerHenri Sara <henri.sara@itmill.com>2010-07-01 07:38:48 +0000
commita0f548a453c199eda1bf546dc940995c424519e7 (patch)
treedf93176e4f753421af0eb2bef3f31a72cbae8743 /src/com/vaadin
parent1d0ecbb504fd593ef09b9989f5509a40a4b4394a (diff)
downloadvaadin-framework-a0f548a453c199eda1bf546dc940995c424519e7.tar.gz
vaadin-framework-a0f548a453c199eda1bf546dc940995c424519e7.zip
#5285 action and event related interfaces should be serializable
svn changeset:13987/svn branch:6.4
Diffstat (limited to 'src/com/vaadin')
-rw-r--r--src/com/vaadin/event/Action.java4
-rw-r--r--src/com/vaadin/event/FieldEvents.java5
2 files changed, 5 insertions, 4 deletions
diff --git a/src/com/vaadin/event/Action.java b/src/com/vaadin/event/Action.java
index fcb8f165b4..b0af0de4be 100644
--- a/src/com/vaadin/event/Action.java
+++ b/src/com/vaadin/event/Action.java
@@ -79,7 +79,7 @@ public class Action implements Serializable {
* Action.Handler interface.<br/>
*
*/
- public interface Listener {
+ public interface Listener extends Serializable {
public void handleAction(Object sender, Object target);
}
@@ -95,7 +95,7 @@ public class Action implements Serializable {
public <T extends Action & Action.Listener> void removeAction(T action);
}
- public interface ShortcutNotifier {
+ public interface ShortcutNotifier extends Serializable {
public void addShortcutListener(ShortcutListener shortcut);
public void removeShortcutListener(ShortcutListener shortcut);
diff --git a/src/com/vaadin/event/FieldEvents.java b/src/com/vaadin/event/FieldEvents.java
index 5aff31e1bf..202b079536 100644
--- a/src/com/vaadin/event/FieldEvents.java
+++ b/src/com/vaadin/event/FieldEvents.java
@@ -4,6 +4,7 @@
package com.vaadin.event;
+import java.io.Serializable;
import java.lang.reflect.Method;
import com.vaadin.terminal.gwt.client.EventId;
@@ -33,7 +34,7 @@ public interface FieldEvents {
* @see FocusListener
* @see FocusEvent
*/
- public interface FocusNotifier {
+ public interface FocusNotifier extends Serializable {
/**
* Adds a <code>FocusListener</code> to the Component which gets fired
* when a <code>Field</code> receives keyboard focus.
@@ -71,7 +72,7 @@ public interface FieldEvents {
* @see BlurListener
* @see BlurEvent
*/
- public interface BlurNotifier {
+ public interface BlurNotifier extends Serializable {
/**
* Adds a <code>BlurListener</code> to the Component which gets fired
* when a <code>Field</code> loses keyboard focus.