Package com.vaadin.flow.data.renderer
Interface ClickableRenderer.ItemClickListener<SOURCE>
- Type Parameters:
SOURCE
- the type of the clicked item
- All Superinterfaces:
Serializable
- Enclosing interface:
- ClickableRenderer<SOURCE>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface ClickableRenderer.ItemClickListener<SOURCE>
extends Serializable
Listener that receives the clicked item (or tapped item, in touch
devices).
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onItemClicked
(SOURCE item) Notifies when an item is clicked or tapped in the target component.
-
Method Details
-
onItemClicked
Notifies when an item is clicked or tapped in the target component.- Parameters:
item
- the clicked or tapped item
-