
package uk.co.wingpath.event;

import java.util.*;

/**
* This interface is implemented by listeners for {@code ValueEvent}s.
* <p>A class that is interested in processing value events implements this
* interface, and an instance of the class is registered with a value event
* source, using the source's {@code addValueListener} method.
* When a value event occurs, that instance's {@code valueChanged} method is
* called.
* @see ValueEvent
* @see ValueEventSource
*/
public interface ValueListener
    extends EventListener
{
    /**
    * Called when a value event occurs.
    * @param e the event.
    */
    void valueChanged (ValueEvent e);
}

