public class

PageSizePager

extends AbstractPager
java.lang.Object
   ↳ com.google.gwt.user.client.ui.UIObject
     ↳ com.google.gwt.user.client.ui.Widget
       ↳ com.google.gwt.user.client.ui.Composite
         ↳ com.google.gwt.user.cellview.client.AbstractPager
           ↳ com.google.gwt.user.cellview.client.PageSizePager

Class Overview

A simple pager that controls the page size.

Summary

[Expand]
Inherited Constants
From class com.google.gwt.user.client.ui.UIObject
Public Constructors
PageSizePager(int increment)
Construct a PageSizePager with a given increment.
Public Methods
void setDisplay(HasRows display)
Set the HasRows to be paged.
void setPageSize(int pageSize)
Set the page size of the display.
Protected Methods
void onRangeOrRowCountChanged()
Called when the range or row count changes.
[Expand]
Inherited Methods
From class com.google.gwt.user.cellview.client.AbstractPager
From class com.google.gwt.user.client.ui.Composite
From class com.google.gwt.user.client.ui.Widget
From class com.google.gwt.user.client.ui.UIObject
From class java.lang.Object
From interface com.google.gwt.event.logical.shared.HasAttachHandlers
From interface com.google.gwt.event.shared.HasHandlers
From interface com.google.gwt.user.client.EventListener
From interface com.google.gwt.user.client.ui.IsWidget

Public Constructors

public PageSizePager (int increment)

Construct a PageSizePager with a given increment.

Parameters
increment the amount by which to increase the page size

Public Methods

public void setDisplay (HasRows display)

Set the HasRows to be paged.

Parameters
display the HasRows

public void setPageSize (int pageSize)

Set the page size of the display.

Parameters
pageSize the new page size

Protected Methods

protected void onRangeOrRowCountChanged ()

Called when the range or row count changes. Implement this method to update the pager.