com.waveset.object
Class Form.Page

java.lang.Object
  extended bycom.waveset.util.AbstractXmlObject
      extended bycom.waveset.object.FormItem
          extended bycom.waveset.object.Form.Page
All Implemented Interfaces:
java.lang.Cloneable, com.sun.idm.debugger.common.Locatable, javax.naming.Referenceable, XmlObject
Enclosing class:
Form

public static class Form.Page
extends FormItem
implements java.lang.Cloneable

Inner class used to represent a form page. Pages are similar using wrapper fields with expressions except much of the work is handled automatically. The default HTML component for page items is Page.


Field Summary
static java.lang.String ELEMENT
           
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace, code_id
 
Constructor Summary
Form.Page()
           
Form.Page(org.w3c.dom.Element e)
           
Form.Page(org.w3c.dom.Element e, FormItem parent)
           
 
Method Summary
 FieldDisplay getDisplay()
           
 java.lang.String getElementName()
          Return the element name.
 void link(ExEnvironment env)
          Form items may contain expressions, and at the moment expressions need to be "linked" into an ExEnvironment in order to resolve references to variables and functions.
 void parseXml(org.w3c.dom.Element e)
           
 void setDisplay(FieldDisplay d)
           
 void toXml(java.lang.StringBuffer b, int indent)
          Serialize into a buffer with optional indentation.
 
Methods inherited from class com.waveset.object.FormItem
addCommonAttributes, addItem, addItem, addItems, clearItems, getComments, getForm, getItemList, getItems, getLocation, getName, getParent, parseChild, parseCommonAttributes, setComments, setItems, setLocation, setName, setParent, toXmlChildren
 
Methods inherited from class com.waveset.util.AbstractXmlObject
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT

public static final java.lang.String ELEMENT
See Also:
Constant Field Values
Constructor Detail

Form.Page

public Form.Page()

Form.Page

public Form.Page(org.w3c.dom.Element e)
          throws WavesetException

Form.Page

public Form.Page(org.w3c.dom.Element e,
                 FormItem parent)
          throws WavesetException
Method Detail

link

public void link(ExEnvironment env)
Description copied from class: FormItem
Form items may contain expressions, and at the moment expressions need to be "linked" into an ExEnvironment in order to resolve references to variables and functions.

Overrides:
link in class FormItem

getElementName

public java.lang.String getElementName()
Description copied from class: AbstractXmlObject
Return the element name.

Specified by:
getElementName in interface XmlObject
Specified by:
getElementName in class AbstractXmlObject

getDisplay

public FieldDisplay getDisplay()

setDisplay

public void setDisplay(FieldDisplay d)

parseXml

public void parseXml(org.w3c.dom.Element e)
              throws WavesetException
Throws:
WavesetException

toXml

public void toXml(java.lang.StringBuffer b,
                  int indent)
Description copied from class: AbstractXmlObject
Serialize into a buffer with optional indentation. This must be implemented by the subclass.

Specified by:
toXml in interface XmlObject
Specified by:
toXml in class AbstractXmlObject