aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/event
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2010-03-24 10:05:38 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2010-03-24 10:05:38 +0000
commit4e1d1321ec50c130aafca8d1251a71f12f5e28d1 (patch)
tree1e90d6c509563ecdd84a9946d45dd81649075e31 /src/com/vaadin/event
parent1b55615e5157517eed59265776bad0dcbbdc53d3 (diff)
downloadvaadin-framework-4e1d1321ec50c130aafca8d1251a71f12f5e28d1.tar.gz
vaadin-framework-4e1d1321ec50c130aafca8d1251a71f12f5e28d1.zip
fixes #3913
svn changeset:12055/svn branch:6.3
Diffstat (limited to 'src/com/vaadin/event')
-rw-r--r--src/com/vaadin/event/FieldEvents.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/com/vaadin/event/FieldEvents.java b/src/com/vaadin/event/FieldEvents.java
index e810798b07..5aff31e1bf 100644
--- a/src/com/vaadin/event/FieldEvents.java
+++ b/src/com/vaadin/event/FieldEvents.java
@@ -6,6 +6,7 @@ package com.vaadin.event;
import java.lang.reflect.Method;
+import com.vaadin.terminal.gwt.client.EventId;
import com.vaadin.tools.ReflectTools;
import com.vaadin.ui.Component;
import com.vaadin.ui.Field;
@@ -97,8 +98,14 @@ public interface FieldEvents {
*
* @since 6.2
*/
+ @SuppressWarnings("serial")
public class FocusEvent extends Component.Event {
+ /**
+ * Identifier for event that can be used in {@link EventRouter}
+ */
+ public static final String EVENT_ID = EventId.FOCUS;
+
public FocusEvent(Component source) {
super(source);
}
@@ -131,8 +138,14 @@ public interface FieldEvents {
*
* @since 6.2
*/
+ @SuppressWarnings("serial")
public class BlurEvent extends Component.Event {
+ /**
+ * Identifier for event that can be used in {@link EventRouter}
+ */
+ public static final String EVENT_ID = EventId.BLUR;
+
public BlurEvent(Component source) {
super(source);
}