public interface Field
The GNU General Public License for details.
Modifier and Type | Method and Description |
---|---|
JComponent |
getComponent()
Get the actual component that we can add to a Panel.
|
String |
getValue()
Return a string version of the current value
|
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.
|
void setChoice(org.crosswire.common.config.Choice param)
param
- The options provided by the ChoiceString getValue()
void setValue(String value)
value
- The new textJComponent getComponent()
this
in an implementation).