Located in compilation unit of org.
| Modifier and Type | Field and Description |
|---|---|
| private Suspendable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Consumer | adaptObserver(Consumer<? super Boolean> observer)
Implements abstract org. Adapts the given observer to observer of the underlying Observable. |
| public Boolean | getValue()
Implements javafx. Returns the current value of this |
| public Guard |
| suspender | back to summary |
|---|---|
| private Suspendable suspender | |
| ToggleFromVal | back to summary |
|---|---|
| public ToggleFromVal(Val<Boolean> obs, Suspendable suspender) | |
| adaptObserver | back to summary |
|---|---|
| protected Consumer Implements abstract org. Doc from org. Adapts the given observer to observer of the underlying Observable. Important Note It is required that the transformation applied to two observers that are _equal_ yields two adapted observers that are _equal_. In other words, if `o1.equals(o2)`, then it must be the case that `adaptObserver(o1).equals(adaptObserver(o2))`.
| |
| getValue | back to summary |
|---|---|
| public Boolean getValue() Implements javafx. Doc from javafx. Returns the current value of this
| |
| suspend | back to summary |
|---|---|
| public Guard suspend() Implements org. Doc from org. Suspends this suspendable object. In case of suspendable
| |