List of usage examples for com.google.gwt.user.cellview.client AbstractHasData setPageSize
public final void setPageSize(int pageSize)
From source file:org.hudsonci.maven.plugin.ui.gwt.buildinfo.internal.BuildSummaryViewImpl.java
License:Open Source License
/** * @return the view passed in for method chaining. *//* w w w .j a v a 2 s. c o m*/ private <T> AbstractHasData<T> initModuleSummary(final AbstractHasData<T> moduleView) { moduleView.addRowCountChangeHandler(new RowCountChangeEvent.Handler() { public void onRowCountChange(RowCountChangeEvent event) { moduleView.setPageSize(event.getNewRowCount()); } }); return moduleView; }
From source file:org.hudsonci.maven.plugin.ui.gwt.buildinfo.internal.ModuleInfoPickerTableView.java
License:Open Source License
/** * @return the view passed in for method chaining. *//*from w w w. j a v a2 s .co m*/ private <T> AbstractHasData<T> init(final AbstractHasData<T> moduleView) { moduleView.addRowCountChangeHandler(new RowCountChangeEvent.Handler() { public void onRowCountChange(RowCountChangeEvent event) { moduleView.setPageSize(event.getNewRowCount()); } }); return moduleView; }