Top Constructors Methods
org.reactfx.value

pack-priv Class VarWrapper<T>

extends ValWrapper<T, Property<T>>
implements Var<T>
Class Inheritance
All Implemented Interfaces
org.reactfx.value.Var, javafx.beans.property.Property, javafx.beans.value.WritableValue, javafx.beans.property.ReadOnlyProperty, javafx.beans.value.ObservableValue, javafx.beans.Observable, org.reactfx.value.Val, org.reactfx.Observable
Imports
javafx.beans.property.Property, javafx.beans.value.ObservableValue

Constructor Summary

AccessConstructor and Description
pack-priv
VarWrapper(Property<T> delegate)

Method Summary

Modifier and TypeMethod and Description
public void
bind(ObservableValue<? extends T> other)

Implements javafx.beans.property.Property.bind.

Create a unidirection binding for this Property.

public boolean
isBound()

Implements javafx.beans.property.Property.isBound.

Can be used to check, if a Property is bound.

public void
setValue(T value)

Implements javafx.beans.value.WritableValue.setValue.

Set the wrapped value.

public void
unbind()

Implements javafx.beans.property.Property.unbind.

Remove the unidirectional binding for this Property.

Inherited from org.reactfx.value.ValWrapper:
computeValueconnectgetDelegate

Constructor Detail

VarWrapperback to summary
pack-priv VarWrapper(Property<T> delegate)

Method Detail

bindback to summary
public void bind(ObservableValue<? extends T> other)

Implements javafx.beans.property.Property.bind.

Doc from javafx.beans.property.Property.bind.

Create a unidirection binding for this Property.

Note that JavaFX has all the bind calls implemented through weak listeners. This means the bound property can be garbage collected and stopped from being updated.

Annotations
@Override
isBoundback to summary
public boolean isBound()

Implements javafx.beans.property.Property.isBound.

Doc from javafx.beans.property.Property.isBound.

Can be used to check, if a Property is bound.

Annotations
@Override
setValueback to summary
public void setValue(T value)

Implements javafx.beans.value.WritableValue.setValue.

Doc from javafx.beans.value.WritableValue.setValue.

Set the wrapped value.

Annotations
@Override
unbindback to summary
public void unbind()

Implements javafx.beans.property.Property.unbind.

Doc from javafx.beans.property.Property.unbind.

Remove the unidirectional binding for this Property. If the Property is not bound, calling this method has no effect.

Annotations
@Override