Top Fields Constructors Methods
org.reactfx.value

pack-priv Class SuspendableVarWrapper<T>

extends SuspendableValWrapper<T>
implements SuspendableVar<T>
Class Inheritance
All Implemented Interfaces
org.reactfx.value.SuspendableVar, 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, org.reactfx.value.SuspendableVal, org.reactfx.Suspendable
Imports
javafx.beans.value.ObservableValue

Field Summary

Modifier and TypeField and Description
private final Var<T>

Constructor Summary

AccessConstructor and Description
protected

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.SuspendableValWrapper:
getValueheadOfsizeOftailOf

Field Detail

delegateback to summary
private final Var<T> delegate

Hides org.reactfx.value.SuspendableValWrapper.delegate.

Constructor Detail

SuspendableVarWrapperback to summary
protected SuspendableVarWrapper(Var<T> p)

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