Interface ComponentRenderer<T extends Component>


public interface ComponentRenderer<T extends Component>
A component renderer.
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T extends Component>
    ComponentRenderer<T>
    Returns a no-op component renderer.
    void
    render(T component, ComponentStringBuilder builder)
    Renders the specified component.
  • Method Details

    • noop

      static <T extends Component> ComponentRenderer<T> noop()
      Returns a no-op component renderer.
      Type Parameters:
      T - the component type
      Returns:
      the no-op component renderer
    • render

      void render(T component, ComponentStringBuilder builder)
      Renders the specified component.
      Parameters:
      component - the component
      builder - the component string builder