|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opencms.frontend.templateone.form.CmsFieldValue
public class CmsFieldValue
Represents a single input field value of a submitted form.
This object is needed to create the output for the optional confirmation page, the notification email or the final page after submission.
| Constructor Summary | |
|---|---|
CmsFieldValue(I_CmsField field)
Constructor that creates an initialized field item. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLabel()
Returns the label text of the field item. |
java.lang.String |
getValue()
Returns the value of the field item. |
boolean |
isShow()
Returns if the current item is shown or not. |
protected void |
setLabel(java.lang.String label)
Sets the label text of the field item. |
protected void |
setShow(boolean show)
Sets if the current item is shown or not. |
protected void |
setValue(java.lang.String value)
Sets the value of the field item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsFieldValue(I_CmsField field)
field - the form field to create the value from| Method Detail |
|---|
public java.lang.String getLabel()
public java.lang.String getValue()
public boolean isShow()
protected void setLabel(java.lang.String label)
label - the label text of the field itemprotected void setShow(boolean show)
show - true if the current item is shown, otherwise falseprotected void setValue(java.lang.String value)
value - the value of the field item
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||