com.vaadin.flow.data.selection.

Interface SingleSelectionListener<C extends Component,T>

Type Parameters:

C - the selection component type

T - the type of the selected item

All Superinterfaces:

EventListener, Serializable

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<C extends Component,T> extends Serializable, EventListener

A listener for listening to selection changes on a single selection component.

Since:

1.0.

Author:

Vaadin Ltd

See Also:

  • Method Summary

    Modifier and Type
    Method
    Description
    void

    Invoked when selection has been changed.

  • Method Details

    • selectionChange

      void selectionChange(SingleSelectionEvent<C,T> event)

      Invoked when selection has been changed.

      Parameters:

      event - the single selection event