The package javafx.beans.value contains the two
fundamental interfaces javafx. and javafx. and all of its sub-interfaces.
javafx.beans.InvalidationListener or javafx.beans.value.ChangeListener . To allow
working with primitive types directly a number of sub-interfaces are
defined.
| Type | Sub-interface of ObservableValue |
|---|---|
boolean |
javafx. |
double |
javafx. |
float |
javafx. |
int |
javafx. |
long |
javafx. |
double, float, int, long |
javafx. |
Object |
javafx. |
String |
javafx. |
ObservableValues, a number of sub-interfaces are defined to work with
primitive types directly.
| Type | Sub-interface of WritableValue |
|---|---|
boolean |
javafx. |
double |
javafx. |
float |
javafx. |
int |
javafx. |
long |
javafx. |
double, float, int, long |
javafx. |
Object |
javafx. |
String |
javafx. |
| Modifier and Type | Interface and Description |
|---|---|
| public interface | ChangeListener<
the observable value type T>A |
| public interface | ObservableBooleanValue
An observable boolean value. |
| public interface | ObservableDoubleValue
An observable double value. |
| public interface | ObservableFloatValue
An observable float value. |
| public interface | ObservableIntegerValue
An observable integer value. |
| public interface | ObservableListValue<
the type of the E>List elementsAn observable reference to an |
| public interface | ObservableLongValue
An observable long value. |
| public interface | ObservableMapValue<
the type of the key elements of the K, Mapthe type of the value elements of the V>MapAn observable reference to an |
| public interface | ObservableNumberValue
A common interface of all sub-interfaces of |
| public interface | |
| public interface | ObservableSetValue<
the type of the E>Set elementsAn observable reference to an |
| public interface | ObservableStringValue
An observable String value. |
| public interface | ObservableValue<
The type of the wrapped value. T>An |
| public interface | WritableBooleanValue
A writable boolean value. |
| public interface | WritableDoubleValue
A writable double value. |
| public interface | WritableFloatValue
A writable float value. |
| public interface | WritableIntegerValue
A writable int value. |
| public interface | WritableListValue<
the type of the E>List elementsA writable reference to an |
| public interface | WritableLongValue
A writable long value. |
| public interface | WritableMapValue<
the type of the key elements of the K, Mapthe type of the value elements of the V>MapA writable reference to an |
| public interface | WritableNumberValue
A tagging interface that marks all sub-interfaces of |
| public interface | |
| public interface | WritableSetValue<
the type of the E>Set elementsA writable reference to an |
| public interface | WritableStringValue
A writable String. |
| public interface | WritableValue<
The type of the wrapped value T>A |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | ObservableValueBase<
the observable value type T>A convenience class for creating implementations of |
| public class | WeakChangeListener<
The type of the observed value T>A |