Package ch.swingfx.twinkle.event
Class NotificationEventAdapter
java.lang.Object
ch.swingfx.twinkle.event.NotificationEventAdapter
- All Implemented Interfaces:
INotificationEventListener
An abstract adapter class for receiving notification events.
The methods in this class are empty. This class exists as convenience for creating listener objects.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clicked
(NotificationEvent event) Called if somebody clicked on the notification.void
closed
(NotificationEvent event) Called if the notification is closed.void
mouseOut
(NotificationEvent event) Called if the mouse leaves the notification.void
mouseOver
(NotificationEvent event) Called if the mouse is over the notification.void
opened
(NotificationEvent event) Called if the notification is opened.
-
Constructor Details
-
NotificationEventAdapter
public NotificationEventAdapter()
-
-
Method Details
-
opened
Description copied from interface:INotificationEventListener
Called if the notification is opened.- Specified by:
opened
in interfaceINotificationEventListener
- Parameters:
event
- Details of the event
-
clicked
Description copied from interface:INotificationEventListener
Called if somebody clicked on the notification.- Specified by:
clicked
in interfaceINotificationEventListener
- Parameters:
event
- Details of the event
-
mouseOver
Description copied from interface:INotificationEventListener
Called if the mouse is over the notification.- Specified by:
mouseOver
in interfaceINotificationEventListener
- Parameters:
event
- Details of the event
-
mouseOut
Description copied from interface:INotificationEventListener
Called if the mouse leaves the notification.- Specified by:
mouseOut
in interfaceINotificationEventListener
- Parameters:
event
- Details of the event
-
closed
Description copied from interface:INotificationEventListener
Called if the notification is closed.- Specified by:
closed
in interfaceINotificationEventListener
- Parameters:
event
- Details of the event
-