public class NestedInvalidationListenerHandle extends Object implements NestedListenerHandle
InvalidationListener
which is connected to a Nesting
. Simply put, the listener is always
added to the nesting's inner observable (more precisely, it is added to the Observable
instance contained in
the optional value held by the nesting's innerObservable
property).
Note that if the observable is replaced, the listener is not called! If this is the desired behavior, a
listener has to be added to a NestedProperty
.
Type | Property and Description |
---|---|
javafx.beans.property.ReadOnlyBooleanProperty |
innerObservablePresent
The property indicating whether the nesting's inner observable is currently present, i.e.
|
Modifier and Type | Method and Description |
---|---|
void |
attach()
Adds the listener to the observable.
|
void |
detach()
Removes the listener from the observable.
|
javafx.beans.property.ReadOnlyBooleanProperty |
innerObservablePresentProperty()
The property indicating whether the nesting's inner observable is currently present, i.e.
|
boolean |
isInnerObservablePresent()
Gets the value of the property innerObservablePresent.
|
public javafx.beans.property.ReadOnlyBooleanProperty innerObservablePresentProperty
innerObservablePresentProperty
in interface Nested
isInnerObservablePresent()
public void attach()
ListenerAttachHandle
attach
in interface ListenerAttachHandle
public void detach()
ListenerDetachHandle
detach
in interface ListenerDetachHandle
public javafx.beans.property.ReadOnlyBooleanProperty innerObservablePresentProperty()
innerObservablePresentProperty
in interface Nested
isInnerObservablePresent()
public boolean isInnerObservablePresent()
isInnerObservablePresent
in interface Nested
This documentation is licensed under CC-BY 4.0, attributed to Nicolai Parlog from CodeFX.