|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.izforge.izpack.panels.UserInputPanel.TextValuePair
private static class UserInputPanel.TextValuePair
This class can be used to associate a text string and a (text) value.
Field Summary | |
---|---|
private java.lang.String |
text
|
private java.lang.String |
value
|
Constructor Summary | |
---|---|
UserInputPanel.TextValuePair(java.lang.String text,
java.lang.String value)
Constructs a new Text/Value pair, initialized with the text and a value. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String text
private java.lang.String value
Constructor Detail |
---|
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 objectMethod Detail |
---|
public 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.Object
public java.lang.String getValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |