| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PAGER_LENGTH |
| Constructor and Description |
|---|
KiePager(org.gwtbootstrap3.client.ui.html.Span currentRange,
org.gwtbootstrap3.client.ui.html.Span rowCount,
org.gwtbootstrap3.client.ui.Anchor previousPageButton,
org.gwtbootstrap3.client.ui.Anchor nextPageButton) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(List<T> data) |
com.google.gwt.event.shared.HandlerRegistration |
addRangeChangeHandler(com.google.gwt.view.client.RangeChangeEvent.Handler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addRowCountChangeHandler(com.google.gwt.view.client.RowCountChangeEvent.Handler handler) |
void |
fireEvent(com.google.gwt.event.shared.GwtEvent<?> event) |
com.google.gwt.user.cellview.client.SimplePager |
getPager() |
int |
getRowCount() |
com.google.gwt.view.client.Range |
getVisibleRange() |
void |
initKiePager() |
boolean |
isRowCountExact() |
void |
next(com.google.gwt.event.dom.client.ClickEvent e) |
void |
previous(com.google.gwt.event.dom.client.ClickEvent e) |
void |
refresh() |
void |
setPresenter(org.jboss.errai.databinding.client.components.ListComponent<T,?> listPresenter) |
void |
setRowCount(int count) |
void |
setRowCount(int count,
boolean isExact) |
void |
setVisibleRange(int start,
int length) |
void |
setVisibleRange(com.google.gwt.view.client.Range range) |
void |
sortBy(Comparator<T> comparator) |
public static final int DEFAULT_PAGER_LENGTH
@Inject
public KiePager(org.gwtbootstrap3.client.ui.html.Span currentRange,
org.gwtbootstrap3.client.ui.html.Span rowCount,
org.gwtbootstrap3.client.ui.Anchor previousPageButton,
org.gwtbootstrap3.client.ui.Anchor nextPageButton)
@PostConstruct public void initKiePager()
public com.google.gwt.user.cellview.client.SimplePager getPager()
public void setPresenter(org.jboss.errai.databinding.client.components.ListComponent<T,?> listPresenter)
@EventHandler(value="previousPageButton") public void previous(com.google.gwt.event.dom.client.ClickEvent e)
@EventHandler(value="nextPageButton") public void next(com.google.gwt.event.dom.client.ClickEvent e)
public void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
fireEvent in interface com.google.gwt.event.shared.HasHandlerspublic com.google.gwt.event.shared.HandlerRegistration addRangeChangeHandler(com.google.gwt.view.client.RangeChangeEvent.Handler handler)
addRangeChangeHandler in interface com.google.gwt.view.client.HasRowspublic com.google.gwt.event.shared.HandlerRegistration addRowCountChangeHandler(com.google.gwt.view.client.RowCountChangeEvent.Handler handler)
addRowCountChangeHandler in interface com.google.gwt.view.client.HasRowspublic int getRowCount()
getRowCount in interface com.google.gwt.view.client.HasRowspublic com.google.gwt.view.client.Range getVisibleRange()
getVisibleRange in interface com.google.gwt.view.client.HasRowspublic boolean isRowCountExact()
isRowCountExact in interface com.google.gwt.view.client.HasRowspublic void setRowCount(int count)
setRowCount in interface com.google.gwt.view.client.HasRowspublic void setRowCount(int count,
boolean isExact)
setRowCount in interface com.google.gwt.view.client.HasRowspublic void setVisibleRange(int start,
int length)
setVisibleRange in interface com.google.gwt.view.client.HasRowspublic void setVisibleRange(com.google.gwt.view.client.Range range)
setVisibleRange in interface com.google.gwt.view.client.HasRowspublic void refresh()
public void sortBy(Comparator<T> comparator)
Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.