APIdia Launch Partner
Top Description Interfaces Classes
module javafx.base

Package javafx.beans.value


The package javafx.beans.value contains the two fundamental interfaces javafx.beans.value.ObservableValue and javafx.beans.value.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 javafx.beans.InvalidationListener or javafx.beans.value.ChangeListener. To allow working with primitive types directly a number of sub-interfaces are defined.
ObservableValue Table
Type Sub-interface of ObservableValue
boolean javafx.beans.value.ObservableBooleanValue
double javafx.beans.value.ObservableDoubleValue
float javafx.beans.value.ObservableFloatValue
int javafx.beans.value.ObservableIntegerValue
long javafx.beans.value.ObservableLongValue
double, float, int, long javafx.beans.value.ObservableNumberValue
Object javafx.beans.value.ObservableObjectValue
String javafx.beans.value.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.
WritableValue Table
Type Sub-interface of WritableValue
boolean javafx.beans.value.WritableBooleanValue
double javafx.beans.value.WritableDoubleValue
float javafx.beans.value.WritableFloatValue
int javafx.beans.value.WritableIntegerValue
long javafx.beans.value.WritableLongValue
double, float, int, long javafx.beans.value.WritableNumberValue
Object javafx.beans.value.WritableObjectValue
String javafx.beans.value.WritableStringValue

Interface Summary

Modifier and TypeInterface and Description
public interface
ChangeListener<
the observable value type
T
>

A ChangeListener is notified whenever the value of an ObservableValue changes.

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 List elements
E
>

An observable reference to an javafx.collections.ObservableList.

public interface
ObservableLongValue

An observable long value.

public interface
ObservableMapValue<
the type of the key elements of the Map
K
,
the type of the value elements of the Map
V
>

An observable reference to an javafx.collections.ObservableMap.

public interface
ObservableNumberValue

A common interface of all sub-interfaces of ObservableValue that wrap a number.

public interface
ObservableObjectValue<
the observable object type
T
>

An observable typed Object value.

public interface
ObservableSetValue<
the type of the Set elements
E
>

An observable reference to an javafx.collections.ObservableSet.

public interface
ObservableStringValue

An observable String value.

public interface
ObservableValue<
The type of the wrapped value.
T
>

An ObservableValue is an entity that wraps a value and allows to observe the value for changes.

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 List elements
E
>

A writable reference to an javafx.collections.ObservableList.

public interface
WritableLongValue

A writable long value.

public interface
WritableMapValue<
the type of the key elements of the Map
K
,
the type of the value elements of the Map
V
>

A writable reference to an javafx.collections.ObservableMap.

public interface
WritableNumberValue

A tagging interface that marks all sub-interfaces of WritableValue that wrap a number.

public interface
WritableObjectValue<
the type of the wrapped value
T
>

A writable typed value.

public interface
WritableSetValue<
the type of the Set elements
E
>

A writable reference to an javafx.collections.ObservableSet.

public interface
WritableStringValue

A writable String.

public interface
WritableValue<
The type of the wrapped value
T
>

A WritableValue is an entity that wraps a value that can be read and set.

Class Summary

Modifier and TypeClass and Description
public abstract class
ObservableValueBase<
the observable value type
T
>

A convenience class for creating implementations of ObservableValue.

public class
WeakChangeListener<
The type of the observed value
T
>

A WeakChangeListener can be used if an ObservableValue should only maintain a weak reference to the listener.