|
||||||||||
| 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.AbstractValueElement
de.mguennewig.pobjform.AbstractInputElement
de.mguennewig.pobjform.html.HtmlInputElement
public abstract class HtmlInputElement
Class description goes here.
| Field Summary |
|---|
| Fields inherited from interface de.mguennewig.pobjform.InputElement |
|---|
MAX_INPUT_SIZE, RENDER_AS_DISABLED, RENDER_AS_HIDDEN, RENDER_AS_HIDDEN_WITH_LABEL, RENDER_AS_INPUT, RENDER_AS_TEXT |
| Constructor Summary | |
|---|---|
HtmlInputElement(PObjHtmlForm form,
InputEntry entry)
Creates a new HtmlInputElement. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCurrentString()
Returns the string representation of the current object. |
java.lang.Object |
getInitialObject()
Returns the initial object. |
java.lang.String |
getInitialString()
Returns the string representation of the initial object. |
java.lang.Object |
getObject()
Returns the current object. |
boolean |
hasChanged()
Tests whether the data for this element has been changed. |
void |
read(javax.servlet.http.HttpServletRequest request)
Reads the internal state from the HTTP request. |
void |
setCurrentAsInitialState()
Copies the current state to the initial state. |
void |
setCurrentString(java.lang.String current)
|
void |
setInitialString(java.lang.String initial)
|
void |
setObject(java.lang.Object obj)
Sets the current object to the new value. |
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.AbstractInputElement |
|---|
addChangeListener, getChangeListeners, getInputEntry, getRenderAs, getType, getVisualString, isHiddenInput, isMandatory, isRightAligned, isVisible, removeChangeListener, setMandatory, setRenderAs, setRightAligned, 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, isMandatory, isPulledIn, isVisible, omitRowHeader, setLabel, setProperty, setPullInPrefix, setVisible, startsNewCell, validate |
| Constructor Detail |
|---|
public HtmlInputElement(PObjHtmlForm form,
InputEntry entry)
| Method Detail |
|---|
public boolean hasChanged()
FormElement
hasChanged in interface FormElementpublic java.lang.Object getObject()
getObject in interface ValueElementgetObject in class AbstractInputElementpublic void setObject(java.lang.Object obj)
setObject in interface ValueElementsetObject in class AbstractInputElementpublic java.lang.Object getInitialObject()
ValueElement
getInitialObject in interface ValueElementpublic final java.lang.String getInitialString()
ValueElement
getInitialString in interface ValueElementpublic void setInitialString(java.lang.String initial)
public final java.lang.String getCurrentString()
ValueElement
getCurrentString in interface ValueElementpublic void setCurrentString(java.lang.String current)
public void setCurrentAsInitialState()
ValueElement
setCurrentAsInitialState in interface ValueElementpublic void read(javax.servlet.http.HttpServletRequest request)
HtmlFormElement
read in interface HtmlFormElementpublic final void write(Layout w)
HtmlFormElementThis is short for this.write(w, null).
write in interface HtmlFormElementHtmlFormElement.write(Layout,Collection)
public final void write(Layout w,
java.util.Collection<HtmlFormElement> postponedElements)
HtmlFormElement
write in interface HtmlFormElementpublic final 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 | |||||||||