Interface PropertyChangeListener

  • All Known Implementing Classes:
    PropertyChangeAdapter

    public interface PropertyChangeListener
    A listener on a Property which will be called before the Property value is changed. This listener is intended for the owner of the Property. There is another PropertyWatchListener which is intended for change notifications to not-owners.
    Author:
    IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
    • Method Detail

      • propertyChanged

        void propertyChanged​(Property property,
                             java.lang.Object oldValue,
                             java.lang.Object newValue)
                      throws PropertyChangeException
        Called before the Property value is changed. It is expected that this method throws a PropertyChangeException if any error occurs. If no exception is thrown, the new value will be set for this Property.
        Parameters:
        property - the Property.
        oldValue - the old value.
        newValue - the new value.
        Throws:
        PropertyChangeException - on error.