diff options
author | Artur Signell <artur@vaadin.com> | 2016-09-06 21:56:19 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2016-09-07 11:42:20 +0300 |
commit | a18552fb252e452ce93642a946db67af6708a91d (patch) | |
tree | d063abbf8472e0a7a314927150ef4a7ccae330f1 /server/src/main/java/com/vaadin/ui/AbstractTextField.java | |
parent | a3a84d7fb1d87e77ec2cbffdbe6978e62d5d3ab7 (diff) | |
download | vaadin-framework-a18552fb252e452ce93642a946db67af6708a91d.tar.gz vaadin-framework-a18552fb252e452ce93642a946db67af6708a91d.zip |
Add AbstractTextField client side to make mapping 1:1
Change-Id: I4439b995a769d22e0eded7132e2fb09123c25a49
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/AbstractTextField.java')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/AbstractTextField.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbstractTextField.java b/server/src/main/java/com/vaadin/ui/AbstractTextField.java index 75c2067759..e447fd6724 100644 --- a/server/src/main/java/com/vaadin/ui/AbstractTextField.java +++ b/server/src/main/java/com/vaadin/ui/AbstractTextField.java @@ -29,7 +29,7 @@ import com.vaadin.shared.Registration; import com.vaadin.shared.communication.FieldRpc.FocusAndBlurServerRpc; import com.vaadin.shared.ui.textfield.AbstractTextFieldClientRpc; import com.vaadin.shared.ui.textfield.AbstractTextFieldServerRpc; -import com.vaadin.shared.ui.textfield.TextFieldState; +import com.vaadin.shared.ui.textfield.AbstractTextFieldState; import com.vaadin.shared.ui.textfield.ValueChangeMode; import com.vaadin.ui.declarative.DesignAttributeHandler; import com.vaadin.ui.declarative.DesignContext; @@ -42,7 +42,7 @@ import com.vaadin.ui.declarative.DesignContext; */ public abstract class AbstractTextField extends AbstractField<String> { - private final class TextFieldServerRpcImpl + private final class AbstractTextFieldServerRpcImpl implements AbstractTextFieldServerRpc { @Override @@ -54,7 +54,7 @@ public abstract class AbstractTextField extends AbstractField<String> { } } - private final class TextFieldFocusAndBlurRpcImpl + private final class AbstractTextFieldFocusAndBlurRpcImpl implements FocusAndBlurServerRpc { @Override public void blur() { @@ -73,8 +73,8 @@ public abstract class AbstractTextField extends AbstractField<String> { * Creates a new instance. */ protected AbstractTextField() { - registerRpc(new TextFieldServerRpcImpl()); - registerRpc(new TextFieldFocusAndBlurRpcImpl()); + registerRpc(new AbstractTextFieldServerRpcImpl()); + registerRpc(new AbstractTextFieldFocusAndBlurRpcImpl()); } @Override @@ -305,13 +305,13 @@ public abstract class AbstractTextField extends AbstractField<String> { } @Override - protected TextFieldState getState() { - return (TextFieldState) super.getState(); + protected AbstractTextFieldState getState() { + return (AbstractTextFieldState) super.getState(); } @Override - protected TextFieldState getState(boolean markAsDirty) { - return (TextFieldState) super.getState(markAsDirty); + protected AbstractTextFieldState getState(boolean markAsDirty) { + return (AbstractTextFieldState) super.getState(markAsDirty); } @Override |