We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.data.selection.
Package com.vaadin.flow.data.selection
Interface SelectionListener<C extends Component,T>
Type Parameters:
T
- the type of the selected item
C
- the component type
All Superinterfaces:
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 interface SelectionListener<C extends Component,T>
extends Serializable, EventListener
A listener for SelectionEvent
.
This is a generic listener for both type of selections, single and multiselect.
Since:
1.0.
Author:
Vaadin Ltd
See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
selectionChange
(SelectionEvent<C, T> event) Invoked when the selection has changed.
-
Method Details
-
selectionChange
Invoked when the selection has changed.
Parameters:
event
- the selection event
-