Class AbstractDataGrid.AbstractRenderer<T,V>

java.lang.Object
io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer<T,V>
All Implemented Interfaces:
DataGrid.Renderer, RendererWrapper<V>
Direct Known Subclasses:
AbstractClickableRenderer, CheckBoxRendererImpl, ComponentRendererImpl, DateRendererImpl, HtmlRendererImpl, IconRendererImpl, LocalDateRendererImpl, LocalDateTimeRendererImpl, NumberRendererImpl, ProgressBarRendererImpl, TextRendererImpl
Enclosing class:
AbstractDataGrid<C extends com.vaadin.ui.Grid<E> & JmixEnhancedGrid<E>,E>

public abstract static class AbstractDataGrid.AbstractRenderer<T,V> extends Object implements RendererWrapper<V>
  • Field Details

    • renderer

      protected com.vaadin.ui.renderers.Renderer<V> renderer
    • dataGrid

      protected AbstractDataGrid<?,T> dataGrid
    • nullRepresentation

      protected String nullRepresentation
  • Constructor Details

    • AbstractRenderer

      protected AbstractRenderer()
    • AbstractRenderer

      protected AbstractRenderer(String nullRepresentation)
  • Method Details

    • getImplementation

      public com.vaadin.ui.renderers.Renderer<V> getImplementation()
      Specified by:
      getImplementation in interface RendererWrapper<T>
    • createImplementation

      protected abstract com.vaadin.ui.renderers.Renderer<V> createImplementation()
    • copy

      protected abstract void copy(DataGrid.Renderer existingRenderer)
    • getPresentationValueProvider

      @Nullable public com.vaadin.data.ValueProvider<?,V> getPresentationValueProvider()
    • resetImplementation

      public void resetImplementation()
      Specified by:
      resetImplementation in interface RendererWrapper<T>
    • getDataGrid

      @Nullable protected AbstractDataGrid<?,T> getDataGrid()
    • setDataGrid

      protected void setDataGrid(@Nullable AbstractDataGrid<?,T> dataGrid)
    • getNullRepresentation

      protected String getNullRepresentation()
    • setNullRepresentation

      protected void setNullRepresentation(String nullRepresentation)
    • getColumnByGridColumn

      protected DataGrid.Column<T> getColumnByGridColumn(com.vaadin.ui.Grid.Column<T,?> column)
    • checkRendererNotSet

      protected void checkRendererNotSet()