private static class IntegerPropertyBase.Listener extends java.lang.Object implements InvalidationListener
Modifier and Type | Field and Description |
---|---|
private java.lang.ref.WeakReference<IntegerPropertyBase> |
wref |
Constructor and Description |
---|
Listener(IntegerPropertyBase ref) |
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<IntegerPropertyBase> wref
public Listener(IntegerPropertyBase ref)
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