Interface ObservableView.ChangeListener<T>

Type Parameters:
T - the value type listened to
Enclosing interface:
ObservableView<T>
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>
A listener for changes in observable views and properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onPropertyChange(ObservableView<? extends T> property, T from, T to)
    Handles a change in an observable property.
  • 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