public abstract static class AbstractUpdaterFactory.AbstractUpdater extends java.lang.Object implements UpdaterFactory.Updater
| Constructor and Description |
|---|
AbstractUpdater(UpdaterFactory factory,
Observer observer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addObserver(Observer o) |
void |
deleteObserver(Observer o) |
void |
deleteObservers() |
UpdaterFactory |
getFactory() |
void |
update() |
void |
update(Notification n) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, removepublic AbstractUpdater(UpdaterFactory factory, Observer observer)
public UpdaterFactory getFactory()
getFactory in interface UpdaterFactory.Updaterpublic void addObserver(Observer o)
addObserver in interface Observablepublic void deleteObserver(Observer o)
deleteObserver in interface Observablepublic void deleteObservers()
deleteObservers in interface Observablepublic void update()
update in interface UpdaterFactory.Updaterpublic void update(Notification n)
update in interface UpdaterFactory.Updater