private static class UserInputPanel.TextValuePair extends Object
Modifier and Type | Field and Description |
---|---|
private String |
text |
private String |
value |
Constructor and Description |
---|
TextValuePair(String text,
String value)
Constructs a new Text/Value pair, initialized with the text and a value.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
This method returns the value that was associated with this object
|
void |
setText(String text)
Sets the text
|
void |
setValue(String value)
Sets the value of this object
|
String |
toString()
This method returns the text that was set for the object
|
public TextValuePair(String text, String value)
text
- the text that this object should representvalue
- the value that should be associated with this objectWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses