Package io.jmix.ui.component.renderer
Class IconRendererImpl<T>
java.lang.Object
io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer<T,com.vaadin.server.Resource>
io.jmix.ui.component.renderer.IconRendererImpl<T>
- All Implemented Interfaces:
DataGrid.IconRenderer<T>
,DataGrid.Renderer
,RendererWrapper<com.vaadin.server.Resource>
@Component("ui_IconRenderer")
@Scope("prototype")
public class IconRendererImpl<T>
extends AbstractDataGrid.AbstractRenderer<T,com.vaadin.server.Resource>
implements DataGrid.IconRenderer<T>
-
Field Summary
Fields inherited from class io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer
dataGrid, nullRepresentation, renderer
Fields inherited from interface io.jmix.ui.component.DataGrid.IconRenderer
NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
copy
(DataGrid.Renderer existingRenderer) protected com.vaadin.ui.renderers.Renderer<com.vaadin.server.Resource>
com.vaadin.data.ValueProvider<Icons.Icon,
com.vaadin.server.Resource> void
setIconResolver
(IconResolver iconResolver) void
Methods inherited from class io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer
checkRendererNotSet, getColumnByGridColumn, getDataGrid, getImplementation, getNullRepresentation, resetImplementation, setDataGrid, setNullRepresentation
-
Field Details
-
icons
-
iconResolver
-
-
Constructor Details
-
IconRendererImpl
public IconRendererImpl()
-
-
Method Details
-
setIcons
-
setIconResolver
-
createImplementation
protected com.vaadin.ui.renderers.Renderer<com.vaadin.server.Resource> createImplementation()- Specified by:
createImplementation
in classAbstractDataGrid.AbstractRenderer<T,
com.vaadin.server.Resource>
-
copy
- Specified by:
copy
in classAbstractDataGrid.AbstractRenderer<T,
com.vaadin.server.Resource>
-
getPresentationValueProvider
@Nullable public com.vaadin.data.ValueProvider<Icons.Icon,com.vaadin.server.Resource> getPresentationValueProvider()- Overrides:
getPresentationValueProvider
in classAbstractDataGrid.AbstractRenderer<T,
com.vaadin.server.Resource>
-