public interface Toggle extends Val<java.lang.Boolean>, Suspendable
| Modifier and Type | Method and Description |
|---|---|
static Toggle |
from(javafx.beans.value.ObservableValue<java.lang.Boolean> obs,
Suspendable suspender)
Creates a Toggle view of an observable boolean and a
Suspendable whose suspension causes the boolean value
to switch.
|
addInvalidationObserver, addListener, addListener, animate, animate, animate, animate, animate, animate, asList, asVar, changes, combine, combine, combine, combine, combine, conditionOn, conditionOn, conditionOnShowing, conditionOnShowing, constant, create, create, filter, filter, flatMap, flatMap, getOpt, getOrElse, getOrSupply, getOrThrow, ifPresent, invalidations, isEmpty, isPresent, map, map, mapDynamic, mapDynamic, observeChanges, observeChanges, observeInvalidations, observeInvalidations, orElse, orElse, orElseConst, orElseConst, pin, removeInvalidationObserver, removeListener, removeListener, selectVar, selectVar, selectVar, selectVar, showingProperty, suspendable, suspendable, values, wrapaddObserver, observe, removeObservercombine, suspend, suspendWhen, suspendWhile, suspendWhilestatic Toggle from(javafx.beans.value.ObservableValue<java.lang.Boolean> obs, Suspendable suspender)
obs - boolean value that indicates suspension of suspender.suspender - Assumed to switch the value of obs when
suspended and switch back when resumed, unless there are other suspenders
keeping it in the value corresponding to the suspended state.