01: // FormHandlerInterface.java
02: // $Id: FormHandlerInterface.java,v 1.3 2000/08/16 21:37:49 ylafon Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1996.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05:
06: package org.w3c.tools.forms;
07:
08: public interface FormHandlerInterface {
09:
10: /**
11: * The field whose name is given has changed.
12: */
13:
14: public void fieldChanged(String name);
15:
16: /**
17: * Is the given value appropriate for the given field ?
18: */
19:
20: public boolean acceptFieldValue(String name, Object value);
21:
22: /**
23: * The whole form has been validated.
24: */
25:
26: public void validate();
27:
28: }
|