|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jaulp.designpattern.observer.AbstractObserver<T>
public abstract class AbstractObserver<T>
An abstract generic implementation from the Observer-Pattern.
Constructor Summary | |
---|---|
AbstractObserver(Subject<T> subject)
This method is called when information about an Abstract which was previously requested using an asynchronous interface becomes available. |
Method Summary | |
---|---|
T |
getObservable()
This method is called when information about an Abstract which was previously requested using an asynchronous interface becomes available. |
void |
update(T observable)
Update. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sourceforge.jaulp.designpattern.observer.ifaces.DisplayViewElement |
---|
displayView |
Constructor Detail |
---|
public AbstractObserver(Subject<T> subject)
subject
- the subjectMethod Detail |
---|
public T getObservable()
public void update(T observable)
update
in interface Observer<T>
observable
- the observableObserver.update(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |