Modifier and Type | Field and Description |
---|---|
private JComboBox |
combo
The component that we are wrapping in a field
|
private static org.slf4j.Logger |
log
The log stream
|
Constructor and Description |
---|
MappedOptionsField()
Create an empty MappedOptionsField
|
Modifier and Type | Method and Description |
---|---|
JComponent |
getComponent()
Get the actual component that we can add to a Panel.
|
String |
getValue()
Return a string for use in the properties file
|
void |
setChoice(org.crosswire.common.config.Choice param)
Some fields will need some extra info to display properly like the
options in an options field.
|
void |
setValue(String value)
Set the current value
|
private JComboBox combo
private static final org.slf4j.Logger log
public MappedOptionsField()
public void setChoice(org.crosswire.common.config.Choice param)
public String getValue()
public void setValue(String value)
public JComponent getComponent()
getComponent
in interface Field