From 4e1d1321ec50c130aafca8d1251a71f12f5e28d1 Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Wed, 24 Mar 2010 10:05:38 +0000 Subject: fixes #3913 svn changeset:12055/svn branch:6.3 --- src/com/vaadin/event/FieldEvents.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/com/vaadin/event') 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); } -- cgit v1.2.3