Package com.vaadin.ui

Class Notification.CloseEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Notification getNotification()
      Gets the Notification.
      boolean isUserOriginated()
      Returns whether this event was triggered by user interaction, on the client side, or programmatically, on the server side.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.