Class NotificationCloseEvent


public class NotificationCloseEvent extends ClientEvent<NotificationListener>
Event fired when a notification is closed.
Author:
Marvin P. Warble Jr.
See Also:
  • Constructor Details

    • NotificationCloseEvent

      public NotificationCloseEvent(String tag)
      Constructs a NotificationCloseEvent.
      Parameters:
      tag - The notification tag, or null if none was set.
  • Method Details

    • getTag

      public String getTag()
      Returns the notification tag.
      Returns:
      The tag, or null if none was set.
    • dispatchTo

      public void dispatchTo(NotificationListener listener)
      Description copied from class: Event
      Dispatches this event to the specified listener.

      Subclasses implement this method to call the appropriate handler method on the listener interface.

      Specified by:
      dispatchTo in class Event<NotificationListener>
      Parameters:
      listener - the listener to dispatch this event to
    • toString

      public String toString()
      Overrides:
      toString in class Object