summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2014-11-25 15:14:34 +0200
committerVaadin Code Review <review@vaadin.com>2014-12-01 09:15:02 +0000
commit553866297f3224e5e1bc852e41ac1fed2d51abce (patch)
tree47e39b002f75085b6f0e1bd16961aa7b4e7f6991 /server
parent4e1b181a699efcd083b14270145bd2e540a2f772 (diff)
downloadvaadin-framework-553866297f3224e5e1bc852e41ac1fed2d51abce.tar.gz
vaadin-framework-553866297f3224e5e1bc852e41ac1fed2d51abce.zip
Clarify Header/Footer addRow(index) JavaDoc (#13334)
Change-Id: Ided3d7a4a61754d8445e9f4cd80cb1e7b05a400e
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/ui/Grid.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java
index 7a67be2c97..1b2ed6cd5f 100644
--- a/server/src/com/vaadin/ui/Grid.java
+++ b/server/src/com/vaadin/ui/Grid.java
@@ -3043,7 +3043,9 @@ public class Grid extends AbstractComponent implements SelectionChangeNotifier,
}
/**
- * Inserts a new row at the given position to the header section.
+ * Inserts a new row at the given position to the header section. Shifts the
+ * row currently at that position and any subsequent rows down (adds one to
+ * their indices).
*
* @param index
* the position at which to insert the row
@@ -3199,7 +3201,9 @@ public class Grid extends AbstractComponent implements SelectionChangeNotifier,
}
/**
- * Inserts a new row at the given position to the footer section.
+ * Inserts a new row at the given position to the footer section. Shifts the
+ * row currently at that position and any subsequent rows down (adds one to
+ * their indices).
*
* @param index
* the position at which to insert the row