- java.lang.Object
-
- javafx.beans.value.ObservableValueBase<T>
-
- All Implemented Interfaces:
Observable
,ObservableValue<T>
public abstract class ObservableValueBase<T> extends Object implements ObservableValue<T>
A convenience class for creating implementations ofObservableValue
. It contains all of the infrastructure support for value invalidation- and change event notification. This implementation can handle adding and removing listeners while the observers are being notified, but it is not thread-safe.- Since:
- JavaFX 2.0
-
-
Constructor Summary
Constructors Constructor Description ObservableValueBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fireValueChangedEvent()
Notify the currently registered observers of a value change.-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface javafx.beans.Observable
addListener, removeListener
-
Methods declared in interface javafx.beans.value.ObservableValue
addListener, getValue, removeListener
-
-
-
-
Method Detail
-
fireValueChangedEvent
protected void fireValueChangedEvent()
Notify the currently registered observers of a value change. This implementation will ignore all adds and removes of observers that are done while a notification is processed. The changes take effect in the following call to fireValueChangedEvent.
-
-