Java.Util.Observable Members

The members of Java.Util.Observable are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Constructs a new Observable object.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
HasChangedbool. Returns the changed flag for this Observable.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

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.