intarsys runtime library

de.intarsys.tools.event
Class NotificationSupportProxy

java.lang.Object
  extended by de.intarsys.tools.event.NotificationSupportProxy
All Implemented Interfaces:
INotificationSupport

public class NotificationSupportProxy
extends Object
implements INotificationSupport


Constructor Summary
NotificationSupportProxy()
           
 
Method Summary
 void addNotificationListener(EventType type, INotificationListener listener)
          Add listener to the collection of objects to be informed when the receiver triggers an event of type name.
 INotificationSupport getDelegate()
           
 void removeNotificationListener(EventType type, INotificationListener listener)
          Remove listener from the collection of objects to be informed about events of type name.
 void setDelegate(INotificationSupport pDelegate)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationSupportProxy

public NotificationSupportProxy()
Method Detail

addNotificationListener

public void addNotificationListener(EventType type,
                                    INotificationListener listener)
Description copied from interface: INotificationSupport
Add listener to the collection of objects to be informed when the receiver triggers an event of type name.

Specified by:
addNotificationListener in interface INotificationSupport
Parameters:
type - The event type we are interested in.
listener - The object to be informed about an event occurrence

getDelegate

public INotificationSupport getDelegate()

removeNotificationListener

public void removeNotificationListener(EventType type,
                                       INotificationListener listener)
Description copied from interface: INotificationSupport
Remove listener from the collection of objects to be informed about events of type name.

Specified by:
removeNotificationListener in interface INotificationSupport
Parameters:
type - The event type we are no longer interested in.
listener - The object registered for the event till now.

setDelegate

public void setDelegate(INotificationSupport pDelegate)

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.