aboutsummaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2016-12-15 13:46:05 +0200
committerAleksi Hietanen <aleksi@vaadin.com>2016-12-15 13:46:05 +0200
commit04f30c6892c8ddf8794ed8561fa6f00beefeec28 (patch)
tree335763bd648d44da995b7a8d0495f07a8c610270 /shared
parent10d4d70b5e2ee7879eec67f1ce91fea01929b5a1 (diff)
downloadvaadin-framework-04f30c6892c8ddf8794ed8561fa6f00beefeec28.tar.gz
vaadin-framework-04f30c6892c8ddf8794ed8561fa6f00beefeec28.zip
Allow defining a focus delegate component for CustomField (#20336)
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/customfield/CustomFieldState.java9
1 files changed, 8 insertions, 1 deletions
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;
+
}