ColumnSortList can grow indefintely, but some users would like to have only a
limited number of entries within it (usually just one). In such cases it will
reduce the need to call clear() before push(...), reducing the number of header
refresh calls. Adding a new limit field and maintaining the list size according
the limit solves this issue with little overhead.

Review at http://gwt-code-reviews.appspot.com/1625803

Review by: jlabanca@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10826 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed