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
FieldsFields inherited from class io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer
dataGrid, nullRepresentation, rendererFields inherited from interface io.jmix.ui.component.DataGrid.HtmlRenderer
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcopy(DataGrid.Renderer existingRenderer) protected com.vaadin.ui.renderers.HtmlRenderercom.vaadin.ui.renderers.HtmlRendererNull representation for the renderer.voidsetHtmlSanitizer(HtmlSanitizer htmlSanitizer) voidsetNullRepresentation(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:
getImplementationin interfaceRendererWrapper<String>- Overrides:
getImplementationin classAbstractDataGrid.AbstractRenderer<Object,String>
-
createImplementation
protected com.vaadin.ui.renderers.HtmlRenderer createImplementation()- Specified by:
createImplementationin classAbstractDataGrid.AbstractRenderer<Object,String>
-
copy
- Specified by:
copyin classAbstractDataGrid.AbstractRenderer<Object,String>
-
getNullRepresentation
Description copied from interface:DataGrid.HasNullRepresentationNull representation for the renderer.- Specified by:
getNullRepresentationin interfaceDataGrid.HasNullRepresentation- Overrides:
getNullRepresentationin classAbstractDataGrid.AbstractRenderer<Object,String> - Returns:
- a textual representation of
null
-
setNullRepresentation
Description copied from interface:DataGrid.HasNullRepresentationSets null representation for the renderer.- Specified by:
setNullRepresentationin interfaceDataGrid.HasNullRepresentation- Overrides:
setNullRepresentationin classAbstractDataGrid.AbstractRenderer<Object,String> - Parameters:
nullRepresentation- a textual representation ofnull
-
getPresentationValueProvider
- Overrides:
getPresentationValueProviderin classAbstractDataGrid.AbstractRenderer<Object,String>
-