T - the type which is observedpublic interface Observable<T>
Observers and notify them of changes by firing an Observable.Event .| Modifier and Type | Interface and Description |
|---|---|
static class |
Observable.Event
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addObserver(Observer<? super T> observer)
Adds an
Observer. |
void |
notifyObservers(Observable.Event event)
Notifies the
Observers. |
boolean |
removeObserver(Observer<? super T> observer)
Removes an
Observer. |
void notifyObservers(Observable.Event event)
Observers.event - an Observable.EventCopyright © 2011–2021 aiticon GmbH. All rights reserved.