frysk.gui.monitor
Class GuiObservable
java.lang.Object
java.util.Observable
frysk.gui.monitor.GuiObservable
public class GuiObservable
- extends Observable
A simple class that sets hasChanged automatically when update is called.
Field Summary |
(package private) LinkedList |
list
A lot of bugs turn up from objects forgetting to remove them selfs as
observers or adding them selfs as observers more than one time. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
list
LinkedList list
- A lot of bugs turn up from objects forgetting to remove them selfs as
observers or adding them selfs as observers more than one time.
GuiObservable
public GuiObservable()
notifyObservers
public void notifyObservers(Object obj)
- Overrides:
notifyObservers
in class Observable
notifyObservers
public void notifyObservers()
- Overrides:
notifyObservers
in class Observable
addObserver
public void addObserver(Observer observer)
- Overrides:
addObserver
in class Observable
deleteObserver
public void deleteObserver(Observer victim)
- Overrides:
deleteObserver
in class Observable