Package com.vaadin.event.selection
Interface SelectionListener<T>
-
- Type Parameters:
T- the type of the selected item
- All Superinterfaces:
EventListener,Serializable,SerializableEventListener
- 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<T> extends SerializableEventListener
A listener forSelectionEvent.This is a generic listener for both type of selections, single and multiselect.
- Since:
- 8.0
- Author:
- Vaadin Ltd.
- See Also:
SelectionEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidselectionChange(SelectionEvent<T> event)Invoked when the selection has changed by user or programmatically.
-
-
-
Method Detail
-
selectionChange
void selectionChange(SelectionEvent<T> event)
Invoked when the selection has changed by user or programmatically.- Parameters:
event- the selection event
-
-