public interface Notifier
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(Collection<Listener> listener)
Adds a set of new listener, which then will be notified about a change in
this object.
|
void |
addListener(Listener listener)
Adds a new listener, which then will be notified about a change in this
object.
|
List<Listener> |
getListener()
Returns an unmodifiable list of all listeners.
|
void |
removeListener(Listener listener)
Removes a listener, which won't be notified about a change in this object
anymore.
|
List<Listener> getListener()
void addListener(Listener listener)
listener - to be notifiedvoid addListener(Collection<Listener> listener)
listener - to be notifiedvoid removeListener(Listener listener)
listener - to be notifiedCopyright © 2009–2016 Humboldt-Universität zu Berlin, INRIA. All rights reserved.