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:
  • Method Summary

    Modifier and Type
    Method
    Description
    newItem(int index, IModel<T> model)
    Factory method for instances of Item.
  • Method Details

    • 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 item
      model - the model for the new data item
      Returns:
      DataItem new DataItem