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 voidclicked(NotificationEvent event)Called if somebody clicked on the notification.voidclosed(NotificationEvent event)Called if the notification is closed.voidmouseOut(NotificationEvent event)Called if the mouse leaves the notification.voidmouseOver(NotificationEvent event)Called if the mouse is over the notification.voidopened(NotificationEvent event)Called if the notification is opened.
-
-
-
Method Detail
-
opened
public void opened(NotificationEvent event)
Description copied from interface:INotificationEventListenerCalled if the notification is opened.- Specified by:
openedin interfaceINotificationEventListener- Parameters:
event- Details of the event
-
clicked
public void clicked(NotificationEvent event)
Description copied from interface:INotificationEventListenerCalled if somebody clicked on the notification.- Specified by:
clickedin interfaceINotificationEventListener- Parameters:
event- Details of the event
-
mouseOver
public void mouseOver(NotificationEvent event)
Description copied from interface:INotificationEventListenerCalled if the mouse is over the notification.- Specified by:
mouseOverin interfaceINotificationEventListener- Parameters:
event- Details of the event
-
mouseOut
public void mouseOut(NotificationEvent event)
Description copied from interface:INotificationEventListenerCalled if the mouse leaves the notification.- Specified by:
mouseOutin interfaceINotificationEventListener- Parameters:
event- Details of the event
-
closed
public void closed(NotificationEvent event)
Description copied from interface:INotificationEventListenerCalled if the notification is closed.- Specified by:
closedin interfaceINotificationEventListener- Parameters:
event- Details of the event
-
-