diff options
author | Artur Signell <artur@vaadin.com> | 2016-09-30 23:30:42 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2016-10-26 22:11:19 +0300 |
commit | 44603b49f80b4191eca8f82a8cc17243820aa2c4 (patch) | |
tree | 8bbf711428687c8903fb1528598797d88f872310 /shared | |
parent | ece3ac4f2fc3db486796df8c70e9381349a8c091 (diff) | |
download | vaadin-framework-44603b49f80b4191eca8f82a8cc17243820aa2c4.tar.gz vaadin-framework-44603b49f80b4191eca8f82a8cc17243820aa2c4.zip |
Allow defining a focus delegate component for CustomField (#20336)
Change-Id: I1160e7a384b1816204eb7f4b0f52f83ed9e230c0
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/customfield/CustomFieldState.java | 29 |
1 files changed, 29 insertions, 0 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 new file mode 100644 index 0000000000..3f9640c342 --- /dev/null +++ b/shared/src/main/java/com/vaadin/shared/ui/customfield/CustomFieldState.java @@ -0,0 +1,29 @@ +/* + * Copyright 2000-2014 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.vaadin.shared.ui.customfield; + +import com.vaadin.shared.AbstractFieldState; +import com.vaadin.shared.Connector; + +public class CustomFieldState extends AbstractFieldState { + + /** + * The component which should receive focus events instead of the custom + * field wrapper. + */ + public Connector focusDelegate; + +} |