private static class KeyedComboBoxModel.ComboBoxItemPair
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
key
The key.
|
private java.lang.Object |
value
The value for the key.
|
Constructor and Description |
---|
ComboBoxItemPair(java.lang.Object key,
java.lang.Object value)
Creates a new item pair for the given key and value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getKey()
Returns the key.
|
java.lang.Object |
getValue()
Returns the value.
|
void |
setValue(java.lang.Object value)
Redefines the value stored for that key.
|
private java.lang.Object key
private java.lang.Object value
public ComboBoxItemPair(java.lang.Object key, java.lang.Object value)
key
- the keyvalue
- the valuepublic java.lang.Object getKey()
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value
- the new value.