Package com.storedobject.vaadin
Interface ItemsSelectedListener<T>
- Type Parameters:
T- Type of item selected.
- All Superinterfaces:
ItemSelectedListener<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for listening on selected items (especially in
Grid.- Author:
- Syam
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiditemSelected(com.vaadin.flow.component.Component component, T item) Method called when an item is selected/deselected.voiditemsSelected(com.vaadin.flow.component.Component component, Set<T> items) Method called when set of items are selected.
-
Method Details
-
itemSelected
Description copied from interface:ItemSelectedListenerMethod called when an item is selected/deselected.- Specified by:
itemSelectedin interfaceItemSelectedListener<T>- Parameters:
component- Component from which the item is selecteditem- Selected item. It will be null when a previously selected item was deselected.
-
itemsSelected
-