Interface IAbstractObservable<T>
- Type Parameters:
T
-
- All Known Implementing Classes:
AbstractObservable
public interface IAbstractObservable<T>
An interface to the abstract Observable class.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addObserver
(T observer) Add an observer which will listen to the actions of this object.void
removeObserver
(T observer) Remove an observer which was listening to this object.
-
Method Details
-
addObserver
Add an observer which will listen to the actions of this object.- Parameters:
observer
- The observer which should listen to this observable.
-
removeObserver
Remove an observer which was listening to this object.- Parameters:
observer
- The observer to remove.
-