01: // Form.java
02: // $Id: Form.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 class Form {
09: /**
10: * The handler of the form.
11: */
12: protected FormHandlerInterface handler = null;
13:
14: /**
15: * Register a new form field.
16: * @param name The name of the field to be defined.
17: * @param title Title of the field to be defined.
18: * @param field The field editor.
19: */
20:
21: public void addField(String name, String title, FormField field) {
22: }
23:
24: public Form(FormHandlerInterface handler) {
25: this.handler = handler;
26: }
27:
28: }
|