Browse Source

Add reference to Column.setId in javadocs of methods accepting col ids (#8360)

tags/8.0.0.beta2
Leif Åstrand 7 years ago
parent
commit
4b4128d0a6

+ 6
- 2
server/src/main/java/com/vaadin/ui/Grid.java View File

@@ -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

+ 3
- 0
server/src/main/java/com/vaadin/ui/components/grid/FooterRow.java View File

@@ -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

+ 3
- 0
server/src/main/java/com/vaadin/ui/components/grid/HeaderRow.java View File

@@ -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

+ 2
- 0
server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java View File

@@ -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

Loading…
Cancel
Save