Browse Source

Use correct version in since for Grid row height methods (#9824)

Related to #9425.
tags/8.2.0.alpha1
Teemu Suo-Anttila 6 years ago
parent
commit
4cd7965fda

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

@@ -3040,7 +3040,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
*
* @param rowHeight
* The height of a row in pixels or -1 for automatic calculation
* @since 8.1.2
* @since 8.2
*/
public void setBodyRowHeight(double rowHeight) {
getState().bodyRowHeight = rowHeight;
@@ -3053,7 +3053,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
*
* @param rowHeight
* The height of a row in pixels or -1 for automatic calculation
* @since 8.1.2
* @since 8.2
*/
public void setHeaderRowHeight(double rowHeight) {
getState().headerRowHeight = rowHeight;
@@ -3066,7 +3066,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
*
* @param rowHeight
* The height of a row in pixels or -1 for automatic calculation
* @since 8.1.2
* @since 8.2
*/
public void setFooterRowHeight(double rowHeight) {
getState().footerRowHeight = rowHeight;
@@ -3093,7 +3093,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* calculation mode.
*
* @return body row height
* @since 8.1.2
* @since 8.2
*/
public double getBodyRowHeight() {
return getState(false).bodyRowHeight;
@@ -3104,7 +3104,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* calculation mode.
*
* @return header row height
* @since 8.1.2
* @since 8.2
*/
public double getHeaderRowHeight() {
return getState(false).headerRowHeight;
@@ -3115,7 +3115,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* calculation mode.
*
* @return footer row height
* @since 8.1.2
* @since 8.2
*/
public double getFooterRowHeight() {
return getState(false).footerRowHeight;

+ 3
- 3
shared/src/main/java/com/vaadin/shared/ui/grid/GridState.java View File

@@ -150,7 +150,7 @@ public class GridState extends AbstractSingleSelectState {
* Explicit body row height in pixels for grid rows, or -1 to calculate
* automatically based on the theme.
*
* @since 8.1.2
* @since 8.2
*/
public double bodyRowHeight = -1;

@@ -158,7 +158,7 @@ public class GridState extends AbstractSingleSelectState {
* Explicit body row height in pixels for grid rows, or -1 to calculate
* automatically based on the theme.
*
* @since 8.1.2
* @since 8.2
*/
public double headerRowHeight = -1;

@@ -166,7 +166,7 @@ public class GridState extends AbstractSingleSelectState {
* Explicit body row height in pixels for grid rows, or -1 to calculate
* automatically based on the theme.
*
* @since 8.1.2
* @since 8.2
*/
public double footerRowHeight = -1;
}

Loading…
Cancel
Save