summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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