Beispiel #1
0
 public void notifyObservers_for_selected_shape(int value) {
   for (Observer obs : observers) {
     obs.updateSelectShape(value);
   }
 }
Beispiel #2
0
 private void notifyObservers() {
   for (Observer obs : observers) {
     obs.update(cpt);
   }
 }