O - the type of the nesting hierarchy's inner Observablepublic static class NestingObserver.NestingObserverBuilder<O extends javafx.beans.Observable> extends Object
NestingObserver.| Modifier and Type | Method and Description | 
|---|---|
| void | observe ()Builds a observer from this builder's settings. | 
| NestingObserver.NestingObserverBuilder<O> | whenInnerObservableChanges (BiConsumer<Boolean,Boolean> innerObservableChanges)The specified method will be executed when the  innerObservablechanges. | 
| NestingObserver.NestingObserverBuilder<O> | withNewInnerObservable (Consumer<? super O> newInnerObservableConsumer)The specified method will be executed when the  innerObservablechanges and the new observable is present. | 
| NestingObserver.NestingObserverBuilder<O> | withOldInnerObservable (Consumer<? super O> oldInnerObservableConsumer)The specified method will be executed when the  innerObservablechanges and the old observable was present. | 
public NestingObserver.NestingObserverBuilder<O> withOldInnerObservable(Consumer<? super O> oldInnerObservableConsumer)
innerObservable
 changes and the old observable was present.oldInnerObservableConsumer - the executed method; its argument is the old inner observablepublic NestingObserver.NestingObserverBuilder<O> withNewInnerObservable(Consumer<? super O> newInnerObservableConsumer)
innerObservable
 changes and the new observable is present.newInnerObservableConsumer - the executed method; its argument is the new inner observablepublic NestingObserver.NestingObserverBuilder<O> whenInnerObservableChanges(BiConsumer<Boolean,Boolean> innerObservableChanges)
innerObservable
 changes.innerObservableChanges - the executed method; its argument are two Booleans indicating whether the old and new inner
 observables are present.public void observe()
This documentation is licensed under CC-BY 4.0, attributed to Nicolai Parlog from CodeFX.