Interface HoverEvent.Action.Renderer<V>

Type Parameters:
V - the value type
Enclosing class:
HoverEvent.Action<V>

public static sealed interface HoverEvent.Action.Renderer<V>
Type-specific renderer.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    <C> V
    render(ComponentRenderer<C> renderer, C context, V value)
    Renders a value.
  • Method Details

    • render

      <C> V render(ComponentRenderer<C> renderer, C context, V value)
      Renders a value.
      Type Parameters:
      C - the type of the context
      Parameters:
      renderer - the renderer
      context - the context
      value - the value
      Returns:
      the rendered value
      Since:
      4.0.0