Package io.jmix.ui.component.renderer
Class ImageRendererImpl<T>
java.lang.Object
io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer<T,V>
io.jmix.ui.component.renderer.AbstractClickableRenderer<T,String>
io.jmix.ui.component.renderer.ImageRendererImpl<T>
- All Implemented Interfaces:
DataGrid.HasRendererClickListener<T>
,DataGrid.ImageRenderer<T>
,DataGrid.Renderer
,RendererWrapper<String>
@Component("ui_ImageRenderer")
@Scope("prototype")
public class ImageRendererImpl<T>
extends AbstractClickableRenderer<T,String>
implements DataGrid.ImageRenderer<T>
A renderer for presenting images. The value of the corresponding property
is used as the image location. Location can be a theme resource or URL.
-
Field Summary
Fields inherited from class io.jmix.ui.component.renderer.AbstractClickableRenderer
listener
Fields inherited from class io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer
dataGrid, nullRepresentation, renderer
Fields inherited from interface io.jmix.ui.component.DataGrid.ImageRenderer
NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
copy
(DataGrid.Renderer existingRenderer) protected com.vaadin.ui.renderers.Renderer<String>
Methods inherited from class io.jmix.ui.component.renderer.AbstractClickableRenderer
createClickListenerWrapper, setRendererClickListener
Methods inherited from class io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer
checkRendererNotSet, getColumnByGridColumn, getDataGrid, getImplementation, getNullRepresentation, getPresentationValueProvider, resetImplementation, setDataGrid, setNullRepresentation
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.ui.component.DataGrid.HasRendererClickListener
setRendererClickListener
-
Constructor Details
-
ImageRendererImpl
public ImageRendererImpl() -
ImageRendererImpl
-
-
Method Details
-
createImplementation
- Specified by:
createImplementation
in classAbstractDataGrid.AbstractRenderer<T,
String>
-
copy
- Specified by:
copy
in classAbstractDataGrid.AbstractRenderer<T,
String>
-