public class BindingHelperObserver extends java.lang.Object implements InvalidationListener
Modifier and Type | Field and Description |
---|---|
private java.lang.ref.WeakReference<Binding<?>> |
ref |
Constructor and Description |
---|
BindingHelperObserver(Binding<?> binding) |
Modifier and Type | Method and Description |
---|---|
void |
invalidated(Observable observable)
This method needs to be provided by an implementation of
InvalidationListener . |
private final java.lang.ref.WeakReference<Binding<?>> ref
public BindingHelperObserver(Binding<?> binding)
public void invalidated(Observable observable)
InvalidationListener
InvalidationListener
. It is called if an Observable
becomes invalid.
In general is is considered bad practice to modify the observed value in this method.
invalidated
in interface InvalidationListener
observable
- The Observable
that became invalid