Package de.intarsys.tools.event
Class NotificationSupportProxy
java.lang.Object
de.intarsys.tools.event.NotificationSupportProxy
- All Implemented Interfaces:
INotificationSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNotificationListener
(EventType type, INotificationListener listener) Addlistener
to the collection of objects to be informed when the receiver triggers an event of typename
.void
removeNotificationListener
(EventType type, INotificationListener listener) Removelistener
from the collection of objects to be informed about events of typename
.void
setDelegate
(INotificationSupport pDelegate)
-
Constructor Details
-
NotificationSupportProxy
public NotificationSupportProxy()
-
-
Method Details
-
addNotificationListener
Description copied from interface:INotificationSupport
Addlistener
to the collection of objects to be informed when the receiver triggers an event of typename
.- Specified by:
addNotificationListener
in interfaceINotificationSupport
- Parameters:
type
- The event type we are interested in.listener
- The object to be informed about an event occurrence
-
getDelegate
-
removeNotificationListener
Description copied from interface:INotificationSupport
Removelistener
from the collection of objects to be informed about events of typename
.- Specified by:
removeNotificationListener
in interfaceINotificationSupport
- Parameters:
type
- The event type we are no longer interested in.listener
- The object registered for the event till now.
-
setDelegate
-