|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jnlp.controlpanel.ComboItem
public class ComboItem
This is to be used with combobox items. Allows storing a value which differs from the key.
Constructor Summary | |
---|---|
ComboItem(java.lang.String text,
java.lang.String value)
Create a new instance of combobox items. |
Method Summary | |
---|---|
java.lang.String |
getValue()
Get the value associated with this item. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ComboItem(java.lang.String text, java.lang.String value)
text
- Text to be displayed by JComboBoxvalue
- Value associated with this item.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getValue()
|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |