com.vaadin.event.selection.

Class SingleSelectionEvent<T>

    • Constructor Detail

      • SingleSelectionEvent

        public SingleSelectionEvent​(AbstractSingleSelect<T> source,
                                    T oldSelection,
                                    boolean userOriginated)

        Creates a new selection change event.

        Parameters:

        source - the listing that fired the event

        oldSelection - the item that was previously selected

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

      • SingleSelectionEvent

        public SingleSelectionEvent​(Component component,
                                    SingleSelect<T> source,
                                    T oldSelection,
                                    boolean userOriginated)

        Creates a new selection change event in a component.

        Parameters:

        component - the 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.