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 Detail

      • newItem

        Item<TnewItem​(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 item
        model - the model for the new data item
        Returns:
        DataItem new DataItem