Class PythonParameterObserver

    • Constructor Detail

      • PythonParameterObserver

        public PythonParameterObserver()
    • Method Detail

      • pythonExtension

        public void pythonExtension​(long pythonObject)
        Part of JCC Python interface to object
      • pythonExtension

        public long pythonExtension()
        Part of JCC Python interface to object
      • pythonDecRef

        public void pythonDecRef()
        Part of JCC Python interface to object
      • valueChanged

        public void valueChanged​(double previousValue,
                                 ParameterDriver driver)
        Notify that a parameter value has been changed.
        Specified by:
        valueChanged in interface ParameterObserver
        Parameters:
        previousValue - previous value
        driver - parameter driver that has been changed
      • referenceDateChanged

        public void referenceDateChanged​(AbsoluteDate previousReferenceDate,
                                         ParameterDriver driver)
        Notify that a parameter reference date has been changed.

        The default implementation does nothing

        Specified by:
        referenceDateChanged in interface ParameterObserver
        Parameters:
        previousReferenceDate - previous date (null if it is the first time the reference date is changed)
        driver - parameter driver that has been changed
        Since:
        9.0
      • nameChanged

        public void nameChanged​(String previousName,
                                ParameterDriver driver)
        Notify that a parameter name has been changed.

        The default implementation does nothing

        Specified by:
        nameChanged in interface ParameterObserver
        Parameters:
        previousName - previous name
        driver - parameter driver that has been changed
        Since:
        9.0
      • selectionChanged

        public void selectionChanged​(boolean previousSelection,
                                     ParameterDriver driver)
        Notify that a parameter selection status has been changed.

        The default implementation does nothing

        Specified by:
        selectionChanged in interface ParameterObserver
        Parameters:
        previousSelection - previous selection
        driver - parameter driver that has been changed
        Since:
        9.0
      • referenceValueChanged

        public void referenceValueChanged​(double previousReferenceValue,
                                          ParameterDriver driver)
        Notify that a parameter reference value has been changed.

        The default implementation does nothing

        Specified by:
        referenceValueChanged in interface ParameterObserver
        Parameters:
        previousReferenceValue - previous reference value
        driver - parameter driver that has been changed
        Since:
        9.0
      • minValueChanged

        public void minValueChanged​(double previousMinValue,
                                    ParameterDriver driver)
        Notify that a parameter minimum value has been changed.

        The default implementation does nothing

        Specified by:
        minValueChanged in interface ParameterObserver
        Parameters:
        previousMinValue - previous minimum value
        driver - parameter driver that has been changed
        Since:
        9.0
      • maxValueChanged

        public void maxValueChanged​(double previousMaxValue,
                                    ParameterDriver driver)
        Notify that a parameter maximum value has been changed.

        The default implementation does nothing

        Specified by:
        maxValueChanged in interface ParameterObserver
        Parameters:
        previousMaxValue - previous maximum value
        driver - parameter driver that has been changed
        Since:
        9.0
      • scaleChanged

        public void scaleChanged​(double previousScale,
                                 ParameterDriver driver)
        Notify that a parameter scale has been changed.

        The default implementation does nothing

        Specified by:
        scaleChanged in interface ParameterObserver
        Parameters:
        previousScale - previous scale
        driver - parameter driver that has been changed
        Since:
        9.0