Interface UnregisterableChangeListener<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 interface UnregisterableChangeListener<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changed(UnregisterableListener unregisterableListener, T oldValue, T newValue)
    Called when the value of an ObservableValue changes.
  • Method Details

    • changed

      void changed(UnregisterableListener unregisterableListener, T oldValue, T newValue)
      Called when the value of an ObservableValue changes.

      In general, it is considered bad practice to modify the observed value in this method.

      Parameters:
      oldValue - The old value
      newValue - The new value
      observable - The ObservableValue which value changed