Interface ComponentRenderer<T,X extends AbstractPageContext<?,T,?>>

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 ComponentRenderer<T,X extends AbstractPageContext<?,T,?>>
Converts one page item into a Button.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Button
    render(T item, X context)
    Creates the button to show for the given item.
  • Method Details

    • render

      @NotNull @NotNull Button render(@NotNull T item, @NotNull X context)
      Creates the button to show for the given item.