|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.view.client.AbstractListViewAdapter<T>
com.google.gwt.view.client.ListViewAdapter<T>
T - the data type of the listpublic class ListViewAdapter<T>
A concrete subclass of AbstractListViewAdapter that is backed by an
in-memory list.
Note: This class is new and its interface subject to change.
| Constructor Summary | |
|---|---|
ListViewAdapter()
Creates an empty model. |
|
ListViewAdapter(java.util.List<T> wrappee)
Creates a list model that wraps the given collection. |
|
| Method Summary | |
|---|---|
void |
flush()
Flush pending list changes to the views. |
java.util.List<T> |
getList()
Get the list that backs this model. |
void |
refresh()
Refresh all of the views listening to this adapter. |
void |
setList(java.util.List<T> wrappee)
Replaces this model's list. |
| Methods inherited from class com.google.gwt.view.client.AbstractListViewAdapter |
|---|
addView, getKey, getKeyProvider, getRanges, getViews, removeView, setKeyProvider |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListViewAdapter()
public ListViewAdapter(java.util.List<T> wrappee)
| Method Detail |
|---|
public void flush()
public java.util.List<T> getList()
public void refresh()
public void setList(java.util.List<T> wrappee)
wrappee - the model's new list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||