Class Observable

java.lang.Object
java.util.Observable
games.stendhal.server.util.Observable
Direct Known Subclasses:
Registrator

public class Observable extends Observable
Wrapper for deprecated java.util.Observable class to prepare for moving toward something else. Source: https://developer.classpath.org/doc/java/util/Observable-source.html
  • Constructor Details

    • Observable

      public Observable()
  • Method Details

    • setChanges

      public void setChanges()
      mark Registrator object as changed. Function was moved from protected (in java.util.Observable) to public zone.
    • addObserver

      public void addObserver(Observer o)
    • deleteObserver

      public void deleteObserver(Observer o)
    • notifyObservers

      public void notifyObservers(Object obj)
      Overrides:
      notifyObservers in class Observable