|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.extensions.markup.html.repeater.util.EmptyDataProvider
A convienience class to represent an empty data provider.
| Constructor Summary | |
EmptyDataProvider()
|
|
| Method Summary | |
static EmptyDataProvider |
getInstance()
|
java.util.Iterator |
iterator(int first,
int count)
Gets an iterator for the subset of total data |
wicket.model.IModel |
model(java.lang.Object object)
Callback used by the consumer of this data provider to wrap objects retrieved from iterator(int, int) with a model (usually a
detachable one). |
int |
size()
Gets total number of items in the collection represented by the DataProvider |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EmptyDataProvider()
| Method Detail |
public static EmptyDataProvider getInstance()
public java.util.Iterator iterator(int first,
int count)
IDataProvider
iterator in interface IDataProviderfirst - first row of datacount - minumum number of elements to retrieve
IDataProvider.iterator(int,
int)public int size()
IDataProvider
size in interface IDataProviderIDataProvider.size()public wicket.model.IModel model(java.lang.Object object)
IDataProviderIDataProvider.iterator(int, int) with a model (usually a
detachable one).
model in interface IDataProviderobject - the object that needs to be wrapped
IDataProvider.model(java.lang.Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||