Interface OptionsChangeListener

    • Method Detail

      • optionsChanged

        void optionsChanged​(ToolOptions options,
                            java.lang.String optionName,
                            java.lang.Object oldValue,
                            java.lang.Object newValue)
        Notification that an option changed.

        Note: to reject an options change, you can throw a OptionsVetoException.

        Parameters:
        options - options object containing the property that changed
        optionName - name of option that changed
        oldValue - old value of the option
        newValue - new value of the option