org.apache.wicket.markup.repeater
Interface IItemFactory<T>
- Type Parameters:
T
- Model object type
public interface IItemFactory<T>
Factory interface for creating new child item containers for AbstractPageableView.
- Author:
- Igor Vaynberg (ivaynberg)
- See Also:
AbstractPageableView
Method Summary |
Item<T> |
newItem(int index,
IModel<T> model)
Factory method for instances of Item. |
newItem
Item<T> newItem(int index,
IModel<T> model)
- Factory method for instances of Item. Each generated item must have a unique id with respect
to other generated items.
- Parameters:
index
- the index of the new data itemmodel
- the model for the new data item
- Returns:
- DataItem new DataItem
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.