Class HtmlRenderer

All Implemented Interfaces:
ClientConnector, FAbstractClientConnector, Renderer<String>, Serializable

public class HtmlRenderer extends FGrid.AbstractRenderer<String>
A renderer for presenting HTML content.
Author:
Vaadin Ltd
See Also:
  • Field Details

  • Constructor Details

    • HtmlRenderer

      public HtmlRenderer(String nullRepresentation)
      Creates a new HTML renderer.
      Parameters:
      nullRepresentation - the html representation of null value
    • HtmlRenderer

      public HtmlRenderer()
      Creates a new HTML renderer.
  • Method Details

    • getNullRepresentation

      public String getNullRepresentation()
      Description copied from class: FGrid.AbstractRenderer
      Null representation for the renderer
      Overrides:
      getNullRepresentation in class FGrid.AbstractRenderer<String>
      Returns:
      a textual representation of null
    • getRenderer

      public com.vaadin.flow.data.renderer.Renderer<String> getRenderer()
      Description copied from interface: Renderer
      Returns the Flow Renderer that will be used to render the items of type T.
      Returns:
      the Flow Renderer for type T
    • createWrapperHtmlComponentRenderer

      protected com.vaadin.flow.data.renderer.ComponentRenderer<com.vaadin.flow.component.Component,Item> createWrapperHtmlComponentRenderer()