|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.jaspira.option.LocalizableOptionString
public class LocalizableOptionString
A simple wrapper class that holds an arbitrary value and its display text. The display text is returned by the toString method, so it can be used conveniently to display the object.
| Constructor Summary | |
|---|---|
LocalizableOptionString(java.lang.String displayText,
java.lang.Object value)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDisplayText()
Gets the display text. |
java.lang.Object |
getValue()
Gets the option value. |
java.lang.String |
toString()
Returns the display text as string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocalizableOptionString(java.lang.String displayText,
java.lang.Object value)
displayText - Display textvalue - Option value| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getDisplayText()
public java.lang.Object getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||