sky.engine.form
Class BaseForm
java.lang.Object
sky.engine.form.BaseForm
- All Implemented Interfaces:
- Form
- Direct Known Subclasses:
- ConsoleForm, HttpForm
- public abstract class BaseForm
- extends java.lang.Object
- implements Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_name
protected java.lang.String _name
- Name of the form.
_fields
protected java.util.Hashtable _fields
- A form contains one or more fields. Fields rep
STRINGS
public static final FormattedResourceBundle STRINGS
BaseForm
public BaseForm()
destroy
public void destroy()
- administrative functions
- Specified by:
destroy in interface Form
validate
public void validate()
throws Message
- Specified by:
validate in interface Form
- Throws:
Message
clear
public void clear()
- Specified by:
clear in interface Form
execute
public void execute()
throws Message
- Specified by:
execute in interface Form
- Throws:
Message
addField
public void addField(Field f)
throws Message
- field manipulation functions
- Specified by:
addField in interface Form
- Throws:
Message
popField
public void popField(Field f)
throws Message
- Specified by:
popField in interface Form
- Throws:
Message
getField
public Field getField(java.lang.String name)
throws Message
- Specified by:
getField in interface Form
- Throws:
Message
getFields
public java.util.Hashtable getFields()
throws Message
- Specified by:
getFields in interface Form
- Throws:
Message
getFieldCount
public int getFieldCount()
throws Message
- Specified by:
getFieldCount in interface Form
- Throws:
Message