public interface IItemReuseStrategy
extends org.apache.wicket.util.io.IClusterable
Notice: Child items will be rendered in the order they are provided by the returned iterator, so it is important that the strategy preserve this order
| Modifier and Type | Method and Description |
|---|---|
<T> Iterator<Item<T>> |
getItems(IItemFactory<T> factory,
Iterator<IModel<T>> newModels,
Iterator<Item<T>> existingItems)
Returns an iterator over items that will be added to the view.
|
<T> Iterator<Item<T>> getItems(IItemFactory<T> factory, Iterator<IModel<T>> newModels, Iterator<Item<T>> existingItems)
T - type of Itemfactory - implementation of IItemFactorynewModels - iterator over models for itemsexistingItems - iterator over child itemsCopyright © 2006–2018 Apache Software Foundation. All rights reserved.