Package io.jmix.ui.component.renderer
Class HtmlRendererImpl
java.lang.Object
io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer<Object,String>
io.jmix.ui.component.renderer.HtmlRendererImpl
- All Implemented Interfaces:
DataGrid.HasNullRepresentation
,DataGrid.HtmlRenderer
,DataGrid.Renderer
,RendererWrapper<String>
@Component("ui_HtmlRenderer")
@Scope("prototype")
public class HtmlRendererImpl
extends AbstractDataGrid.AbstractRenderer<Object,String>
implements DataGrid.HtmlRenderer
A renderer for presenting HTML content.
-
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.HtmlRenderer
NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
copy
(DataGrid.Renderer existingRenderer) protected com.vaadin.ui.renderers.HtmlRenderer
com.vaadin.ui.renderers.HtmlRenderer
Null representation for the renderer.void
setHtmlSanitizer
(HtmlSanitizer htmlSanitizer) void
setNullRepresentation
(String nullRepresentation) Sets null representation for the renderer.Methods inherited from class io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer
checkRendererNotSet, getColumnByGridColumn, getDataGrid, resetImplementation, setDataGrid
-
Field Details
-
htmlSanitizer
-
-
Constructor Details
-
HtmlRendererImpl
public HtmlRendererImpl() -
HtmlRendererImpl
-
-
Method Details
-
setHtmlSanitizer
-
getImplementation
public com.vaadin.ui.renderers.HtmlRenderer getImplementation()- Specified by:
getImplementation
in interfaceRendererWrapper<String>
- Overrides:
getImplementation
in classAbstractDataGrid.AbstractRenderer<Object,
String>
-
createImplementation
protected com.vaadin.ui.renderers.HtmlRenderer createImplementation()- Specified by:
createImplementation
in classAbstractDataGrid.AbstractRenderer<Object,
String>
-
copy
- Specified by:
copy
in classAbstractDataGrid.AbstractRenderer<Object,
String>
-
getNullRepresentation
Description copied from interface:DataGrid.HasNullRepresentation
Null representation for the renderer.- Specified by:
getNullRepresentation
in interfaceDataGrid.HasNullRepresentation
- Overrides:
getNullRepresentation
in classAbstractDataGrid.AbstractRenderer<Object,
String> - Returns:
- a textual representation of
null
-
setNullRepresentation
Description copied from interface:DataGrid.HasNullRepresentation
Sets null representation for the renderer.- Specified by:
setNullRepresentation
in interfaceDataGrid.HasNullRepresentation
- Overrides:
setNullRepresentation
in classAbstractDataGrid.AbstractRenderer<Object,
String> - Parameters:
nullRepresentation
- a textual representation ofnull
-
getPresentationValueProvider
- Overrides:
getPresentationValueProvider
in classAbstractDataGrid.AbstractRenderer<Object,
String>
-