Package java.beans

Interface PropertyChangeListener

  • All Superinterfaces:
    EventListener
    All Known Implementing Classes:
    PropertyChangeListenerProxy

    public interface PropertyChangeListener
    extends EventListener
    A PropertyChangeListener can subscribe with a event source. Whenever that source raises a PropertyChangeEvent this listener will get notified.
    • Method Detail

      • propertyChange

        void propertyChange​(PropertyChangeEvent event)
        The source bean calls this method when an event is raised.
        Parameters:
        event - the PropertyChangeEvent object which contains the name and the old and new value of the property that has changed.