Interface DataGrid.HasNullRepresentation

All Known Subinterfaces:
DataGrid.ButtonRenderer<T>, DataGrid.ClickableTextRenderer<T>, DataGrid.DateRenderer, DataGrid.HtmlRenderer, DataGrid.LocalDateRenderer, DataGrid.LocalDateTimeRenderer, DataGrid.NumberRenderer, DataGrid.TextRenderer
All Known Implementing Classes:
ButtonRendererImpl, ClickableTextRendererImpl, DateRendererImpl, HtmlRendererImpl, LocalDateRendererImpl, LocalDateTimeRendererImpl, NumberRendererImpl, TextRendererImpl
Enclosing interface:
DataGrid<E>

public static interface DataGrid.HasNullRepresentation
A renderer has a null representation. String value which will be used for rendering if the original value is null.
  • Method Details

    • getNullRepresentation

      String getNullRepresentation()
      Null representation for the renderer.
      Returns:
      a textual representation of null
    • setNullRepresentation

      void setNullRepresentation(String nullRepresentation)
      Sets null representation for the renderer.
      Parameters:
      nullRepresentation - a textual representation of null