com.vaadin.flow.data.selection.

Class SingleSelectionEvent<C extends Component,T>

    • Constructor Detail

      • SingleSelectionEvent

        public SingleSelectionEvent(C listing,
                                    SingleSelect<C,T> source,
                                    T oldSelection,
                                    boolean userOriginated)

        Creates a new selection change event in a component.

        Parameters:

        listing - the listing component where the event originated

        source - the single select source

        oldSelection - the item that was previously selected

        userOriginated - true if this event originates from the client, false otherwise.