|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface IResourceDescription.Event.Source
| Method Summary | |
|---|---|
void |
addListener(IResourceDescription.Event.Listener listener)
Add a listener to the event source. |
void |
removeListener(IResourceDescription.Event.Listener listener)
Immediately removes a registered listener from the source. |
| Method Detail |
|---|
void addListener(IResourceDescription.Event.Listener listener)
#addListener(Listener) will not affect the number of events that the listener receives.
#removeListener(Listener) will remove the listener immediately independently from the number of
invocations of #addListener(Listener) for the given listener.
listener - the listener to be registered. May not be null.void removeListener(IResourceDescription.Event.Listener listener)
#removeListener(Listener)
is called during a notification, the removed listener will still receive the event. If the listener has
not been registered before, the #removeListener(Listener) does nothing.
listener - the listener to be removed. May not be null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||