|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationProvider
A notification provider is a source for Notifications
. It
maintains a set of NotificationReceivers
which will be notified when there is a new
Notification.
Method Summary | |
---|---|
void |
addReceiver(NotificationReceiver receiver)
Adds a new NotificationReceiver . |
void |
removeReceiver(NotificationReceiver receiver)
Removes a NotificationReceiver . |
Method Detail |
---|
void addReceiver(NotificationReceiver receiver)
NotificationReceiver
. Does nothing of receiver is already registered,
receiver
- the receiver to addvoid removeReceiver(NotificationReceiver receiver)
NotificationReceiver
. Does nothing if the receiver was
never registered.
receiver
- the receiver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |