Interface BaseParameterObserver<P extends BaseParameterDriver<P,O>,O extends BaseParameterObserver<P,O>>

Type Parameters:
P - type of the parameter driver
O - type of the parameter observer
All Known Subinterfaces:
FieldParameterObserver<T>, ParameterObserver

public interface BaseParameterObserver<P extends BaseParameterDriver<P,O>,O extends BaseParameterObserver<P,O>>
Interface for observing parameters changes (except the value itself).
Since:
14.0
Author:
Luc Maisonobe
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    maxValueChanged(double previousMaxValue, P driver)
    Notify that a parameter maximum value has been changed.
    default void
    minValueChanged(double previousMinValue, P driver)
    Notify that a parameter minimum value has been changed.
    default void
    nameChanged(String previousName, P driver)
    Notify that a parameter name has been changed.
    default void
    scaleChanged(double previousScale, P driver)
    Notify that a parameter scale has been changed.
    default void
    selectionChanged(boolean previousSelection, P driver)
    Notify that a parameter selection status has been changed.
    default void
    validityChanged(TimeInterval previousValidity, P driver)
    Notify that a parameter validity interval has been changed.
  • Method Details

    • nameChanged

      default void nameChanged(String previousName, P driver)
      Notify that a parameter name has been changed.

      The default implementation does nothing

      Parameters:
      previousName - previous name
      driver - parameter driver that has been changed
      Since:
      9.0
    • selectionChanged

      default void selectionChanged(boolean previousSelection, P driver)
      Notify that a parameter selection status has been changed.

      The default implementation does nothing

      Parameters:
      previousSelection - previous selection
      driver - parameter driver that has been changed
      Since:
      9.0
    • minValueChanged

      default void minValueChanged(double previousMinValue, P driver)
      Notify that a parameter minimum value has been changed.

      The default implementation does nothing

      Parameters:
      previousMinValue - previous minimum value
      driver - parameter driver that has been changed
      Since:
      9.0
    • maxValueChanged

      default void maxValueChanged(double previousMaxValue, P driver)
      Notify that a parameter maximum value has been changed.

      The default implementation does nothing

      Parameters:
      previousMaxValue - previous maximum value
      driver - parameter driver that has been changed
      Since:
      9.0
    • scaleChanged

      default void scaleChanged(double previousScale, P driver)
      Notify that a parameter scale has been changed.

      The default implementation does nothing

      Parameters:
      previousScale - previous scale
      driver - parameter driver that has been changed
      Since:
      9.0
    • validityChanged

      default void validityChanged(TimeInterval previousValidity, P driver)
      Notify that a parameter validity interval has been changed.

      The default implementation does nothing

      Parameters:
      previousValidity - previous validity interval
      driver - parameter driver that has been changed
      Since:
      14.0