public interface

HasRows

implements HasHandlers
com.google.gwt.view.client.HasRows
Known Indirect Subclasses

Class Overview

Describes an object that displays a range of rows.

Summary

Public Methods
abstract HandlerRegistration addRangeChangeHandler(RangeChangeEvent.Handler handler)
abstract HandlerRegistration addRowCountChangeHandler(RowCountChangeEvent.Handler handler)
abstract int getRowCount()
Get the total count of all rows.
abstract Range getVisibleRange()
Get the range of visible rows.
abstract boolean isRowCountExact()
Check if the total row count is exact, or an estimate.
abstract void setRowCount(int count, boolean isExact)
Set the total count of all rows, specifying whether the count is exact or an estimate.
abstract void setRowCount(int count)
Set the exact total count of all rows.
abstract void setVisibleRange(Range range)
Set the visible range or rows.
abstract void setVisibleRange(int start, int length)
Set the visible range or rows.
[Expand]
Inherited Methods
From interface com.google.gwt.event.shared.HasHandlers

Public Methods

public abstract HandlerRegistration addRangeChangeHandler (RangeChangeEvent.Handler handler)

Parameters
handler the handler
Returns

public abstract HandlerRegistration addRowCountChangeHandler (RowCountChangeEvent.Handler handler)

Parameters
handler the handler
Returns

public abstract int getRowCount ()

Get the total count of all rows.

Returns
  • the total row count
See Also

public abstract Range getVisibleRange ()

Get the range of visible rows.

Returns
  • the visible range

public abstract boolean isRowCountExact ()

Check if the total row count is exact, or an estimate.

Returns
  • true if exact, false if an estimate

public abstract void 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

public abstract void setRowCount (int count)

Set the exact total count of all rows. This method defers to setRowCount(int, boolean).

Parameters
count the exact total count
See Also

public abstract void setVisibleRange (Range range)

Set the visible range or rows.

Parameters
range the visible range

public abstract void setVisibleRange (int start, int length)

Set the visible range or rows. This method defers to setVisibleRange(Range).

Parameters
start the start index
length the length