From e944b2bda4bb8df30eaa1bcc991a48a135f79bb8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pekka=20Hyv=C3=B6nen?= Date: Fri, 25 Nov 2016 08:52:15 +0200 Subject: [PATCH] Update @since tags for 7.7.5 Change-Id: I73201908b537ca0a65106e03c9bad913b59fae9f --- client/src/main/java/com/vaadin/client/ui/VTextField.java | 5 +++++ client/src/main/java/com/vaadin/client/ui/dd/DragHandle.java | 4 ++++ client/src/main/java/com/vaadin/client/widgets/Grid.java | 4 ++++ .../src/main/java/com/vaadin/data/fieldgroup/FieldGroup.java | 4 ++++ server/src/main/java/com/vaadin/ui/Grid.java | 4 ++++ .../src/main/java/com/vaadin/shared/AbstractFieldState.java | 2 ++ .../java/com/vaadin/shared/ui/grid/ColumnResizeMode.java | 2 ++ .../src/main/java/com/vaadin/shared/ui/grid/GridState.java | 2 ++ 8 files changed, 27 insertions(+) diff --git a/client/src/main/java/com/vaadin/client/ui/VTextField.java b/client/src/main/java/com/vaadin/client/ui/VTextField.java index 1c4f90874e..e6533bfb60 100644 --- a/client/src/main/java/com/vaadin/client/ui/VTextField.java +++ b/client/src/main/java/com/vaadin/client/ui/VTextField.java @@ -530,6 +530,11 @@ public class VTextField extends TextBoxBase implements Field, ChangeHandler, possibleInputError = false; } + /** + * {@inheritDoc} + * + * @since 7.7.5 + */ @Override public boolean isWorkPending() { return scheduled; diff --git a/client/src/main/java/com/vaadin/client/ui/dd/DragHandle.java b/client/src/main/java/com/vaadin/client/ui/dd/DragHandle.java index 5aec3b3fe9..98d665a616 100644 --- a/client/src/main/java/com/vaadin/client/ui/dd/DragHandle.java +++ b/client/src/main/java/com/vaadin/client/ui/dd/DragHandle.java @@ -87,6 +87,8 @@ public class DragHandle { * later) both to provide the "-dragged" style and to make sure * that the drag handle can be properly styled (it's otherwise * invisible) + * + * @since 7.7.5 */ public DragHandle(String baseName) { this(baseName,null); @@ -184,6 +186,8 @@ public class DragHandle { * drag handle first touched, when it's moved and when it's released. * * @param dragHandleCallback the callback object to use (can be null) + * + * @since 7.7.5 */ public void setCallback(DragHandleCallback dragHandleCallback) { userCallback = dragHandleCallback; diff --git a/client/src/main/java/com/vaadin/client/widgets/Grid.java b/client/src/main/java/com/vaadin/client/widgets/Grid.java index 3290aa8a48..e10035f9f7 100644 --- a/client/src/main/java/com/vaadin/client/widgets/Grid.java +++ b/client/src/main/java/com/vaadin/client/widgets/Grid.java @@ -6110,6 +6110,8 @@ public class Grid extends ResizeComposite implements HasSelectionHandlers, * Sets the column resize mode to use. The default mode is {@link ColumnResizeMode.ANIMATED}. * * @param mode a ColumnResizeMode value + * + * @since 7.7.5 */ public void setColumnResizeMode(ColumnResizeMode mode) { columnResizeMode = mode; @@ -6119,6 +6121,8 @@ public class Grid extends ResizeComposite implements HasSelectionHandlers, * Returns the current column resize mode. The default mode is {@link ColumnResizeMode.ANIMATED}. * * @return a ColumnResizeMode value + * + * @since 7.7.5 */ public ColumnResizeMode getColumnResizeMode() { return columnResizeMode; diff --git a/server/src/main/java/com/vaadin/data/fieldgroup/FieldGroup.java b/server/src/main/java/com/vaadin/data/fieldgroup/FieldGroup.java index fadb05cd8c..4bd9ee9beb 100644 --- a/server/src/main/java/com/vaadin/data/fieldgroup/FieldGroup.java +++ b/server/src/main/java/com/vaadin/data/fieldgroup/FieldGroup.java @@ -106,6 +106,8 @@ public class FieldGroup implements Serializable { /** * Binds all fields to the properties in the item in use. + * + * @since 7.7.5 */ protected void bindFields() { for (Field f : fieldToPropertyId.keySet()) { @@ -279,6 +281,8 @@ public class FieldGroup implements Serializable { * * @param field * The field to be cleared + * + * @since 7.7.5 */ protected void clearField(Field field) { // Clear any possible existing binding to clear the field diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java index 6bdcd1377b..6831d215a4 100644 --- a/server/src/main/java/com/vaadin/ui/Grid.java +++ b/server/src/main/java/com/vaadin/ui/Grid.java @@ -5265,6 +5265,8 @@ public class Grid extends AbstractFocusable implements SelectionNotifier, * Sets the column resize mode to use. The default mode is {@link ColumnResizeMode#ANIMATED}. * * @param mode a ColumnResizeMode value + + * @since 7.7.5 */ public void setColumnResizeMode(ColumnResizeMode mode) { getState().columnResizeMode = mode; @@ -5274,6 +5276,8 @@ public class Grid extends AbstractFocusable implements SelectionNotifier, * Returns the current column resize mode. The default mode is {@link ColumnResizeMode#ANIMATED}. * * @return a ColumnResizeMode value + * + * @since 7.7.5 */ public ColumnResizeMode getColumnResizeMode() { return getState(false).columnResizeMode; diff --git a/shared/src/main/java/com/vaadin/shared/AbstractFieldState.java b/shared/src/main/java/com/vaadin/shared/AbstractFieldState.java index 22cb625f98..6f6317193d 100644 --- a/shared/src/main/java/com/vaadin/shared/AbstractFieldState.java +++ b/shared/src/main/java/com/vaadin/shared/AbstractFieldState.java @@ -36,6 +36,8 @@ public class AbstractFieldState extends TabIndexState { *

* This is not used in all fields, but needs to be here for the time being * (#20468). + * + * @since 7.7.5 */ public Connector focusDelegate; } diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnResizeMode.java b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnResizeMode.java index a19a2bb9eb..8bcc1d501e 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnResizeMode.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnResizeMode.java @@ -17,6 +17,8 @@ package com.vaadin.shared.ui.grid; /** * Collection of modes used for resizing columns in the Grid. + * + * @since 7.7.5 */ public enum ColumnResizeMode { diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java index 7786b7e0f3..a050a70759 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java @@ -143,6 +143,8 @@ public class GridState extends TabIndexState { /** * Column resize mode in grid. + * + * @since 7.7.5 */ public ColumnResizeMode columnResizeMode = ColumnResizeMode.ANIMATED; -- 2.39.5