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