summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSun Zhe <31067185+ZheSun88@users.noreply.github.com>2018-12-28 16:17:14 +0200
committerGitHub <noreply@github.com>2018-12-28 16:17:14 +0200
commit37750089927996833669b61284d28411592868bd (patch)
treee698223cd6c6fbf37c6ed4204fa53dbe71164c87 /server
parent5a8f7e83c18add9adb8e0869a535986f5202c794 (diff)
downloadvaadin-framework-37750089927996833669b61284d28411592868bd.tar.gz
vaadin-framework-37750089927996833669b61284d28411592868bd.zip
Add Javadoc to the ScrollTo methods in TreeGrid (#11399)
* Add Javadoc to the ScrollTo methods in TreeGrid
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/ui/TreeGrid.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/TreeGrid.java b/server/src/main/java/com/vaadin/ui/TreeGrid.java
index 9c01daa047..f405e8766b 100644
--- a/server/src/main/java/com/vaadin/ui/TreeGrid.java
+++ b/server/src/main/java/com/vaadin/ui/TreeGrid.java
@@ -43,6 +43,7 @@ import com.vaadin.event.CollapseEvent.CollapseListener;
import com.vaadin.event.ExpandEvent;
import com.vaadin.event.ExpandEvent.ExpandListener;
import com.vaadin.shared.Registration;
+import com.vaadin.shared.ui.grid.ScrollDestination;
import com.vaadin.shared.ui.treegrid.FocusParentRpc;
import com.vaadin.shared.ui.treegrid.FocusRpc;
import com.vaadin.shared.ui.treegrid.NodeCollapseRpc;
@@ -200,6 +201,26 @@ public class TreeGrid<T> extends Grid<T>
}
/**
+ * This method is inherited from Grid but should never be called directly
+ * with a TreeGrid
+ */
+ @Override
+ @Deprecated
+ public void scrollTo(int row) throws IllegalArgumentException {
+ super.scrollTo(row);
+ }
+
+ /**
+ * This method is inherited from Grid but should never be called directly
+ * with a TreeGrid
+ */
+ @Deprecated
+ @Override
+ public void scrollTo(int row, ScrollDestination destination) {
+ super.scrollTo(row, destination);
+ }
+
+ /**
* Adds an ExpandListener to this TreeGrid.
*
* @see ExpandEvent