|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.panels.userinput.field.Choice
public class Choice
A pair of values. The key identifies the pair, and the value is used for display purposes.
| Constructor Summary | |
|---|---|
Choice(String key,
String value)
|
|
Choice(String key,
String value,
String conditionId)
Constructs a Choice. |
|
| Method Summary | |
|---|---|
String |
getConditionId()
Returns the optional condition ID. |
String |
getKey()
Returns the key, otherwise known as the true value. |
String |
getTrueValue()
Returns the 'true' value, otherwise known as the key. |
String |
getValue()
Returns the display value. |
String |
toString()
Returns the display value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Choice(String key,
String value,
String conditionId)
Choice.
key - the keyvalue - the display value
public Choice(String key,
String value)
| Method Detail |
|---|
public String getKey()
public String getTrueValue()
public String getValue()
public String getConditionId()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||