summaryrefslogtreecommitdiffstats
path: root/server/src/main
diff options
context:
space:
mode:
authorLeif Åstrand <legioth@gmail.com>2017-01-30 15:25:38 +0200
committerDenis <denis@vaadin.com>2017-01-30 15:25:38 +0200
commit4b4128d0a6f841dbe35e41936c07f0e85b2997ec (patch)
tree4d40435a5bb184957670e6050f169b2406052610 /server/src/main
parenta521f1c05edda253564508a702c085c4437fa938 (diff)
downloadvaadin-framework-4b4128d0a6f841dbe35e41936c07f0e85b2997ec.tar.gz
vaadin-framework-4b4128d0a6f841dbe35e41936c07f0e85b2997ec.zip
Add reference to Column.setId in javadocs of methods accepting col ids (#8360)
Diffstat (limited to 'server/src/main')
-rw-r--r--server/src/main/java/com/vaadin/ui/Grid.java8
-rw-r--r--server/src/main/java/com/vaadin/ui/components/grid/FooterRow.java3
-rw-r--r--server/src/main/java/com/vaadin/ui/components/grid/HeaderRow.java3
-rw-r--r--server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java2
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<T> extends AbstractListing<T> 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<T> extends AbstractListing<T> 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<T> extends AbstractListing<T> 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<ROW extends StaticSection.StaticRow<?>>
* 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