Interface PageItemFactory<T>
- Type Parameters:
T- the source element type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Creates the
RenderedItem for one element of the current page; supplied by the
pagination binding so the engine stays free of renderer concerns.-
Method Summary
Modifier and TypeMethodDescription@NotNull RenderedItemCreates the rendered slot content for one page element.
-
Method Details
-
create
Creates the rendered slot content for one page element.- Parameters:
index- the zero-based position of the element within the current pagevalue- the source element- Returns:
- the rendered slot content, never null
-