private static class UserInputPanel.TextValuePair
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
text |
private java.lang.String |
value |
| Constructor and Description |
|---|
UserInputPanel.TextValuePair(java.lang.String text,
java.lang.String value)
Constructs a new Text/Value pair, initialized with the text and a value.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
This method returns the value that was associated with this object
|
void |
setText(java.lang.String text)
Sets the text
|
void |
setValue(java.lang.String value)
Sets the value of this object
|
java.lang.String |
toString()
This method returns the text that was set for the object
|
public UserInputPanel.TextValuePair(java.lang.String text,
java.lang.String value)
text - the text that this object should representvalue - the value that should be associated with this objectpublic void setText(java.lang.String text)
text - the text for this objectpublic void setValue(java.lang.String value)
value - the value for this objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getValue()