Skip navigation links
JavaFX 8

Package javafx.beans.value

The package javafx.beans.value contains the two fundamental interfaces ObservableValue and WritableValue and all of its sub-interfaces.

See: Description

Package javafx.beans.value Description

The package javafx.beans.value contains the two fundamental interfaces ObservableValue and WritableValue and all of its sub-interfaces.

ObservableValue

An ObservableValue wraps a value that can be read and observed for invalidations and changes. Listeners have to implement either InvalidationListener or ChangeListener. To allow working with primitive types directly a number of sub-interfaces are defined.
Type Sub-interface of ObservableValue
boolean ObservableBooleanValue
double ObservableDoubleValue
float ObservableFloatValue
int ObservableIntegerValue
long ObservableLongValue
double, float, int, long ObservableNumberValue
Object ObservableObjectValue
String ObservableStringValue

WritableValue

A WritableValue wraps a value that can be read and set. As with ObservableValues, a number of sub-interfaces are defined to work with primitive types directly.
Type Sub-interface of WritableValue
boolean WritableBooleanValue
double WritableDoubleValue
float WritableFloatValue
int WritableIntegerValue
long WritableLongValue
double, float, int, long WritableNumberValue
Object WritableObjectValue
String WritableStringValue
Skip navigation links
JavaFX 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.