aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-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 /compatibility-shared
parent10d4d70b5e2ee7879eec67f1ce91fea01929b5a1 (diff)
downloadvaadin-framework-04f30c6892c8ddf8794ed8561fa6f00beefeec28.tar.gz
vaadin-framework-04f30c6892c8ddf8794ed8561fa6f00beefeec28.zip
Allow defining a focus delegate component for CustomField (#20336)
Diffstat (limited to 'compatibility-shared')
-rw-r--r--compatibility-shared/src/main/java/com/vaadin/v7/shared/AbstractFieldState.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/AbstractFieldState.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/AbstractFieldState.java
index 36e65acabe..8f69abc302 100644
--- a/compatibility-shared/src/main/java/com/vaadin/v7/shared/AbstractFieldState.java
+++ b/compatibility-shared/src/main/java/com/vaadin/v7/shared/AbstractFieldState.java
@@ -15,6 +15,7 @@
*/
package com.vaadin.v7.shared;
+import com.vaadin.shared.Connector;
import com.vaadin.shared.annotations.NoLayout;
/**
@@ -34,4 +35,13 @@ public class AbstractFieldState extends AbstractLegacyComponentState {
*/
@NoLayout
public int tabIndex = 0;
+
+ /**
+ * The component which should receive focus events instead of the custom
+ * field wrapper.
+ * <p>
+ * This is not used in all fields, but needs to be here for the time being
+ * (#20468).
+ */
+ public Connector focusDelegate;
}