de.mguennewig.pobjform.html
Class HtmlTextElement

java.lang.Object
  extended by de.mguennewig.pobjform.AbstractFormElement
      extended by de.mguennewig.pobjform.AbstractTextElement
          extended by de.mguennewig.pobjform.html.HtmlTextElement
All Implemented Interfaces:
FormElement, HtmlFormElement, TextElement

public class HtmlTextElement
extends AbstractTextElement
implements HtmlFormElement

Class description goes here.

Author:
Michael Günnewig

Constructor Summary
HtmlTextElement(PObjHtmlForm form, TextEntry entry)
          Creates a new HtmlTextElement.
 
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.AbstractTextElement
getText, hasChanged, isMandatory, isRightAligned, isVisible, setRightAligned, setText, 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

HtmlTextElement

public HtmlTextElement(PObjHtmlForm form,
                       TextEntry entry)
Creates a new HtmlTextElement.

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