// FormHandlerInterface.java
// $Id: FormHandlerInterface.java,v 1.2 1998/01/22 13:07:45 bmahe Exp $
// (c) COPYRIGHT MIT and INRIA, 1996.
// Please first read the full copyright statement in file COPYRIGHT.html

package org.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() ;

}
