Package io.jmix.ui.component.renderer
Class AbstractClickableRenderer<T,V>
java.lang.Object
io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer<T,V>
io.jmix.ui.component.renderer.AbstractClickableRenderer<T,V>
- All Implemented Interfaces:
DataGrid.HasRendererClickListener<T>
,DataGrid.Renderer
,RendererWrapper<V>
- Direct Known Subclasses:
ButtonRendererImpl
,ClickableTextRendererImpl
,ImageRendererImpl
public abstract class AbstractClickableRenderer<T,V>
extends AbstractDataGrid.AbstractRenderer<T,V>
implements DataGrid.HasRendererClickListener<T>
-
Field Summary
Fields inherited from class io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer
dataGrid, nullRepresentation, renderer
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.ui.renderers.ClickableRenderer.RendererClickListener<T>
void
setRendererClickListener
(Consumer<DataGrid.RendererClickEvent<T>> listener) Sets new renderer click listener.Methods inherited from class io.jmix.ui.component.impl.AbstractDataGrid.AbstractRenderer
checkRendererNotSet, copy, createImplementation, getColumnByGridColumn, getDataGrid, getImplementation, getNullRepresentation, getPresentationValueProvider, resetImplementation, setDataGrid, setNullRepresentation
-
Field Details
-
listener
-
-
Constructor Details
-
AbstractClickableRenderer
public AbstractClickableRenderer() -
AbstractClickableRenderer
-
-
Method Details
-
createClickListenerWrapper
protected com.vaadin.ui.renderers.ClickableRenderer.RendererClickListener<T> createClickListenerWrapper(Consumer<DataGrid.RendererClickEvent<T>> listener) -
setRendererClickListener
Description copied from interface:DataGrid.HasRendererClickListener
Sets new renderer click listener.- Specified by:
setRendererClickListener
in interfaceDataGrid.HasRendererClickListener<T>
- Parameters:
listener
- the listener to set
-