Package jmri.beans

Interface VetoableChangeFirer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void fireVetoableChange​(java.beans.PropertyChangeEvent event)
      Fire a property change.
      void fireVetoableChange​(java.lang.String propertyName, boolean oldValue, boolean newValue)
      Fire a property change.
      void fireVetoableChange​(java.lang.String propertyName, int oldValue, int newValue)
      Fire a property change.
      void fireVetoableChange​(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
      Fire a property change.
    • Method Detail

      • fireVetoableChange

        void fireVetoableChange​(java.lang.String propertyName,
                                boolean oldValue,
                                boolean newValue)
                         throws java.beans.PropertyVetoException
        Fire a property change.
        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
        Throws:
        java.beans.PropertyVetoException - if one of listeners vetoes the property update
      • fireVetoableChange

        void fireVetoableChange​(java.beans.PropertyChangeEvent event)
                         throws java.beans.PropertyVetoException
        Fire a property change.
        Parameters:
        event - the PropertyChangeEvent to be fired
        Throws:
        java.beans.PropertyVetoException - if one of listeners vetoes the property update
      • fireVetoableChange

        void fireVetoableChange​(java.lang.String propertyName,
                                int oldValue,
                                int newValue)
                         throws java.beans.PropertyVetoException
        Fire a property change.
        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
        Throws:
        java.beans.PropertyVetoException - if one of listeners vetoes the property update
      • fireVetoableChange

        void fireVetoableChange​(java.lang.String propertyName,
                                java.lang.Object oldValue,
                                java.lang.Object newValue)
                         throws java.beans.PropertyVetoException
        Fire a property change.
        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
        Throws:
        java.beans.PropertyVetoException - if one of listeners vetoes the property update