|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NotificationListener
listens for notifications based on certain monitored objects. The concept is somewhat similar to the java.util.Observer interface, but it can receive events on any object, not just an Observable.
Notifier,
NotificationService,
Observer| Nested Class Summary | |
|---|---|
static class |
NotificationListener.Adapter
|
| Method Summary | |
|---|---|
void |
notificationStopped(Object monitoredObject)
called to indicate that no more events will be delivered for the given object from the Notifier that delivered this. |
void |
notified(Object monitoredObject,
EventObject event)
called when the Notifier received an event for the given monitored object |
| Method Detail |
|---|
void notified(Object monitoredObject,
EventObject event)
void notificationStopped(Object monitoredObject)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||