|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.scaffold.util.LabelValueBean
Simple JavaBean to represent label-value pairs for use in collections
that are utilized by the <form:options> tag.
If you are also use Struts 1.1 or later, you may prefer to use the
[org.apache.struts.util.LabelValueBean] class instead.
The classes are identical.
| Field Summary | |
protected java.lang.String |
label
The label to be displayed to the user. |
protected java.lang.String |
value
The value to be returned to the server. |
| Constructor Summary | |
LabelValueBean(java.lang.String label,
java.lang.String value)
Construct a new LabelValueBean with the specified values. |
|
| Method Summary | |
java.lang.String |
getLabel()
|
java.lang.String |
getValue()
|
java.lang.String |
toString()
Return a string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String label
protected java.lang.String value
| Constructor Detail |
public LabelValueBean(java.lang.String label,
java.lang.String value)
label - The label to be displayed to the uservalue - The value to be returned to the server| Method Detail |
public java.lang.String getLabel()
public java.lang.String getValue()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||