Interface RowComponentGenerator<C extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasComponents>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface RowComponentGenerator<C extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasComponents>
Interface for objects generating a component for each row in anItemGrid.- Since:
- 2020-04-16
- Author:
- miki
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CgenerateRowComponent(int rowNumber)Creates a component that corresponds to a given row number.
-
-
-
Method Detail
-
generateRowComponent
C generateRowComponent(int rowNumber)
Creates a component that corresponds to a given row number.- Parameters:
rowNumber- Number of the row to create component for. 0-based.- Returns:
- A component. Must not be
null.
-
-