Interface JmixUserMenu.Renderer<T>

Type Parameters:
T - the type of the item to be rendered
Enclosing class:
JmixUserMenu<USER>
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 static interface JmixUserMenu.Renderer<T>
A functional interface representing a renderer that generates a Component based on a provided item.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.component.Component
    render(T item)
    Renders a Component based on the provided item.
  • Method Details

    • render

      @Nullable com.vaadin.flow.component.Component render(@Nullable T item)
      Renders a Component based on the provided item.
      Parameters:
      item - the item to be rendered
      Returns:
      the rendered Component, or null