Top Fields Constructors Methods
org.reactfx

pack-priv abstract Class SuspendableBoolean

extends ValBase<Boolean>
implements ObservableBooleanValue, Toggle
Class Inheritance
All Implemented Interfaces
org.reactfx.Toggle, org.reactfx.Suspendable, org.reactfx.value.Val, org.reactfx.Observable, javafx.beans.value.ObservableValue, javafx.beans.Observable, javafx.beans.value.ObservableBooleanValue
Known Direct Subclasses
org.reactfx.SuspendableNo, org.reactfx.SuspendableYes
Imports
javafx.beans.value.ObservableBooleanValue, org.reactfx.value.ValBase

Field Summary

Modifier and TypeField and Description
private int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected final Boolean
protected final Subscription
connect()

Implements abstract org.reactfx.value.ValBase.connect.

Implementation of this method should start observing inputs.

protected final boolean
public EventStream<?>
noes()

private void
public final Guard
suspend()

Implements org.reactfx.Suspendable.suspend.

Suspends this suspendable object.

public EventStream<?>
Inherited from org.reactfx.value.ValBase:
getValueinvalidatenewObserverobserveInputs

Field Detail

suspendersback to summary
private int suspenders

Constructor Detail

SuspendableBooleanback to summary
pack-priv SuspendableBoolean()

Method Detail

computeValueback to summary
protected final Boolean computeValue()

Implements abstract org.reactfx.value.ValBase.computeValue.

Annotations
@Override
connectback to summary
protected final Subscription connect()

Implements abstract org.reactfx.value.ValBase.connect.

Doc from org.reactfx.value.ValBase.connect.

Implementation of this method should start observing inputs. If the value of this Val may change as a result of input change, the corresponding input observer should call invalidate() to notify observers of this Val. By the time of calling invalidate(), the input observer must have already updated any internal state of this Val, so that a subsequent call to computeValue() returns the current value of this Val.

Annotations
@Override
isSuspendedback to summary
protected final boolean isSuspended()
noesback to summary
public EventStream<?> noes()
releaseback to summary
private void release()
suspendback to summary
public final Guard suspend()

Implements org.reactfx.Suspendable.suspend.

Doc from org.reactfx.Suspendable.suspend.

Suspends this suspendable object.

In case of suspendable Observable, suspends notification delivery for this observable object. Notifications produced while suspended may be queued for later delivery, accumulated into a single cumulative notification, or discarded completely, depending on the concrete implementation.

Annotations
@Override
yesesback to summary
public EventStream<?> yeses()