From 4b4128d0a6f841dbe35e41936c07f0e85b2997ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Mon, 30 Jan 2017 15:25:38 +0200 Subject: [PATCH] Add reference to Column.setId in javadocs of methods accepting col ids (#8360) --- server/src/main/java/com/vaadin/ui/Grid.java | 8 ++++++-- .../java/com/vaadin/ui/components/grid/FooterRow.java | 3 +++ .../java/com/vaadin/ui/components/grid/HeaderRow.java | 3 +++ .../java/com/vaadin/ui/components/grid/StaticSection.java | 2 ++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java index 93afdc2d24..7aed70461e 100644 --- a/server/src/main/java/com/vaadin/ui/Grid.java +++ b/server/src/main/java/com/vaadin/ui/Grid.java @@ -2020,6 +2020,8 @@ public class Grid extends AbstractListing implements HasComponents, /** * Gets a {@link Column} of this grid by its identifying string. * + * @see Column#setId(String) + * * @param columnId * the identifier of the column to get * @return the column corresponding to the given column identifier @@ -2860,9 +2862,9 @@ public class Grid extends AbstractListing implements HasComponents, /** * Sets the sort order to use, given a {@link GridSortOrderBuilder}. * Shorthand for {@code setSortOrder(builder.build())}. - * + * * @see GridSortOrderBuilder - * + * * @param builder * the sort builder to retrieve the sort order from * @throws NullPointerException @@ -3188,6 +3190,8 @@ public class Grid extends AbstractListing implements HasComponents, /** * Sets a user-defined identifier for given column. * + * @see Column#setId(String) + * * @param column * the column * @param id diff --git a/server/src/main/java/com/vaadin/ui/components/grid/FooterRow.java b/server/src/main/java/com/vaadin/ui/components/grid/FooterRow.java index 8d6bd70bf1..23971c3b36 100644 --- a/server/src/main/java/com/vaadin/ui/components/grid/FooterRow.java +++ b/server/src/main/java/com/vaadin/ui/components/grid/FooterRow.java @@ -19,6 +19,7 @@ import java.io.Serializable; import java.util.Set; import com.vaadin.ui.Grid; +import com.vaadin.ui.Grid.Column; /** * A footer row in a Grid. @@ -31,6 +32,8 @@ public interface FooterRow extends Serializable { /** * Returns the cell on this row corresponding to the given column id. * + * @see Column#setId(String) + * * @param columnId * the id of the column whose footer cell to get, not null * @return the footer cell diff --git a/server/src/main/java/com/vaadin/ui/components/grid/HeaderRow.java b/server/src/main/java/com/vaadin/ui/components/grid/HeaderRow.java index 19bcb4d111..e07c44ba0e 100644 --- a/server/src/main/java/com/vaadin/ui/components/grid/HeaderRow.java +++ b/server/src/main/java/com/vaadin/ui/components/grid/HeaderRow.java @@ -19,6 +19,7 @@ import java.io.Serializable; import java.util.Set; import com.vaadin.ui.Grid; +import com.vaadin.ui.Grid.Column; /** * A header row in a Grid. @@ -31,6 +32,8 @@ public interface HeaderRow extends Serializable { /** * Returns the cell on this row corresponding to the given column id. * + * @see Column#setId(String) + * * @param columnId * the id of the column whose header cell to get, not null * @return the header cell diff --git a/server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java b/server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java index a28b971d7a..b621f09ad0 100644 --- a/server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java +++ b/server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java @@ -173,6 +173,8 @@ public abstract class StaticSection> * Returns the cell in this section that corresponds to the given column * id. * + * @see Column#setId(String) + * * @param columnId * the id of the column * @return the cell for the given column -- 2.39.5