Java.Util.Observable: Method Members

The methods of Java.Util.Observable are listed below. For a list of all members, see the Observable Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

AddObserver(IObserver)
Adds the specified observer to the list of observers.
CountObservers() : int
Returns the number of observers registered to this Observable.
DeleteObserver(IObserver)
Removes the specified observer from the list of observers.
DeleteObservers()
Removes all observers from the list of observers.
NotifyObservers()
If hasChanged() returns true, calls the update() method for every observer in the list of observers using null as the argument.
NotifyObservers(Java.Lang.Object)
If hasChanged() returns true, calls the update() method for every Observer in the list of observers using the specified argument.

Protected Methods

ClearChanged()
Clears the changed flag for this Observable.
SetChanged()
Sets the changed flag for this Observable.