Adding a public method AbstractHasData#getRowContainer() to give users access to the element that contains all rendered row values. The new public methods delegates to the abstract method getChildContainer(). Making the protected method public would be a breaking change for subclasses because you cannot reduce the visibility of a method in a subclass.
Review at http://gwt-code-reviews.appspot.com/1072801
Review by: rchandia@google.com
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@9178 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/cellview/client/AbstractHasData.java b/user/src/com/google/gwt/user/cellview/client/AbstractHasData.java
index 9b3c431..b819263 100644
--- a/user/src/com/google/gwt/user/cellview/client/AbstractHasData.java
+++ b/user/src/com/google/gwt/user/cellview/client/AbstractHasData.java
@@ -369,6 +369,16 @@
return getVisibleRange().getStart();
}
+ /**
+ * Return the outer element that contains all of the rendered row values. This
+ * method delegates to {@link #getChildContainer()};
+ *
+ * @return the {@link Element} that contains the rendered row values
+ */
+ public Element getRowContainer() {
+ return getChildContainer();
+ }
+
public int getRowCount() {
return presenter.getRowCount();
}