|
||||||||||
| 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>
T - the data type of records in the listpublic abstract class AbstractListViewAdapter<T>
A base implementation of a data source for list views.
Note: This class is new and its interface subject to change.
| Constructor Summary | |
|---|---|
AbstractListViewAdapter()
|
|
| Method Summary | |
|---|---|
void |
addView(ListView<T> view)
Adds a view to this adapter. |
java.lang.Object |
getKey(T item)
Get the key for a list item. |
ProvidesKey<T> |
getKeyProvider()
Get the ProvidesKey that provides keys for list items. |
Range[] |
getRanges()
Get the current ranges of all views. |
java.util.Set<ListView<T>> |
getViews()
Get the set of views currently assigned to this adapter. |
void |
removeView(ListView<T> view)
|
void |
setKeyProvider(ProvidesKey<T> keyProvider)
Set the ProvidesKey that provides keys for list items. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractListViewAdapter()
| Method Detail |
|---|
public void addView(ListView<T> view)
view - a .public java.lang.Object getKey(T item)
getKey in interface ProvidesKey<T>item - the list item
public ProvidesKey<T> getKeyProvider()
ProvidesKey that provides keys for list items.
ProvidesKeypublic Range[] getRanges()
public java.util.Set<ListView<T>> getViews()
ListViewpublic void removeView(ListView<T> view)
public void setKeyProvider(ProvidesKey<T> keyProvider)
ProvidesKey that provides keys for list items.
keyProvider - the ProvidesKey
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||