sky.engine.form
Class BaseForm

java.lang.Object
  extended bysky.engine.form.BaseForm
All Implemented Interfaces:
Form
Direct Known Subclasses:
ConsoleForm, HttpForm

public abstract class BaseForm
extends java.lang.Object
implements Form


Field Summary
protected  java.util.Hashtable _fields
          A form contains one or more fields.
protected  java.lang.String _name
          Name of the form.
static FormattedResourceBundle STRINGS
           
 
Constructor Summary
BaseForm()
           
 
Method Summary
 void addField(Field f)
          field manipulation functions
 void clear()
           
 void destroy()
          administrative functions
 void execute()
           
 Field getField(java.lang.String name)
           
 int getFieldCount()
           
 java.util.Hashtable getFields()
           
 void popField(Field f)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_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
Constructor Detail

BaseForm

public BaseForm()
Method Detail

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