|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.common.config.swing.MappedOptionsField
public class MappedOptionsField
Allow the user to choose from a combo box.
for license details.
The copyright to this program is held by it's authors.| Field Summary | |
|---|---|
private JComboBox |
combo
The component that we are wrapping in a field |
private static org.slf4j.Logger |
log
The log stream |
| Constructor Summary | |
|---|---|
MappedOptionsField()
Create an empty MappedOptionsField |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private JComboBox combo
private static final org.slf4j.Logger log
| Constructor Detail |
|---|
public MappedOptionsField()
| Method Detail |
|---|
public void setChoice(org.crosswire.common.config.Choice param)
setChoice in interface Fieldparam - The options provided by the Choicepublic String getValue()
getValue in interface Fieldpublic void setValue(String value)
setValue in interface Fieldvalue - The new textpublic JComponent getComponent()
getComponent in interface Field
|
Copyright ยจ 2003-2013 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||