|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mguennewig.pobjform.AbstractFormElement
de.mguennewig.pobjform.AbstractButtonElement
de.mguennewig.pobjform.html.HtmlButtonElement
public class HtmlButtonElement
HTML button form element.
| Constructor Summary | |
|---|---|
HtmlButtonElement(PObjHtmlForm form,
ButtonEntry entry)
Creates a new HtmlButtonElement. |
|
| Method Summary | |
|---|---|
boolean |
hasPressed()
Tests whether the button has been pressed by the user. |
void |
read(javax.servlet.http.HttpServletRequest request)
Reads the internal state from the HTTP request. |
void |
resetPressed()
Clears the currently set pressed status. |
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.AbstractButtonElement |
|---|
getButtonLabel, hasChanged, isMandatory, isVisible, setButtonLabel, 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 |
|---|
public HtmlButtonElement(PObjHtmlForm form,
ButtonEntry entry)
| Method Detail |
|---|
public final boolean hasPressed()
hasPressed in interface ButtonElementpublic final void resetPressed()
resetPressed in interface ButtonElementpublic void read(javax.servlet.http.HttpServletRequest request)
HtmlFormElement
read in interface HtmlFormElementpublic void write(Layout w)
HtmlFormElementThis is short for this.write(w, null).
write in interface HtmlFormElementHtmlFormElement.write(Layout,Collection)
public void write(Layout w,
java.util.Collection<HtmlFormElement> postponedElements)
HtmlFormElement
write in interface HtmlFormElementpublic void writeErrors(Layout w)
HtmlFormElement
writeErrors in interface HtmlFormElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||