de.mguennewig.pobjform.html
Class HtmlSpacerElement

java.lang.Object
  extended by de.mguennewig.pobjform.AbstractFormElement
      extended by de.mguennewig.pobjform.AbstractSpacerElement
          extended by de.mguennewig.pobjform.html.HtmlSpacerElement
All Implemented Interfaces:
FormElement, HtmlFormElement, SpacerElement

public class HtmlSpacerElement
extends AbstractSpacerElement
implements HtmlFormElement

Class description goes here.

Author:
Michael Günnewig

Constructor Summary
HtmlSpacerElement(PObjHtmlForm form, SpacerEntry entry)
          Creates a new HtmlSpacerElement.
 
Method Summary
 void read(javax.servlet.http.HttpServletRequest request)
          Reads the internal state from the HTTP request.
 void write(Layout w)
          Writes the form element into the HTML stream without any postponing.
 void write(Layout w, java.util.Collection<HtmlFormElement> postponedElements)
          Writes the form element into the HTML stream.
 void writeErrors(Layout w)
          Writes any error messages concerning this form element into the HTML stream.
 
Methods inherited from class de.mguennewig.pobjform.AbstractSpacerElement
getRenderAs, hasChanged, isMandatory, isVisible, setVisible, validate
 
Methods inherited from class de.mguennewig.pobjform.AbstractFormElement
appendToList, getContainer, getEntry, getForm, getLabel, getProperty, getPullInPrefix, isPulledIn, omitRowHeader, setLabel, setProperty, setPullInPrefix, startsNewCell
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.mguennewig.pobjform.FormElement
appendToList, getContainer, getEntry, getForm, getLabel, getProperty, getPullInPrefix, hasChanged, isMandatory, isPulledIn, isVisible, omitRowHeader, setLabel, setProperty, setPullInPrefix, setVisible, startsNewCell, validate
 

Constructor Detail

HtmlSpacerElement

public HtmlSpacerElement(PObjHtmlForm form,
                         SpacerEntry entry)
Creates a new HtmlSpacerElement.

Method Detail

read

public final void read(javax.servlet.http.HttpServletRequest request)
Description copied from interface: HtmlFormElement
Reads the internal state from the HTTP request.

Specified by:
read in interface HtmlFormElement

write

public final void write(Layout w)
Description copied from interface: HtmlFormElement
Writes the form element into the HTML stream without any postponing.

This is short for this.write(w, null).

Specified by:
write in interface HtmlFormElement
See Also:
HtmlFormElement.write(Layout,Collection)

write

public void write(Layout w,
                  java.util.Collection<HtmlFormElement> postponedElements)
Description copied from interface: HtmlFormElement
Writes the form element into the HTML stream.

Specified by:
write in interface HtmlFormElement

writeErrors

public final void writeErrors(Layout w)
Description copied from interface: HtmlFormElement
Writes any error messages concerning this form element into the HTML stream.

Specified by:
writeErrors in interface HtmlFormElement