Class Item<T>

Type Parameters:
T - Model object type
All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IGenericComponent<T,ListItem<T>>, IMetadataContext<Serializable,Component>, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable
Direct Known Subclasses:
BranchItem, OddEvenItem

public class Item<T> extends ListItem<T>
Container that holds components in a RefreshingView. One Item represents one entire row of the view. Users should add all containing components to the Item instead of the view, this is accomplished by implementing refreshingView.populateItem(Item item).
Author:
Igor Vaynberg (ivaynberg)
See Also:
  • Constructor Details

    • Item

      public Item(String id, int index, IModel<T> model)
      Constructor
      Parameters:
      id - component id
      index - relative index of this item in the pageable view
      model - model for this item
    • Item

      public Item(String id, int index)
      Constructor
      Parameters:
      id - component id
      index - relative index of this item in the pageable view
  • Method Details