// FormHandlerInterface.java
// $Id: FormHandlerInterface.java,v 1.1 1996/04/10 13:56:58 abaird Exp $
// (c) COPYRIGHT MIT and INRIA, 1996.
// Please first read the full copyright statement in file COPYRIGHT.html

package w3c.tools.forms ;

import java.awt.* ;

public interface FormHandlerInterface {

    /**
     * The field whose name is given has changed.
     */

    public void fieldChanged(String name) ;

    /**
     * Is the given value appropriate for the given field ?
     */

    public boolean acceptFieldValue(String name, Object value) ;

    /**
     * The whole form has been validated.
     */

    public void validate() ;

}
