|
intarsys runtime library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INotificationSupport
The implementor supports registration of INotificationListener
objects to be informed about event.
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 . |
void |
removeNotificationListener(EventType type,
INotificationListener listener)
Remove listener from the collection of objects to be
informed about events of type name . |
Method Detail |
---|
void addNotificationListener(EventType type, INotificationListener listener)
listener
to the collection of objects to be informed
when the receiver triggers an event of type name
.
type
- The event type we are interested in.listener
- The object to be informed about an event occurrencevoid removeNotificationListener(EventType type, INotificationListener listener)
listener
from the collection of objects to be
informed about events of type name
.
type
- The event type we are no longer interested in.listener
- The object registered for the event till now.
|
intarsys runtime library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |