|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.repeater.DefaultItemReuseStrategy
public class DefaultItemReuseStrategy
Implementation of IItemReuseStrategy
that returns new items every time.
IItemReuseStrategy
,
Serialized FormConstructor Summary | |
---|---|
DefaultItemReuseStrategy()
|
Method Summary | ||
---|---|---|
static IItemReuseStrategy |
getInstance()
|
|
|
getItems(IItemFactory<T> factory,
java.util.Iterator<IModel<T>> newModels,
java.util.Iterator<Item<T>> existingItems)
Returns an iterator over items that will be added to the view. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultItemReuseStrategy()
Method Detail |
---|
public static IItemReuseStrategy getInstance()
public <T> java.util.Iterator<Item<T>> getItems(IItemFactory<T> factory, java.util.Iterator<IModel<T>> newModels, java.util.Iterator<Item<T>> existingItems)
IItemReuseStrategy
getItems
in interface IItemReuseStrategy
T
- type of Itemfactory
- implementation of IItemFactorynewModels
- iterator over models for itemsexistingItems
- iterator over child items
IItemReuseStrategy.getItems(org.apache.wicket.markup.repeater.IItemFactory,
java.util.Iterator, java.util.Iterator)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |