Reviewers: rchandia,
Description:
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.
Please review this at http://gwt-code-reviews.appspot.com/1072801/show
Affected files:
M user/src/com/google/gwt/user/cellview/client/AbstractHasData.java
Index: user/src/com/google/gwt/user/cellview/client/AbstractHasData.java
===================================================================
--- user/src/com/google/gwt/user/cellview/client/AbstractHasData.java
(revision 9169)
+++ user/src/com/google/gwt/user/cellview/client/AbstractHasData.java
(working copy)
@@ -367,6 +367,15 @@
*/
public final int getPageStart() {
return getVisibleRange().getStart();
+ }
+
+ /**
+ * Return the outer element that contains all of the rendered row values.
+ *
+ * @return the {...@link Element} that contains the rendered row values
+ */
+ public Element getRowContainer() {
+ return getChildContainer();
}
public int getRowCount() {
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors