|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HasRows
Describes an object that displays a range of rows.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Method Detail |
---|
HandlerRegistration addRangeChangeHandler(RangeChangeEvent.Handler handler)
RangeChangeEvent.Handler
.
handler
- the handler
HandlerRegistration
to remove the handlerHandlerRegistration addRowCountChangeHandler(RowCountChangeEvent.Handler handler)
RowCountChangeEvent.Handler
.
handler
- the handler
HandlerRegistration
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()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |