Package fr.uga.miage.pc.dilemme.front
Interface IObservable
- All Known Implementing Classes:
ParamFrame
public interface IObservable
This interface is used in order to respect the design patter Observer.
It defines the functionnement of the object that notify the observer
- Since:
- 3.0
-
Method Summary
Modifier and Type Method Description voidaddObserver(IObserver observer)Add aIObserverto the listvoidnotifierAll()Notify all the Observer of the listvoidremoveObserver(IObserver observer)Remove aIObserverfrom the list
-
Method Details
-
addObserver
Add aIObserverto the list- Parameters:
observer- The observer to add
-
removeObserver
Remove aIObserverfrom the list- Parameters:
observer- The observer to remove
-
notifierAll
void notifierAll()Notify all the Observer of the list- Since:
- 3.0
- See Also:
IObserver.notifier()
-