public interface HasRows extends HasHandlers
| Modifier and Type | Method and Description |
|---|---|
HandlerRegistration |
addRangeChangeHandler(RangeChangeEvent.Handler handler)
Add a
RangeChangeEvent.Handler. |
HandlerRegistration |
addRowCountChangeHandler(RowCountChangeEvent.Handler handler)
Add a
RowCountChangeEvent.Handler. |
int |
getRowCount()
Get the total count of all rows.
|
Range |
getVisibleRange()
Get the range of visible rows.
|
boolean |
isRowCountExact()
Check if the total row count is exact, or an estimate.
|
void |
setRowCount(int count)
Set the exact total count of all rows.
|
void |
setRowCount(int count,
boolean isExact)
Set the total count of all rows, specifying whether the count is exact or
an estimate.
|
void |
setVisibleRange(int start,
int length)
Set the visible range or rows.
|
void |
setVisibleRange(Range range)
Set the visible range or rows.
|
fireEventHandlerRegistration addRangeChangeHandler(RangeChangeEvent.Handler handler)
RangeChangeEvent.Handler.handler - the handlerHandlerRegistration to remove the handlerHandlerRegistration addRowCountChangeHandler(RowCountChangeEvent.Handler handler)
RowCountChangeEvent.Handler.handler - the handlerHandlerRegistration to remove the handlerint getRowCount()
setRowCount(int)Range getVisibleRange()
setVisibleRange(Range),
setVisibleRange(int, int)boolean isRowCountExact()
void setRowCount(int count)
setRowCount(int, boolean).count - the exact total countgetRowCount()void setRowCount(int count,
boolean isExact)
count - the total countisExact - true if the count is exact, false if an estimategetRowCount()void setVisibleRange(int start,
int length)
setVisibleRange(Range).start - the start indexlength - the lengthgetVisibleRange()void setVisibleRange(Range range)
range - the visible rangegetVisibleRange()