|
GWT 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the data type of each rowpublic interface HasData<T>
A view that can display a range of data.
| Method Summary | |
|---|---|
SelectionModel<? super T> |
getSelectionModel()
Get the SelectionModel used by this HasData. |
void |
setRowData(int start,
java.util.List<? extends T> values)
Set a values associated with the rows in the visible range. |
void |
setSelectionModel(SelectionModel<? super T> selectionModel)
Set the SelectionModel used by this HasData. |
void |
setVisibleRangeAndClearData(Range range,
boolean forceRangeChangeEvent)
Set the visible range and clear the current visible data. |
| Methods inherited from interface com.google.gwt.view.client.HasRows |
|---|
addRangeChangeHandler, addRowCountChangeHandler, getRowCount, getVisibleRange, isRowCountExact, setRowCount, setRowCount, setVisibleRange, setVisibleRange |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Method Detail |
|---|
SelectionModel<? super T> getSelectionModel()
SelectionModel used by this HasData.
SelectionModelsetSelectionModel(SelectionModel)
void setRowData(int start,
java.util.List<? extends T> values)
start - the start index of the datavalues - the values within the rangevoid setSelectionModel(SelectionModel<? super T> selectionModel)
SelectionModel used by this HasData.
selectionModel - the SelectionModelgetSelectionModel()
void setVisibleRangeAndClearData(Range range,
boolean forceRangeChangeEvent)
Set the visible range and clear the current visible data.
If the second argument forceRangeChangeEvent is true, a
RangeChangeEvent will be fired even if the range does not change.
If false, a RangeChangeEvent will only be fired if the range
changes.
range - the new RangeforceRangeChangeEvent - true to fire a RangeChangeEvent even
if the Range doesn't change
|
GWT 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||