Interface ObservableView.ChangeListener<T extends @Nullable Object>

Type Parameters:
T - the value type listened to
Enclosing interface:
ObservableView<T extends @Nullable Object>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ObservableView.ChangeListener<T extends @Nullable Object>
A listener for changes in observable views and properties.
Since:
4.2.0
  • Method Details

    • onPropertyChange

      void onPropertyChange(ObservableView<? extends T> property, @Nullable T from, @Nullable T to)
      Handles a change in an observable property.
      Parameters:
      property - the changed property or view
      from - the previous value, or null if not set before
      to - the new value, or null if cleared