Package com.vaadin.event.selection
Interface SingleSelectionListener<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 SingleSelectionListener<T> extends SerializableEventListener
A listener for listening to selection changes on a single selection component.- Since:
- 8.0
- Author:
- Vaadin Ltd.
- See Also:
SelectionModel.Single,SingleSelectionEvent
-
-
Field Summary
Fields Modifier and Type Field Description static MethodSELECTION_CHANGE_METHODDeprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidselectionChange(SingleSelectionEvent<T> event)Invoked when selection has been changed by the user or programmatically.
-
-
-
Field Detail
-
SELECTION_CHANGE_METHOD
@Deprecated static final Method SELECTION_CHANGE_METHOD
Deprecated.For internal use only. Might be removed in the future.
-
-
Method Detail
-
selectionChange
void selectionChange(SingleSelectionEvent<T> event)
Invoked when selection has been changed by the user or programmatically.- Parameters:
event- the selection event
-
-