|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IObserver | |
---|---|
org.perfectjpattern.core.api.behavioral.observer | Observer Pattern API. |
org.perfectjpattern.core.behavioral.observer | Observer Core Pattern implementation. |
Uses of IObserver in org.perfectjpattern.core.api.behavioral.observer |
---|
Methods in org.perfectjpattern.core.api.behavioral.observer with parameters of type IObserver | |
---|---|
void |
ISubject.attach(IObserver<E>... anObservers)
Attaches a variable list of IObserver instances to the
ISubject instance. |
void |
ISubject.detach(IObserver<E>... anObservers)
Detaches a variable list of IObserver instances from the
ISubject instance. |
Uses of IObserver in org.perfectjpattern.core.behavioral.observer |
---|
Subinterfaces of IObserver in org.perfectjpattern.core.behavioral.observer | |
---|---|
interface |
IClock
Abstract definition of a Clock |
Classes in org.perfectjpattern.core.behavioral.observer that implement IObserver | |
---|---|
class |
AnalogClock
Concrete implementation of IClock of type Analog |
class |
DigitalClock
Concrete implementation of IClock of type Digital |
class |
ObserverProxy<E>
Implementation of IObserver interface that acts as a Proxy to
any plain non-Observer class type. |
Fields in org.perfectjpattern.core.behavioral.observer declared as IObserver | |
---|---|
protected static IObserver[] |
Subject.EMPTY_ARRAY
Reusable empty array of IObserver so it does not need
to be recreated each time there is a call to
notifyObservers |
Methods in org.perfectjpattern.core.behavioral.observer that return types with arguments of type IObserver | |
---|---|
protected Collection<IObserver<E>> |
Subject.getObservers()
Returns the Observer instances |
Methods in org.perfectjpattern.core.behavioral.observer with parameters of type IObserver | |
---|---|
void |
Subject.attach(IObserver<E>... anObservers)
Attaches a variable list of IObserver instances to the
ISubject instance. |
void |
Subject.detach(IObserver<E>... anObservers)
Detaches a variable list of IObserver instances from the
ISubject instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |