JavaScript is disabled on your browser.
Skip navigation links
  • Detail:
  • Field |
  • Constr |
  • Method
org.codefx.libfx.nesting

Class NestingObserver<O extends javafx.beans.Observable>

  • Type Parameters:
    O - the type of the nesting hierarchy's inner Observable


    public final class NestingObserver<O extends javafx.beans.Observable>
    extends Object 
    Usability class which observes a Nesting and executes some methods when the nesting's innerObservable changes. These are the methods and the order in which they are called:
    1. if the old inner observable was present, a method is called with that observable as its argument; the method is specified during building (see withOldInnerObservable)
    2. if the new inner observable is present, a method is called with that observable as its argument; the method is specified during building (see withNewInnerObservable)
    3. in every case, another method is called with two Booleans as its arguments which indicate whether the old and the new observable were/are present; the method is specified during building (see whenInnerObservableChanges)
    These methods are also called once during construction. At this point, there is of course no old inner observable present.

    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().

Skip navigation links
  • Detail:
  • Field |
  • Constr |
  • Method

This documentation is licensed under CC-BY 4.0, attributed to Nicolai Parlog from CodeFX.

AltStyle によって変換されたページ (->オリジナル) /