org.apache.wicket.markup.repeater
Interface IItemFactory


public interface IItemFactory

Factory interface for creating new child item containers for AbstractPageableView.

Author:
Igor Vaynberg (ivaynberg)
See Also:
AbstractPageableView

Method Summary
 Item newItem(int index, IModel model)
          Factory method for instances of Item.
 

Method Detail

newItem

Item newItem(int index,
             IModel 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 item
model - the model for the new data item
Returns:
DataItem new DataItem


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.