org.gwtwidgets.client.ui.pagination
Class DefaultPaginationBehavior
java.lang.Object
org.gwtwidgets.client.ui.pagination.DefaultPaginationBehavior
public abstract class DefaultPaginationBehavior
- extends java.lang.Object
Default Pagination Behavior
CSS Style Rules
- .oddRow { }
- .evenRow { }
- .oddCell { }
- .evenCell { }
- .headerRow { }
- .headerCell { }
- .pagingRow { }
- .noPreviousPageCell { }
- .previousPageCell { }
- .pageCell { }
- .currentPageCell { }
- .noNextPageCell { }
- .nextPageCell { }
- Author:
- Joe Toth (joetoth@gmail.com)
|
Constructor Summary |
DefaultPaginationBehavior(com.google.gwt.user.client.ui.FlexTable[] pagingControls,
com.google.gwt.user.client.ui.FlexTable resultsTable,
int resultsPerPage)
|
DefaultPaginationBehavior(com.google.gwt.user.client.ui.FlexTable pagingControl,
com.google.gwt.user.client.ui.FlexTable resultsTable,
int resultsPerPage)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPaginationBehavior
public DefaultPaginationBehavior(com.google.gwt.user.client.ui.FlexTable pagingControl,
com.google.gwt.user.client.ui.FlexTable resultsTable,
int resultsPerPage)
DefaultPaginationBehavior
public DefaultPaginationBehavior(com.google.gwt.user.client.ui.FlexTable[] pagingControls,
com.google.gwt.user.client.ui.FlexTable resultsTable,
int resultsPerPage)
setCell
public void setCell(int row,
int column,
com.google.gwt.user.client.ui.Widget widget)
showPage
public void showPage(int pageNumber,
java.lang.String orderByProperty,
boolean isAscending)
getDataProvider
protected abstract DataProvider getDataProvider()
getRowRenderer
protected abstract RowRenderer getRowRenderer()
getColumns
protected abstract Column[] getColumns()
onUpdateSuccess
protected void onUpdateSuccess(java.lang.Object result)
onUpdateFailure
protected void onUpdateFailure(java.lang.Throwable caught)
getRowCount
public int getRowCount()
getParameters
public PaginationParameters getParameters()
getResultsPerPage
public int getResultsPerPage()
getPage
public int getPage()
getResults
public Results getResults()
getNextPageText
public java.lang.String getNextPageText()
setNextPageText
public void setNextPageText(java.lang.String nextPageText)
getPreviousPageText
public java.lang.String getPreviousPageText()
setPreviousPageText
public void setPreviousPageText(java.lang.String previousPageText)
getMaxPageLinks
public int getMaxPageLinks()
setMaxPageLinks
public void setMaxPageLinks(int maxPageLinks)
Copyright © 2009. All Rights Reserved.