Package com.google.gwt.view.client
Interface HasRows
- All Superinterfaces:
- HasHandlers
- All Known Subinterfaces:
- HasData<T>
- All Known Implementing Classes:
- AbstractCellTable,- AbstractHasData,- CellBrowser.BrowserCellList,- CellList,- CellTable,- CellTreeNodeView.NodeCellList,- DataGrid,- HasDataPresenter
Describes an object that displays a range of rows.
- 
Method SummaryModifier and TypeMethodDescriptionAdd aRangeChangeEvent.Handler.Add aRowCountChangeEvent.Handler.intGet the total count of all rows.Get the range of visible rows.booleanCheck if the total row count is exact, or an estimate.voidsetRowCount(int count) Set the exact total count of all rows.voidsetRowCount(int count, boolean isExact) Set the total count of all rows, specifying whether the count is exact or an estimate.voidsetVisibleRange(int start, int length) Set the visible range or rows.voidsetVisibleRange(Range range) Set the visible range or rows.Methods inherited from interface com.google.gwt.event.shared.HasHandlersfireEvent
- 
Method Details- 
addRangeChangeHandlerAdd aRangeChangeEvent.Handler.- Parameters:
- handler- the handler
- Returns:
- a HandlerRegistrationto remove the handler
 
- 
addRowCountChangeHandlerAdd aRowCountChangeEvent.Handler.- Parameters:
- handler- the handler
- Returns:
- a HandlerRegistrationto remove the handler
 
- 
getRowCountint getRowCount()Get the total count of all rows.- Returns:
- the total row count
- See Also:
 
- 
getVisibleRangeRange getVisibleRange()Get the range of visible rows.- Returns:
- the visible range
- See Also:
 
- 
isRowCountExactboolean isRowCountExact()Check if the total row count is exact, or an estimate.- Returns:
- true if exact, false if an estimate
 
- 
setRowCountvoid setRowCount(int count) Set the exact total count of all rows. This method defers tosetRowCount(int, boolean).- Parameters:
- count- the exact total count
- See Also:
 
- 
setRowCountvoid setRowCount(int count, boolean isExact) Set the total count of all rows, specifying whether the count is exact or an estimate.- Parameters:
- count- the total count
- isExact- true if the count is exact, false if an estimate
- See Also:
 
- 
setVisibleRangevoid setVisibleRange(int start, int length) Set the visible range or rows. This method defers tosetVisibleRange(Range).- Parameters:
- start- the start index
- length- the length
- See Also:
 
- 
setVisibleRangeSet the visible range or rows.- Parameters:
- range- the visible range
- See Also:
 
 
-