O
- the type of the nesting hierarchy's inner Observable
public final class NestingObserver<O extends javafx.beans.Observable> extends Object
Nesting
and executes some methods when the nesting's
innerObservable
changes. These are the methods and the order in which they
are called:
withOldInnerObservable
)
withNewInnerObservable
)
whenInnerObservableChanges
)
The observer is created with a NestingObserver.NestingObserverBuilder
which can be obtained from
forNesting
. After setting some of the methods mentioned above, the
observer is built by calling NestingObserver.NestingObserverBuilder.observe()
.
Modifier and Type | Class and Description |
---|---|
static class |
NestingObserver.NestingObserverBuilder<O extends javafx.beans.Observable>
Builds a
NestingObserver . |
Modifier and Type | Method and Description |
---|---|
static <O extends javafx.beans.Observable> |
forNesting(Nesting<O> nesting)
Starts building a new
NestingObserver which observes the specified nesting. |
public static <O extends javafx.beans.Observable> NestingObserver.NestingObserverBuilder<O> forNesting(Nesting<O> nesting)
NestingObserver
which observes the specified nesting.O
- the type of the nesting hierarchy's inner Observable
nesting
- the observed Nesting
NestingObserver.NestingObserverBuilder
This documentation is licensed under CC-BY 4.0, attributed to Nicolai Parlog from CodeFX.