Package jmri.beans

Interface PropertyChangeFirer

    • Method Detail

      • fireIndexedPropertyChange

        void fireIndexedPropertyChange​(String propertyName,
                                       int index,
                                       boolean oldValue,
                                       boolean newValue)
        Fire an indexed property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
        Parameters:
        propertyName - the programmatic name of the property that was changed
        index - the index of the property element that was changed
        oldValue - the old value of the property
        newValue - the new value of the property
      • fireIndexedPropertyChange

        void fireIndexedPropertyChange​(String propertyName,
                                       int index,
                                       int oldValue,
                                       int newValue)
        Fire an indexed property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
        Parameters:
        propertyName - the programmatic name of the property that was changed
        index - the index of the property element that was changed
        oldValue - the old value of the property
        newValue - the new value of the property
      • fireIndexedPropertyChange

        void fireIndexedPropertyChange​(String propertyName,
                                       int index,
                                       Object oldValue,
                                       Object newValue)
        Fire an indexed property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
        Parameters:
        propertyName - the programmatic name of the property that was changed
        index - the index of the property element that was changed
        oldValue - the old value of the property
        newValue - the new value of the property
      • firePropertyChange

        void firePropertyChange​(String propertyName,
                                boolean oldValue,
                                boolean newValue)
        Fire a property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
        Parameters:
        propertyName - the programmatic name of the property that was changed
        oldValue - the old value of the property
        newValue - the new value of the property
      • firePropertyChange

        void firePropertyChange​(PropertyChangeEvent event)
        Fire a property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
        Parameters:
        event - the PropertyChangeEvent to be fired
      • firePropertyChange

        void firePropertyChange​(String propertyName,
                                int oldValue,
                                int newValue)
        Fire a property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
        Parameters:
        propertyName - the programmatic name of the property that was changed
        oldValue - the old value of the property
        newValue - the new value of the property
      • firePropertyChange

        void firePropertyChange​(String propertyName,
                                Object oldValue,
                                Object newValue)
        Fire a property change. Despite being public due to limitations in Java 8, this method should only be called by the subclasses of implementing classes, as this will become a protected class when JMRI requires Java 11 or newer.
        Parameters:
        propertyName - the programmatic name of the property that was changed
        oldValue - the old value of the property
        newValue - the new value of the property