Package ch.swingfx.twinkle.event
Class NotificationEventAdapter
- java.lang.Object
-
- ch.swingfx.twinkle.event.NotificationEventAdapter
-
- All Implemented Interfaces:
INotificationEventListener
public abstract class NotificationEventAdapter extends java.lang.Object implements 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:
INotificationEventListener
-
-
Constructor Summary
Constructors Constructor Description NotificationEventAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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.
-
-
-
Method Detail
-
opened
public void opened(NotificationEvent event)
Description copied from interface:INotificationEventListener
Called if the notification is opened.- Specified by:
opened
in interfaceINotificationEventListener
- Parameters:
event
- Details of the event
-
clicked
public void clicked(NotificationEvent event)
Description copied from interface:INotificationEventListener
Called if somebody clicked on the notification.- Specified by:
clicked
in interfaceINotificationEventListener
- Parameters:
event
- Details of the event
-
mouseOver
public void mouseOver(NotificationEvent event)
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
public void mouseOut(NotificationEvent event)
Description copied from interface:INotificationEventListener
Called if the mouse leaves the notification.- Specified by:
mouseOut
in interfaceINotificationEventListener
- Parameters:
event
- Details of the event
-
closed
public void closed(NotificationEvent event)
Description copied from interface:INotificationEventListener
Called if the notification is closed.- Specified by:
closed
in interfaceINotificationEventListener
- Parameters:
event
- Details of the event
-
-