Package com.vaadin.ui

Class Notification.CloseEvent

    • Constructor Detail

      • CloseEvent

        public CloseEvent​(Notification source)
        Parameters:
        source -
      • CloseEvent

        public CloseEvent​(Notification source,
                          boolean userOriginated)
    • Method Detail

      • getNotification

        public Notification getNotification()
        Gets the Notification.
        Returns:
        The Notification
      • isUserOriginated

        public boolean isUserOriginated()
        Description copied from interface: HasUserOriginated
        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.