diff options
author | Denis Anisimov <denis@vaadin.com> | 2016-12-22 13:01:04 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-01-03 09:47:18 +0200 |
commit | 21e8f88ec9e5aa14bc4ab09e09723b614edae173 (patch) | |
tree | b2d6ea1aa5461603528885b1e4b8f2da6541f199 /client | |
parent | 17b5c8dc396ea87a46ec76689fdff5771fabe5dd (diff) | |
download | vaadin-framework-21e8f88ec9e5aa14bc4ab09e09723b614edae173.tar.gz vaadin-framework-21e8f88ec9e5aa14bc4ab09e09723b614edae173.zip |
Add javadocs and @since for the #20469 migration patch.
Diffstat (limited to 'client')
-rw-r--r-- | client/src/main/java/com/vaadin/client/ui/textfield/AbstractTextFieldConnector.java | 5 | ||||
-rw-r--r-- | client/src/main/java/com/vaadin/client/ui/textfield/ValueChangeHandler.java | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/textfield/AbstractTextFieldConnector.java b/client/src/main/java/com/vaadin/client/ui/textfield/AbstractTextFieldConnector.java index 50aa186bb1..11dde21478 100644 --- a/client/src/main/java/com/vaadin/client/ui/textfield/AbstractTextFieldConnector.java +++ b/client/src/main/java/com/vaadin/client/ui/textfield/AbstractTextFieldConnector.java @@ -135,6 +135,11 @@ public abstract class AbstractTextFieldConnector extends AbstractFieldConnector sendValueChange(); } + /** + * {@inheritDoc} + * + * @since 8.0.0 + */ @Override public boolean isWorkPending() { return getValueChangeHandler().isScheduled(); diff --git a/client/src/main/java/com/vaadin/client/ui/textfield/ValueChangeHandler.java b/client/src/main/java/com/vaadin/client/ui/textfield/ValueChangeHandler.java index 65d820c19a..e8c1ea9c51 100644 --- a/client/src/main/java/com/vaadin/client/ui/textfield/ValueChangeHandler.java +++ b/client/src/main/java/com/vaadin/client/ui/textfield/ValueChangeHandler.java @@ -134,6 +134,14 @@ public class ValueChangeHandler { this.valueChangeTimeout = valueChangeTimeout; } + /** + * Checks whether the value change is scheduled for sending. + * + * @since 8.0.0 + * + * @return {@code true} if value change is scheduled for sending, + * {@code false} otherwise + */ public boolean isScheduled() { return scheduled; } |