From 04f30c6892c8ddf8794ed8561fa6f00beefeec28 Mon Sep 17 00:00:00 2001 From: Pekka Hyvönen Date: Thu, 15 Dec 2016 13:46:05 +0200 Subject: Allow defining a focus delegate component for CustomField (#20336) --- .../java/com/vaadin/shared/ui/customfield/CustomFieldState.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'shared') diff --git a/shared/src/main/java/com/vaadin/shared/ui/customfield/CustomFieldState.java b/shared/src/main/java/com/vaadin/shared/ui/customfield/CustomFieldState.java index 467a5ebe99..2884f77d6b 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/customfield/CustomFieldState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/customfield/CustomFieldState.java @@ -16,14 +16,21 @@ package com.vaadin.shared.ui.customfield; import com.vaadin.shared.AbstractFieldState; +import com.vaadin.shared.Connector; /** * State class for CustomField. - * + * * @author Vaadin Ltd * @since 8.0 * */ public class CustomFieldState extends AbstractFieldState { + /** + * The component which should receive focus events instead of the custom + * field wrapper. + */ + public Connector focusDelegate; + } -- cgit v1.2.3