diff options
author | Artur Signell <artur@vaadin.com> | 2016-08-25 13:08:17 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2016-08-25 21:32:45 +0300 |
commit | 24a888a2d1dc198d1d88c9e0dbdde1cfe8b0a7f1 (patch) | |
tree | a330f5b0725a9aa5923f9d516000b440585a2db7 /compatibility-client/src | |
parent | 9adce4633a0bf0e994567a027fc9888a0db97dbd (diff) | |
download | vaadin-framework-24a888a2d1dc198d1d88c9e0dbdde1cfe8b0a7f1.tar.gz vaadin-framework-24a888a2d1dc198d1d88c9e0dbdde1cfe8b0a7f1.zip |
Move old PasswordField to compatibility package
Change-Id: I8db672100e06cbe2eb53de2b0ec2a98b8febe70b
Diffstat (limited to 'compatibility-client/src')
-rw-r--r-- | compatibility-client/src/main/java/com/vaadin/client/v7/ui/passwordfield/PasswordFieldConnector.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/client/v7/ui/passwordfield/PasswordFieldConnector.java b/compatibility-client/src/main/java/com/vaadin/client/v7/ui/passwordfield/PasswordFieldConnector.java new file mode 100644 index 0000000000..42a233011b --- /dev/null +++ b/compatibility-client/src/main/java/com/vaadin/client/v7/ui/passwordfield/PasswordFieldConnector.java @@ -0,0 +1,32 @@ +/* + * Copyright 2000-2016 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.client.v7.ui.passwordfield; + +import com.vaadin.client.v7.ui.VLegacyPasswordField; +import com.vaadin.client.v7.ui.textfield.LegacyTextFieldConnector; +import com.vaadin.shared.ui.Connect; +import com.vaadin.v7.ui.PasswordField; + +@Deprecated +@Connect(PasswordField.class) +public class PasswordFieldConnector extends LegacyTextFieldConnector { + + @Override + public VLegacyPasswordField getWidget() { + return (VLegacyPasswordField) super.getWidget(); + } +} |