com.vaadin.ui.

Class TabSheet.SelectedTabChangeEvent

    • Constructor Detail

      • SelectedTabChangeEvent

        public SelectedTabChangeEvent​(Component source,
                                      boolean userOriginated)

        Creates a new instance of the event.

        Parameters:

        source - the source of the event

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

        Since:

        8.1

    • Method Detail

      • getTabSheet

        public TabSheet getTabSheet()

        The TabSheet where the event occurred.

        Returns:

        the TabSheet where the event occurred

      • isUserOriginated

        public boolean isUserOriginated()

        Returns whether this event was triggered by user interaction, on the client side, or programmatically, on the server side.

        Specified by:

        isUserOriginated in interface HasUserOriginated

        Returns:

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

        Since:

        8.1