Package jmri.beans

Interface SilenceablePropertyChangeProvider

    • Method Detail

      • setPropertyChangesSilenced

        void setPropertyChangesSilenced​(@Nonnull
                                        java.lang.String propertyName,
                                        boolean silenced)
        Suppress sending PropertyChangeEvents for the named property.

        Stopping the suppression of sending change events may send a PropertyChangeEvent if the property changed while silenced, but otherwise should not fire a PropertyChangeEvent.

        Parameters:
        propertyName - the name of the property to mute
        silenced - true if events are to be suppressed; false otherwise
        Throws:
        java.lang.IllegalArgumentException - if propertyName represents a property that should not be silenced