AbstractObservable

public abstract class AbstractObservable implements Observable

Methods

acceptObserver

public boolean acceptObserver(Observer o)

notifyObservers

public void notifyObservers(String e)
Parameters:
  • e – A String denoting the notification event.

removeAllObservers

public void removeAllObservers()

removeObserver

public boolean removeObserver(Observer observer)